@thoughtspot/visual-embed-sdk 1.32.6 → 1.32.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/cjs/package.json +3 -3
  2. package/cjs/src/css-variables.d.ts +18 -3
  3. package/cjs/src/css-variables.d.ts.map +1 -1
  4. package/cjs/src/embed/base.d.ts +34 -32
  5. package/cjs/src/embed/base.d.ts.map +1 -1
  6. package/cjs/src/embed/base.js +34 -32
  7. package/cjs/src/embed/base.js.map +1 -1
  8. package/cjs/src/tokenizedFetch.d.ts.map +1 -1
  9. package/cjs/src/tokenizedFetch.js +5 -1
  10. package/cjs/src/tokenizedFetch.js.map +1 -1
  11. package/cjs/src/types.d.ts +7 -4
  12. package/cjs/src/types.d.ts.map +1 -1
  13. package/cjs/src/types.js +7 -4
  14. package/cjs/src/types.js.map +1 -1
  15. package/cjs/src/utils/authService/authService.spec.js +3 -1
  16. package/cjs/src/utils/authService/authService.spec.js.map +1 -1
  17. package/dist/src/css-variables.d.ts +18 -3
  18. package/dist/src/css-variables.d.ts.map +1 -1
  19. package/dist/src/embed/base.d.ts +34 -32
  20. package/dist/src/embed/base.d.ts.map +1 -1
  21. package/dist/src/tokenizedFetch.d.ts.map +1 -1
  22. package/dist/src/types.d.ts +7 -4
  23. package/dist/src/types.d.ts.map +1 -1
  24. package/dist/tsembed-react.es.js +242 -79
  25. package/dist/tsembed-react.js +242 -79
  26. package/dist/tsembed.es.js +276 -111
  27. package/dist/tsembed.js +276 -111
  28. package/dist/visual-embed-sdk-react-full.d.ts +59 -39
  29. package/dist/visual-embed-sdk-react.d.ts +59 -39
  30. package/dist/visual-embed-sdk.d.ts +59 -39
  31. package/lib/package.json +3 -3
  32. package/lib/src/css-variables.d.ts +18 -3
  33. package/lib/src/css-variables.d.ts.map +1 -1
  34. package/lib/src/embed/base.d.ts +34 -32
  35. package/lib/src/embed/base.d.ts.map +1 -1
  36. package/lib/src/embed/base.js +34 -32
  37. package/lib/src/embed/base.js.map +1 -1
  38. package/lib/src/tokenizedFetch.d.ts.map +1 -1
  39. package/lib/src/tokenizedFetch.js +5 -1
  40. package/lib/src/tokenizedFetch.js.map +1 -1
  41. package/lib/src/types.d.ts +7 -4
  42. package/lib/src/types.d.ts.map +1 -1
  43. package/lib/src/types.js +7 -4
  44. package/lib/src/types.js.map +1 -1
  45. package/lib/src/utils/authService/authService.spec.js +3 -1
  46. package/lib/src/utils/authService/authService.spec.js.map +1 -1
  47. package/lib/src/visual-embed-sdk.d.ts +59 -39
  48. package/package.json +3 -3
  49. package/src/css-variables.ts +21 -3
  50. package/src/embed/base.ts +34 -32
  51. package/src/tokenizedFetch.ts +5 -1
  52. package/src/types.ts +7 -4
  53. package/src/utils/authService/authService.spec.ts +3 -1
@@ -1664,21 +1664,22 @@ export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise
1664
1664
  /**
1665
1665
  * Imports TML representation of the metadata objects into ThoughtSpot.
1666
1666
  * @param data
1667
+ * @returns imports TML data into ThoughtSpot
1667
1668
  * @example
1668
1669
  * ```js
1669
- * executeTML({
1670
- * //Array of metadata Tmls
1671
- metadata_tmls: [
1672
- "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
1673
- \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
1674
- ],
1675
- import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
1676
- create_new: false, // If selected, creates TML objects with new GUIDs.
1677
- }).then(result => {
1678
- console.log(result);
1679
- }).catch(error => {
1680
- console.error(error);
1681
- });
1670
+ * executeTML({
1671
+ * //Array of metadata Tmls in string format
1672
+ * metadata_tmls: [
1673
+ * "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
1674
+ * \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
1675
+ * ],
1676
+ * import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
1677
+ * create_new: false, // If selected, creates TML objects with new GUIDs.
1678
+ * }).then(result => {
1679
+ * console.log(result);
1680
+ * }).catch(error => {
1681
+ * console.error(error);
1682
+ * });
1682
1683
  *```
1683
1684
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1684
1685
  * @group Global methods
@@ -1688,27 +1689,28 @@ export declare const executeTML: (data: executeTMLInput) => Promise<any>;
1688
1689
  * Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
1689
1690
  * format.
1690
1691
  * @param data
1692
+ * @returns exports TML data
1691
1693
  * @example
1692
1694
  * ```js
1693
- exportTML({
1694
- metadata: [
1695
- {
1696
- type: "LIVEBOARD", //Metadata Type
1697
- identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
1698
- }
1699
- ],
1700
- export_associated: false,//indicates whether to export associated metadata objects
1701
- export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
1702
- //exporting a Liveboard and its associated objects, the API
1703
- //returns the Liveboard TML data with the FQNs of the referenced
1704
- //worksheet. If the exported TML data includes FQNs, you don't need
1705
- //to manually add FQNs of the referenced objects during TML import.
1706
- edoc_format: "JSON" //It takes JSON or YAML value
1707
- }).then(result => {
1708
- console.log(result);
1709
- }).catch(error => {
1710
- console.error(error);
1711
- });
1695
+ * exportTML({
1696
+ * metadata: [
1697
+ * {
1698
+ * type: "LIVEBOARD", //Metadata Type
1699
+ * identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
1700
+ * }
1701
+ * ],
1702
+ * export_associated: false,//indicates whether to export associated metadata objects
1703
+ * export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
1704
+ * //exporting a Liveboard and its associated objects, the API
1705
+ * //returns the Liveboard TML data with the FQNs of the referenced
1706
+ * //worksheet. If the exported TML data includes FQNs, you don't need
1707
+ * //to manually add FQNs of the referenced objects during TML import.
1708
+ * edoc_format: "JSON" //It takes JSON or YAML value
1709
+ * }).then(result => {
1710
+ * console.log(result);
1711
+ * }).catch(error => {
1712
+ * console.error(error);
1713
+ * });
1712
1714
  * ```
1713
1715
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
1714
1716
  * @group Global methods
@@ -4045,15 +4047,20 @@ export declare enum EmbedEvent {
4045
4047
  * Prerequisite: Set isOnBeforeGetVizDataInterceptEnabled : true
4046
4048
  * for this embed event to get emitted.
4047
4049
  *
4048
- * Parameter: payload
4049
- * Parameter: responder
4050
+ * @param: payload
4051
+ * @param: responder
4050
4052
  * Contains elements that lets developers define whether ThoughtSpot
4051
4053
  * will run the search or not, and if not, which error message to provide.
4054
+ *
4052
4055
  * execute: When execute returns true, the search will be run.
4053
4056
  * When execute returns false, the search will not be executed.
4057
+ *
4054
4058
  * error: Developers can customize the user facing message when execute is
4055
4059
  * set to false using the error parameter in responder
4056
4060
  *
4061
+ * @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
4062
+ *
4063
+ * @example
4057
4064
  *```js
4058
4065
  * .on(EmbedEvent.OnBeforeGetVizDataIntercept,
4059
4066
  * (payload, responder) => {
@@ -4089,8 +4096,6 @@ export declare enum EmbedEvent {
4089
4096
  * }})
4090
4097
  * })
4091
4098
  *```
4092
- *
4093
- * @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
4094
4099
  */
4095
4100
  OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
4096
4101
  /**
@@ -6280,9 +6285,12 @@ export interface CustomCssVariables {
6280
6285
  */
6281
6286
  '--ts-var-root-text-transform'?: string;
6282
6287
  /**
6283
- * application color, it replaces #2770EF which is rd-color(blue,base) and
6284
- * its similar colors like rd-color(blue,60), rd-color(accent, base) and
6285
- * rd-color(text, accent) in the app.
6288
+ * Font color of the text on toggle buttons such as
6289
+ * **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
6290
+ * the text color of the chart and table tiles on Home page (New modular Homepage experience),
6291
+ * and title text on the AI-generated charts and tables.
6292
+ * The default color code is #2770EF.
6293
+ *
6286
6294
  */
6287
6295
  '--ts-var-application-color'?: string;
6288
6296
  /**
@@ -6393,6 +6401,10 @@ export interface CustomCssVariables {
6393
6401
  * Background color of the primary buttons on hover.
6394
6402
  */
6395
6403
  '--ts-var-button--primary--hover-background'?: string;
6404
+ /**
6405
+ * Backgroud color of the primary buttons when active.
6406
+ */
6407
+ '--ts-var-button--primary--active-background'?: string;
6396
6408
  /**
6397
6409
  * Font color of the text on the secondary buttons.
6398
6410
  */
@@ -6409,6 +6421,10 @@ export interface CustomCssVariables {
6409
6421
  * Background color of the secondary button on hover.
6410
6422
  */
6411
6423
  '--ts-var-button--secondary--hover-background'?: string;
6424
+ /**
6425
+ * Backgroud color of the secondary buttons when active.
6426
+ */
6427
+ '--ts-var-button--secondary--active-background'?: string;
6412
6428
  /**
6413
6429
  * Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
6414
6430
  * buttons on the *Search* page.
@@ -6422,6 +6438,10 @@ export interface CustomCssVariables {
6422
6438
  * Background color of the tertiary button when a user hovers over these buttons.
6423
6439
  */
6424
6440
  '--ts-var-button--tertiary--hover-background'?: string;
6441
+ /**
6442
+ * Backgroud color of the tertiary buttons when active.
6443
+ */
6444
+ '--ts-var-button--tertiary--active-background'?: string;
6425
6445
  /**
6426
6446
  * Font color of the title text of a visualization or Answer.
6427
6447
  */
@@ -3677,15 +3677,20 @@ export declare enum EmbedEvent {
3677
3677
  * Prerequisite: Set isOnBeforeGetVizDataInterceptEnabled : true
3678
3678
  * for this embed event to get emitted.
3679
3679
  *
3680
- * Parameter: payload
3681
- * Parameter: responder
3680
+ * @param: payload
3681
+ * @param: responder
3682
3682
  * Contains elements that lets developers define whether ThoughtSpot
3683
3683
  * will run the search or not, and if not, which error message to provide.
3684
+ *
3684
3685
  * execute: When execute returns true, the search will be run.
3685
3686
  * When execute returns false, the search will not be executed.
3687
+ *
3686
3688
  * error: Developers can customize the user facing message when execute is
3687
3689
  * set to false using the error parameter in responder
3688
3690
  *
3691
+ * @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
3692
+ *
3693
+ * @example
3689
3694
  *```js
3690
3695
  * .on(EmbedEvent.OnBeforeGetVizDataIntercept,
3691
3696
  * (payload, responder) => {
@@ -3721,8 +3726,6 @@ export declare enum EmbedEvent {
3721
3726
  * }})
3722
3727
  * })
3723
3728
  *```
3724
- *
3725
- * @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
3726
3729
  */
3727
3730
  OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
3728
3731
  /**
@@ -6255,21 +6258,22 @@ export declare const renderInQueue: (fn: (next?: (val?: any) => void) => Promise
6255
6258
  /**
6256
6259
  * Imports TML representation of the metadata objects into ThoughtSpot.
6257
6260
  * @param data
6261
+ * @returns imports TML data into ThoughtSpot
6258
6262
  * @example
6259
6263
  * ```js
6260
- * executeTML({
6261
- * //Array of metadata Tmls
6262
- metadata_tmls: [
6263
- "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
6264
- \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
6265
- ],
6266
- import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
6267
- create_new: false, // If selected, creates TML objects with new GUIDs.
6268
- }).then(result => {
6269
- console.log(result);
6270
- }).catch(error => {
6271
- console.error(error);
6272
- });
6264
+ * executeTML({
6265
+ * //Array of metadata Tmls in string format
6266
+ * metadata_tmls: [
6267
+ * "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
6268
+ * \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
6269
+ * ],
6270
+ * import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
6271
+ * create_new: false, // If selected, creates TML objects with new GUIDs.
6272
+ * }).then(result => {
6273
+ * console.log(result);
6274
+ * }).catch(error => {
6275
+ * console.error(error);
6276
+ * });
6273
6277
  *```
6274
6278
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
6275
6279
  * @group Global methods
@@ -6279,27 +6283,28 @@ export declare const executeTML: (data: executeTMLInput) => Promise<any>;
6279
6283
  * Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
6280
6284
  * format.
6281
6285
  * @param data
6286
+ * @returns exports TML data
6282
6287
  * @example
6283
6288
  * ```js
6284
- exportTML({
6285
- metadata: [
6286
- {
6287
- type: "LIVEBOARD", //Metadata Type
6288
- identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
6289
- }
6290
- ],
6291
- export_associated: false,//indicates whether to export associated metadata objects
6292
- export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
6293
- //exporting a Liveboard and its associated objects, the API
6294
- //returns the Liveboard TML data with the FQNs of the referenced
6295
- //worksheet. If the exported TML data includes FQNs, you don't need
6296
- //to manually add FQNs of the referenced objects during TML import.
6297
- edoc_format: "JSON" //It takes JSON or YAML value
6298
- }).then(result => {
6299
- console.log(result);
6300
- }).catch(error => {
6301
- console.error(error);
6302
- });
6289
+ * exportTML({
6290
+ * metadata: [
6291
+ * {
6292
+ * type: "LIVEBOARD", //Metadata Type
6293
+ * identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
6294
+ * }
6295
+ * ],
6296
+ * export_associated: false,//indicates whether to export associated metadata objects
6297
+ * export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
6298
+ * //exporting a Liveboard and its associated objects, the API
6299
+ * //returns the Liveboard TML data with the FQNs of the referenced
6300
+ * //worksheet. If the exported TML data includes FQNs, you don't need
6301
+ * //to manually add FQNs of the referenced objects during TML import.
6302
+ * edoc_format: "JSON" //It takes JSON or YAML value
6303
+ * }).then(result => {
6304
+ * console.log(result);
6305
+ * }).catch(error => {
6306
+ * console.error(error);
6307
+ * });
6303
6308
  * ```
6304
6309
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
6305
6310
  * @group Global methods
@@ -6568,9 +6573,12 @@ export interface CustomCssVariables {
6568
6573
  */
6569
6574
  '--ts-var-root-text-transform'?: string;
6570
6575
  /**
6571
- * application color, it replaces #2770EF which is rd-color(blue,base) and
6572
- * its similar colors like rd-color(blue,60), rd-color(accent, base) and
6573
- * rd-color(text, accent) in the app.
6576
+ * Font color of the text on toggle buttons such as
6577
+ * **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
6578
+ * the text color of the chart and table tiles on Home page (New modular Homepage experience),
6579
+ * and title text on the AI-generated charts and tables.
6580
+ * The default color code is #2770EF.
6581
+ *
6574
6582
  */
6575
6583
  '--ts-var-application-color'?: string;
6576
6584
  /**
@@ -6681,6 +6689,10 @@ export interface CustomCssVariables {
6681
6689
  * Background color of the primary buttons on hover.
6682
6690
  */
6683
6691
  '--ts-var-button--primary--hover-background'?: string;
6692
+ /**
6693
+ * Backgroud color of the primary buttons when active.
6694
+ */
6695
+ '--ts-var-button--primary--active-background'?: string;
6684
6696
  /**
6685
6697
  * Font color of the text on the secondary buttons.
6686
6698
  */
@@ -6697,6 +6709,10 @@ export interface CustomCssVariables {
6697
6709
  * Background color of the secondary button on hover.
6698
6710
  */
6699
6711
  '--ts-var-button--secondary--hover-background'?: string;
6712
+ /**
6713
+ * Backgroud color of the secondary buttons when active.
6714
+ */
6715
+ '--ts-var-button--secondary--active-background'?: string;
6700
6716
  /**
6701
6717
  * Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
6702
6718
  * buttons on the *Search* page.
@@ -6710,6 +6726,10 @@ export interface CustomCssVariables {
6710
6726
  * Background color of the tertiary button when a user hovers over these buttons.
6711
6727
  */
6712
6728
  '--ts-var-button--tertiary--hover-background'?: string;
6729
+ /**
6730
+ * Backgroud color of the tertiary buttons when active.
6731
+ */
6732
+ '--ts-var-button--tertiary--active-background'?: string;
6713
6733
  /**
6714
6734
  * Font color of the title text of a visualization or Answer.
6715
6735
  */
@@ -565,21 +565,22 @@ export const renderInQueue: (fn: (next?: (val?: any) => void) => Promise<any>) =
565
565
  /**
566
566
  * Imports TML representation of the metadata objects into ThoughtSpot.
567
567
  * @param data
568
+ * @returns imports TML data into ThoughtSpot
568
569
  * @example
569
570
  * ```js
570
- * executeTML({
571
- * //Array of metadata Tmls
572
- metadata_tmls: [
573
- "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
574
- \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
575
- ],
576
- import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
577
- create_new: false, // If selected, creates TML objects with new GUIDs.
578
- }).then(result => {
579
- console.log(result);
580
- }).catch(error => {
581
- console.error(error);
582
- });
571
+ * executeTML({
572
+ * //Array of metadata Tmls in string format
573
+ * metadata_tmls: [
574
+ * "'\''{\"guid\":\"9bd202f5-d431-44bf-9a07-b4f7be372125\",
575
+ * \"liveboard\":{\"name\":\"Parameters Liveboard\"}}'\''"
576
+ * ],
577
+ * import_policy: 'PARTIAL', // Specifies the import policy for the TML import.
578
+ * create_new: false, // If selected, creates TML objects with new GUIDs.
579
+ * }).then(result => {
580
+ * console.log(result);
581
+ * }).catch(error => {
582
+ * console.error(error);
583
+ * });
583
584
  *```
584
585
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
585
586
  * @group Global methods
@@ -589,27 +590,28 @@ export const executeTML: (data: executeTMLInput) => Promise<any>;
589
590
  * Exports TML representation of the metadata objects from ThoughtSpot in JSON or YAML
590
591
  * format.
591
592
  * @param data
593
+ * @returns exports TML data
592
594
  * @example
593
595
  * ```js
594
- exportTML({
595
- metadata: [
596
- {
597
- type: "LIVEBOARD", //Metadata Type
598
- identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
599
- }
600
- ],
601
- export_associated: false,//indicates whether to export associated metadata objects
602
- export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
603
- //exporting a Liveboard and its associated objects, the API
604
- //returns the Liveboard TML data with the FQNs of the referenced
605
- //worksheet. If the exported TML data includes FQNs, you don't need
606
- //to manually add FQNs of the referenced objects during TML import.
607
- edoc_format: "JSON" //It takes JSON or YAML value
608
- }).then(result => {
609
- console.log(result);
610
- }).catch(error => {
611
- console.error(error);
612
- });
596
+ * exportTML({
597
+ * metadata: [
598
+ * {
599
+ * type: "LIVEBOARD", //Metadata Type
600
+ * identifier: "9bd202f5-d431-44bf-9a07-b4f7be372125" //Metadata Id
601
+ * }
602
+ * ],
603
+ * export_associated: false,//indicates whether to export associated metadata objects
604
+ * export_fqn: false, //Adds FQNs of the referenced objects.For example, if you are
605
+ * //exporting a Liveboard and its associated objects, the API
606
+ * //returns the Liveboard TML data with the FQNs of the referenced
607
+ * //worksheet. If the exported TML data includes FQNs, you don't need
608
+ * //to manually add FQNs of the referenced objects during TML import.
609
+ * edoc_format: "JSON" //It takes JSON or YAML value
610
+ * }).then(result => {
611
+ * console.log(result);
612
+ * }).catch(error => {
613
+ * console.error(error);
614
+ * });
613
615
  * ```
614
616
  * @version SDK: 1.23.0 | ThoughtSpot: 9.4.0.cl
615
617
  * @group Global methods
@@ -3671,15 +3673,20 @@ export enum EmbedEvent {
3671
3673
  * Prerequisite: Set isOnBeforeGetVizDataInterceptEnabled : true
3672
3674
  * for this embed event to get emitted.
3673
3675
  *
3674
- * Parameter: payload
3675
- * Parameter: responder
3676
+ * @param: payload
3677
+ * @param: responder
3676
3678
  * Contains elements that lets developers define whether ThoughtSpot
3677
3679
  * will run the search or not, and if not, which error message to provide.
3680
+ *
3678
3681
  * execute: When execute returns true, the search will be run.
3679
3682
  * When execute returns false, the search will not be executed.
3683
+ *
3680
3684
  * error: Developers can customize the user facing message when execute is
3681
3685
  * set to false using the error parameter in responder
3682
3686
  *
3687
+ * @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
3688
+ *
3689
+ * @example
3683
3690
  *```js
3684
3691
  * .on(EmbedEvent.OnBeforeGetVizDataIntercept,
3685
3692
  * (payload, responder) => {
@@ -3715,8 +3722,6 @@ export enum EmbedEvent {
3715
3722
  * }})
3716
3723
  * })
3717
3724
  *```
3718
- *
3719
- * @version SDK : 1.29.0 | Thoughtspot : 10.2.0.cl
3720
3725
  */
3721
3726
  OnBeforeGetVizDataIntercept = "onBeforeGetVizDataIntercept",
3722
3727
  /**
@@ -5906,9 +5911,12 @@ export interface CustomCssVariables {
5906
5911
  */
5907
5912
  '--ts-var-root-text-transform'?: string;
5908
5913
  /**
5909
- * application color, it replaces #2770EF which is rd-color(blue,base) and
5910
- * its similar colors like rd-color(blue,60), rd-color(accent, base) and
5911
- * rd-color(text, accent) in the app.
5914
+ * Font color of the text on toggle buttons such as
5915
+ * **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
5916
+ * the text color of the chart and table tiles on Home page (New modular Homepage experience),
5917
+ * and title text on the AI-generated charts and tables.
5918
+ * The default color code is #2770EF.
5919
+ *
5912
5920
  */
5913
5921
  '--ts-var-application-color'?: string;
5914
5922
  /**
@@ -6019,6 +6027,10 @@ export interface CustomCssVariables {
6019
6027
  * Background color of the primary buttons on hover.
6020
6028
  */
6021
6029
  '--ts-var-button--primary--hover-background'?: string;
6030
+ /**
6031
+ * Backgroud color of the primary buttons when active.
6032
+ */
6033
+ '--ts-var-button--primary--active-background'?: string;
6022
6034
  /**
6023
6035
  * Font color of the text on the secondary buttons.
6024
6036
  */
@@ -6035,6 +6047,10 @@ export interface CustomCssVariables {
6035
6047
  * Background color of the secondary button on hover.
6036
6048
  */
6037
6049
  '--ts-var-button--secondary--hover-background'?: string;
6050
+ /**
6051
+ * Backgroud color of the secondary buttons when active.
6052
+ */
6053
+ '--ts-var-button--secondary--active-background'?: string;
6038
6054
  /**
6039
6055
  * Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
6040
6056
  * buttons on the *Search* page.
@@ -6048,6 +6064,10 @@ export interface CustomCssVariables {
6048
6064
  * Background color of the tertiary button when a user hovers over these buttons.
6049
6065
  */
6050
6066
  '--ts-var-button--tertiary--hover-background'?: string;
6067
+ /**
6068
+ * Backgroud color of the tertiary buttons when active.
6069
+ */
6070
+ '--ts-var-button--tertiary--active-background'?: string;
6051
6071
  /**
6052
6072
  * Font color of the title text of a visualization or Answer.
6053
6073
  */
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thoughtspot/visual-embed-sdk",
3
- "version": "1.32.6",
3
+ "version": "1.32.8",
4
4
  "description": "ThoughtSpot Embed SDK",
5
5
  "module": "lib/src/index.js",
6
6
  "main": "dist/tsembed.js",
@@ -38,7 +38,7 @@
38
38
  "size-limit": [
39
39
  {
40
40
  "path": "dist/tsembed.js",
41
- "limit": "48 kB"
41
+ "limit": "49 kB"
42
42
  }
43
43
  ],
44
44
  "scripts": {
@@ -77,7 +77,7 @@
77
77
  "gatsby-plugin-vercel": "^1.0.3",
78
78
  "html-react-parser": "^1.4.12",
79
79
  "lodash": "^4.17.21",
80
- "mixpanel-browser": "^2.45.0",
80
+ "mixpanel-browser": "2.47.0",
81
81
  "ts-deepmerge": "^6.0.2",
82
82
  "tslib": "^2.5.3",
83
83
  "use-deep-compare-effect": "^1.8.1"
@@ -20,9 +20,12 @@ export interface CustomCssVariables {
20
20
  */
21
21
  '--ts-var-root-text-transform'?: string;
22
22
  /**
23
- * application color, it replaces #2770EF which is rd-color(blue,base) and
24
- * its similar colors like rd-color(blue,60), rd-color(accent, base) and
25
- * rd-color(text, accent) in the app.
23
+ * Font color of the text on toggle buttons such as
24
+ * **All**, **Answers**, and **Liveboards** on the Home page (Classic experience),
25
+ * the text color of the chart and table tiles on Home page (New modular Homepage experience),
26
+ * and title text on the AI-generated charts and tables.
27
+ * The default color code is #2770EF.
28
+ *
26
29
  */
27
30
  '--ts-var-application-color'?: string;
28
31
  /**
@@ -133,6 +136,10 @@ export interface CustomCssVariables {
133
136
  * Background color of the primary buttons on hover.
134
137
  */
135
138
  '--ts-var-button--primary--hover-background'?: string;
139
+ /**
140
+ * Backgroud color of the primary buttons when active.
141
+ */
142
+ '--ts-var-button--primary--active-background'?: string;
136
143
  /**
137
144
  * Font color of the text on the secondary buttons.
138
145
  */
@@ -149,6 +156,10 @@ export interface CustomCssVariables {
149
156
  * Background color of the secondary button on hover.
150
157
  */
151
158
  '--ts-var-button--secondary--hover-background'?: string;
159
+ /**
160
+ * Backgroud color of the secondary buttons when active.
161
+ */
162
+ '--ts-var-button--secondary--active-background'?: string;
152
163
  /**
153
164
  * Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
154
165
  * buttons on the *Search* page.
@@ -162,6 +173,10 @@ export interface CustomCssVariables {
162
173
  * Background color of the tertiary button when a user hovers over these buttons.
163
174
  */
164
175
  '--ts-var-button--tertiary--hover-background'?: string;
176
+ /**
177
+ * Backgroud color of the tertiary buttons when active.
178
+ */
179
+ '--ts-var-button--tertiary--active-background'?: string;
165
180
  /**
166
181
  * Font color of the title text of a visualization or Answer.
167
182
  */
@@ -1 +1 @@
1
- {"version":3,"file":"css-variables.d.ts","sourceRoot":"","sources":["../../src/css-variables.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAEpC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IAExC;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAEtC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAEnC;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,wCAAwC,CAAC,EAAE,MAAM,CAAC;IAElD;;OAEG;IACH,wCAAwC,CAAC,EAAE,MAAM,CAAC;IAElD;;OAEG;IACH,yCAAyC,CAAC,EAAE,MAAM,CAAC;IAEnD;;OAEG;IACH,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAE/C;;OAEG;IACH,sCAAsC,CAAC,EAAE,MAAM,CAAC;IAEhD;;OAEG;IACH,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAE/C;;OA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