canvasxpress 72.9.1 → 73.0.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 CHANGED
@@ -20,7 +20,7 @@
20
20
  "./package.json": "./package.json"
21
21
  },
22
22
  "title": "CanvasXpress",
23
- "version": "72.9.1",
23
+ "version": "73.0.0",
24
24
  "license": "SEE LICENSE IN LICENSE",
25
25
  "files": [
26
26
  "src",
@@ -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 (1792 keys). String enums become open literal
148
+ * config schema (1793 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
@@ -1559,6 +1559,16 @@ export interface CXConfig {
1559
1559
  * @default 12
1560
1560
  */
1561
1561
  dataFilterMaxItems?: number | boolean;
1562
+ /**
1563
+ * Number format for the tick labels of the numeric range sliders in the data filters (and
1564
+ * the html range widget). Overrides numberFormat. A compact format keeps large values short,
1565
+ * i.e. 20M. It could be a preset name (comma, percent, dollar, euro, pound, yen, compact), a
1566
+ * sprintf format string, or an object, i.e. {"locale": "en-US", "style":
1567
+ * "decimal|percent|currency|compact", "currency": "USD", "decimals": 1, "grouping": true,
1568
+ * "prefix": "", "suffix": ""}. Uses Intl.NumberFormat when available
1569
+ * @default false
1570
+ */
1571
+ dataFilterNumberFormat?: string | Record<string, unknown> | boolean;
1562
1572
  /**
1563
1573
  * Color for the Text color for the data filter panel
1564
1574
  * @default "#555b62"
@@ -12852,6 +12862,7 @@ export type CXKeysText =
12852
12862
  | "align"
12853
12863
  | "autoScaleFont"
12854
12864
  | "baseline"
12865
+ | "dataFilterNumberFormat"
12855
12866
  | "dataLabelNumberFormat"
12856
12867
  | "fontColor"
12857
12868
  | "fontName"
@@ -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 (1792 keys). String enums become open literal
157
+ * config schema (1793 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
@@ -1568,6 +1568,16 @@ declare namespace CanvasXpress {
1568
1568
  * @default 12
1569
1569
  */
1570
1570
  dataFilterMaxItems?: number | boolean;
1571
+ /**
1572
+ * Number format for the tick labels of the numeric range sliders in the data filters (and
1573
+ * the html range widget). Overrides numberFormat. A compact format keeps large values short,
1574
+ * i.e. 20M. It could be a preset name (comma, percent, dollar, euro, pound, yen, compact), a
1575
+ * sprintf format string, or an object, i.e. {"locale": "en-US", "style":
1576
+ * "decimal|percent|currency|compact", "currency": "USD", "decimals": 1, "grouping": true,
1577
+ * "prefix": "", "suffix": ""}. Uses Intl.NumberFormat when available
1578
+ * @default false
1579
+ */
1580
+ dataFilterNumberFormat?: string | Record<string, unknown> | boolean;
1571
1581
  /**
1572
1582
  * Color for the Text color for the data filter panel
1573
1583
  * @default "#555b62"
@@ -12861,6 +12871,7 @@ declare namespace CanvasXpress {
12861
12871
  | "align"
12862
12872
  | "autoScaleFont"
12863
12873
  | "baseline"
12874
+ | "dataFilterNumberFormat"
12864
12875
  | "dataLabelNumberFormat"
12865
12876
  | "fontColor"
12866
12877
  | "fontName"