canvasxpress 72.7.0 → 72.8.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 +6 -0
- package/src/canvasXpress.d.mts +21 -1
- package/src/canvasXpress.d.ts +21 -1
- package/src/canvasXpress.js +2 -2
package/package.json
CHANGED
package/src/canvasXpress.css
CHANGED
|
@@ -7454,6 +7454,12 @@ input[type=range].cX-Workflow-Duration-Slider::-moz-range-thumb {
|
|
|
7454
7454
|
* Toolbar *
|
|
7455
7455
|
*************/
|
|
7456
7456
|
|
|
7457
|
+
/* Video-mode toolbar reveal: start the toolbar hidden so the fade-in (transition set
|
|
7458
|
+
inline in workflow.js, with a cursor-matched duration) looks like the cursor reveals it. */
|
|
7459
|
+
.cX-Toolbar-DemoFadeIn {
|
|
7460
|
+
opacity: 0;
|
|
7461
|
+
}
|
|
7462
|
+
|
|
7457
7463
|
.cX-Toolbar-Image {
|
|
7458
7464
|
background: var(--cx-color-transparent) !important;
|
|
7459
7465
|
border: 0px none !important;
|
package/src/canvasXpress.d.mts
CHANGED
|
@@ -145,7 +145,7 @@ export type CXGraphType =
|
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Full chart configuration — one property per parameter in the CanvasXpress
|
|
148
|
-
* config schema (
|
|
148
|
+
* config schema (1792 keys). String enums become open literal
|
|
149
149
|
* unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
|
|
150
150
|
* lists the graph types it applies to (absent = all). The index signature keeps
|
|
151
151
|
* obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
|
|
@@ -2438,6 +2438,23 @@ export interface CXConfig {
|
|
|
2438
2438
|
* @default 20
|
|
2439
2439
|
*/
|
|
2440
2440
|
decorationsWidth?: number | boolean;
|
|
2441
|
+
/**
|
|
2442
|
+
* Declarative storyboard of semantic steps
|
|
2443
|
+
* (toolbar/customizer/marker/point/legend/caption/wait/raw) the ghost cursor performs for a
|
|
2444
|
+
* demo video; see playDemo
|
|
2445
|
+
* @default []
|
|
2446
|
+
*/
|
|
2447
|
+
demo?: unknown[] | boolean | string | number;
|
|
2448
|
+
/**
|
|
2449
|
+
* When a demo storyboard is set, play it automatically once after the first render
|
|
2450
|
+
* @default true
|
|
2451
|
+
*/
|
|
2452
|
+
demoAutoPlay?: boolean;
|
|
2453
|
+
/**
|
|
2454
|
+
* Demo playback speed multiplier (1 = human pace, 2 = twice as fast)
|
|
2455
|
+
* @default 1
|
|
2456
|
+
*/
|
|
2457
|
+
demoSpeed?: number | boolean;
|
|
2441
2458
|
/**
|
|
2442
2459
|
* Color for the dendrograms
|
|
2443
2460
|
* @graphTypes Area, AreaLine, Bar, BarLine, Boxplot, Circular … (21 types; see CXGraphTypeKeys)
|
|
@@ -12561,6 +12578,9 @@ export type CXKeysPlotDataType =
|
|
|
12561
12578
|
| "responsiveRules";
|
|
12562
12579
|
/** Config keys in the "Plot Mode" category. */
|
|
12563
12580
|
export type CXKeysPlotMode =
|
|
12581
|
+
| "demo"
|
|
12582
|
+
| "demoAutoPlay"
|
|
12583
|
+
| "demoSpeed"
|
|
12564
12584
|
| "isEditable"
|
|
12565
12585
|
| "isReproducibleResearch"
|
|
12566
12586
|
| "reproduceTime"
|
package/src/canvasXpress.d.ts
CHANGED
|
@@ -154,7 +154,7 @@ declare namespace CanvasXpress {
|
|
|
154
154
|
|
|
155
155
|
/**
|
|
156
156
|
* Full chart configuration — one property per parameter in the CanvasXpress
|
|
157
|
-
* config schema (
|
|
157
|
+
* config schema (1792 keys). String enums become open literal
|
|
158
158
|
* unions (except `graphType`, which is closed); `@graphTypes` in a key's JSDoc
|
|
159
159
|
* lists the graph types it applies to (absent = all). The index signature keeps
|
|
160
160
|
* obfuscation aliases and any newer key valid. See `CXConfigFor<G>` for the
|
|
@@ -2447,6 +2447,23 @@ declare namespace CanvasXpress {
|
|
|
2447
2447
|
* @default 20
|
|
2448
2448
|
*/
|
|
2449
2449
|
decorationsWidth?: number | boolean;
|
|
2450
|
+
/**
|
|
2451
|
+
* Declarative storyboard of semantic steps
|
|
2452
|
+
* (toolbar/customizer/marker/point/legend/caption/wait/raw) the ghost cursor performs for a
|
|
2453
|
+
* demo video; see playDemo
|
|
2454
|
+
* @default []
|
|
2455
|
+
*/
|
|
2456
|
+
demo?: unknown[] | boolean | string | number;
|
|
2457
|
+
/**
|
|
2458
|
+
* When a demo storyboard is set, play it automatically once after the first render
|
|
2459
|
+
* @default true
|
|
2460
|
+
*/
|
|
2461
|
+
demoAutoPlay?: boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* Demo playback speed multiplier (1 = human pace, 2 = twice as fast)
|
|
2464
|
+
* @default 1
|
|
2465
|
+
*/
|
|
2466
|
+
demoSpeed?: number | boolean;
|
|
2450
2467
|
/**
|
|
2451
2468
|
* Color for the dendrograms
|
|
2452
2469
|
* @graphTypes Area, AreaLine, Bar, BarLine, Boxplot, Circular … (21 types; see CXGraphTypeKeys)
|
|
@@ -12570,6 +12587,9 @@ declare namespace CanvasXpress {
|
|
|
12570
12587
|
| "responsiveRules";
|
|
12571
12588
|
/** Config keys in the "Plot Mode" category. */
|
|
12572
12589
|
export type CXKeysPlotMode =
|
|
12590
|
+
| "demo"
|
|
12591
|
+
| "demoAutoPlay"
|
|
12592
|
+
| "demoSpeed"
|
|
12573
12593
|
| "isEditable"
|
|
12574
12594
|
| "isReproducibleResearch"
|
|
12575
12595
|
| "reproduceTime"
|