canvasxpress 70.5.0 → 70.7.0

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.
@@ -123,7 +123,7 @@ export type CXGraphType =
123
123
 
124
124
  /**
125
125
  * Full chart configuration — one property per parameter in the CanvasXpress
126
- * config schema (1701 keys). String enums become open literal
126
+ * config schema (1702 keys). String enums become open literal
127
127
  * unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
128
128
  * lists the graph types it applies to (absent = all). The index signature keeps
129
129
  * obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
@@ -7056,8 +7056,8 @@ export interface CXConfig {
7056
7056
  */
7057
7057
  showDataLabels?: boolean;
7058
7058
  /**
7059
- * Flag to show/hide the data values in the bar graphs, stacked graphs, dotplots and line
7060
- * graphs
7059
+ * Flag to show/hide the data values in the bar graphs, stacked graphs, dotplots, line graphs
7060
+ * and Sankey node labels
7061
7061
  * @graphTypes Area, AreaLine, Bar, BarLine, Boxplot, Bullet … (31 types; see CXGraphTypeKeys)
7062
7062
  * @default false
7063
7063
  */
@@ -8960,6 +8960,13 @@ export interface CXConfig {
8960
8960
  * @default "rgba(83, 105, 255, 0.05)"
8961
8961
  */
8962
8962
  widgetsStripedColor?: string | boolean;
8963
+ /**
8964
+ * Light or dark UI widgets (toolbar, menus, Customizer, data table and filters, dialogs).
8965
+ * theme follows the chart theme (cxdark and cxblue are dark, auto follows the OS) and
8966
+ * otherwise the page container, e.g. a dark dashboard; auto follows the OS appearance
8967
+ * @default "theme"
8968
+ */
8969
+ widgetsTheme?: "theme" | "light" | "dark" | "auto" | false | (string & {});
8963
8970
  /**
8964
8971
  * Factor to adjust the width of the graph elements in one-dimensional and three-dimensional
8965
8972
  * plots. The greater the number, the wider the elements
@@ -11004,7 +11011,8 @@ export type CXKeysDataUIWidgets =
11004
11011
  | "widgetsIconClsBColor"
11005
11012
  | "widgetsIconClsCColor"
11006
11013
  | "widgetsIconClsXColor"
11007
- | "widgetsStripedColor";
11014
+ | "widgetsStripedColor"
11015
+ | "widgetsTheme";
11008
11016
  /** Config keys in the "Debug" category. */
11009
11017
  export type CXKeysDebug =
11010
11018
  | "codeType"
@@ -132,7 +132,7 @@ declare namespace CanvasXpress {
132
132
 
133
133
  /**
134
134
  * Full chart configuration — one property per parameter in the CanvasXpress
135
- * config schema (1701 keys). String enums become open literal
135
+ * config schema (1702 keys). String enums become open literal
136
136
  * unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
137
137
  * lists the graph types it applies to (absent = all). The index signature keeps
138
138
  * obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
@@ -7065,8 +7065,8 @@ declare namespace CanvasXpress {
7065
7065
  */
7066
7066
  showDataLabels?: boolean;
7067
7067
  /**
7068
- * Flag to show/hide the data values in the bar graphs, stacked graphs, dotplots and line
7069
- * graphs
7068
+ * Flag to show/hide the data values in the bar graphs, stacked graphs, dotplots, line graphs
7069
+ * and Sankey node labels
7070
7070
  * @graphTypes Area, AreaLine, Bar, BarLine, Boxplot, Bullet … (31 types; see CXGraphTypeKeys)
7071
7071
  * @default false
7072
7072
  */
@@ -8969,6 +8969,13 @@ declare namespace CanvasXpress {
8969
8969
  * @default "rgba(83, 105, 255, 0.05)"
8970
8970
  */
8971
8971
  widgetsStripedColor?: string | boolean;
8972
+ /**
8973
+ * Light or dark UI widgets (toolbar, menus, Customizer, data table and filters, dialogs).
8974
+ * theme follows the chart theme (cxdark and cxblue are dark, auto follows the OS) and
8975
+ * otherwise the page container, e.g. a dark dashboard; auto follows the OS appearance
8976
+ * @default "theme"
8977
+ */
8978
+ widgetsTheme?: "theme" | "light" | "dark" | "auto" | false | (string & {});
8972
8979
  /**
8973
8980
  * Factor to adjust the width of the graph elements in one-dimensional and three-dimensional
8974
8981
  * plots. The greater the number, the wider the elements
@@ -11013,7 +11020,8 @@ declare namespace CanvasXpress {
11013
11020
  | "widgetsIconClsBColor"
11014
11021
  | "widgetsIconClsCColor"
11015
11022
  | "widgetsIconClsXColor"
11016
- | "widgetsStripedColor";
11023
+ | "widgetsStripedColor"
11024
+ | "widgetsTheme";
11017
11025
  /** Config keys in the "Debug" category. */
11018
11026
  export type CXKeysDebug =
11019
11027
  | "codeType"