canvasxpress 71.0.0 → 71.2.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.
- package/package.json +1 -1
- package/src/canvasXpress.css +3101 -0
- package/src/canvasXpress.d.mts +12 -4
- package/src/canvasXpress.d.ts +12 -4
- package/src/canvasXpress.js +3 -3
package/src/canvasXpress.d.mts
CHANGED
|
@@ -2199,10 +2199,16 @@ export interface CXConfig {
|
|
|
2199
2199
|
*/
|
|
2200
2200
|
dataTextScaleFontFactor?: number | boolean;
|
|
2201
2201
|
/**
|
|
2202
|
-
*
|
|
2202
|
+
* Border density of the UI widgets (data table, filters, Customizer, menus): default, or
|
|
2203
|
+
* minimal (every border softened to the look's faint colour). It composes with any theme
|
|
2204
|
+
* (theme: "ocean", dataUIStyle: "minimal"). The colour looks cx, modern, bms, colorful, rdc
|
|
2205
|
+
* and ngs360 are styles of the theme parameter (theme: "bms", or theme: ["economist", "bms"]
|
|
2206
|
+
* for a chart theme plus a widgets look); naming one here still works and fills that widgets
|
|
2207
|
+
* slot. Legacy values: stripped turns the data table row stripes off (see dataTableStriped),
|
|
2208
|
+
* old is a grey look
|
|
2203
2209
|
* @default "modern"
|
|
2204
2210
|
*/
|
|
2205
|
-
dataUIStyle?: "
|
|
2211
|
+
dataUIStyle?: "default" | "minimal" | "cx" | "modern" | "bms" | "colorful" | "rdc" | "ngs360" | "stripped" | "old" | false | (string & {});
|
|
2206
2212
|
/**
|
|
2207
2213
|
* Frequency for the data values in line graphs
|
|
2208
2214
|
* @graphTypes Area, AreaLine, Bar, BarLine, Boxplot, Bullet … (31 types; see CXGraphTypeKeys)
|
|
@@ -9429,8 +9435,10 @@ export interface CXConfig {
|
|
|
9429
9435
|
widgetsStripedColor?: string | boolean;
|
|
9430
9436
|
/**
|
|
9431
9437
|
* Light or dark UI widgets (toolbar, menus, Customizer, data table and filters, dialogs).
|
|
9432
|
-
* theme follows the chart theme (cxdark and cxblue are dark
|
|
9433
|
-
*
|
|
9438
|
+
* theme follows the chart theme (cxdark and cxblue are dark; the
|
|
9439
|
+
* paper/slate/mono/sunrise/ocean/midnight/graphite/forest themes give the widgets that same
|
|
9440
|
+
* style; auto follows the OS) and otherwise the page container, e.g. a dark dashboard; auto
|
|
9441
|
+
* follows the OS appearance
|
|
9434
9442
|
* @default "theme"
|
|
9435
9443
|
*/
|
|
9436
9444
|
widgetsTheme?: "theme" | "light" | "dark" | "auto" | false | (string & {});
|
package/src/canvasXpress.d.ts
CHANGED
|
@@ -2208,10 +2208,16 @@ declare namespace CanvasXpress {
|
|
|
2208
2208
|
*/
|
|
2209
2209
|
dataTextScaleFontFactor?: number | boolean;
|
|
2210
2210
|
/**
|
|
2211
|
-
*
|
|
2211
|
+
* Border density of the UI widgets (data table, filters, Customizer, menus): default, or
|
|
2212
|
+
* minimal (every border softened to the look's faint colour). It composes with any theme
|
|
2213
|
+
* (theme: "ocean", dataUIStyle: "minimal"). The colour looks cx, modern, bms, colorful, rdc
|
|
2214
|
+
* and ngs360 are styles of the theme parameter (theme: "bms", or theme: ["economist", "bms"]
|
|
2215
|
+
* for a chart theme plus a widgets look); naming one here still works and fills that widgets
|
|
2216
|
+
* slot. Legacy values: stripped turns the data table row stripes off (see dataTableStriped),
|
|
2217
|
+
* old is a grey look
|
|
2212
2218
|
* @default "modern"
|
|
2213
2219
|
*/
|
|
2214
|
-
dataUIStyle?: "
|
|
2220
|
+
dataUIStyle?: "default" | "minimal" | "cx" | "modern" | "bms" | "colorful" | "rdc" | "ngs360" | "stripped" | "old" | false | (string & {});
|
|
2215
2221
|
/**
|
|
2216
2222
|
* Frequency for the data values in line graphs
|
|
2217
2223
|
* @graphTypes Area, AreaLine, Bar, BarLine, Boxplot, Bullet … (31 types; see CXGraphTypeKeys)
|
|
@@ -9438,8 +9444,10 @@ declare namespace CanvasXpress {
|
|
|
9438
9444
|
widgetsStripedColor?: string | boolean;
|
|
9439
9445
|
/**
|
|
9440
9446
|
* Light or dark UI widgets (toolbar, menus, Customizer, data table and filters, dialogs).
|
|
9441
|
-
* theme follows the chart theme (cxdark and cxblue are dark
|
|
9442
|
-
*
|
|
9447
|
+
* theme follows the chart theme (cxdark and cxblue are dark; the
|
|
9448
|
+
* paper/slate/mono/sunrise/ocean/midnight/graphite/forest themes give the widgets that same
|
|
9449
|
+
* style; auto follows the OS) and otherwise the page container, e.g. a dark dashboard; auto
|
|
9450
|
+
* follows the OS appearance
|
|
9443
9451
|
* @default "theme"
|
|
9444
9452
|
*/
|
|
9445
9453
|
widgetsTheme?: "theme" | "light" | "dark" | "auto" | false | (string & {});
|