@krizaka/charts 0.3.1 → 0.5.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/dist/actions-5VG352VZ.js +53 -0
- package/dist/actions-5VG352VZ.js.map +1 -0
- package/dist/bar.d.ts +3 -3
- package/dist/bar.js +7 -6
- package/dist/candlestick.d.ts +2 -2
- package/dist/candlestick.js +6 -5
- package/dist/card.d.ts +52 -0
- package/dist/card.js +19 -0
- package/dist/card.js.map +1 -0
- package/dist/{cartesian-BRhNQ3ib.d.ts → cartesian-CEY_wwe_.d.ts} +12 -2
- package/dist/chart.d.ts +2 -2
- package/dist/chart.js +5 -4
- package/dist/{chunk-BV4DBGN7.js → chunk-7W4T255Q.js} +4 -4
- package/dist/{chunk-W5ILLSPK.js → chunk-AGSSNMK5.js} +5 -5
- package/dist/{chunk-VKZZY2QD.js → chunk-FE4LUGAE.js} +5 -5
- package/dist/{chunk-ARARFMNE.js → chunk-FIQHMJZK.js} +5 -5
- package/dist/chunk-FIQHMJZK.js.map +1 -0
- package/dist/{chunk-ANUCSRUN.js → chunk-GD7TWEN3.js} +3 -3
- package/dist/chunk-GRRFPI27.js +89 -0
- package/dist/chunk-GRRFPI27.js.map +1 -0
- package/dist/{chunk-SLEJDQ3A.js → chunk-HH65IEUV.js} +3 -3
- package/dist/{chunk-OIRHLJBC.js → chunk-IJTI6VJD.js} +3 -3
- package/dist/{chunk-WVTIKOII.js → chunk-IURCLBUQ.js} +2 -2
- package/dist/{chunk-CVWSMUUB.js → chunk-JST4HJC3.js} +33 -15
- package/dist/chunk-JST4HJC3.js.map +1 -0
- package/dist/{chunk-IKQV3NSL.js → chunk-KERGFVSN.js} +3 -3
- package/dist/{chunk-XDDALY4C.js → chunk-KMQ7RANJ.js} +5 -5
- package/dist/{chunk-NCIQMRV3.js → chunk-LLUQEK5J.js} +5 -5
- package/dist/{chunk-AA5EWWYV.js → chunk-LZPZWBBY.js} +2 -2
- package/dist/{chunk-PBQV3B6O.js → chunk-MK2ZFUWM.js} +31 -16
- package/dist/chunk-MK2ZFUWM.js.map +1 -0
- package/dist/{chunk-CSSZLFLO.js → chunk-MRGMLDNS.js} +5 -5
- package/dist/{chunk-I3D7KUGN.js → chunk-NLTZWJLV.js} +3 -3
- package/dist/{chunk-PWMMXRMC.js → chunk-NV52AKHG.js} +3 -3
- package/dist/{chunk-MXLITIGU.js → chunk-NWJ5VDN7.js} +5 -5
- package/dist/{chunk-3CJHBJXA.js → chunk-OVASCEGF.js} +12 -73
- package/dist/chunk-OVASCEGF.js.map +1 -0
- package/dist/{chunk-EQLC2QVN.js → chunk-OZOAKP5F.js} +4 -4
- package/dist/chunk-OZOAKP5F.js.map +1 -0
- package/dist/{chunk-KNDHO67X.js → chunk-P2NK5L3B.js} +3 -3
- package/dist/{chunk-JTKR7ZWP.js → chunk-P6RS2L23.js} +140 -36
- package/dist/chunk-P6RS2L23.js.map +1 -0
- package/dist/{chunk-W5FX4TU3.js → chunk-PGD6SH5I.js} +30 -2
- package/dist/chunk-PGD6SH5I.js.map +1 -0
- package/dist/{chunk-4LBXEAGC.js → chunk-PWZHIGPO.js} +5 -5
- package/dist/{chunk-L2EKYWVI.js → chunk-VEOJNMPF.js} +3 -3
- package/dist/chunk-YHQFW2PR.js +71 -0
- package/dist/chunk-YHQFW2PR.js.map +1 -0
- package/dist/{chunk-C4MFZLJM.js → chunk-Z4T3JFNU.js} +2 -2
- package/dist/{chunk-EEP7PS2L.js → chunk-ZF7LVQTR.js} +3 -3
- package/dist/{context-BgYUymEO.d.ts → context-DNW7bJYw.d.ts} +19 -0
- package/dist/credits.d.ts +1 -1
- package/dist/credits.js +7 -6
- package/dist/earnings.d.ts +3 -3
- package/dist/earnings.js +8 -7
- package/dist/{frame-I7_xYGy5.d.ts → frame-B1HDNm7c.d.ts} +9 -5
- package/dist/funnel.d.ts +2 -2
- package/dist/funnel.js +6 -5
- package/dist/gauge.d.ts +2 -2
- package/dist/gauge.js +4 -3
- package/dist/geo.d.ts +2 -2
- package/dist/geo.js +5 -4
- package/dist/globe.d.ts +2 -2
- package/dist/globe.js +4 -3
- package/dist/goal.d.ts +2 -2
- package/dist/goal.js +5 -4
- package/dist/heatmap.d.ts +2 -2
- package/dist/heatmap.js +6 -5
- package/dist/index.d.ts +5 -3
- package/dist/index.js +45 -37
- package/dist/latency.d.ts +3 -3
- package/dist/latency.js +8 -7
- package/dist/line.d.ts +3 -3
- package/dist/line.js +7 -6
- package/dist/native.d.ts +19 -0
- package/dist/native.js +13 -1
- package/dist/native.js.map +1 -1
- package/dist/pie.d.ts +2 -2
- package/dist/pie.js +6 -5
- package/dist/provider.d.ts +2 -2
- package/dist/provider.js +4 -2
- package/dist/radar.d.ts +2 -2
- package/dist/radar.js +6 -5
- package/dist/sankey.d.ts +2 -2
- package/dist/sankey.js +6 -5
- package/dist/scatter.d.ts +2 -2
- package/dist/scatter.js +6 -5
- package/dist/sparkline.d.ts +2 -2
- package/dist/sparkline.js +6 -5
- package/dist/table-sheet-CQBIAV5N.js +36 -0
- package/dist/table-sheet-CQBIAV5N.js.map +1 -0
- package/dist/throughput.d.ts +3 -3
- package/dist/throughput.js +8 -7
- package/dist/ticker.d.ts +3 -3
- package/dist/ticker.js +8 -7
- package/dist/treemap.d.ts +2 -2
- package/dist/treemap.js +7 -6
- package/package.json +292 -50
- package/registry/area-chart.json +93 -12
- package/registry/bar-chart.json +93 -12
- package/registry/calendar-heatmap.json +59 -18
- package/registry/candlestick.json +59 -18
- package/registry/chart-card.json +248 -0
- package/registry/chart.json +53 -12
- package/registry/charts-provider.json +13 -2
- package/registry/credit-usage.json +11 -0
- package/registry/earnings-chart.json +93 -12
- package/registry/examples/chart-card/before-after.d.ts +4 -0
- package/registry/examples/chart-card/before-after.js +22 -0
- package/registry/examples/chart-card/before-after.tsx +22 -0
- package/registry/examples/chart-card/jobs-activity.d.ts +4 -0
- package/registry/examples/chart-card/jobs-activity.js +20 -0
- package/registry/examples/chart-card/jobs-activity.tsx +20 -0
- package/registry/examples/chart-card/sparse-and-empty.d.ts +4 -0
- package/registry/examples/chart-card/sparse-and-empty.js +16 -0
- package/registry/examples/chart-card/sparse-and-empty.tsx +18 -0
- package/registry/examples/chart-card/usage-donut.d.ts +4 -0
- package/registry/examples/chart-card/usage-donut.js +18 -0
- package/registry/examples/chart-card/usage-donut.tsx +18 -0
- package/registry/examples/charts-provider/french-orazaka.js +1 -1
- package/registry/examples/charts-provider/french-orazaka.tsx +1 -1
- package/registry/examples/kpi-stat/dashboard-row.d.ts +4 -0
- package/registry/examples/kpi-stat/dashboard-row.js +19 -0
- package/registry/examples/kpi-stat/dashboard-row.tsx +17 -0
- package/registry/examples/kpi-stat/single.d.ts +4 -0
- package/registry/examples/kpi-stat/single.js +11 -0
- package/registry/examples/kpi-stat/single.tsx +6 -0
- package/registry/funnel.json +59 -18
- package/registry/gauge.json +53 -14
- package/registry/geo-map.json +59 -18
- package/registry/globe.json +54 -12
- package/registry/goal-progress.json +47 -8
- package/registry/heatmap.json +59 -18
- package/registry/index.json +362 -1
- package/registry/job-throughput.json +93 -12
- package/registry/kpi-stat.json +309 -0
- package/registry/latency-chart.json +93 -12
- package/registry/line-chart.json +93 -12
- package/registry/pie-chart.json +103 -36
- package/registry/price-ticker.json +93 -12
- package/registry/radar-chart.json +59 -18
- package/registry/sankey.json +59 -18
- package/registry/scatter-chart.json +59 -18
- package/registry/sparkline.json +49 -10
- package/registry/treemap.json +53 -12
- package/dist/chunk-3CJHBJXA.js.map +0 -1
- package/dist/chunk-ARARFMNE.js.map +0 -1
- package/dist/chunk-CVWSMUUB.js.map +0 -1
- package/dist/chunk-EQLC2QVN.js.map +0 -1
- package/dist/chunk-JTKR7ZWP.js.map +0 -1
- package/dist/chunk-PBQV3B6O.js.map +0 -1
- package/dist/chunk-W5FX4TU3.js.map +0 -1
- /package/dist/{chunk-BV4DBGN7.js.map → chunk-7W4T255Q.js.map} +0 -0
- /package/dist/{chunk-W5ILLSPK.js.map → chunk-AGSSNMK5.js.map} +0 -0
- /package/dist/{chunk-VKZZY2QD.js.map → chunk-FE4LUGAE.js.map} +0 -0
- /package/dist/{chunk-ANUCSRUN.js.map → chunk-GD7TWEN3.js.map} +0 -0
- /package/dist/{chunk-SLEJDQ3A.js.map → chunk-HH65IEUV.js.map} +0 -0
- /package/dist/{chunk-OIRHLJBC.js.map → chunk-IJTI6VJD.js.map} +0 -0
- /package/dist/{chunk-WVTIKOII.js.map → chunk-IURCLBUQ.js.map} +0 -0
- /package/dist/{chunk-IKQV3NSL.js.map → chunk-KERGFVSN.js.map} +0 -0
- /package/dist/{chunk-XDDALY4C.js.map → chunk-KMQ7RANJ.js.map} +0 -0
- /package/dist/{chunk-NCIQMRV3.js.map → chunk-LLUQEK5J.js.map} +0 -0
- /package/dist/{chunk-AA5EWWYV.js.map → chunk-LZPZWBBY.js.map} +0 -0
- /package/dist/{chunk-CSSZLFLO.js.map → chunk-MRGMLDNS.js.map} +0 -0
- /package/dist/{chunk-I3D7KUGN.js.map → chunk-NLTZWJLV.js.map} +0 -0
- /package/dist/{chunk-PWMMXRMC.js.map → chunk-NV52AKHG.js.map} +0 -0
- /package/dist/{chunk-MXLITIGU.js.map → chunk-NWJ5VDN7.js.map} +0 -0
- /package/dist/{chunk-KNDHO67X.js.map → chunk-P2NK5L3B.js.map} +0 -0
- /package/dist/{chunk-4LBXEAGC.js.map → chunk-PWZHIGPO.js.map} +0 -0
- /package/dist/{chunk-L2EKYWVI.js.map → chunk-VEOJNMPF.js.map} +0 -0
- /package/dist/{chunk-C4MFZLJM.js.map → chunk-Z4T3JFNU.js.map} +0 -0
- /package/dist/{chunk-EEP7PS2L.js.map → chunk-ZF7LVQTR.js.map} +0 -0
package/registry/pie-chart.json
CHANGED
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "yes"
|
|
17
|
+
},
|
|
18
|
+
"desktop": {
|
|
19
|
+
"state": "yes"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
11
22
|
"engine": "svg",
|
|
12
23
|
"tier": "core",
|
|
13
24
|
"whenToUse": [
|
|
@@ -96,13 +107,6 @@
|
|
|
96
107
|
"description": "The field (or function) naming the part.",
|
|
97
108
|
"required": true
|
|
98
109
|
},
|
|
99
|
-
{
|
|
100
|
-
"name": "title",
|
|
101
|
-
"type": "string",
|
|
102
|
-
"default": null,
|
|
103
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
104
|
-
"required": true
|
|
105
|
-
},
|
|
106
110
|
{
|
|
107
111
|
"name": "value",
|
|
108
112
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -110,6 +114,13 @@
|
|
|
110
114
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
111
115
|
"required": true
|
|
112
116
|
},
|
|
117
|
+
{
|
|
118
|
+
"name": "actionsMenu",
|
|
119
|
+
"type": "boolean",
|
|
120
|
+
"default": null,
|
|
121
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
122
|
+
"required": false
|
|
123
|
+
},
|
|
113
124
|
{
|
|
114
125
|
"name": "brand",
|
|
115
126
|
"type": "BrandId",
|
|
@@ -149,7 +160,7 @@
|
|
|
149
160
|
"name": "dataTable",
|
|
150
161
|
"type": "boolean",
|
|
151
162
|
"default": null,
|
|
152
|
-
"description": "
|
|
163
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
153
164
|
"required": false
|
|
154
165
|
},
|
|
155
166
|
{
|
|
@@ -177,7 +188,7 @@
|
|
|
177
188
|
"name": "exportable",
|
|
178
189
|
"type": "boolean | readonly ExportFormat[]",
|
|
179
190
|
"default": null,
|
|
180
|
-
"description": "
|
|
191
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
181
192
|
"required": false
|
|
182
193
|
},
|
|
183
194
|
{
|
|
@@ -208,6 +219,13 @@
|
|
|
208
219
|
"description": "The id of the figure.",
|
|
209
220
|
"required": false
|
|
210
221
|
},
|
|
222
|
+
{
|
|
223
|
+
"name": "insight",
|
|
224
|
+
"type": "ReactNode",
|
|
225
|
+
"default": null,
|
|
226
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
227
|
+
"required": false
|
|
228
|
+
},
|
|
211
229
|
{
|
|
212
230
|
"name": "labelHeader",
|
|
213
231
|
"type": "string",
|
|
@@ -285,6 +303,13 @@
|
|
|
285
303
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
286
304
|
"required": false
|
|
287
305
|
},
|
|
306
|
+
{
|
|
307
|
+
"name": "title",
|
|
308
|
+
"type": "string",
|
|
309
|
+
"default": null,
|
|
310
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
311
|
+
"required": false
|
|
312
|
+
},
|
|
288
313
|
{
|
|
289
314
|
"name": "valueHeader",
|
|
290
315
|
"type": "string",
|
|
@@ -312,13 +337,6 @@
|
|
|
312
337
|
"description": "The field (or function) naming the part.",
|
|
313
338
|
"required": true
|
|
314
339
|
},
|
|
315
|
-
{
|
|
316
|
-
"name": "title",
|
|
317
|
-
"type": "string",
|
|
318
|
-
"default": null,
|
|
319
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
320
|
-
"required": true
|
|
321
|
-
},
|
|
322
340
|
{
|
|
323
341
|
"name": "value",
|
|
324
342
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -326,6 +344,13 @@
|
|
|
326
344
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
327
345
|
"required": true
|
|
328
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"name": "actionsMenu",
|
|
349
|
+
"type": "boolean",
|
|
350
|
+
"default": null,
|
|
351
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
352
|
+
"required": false
|
|
353
|
+
},
|
|
329
354
|
{
|
|
330
355
|
"name": "brand",
|
|
331
356
|
"type": "BrandId",
|
|
@@ -365,7 +390,7 @@
|
|
|
365
390
|
"name": "dataTable",
|
|
366
391
|
"type": "boolean",
|
|
367
392
|
"default": null,
|
|
368
|
-
"description": "
|
|
393
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
369
394
|
"required": false
|
|
370
395
|
},
|
|
371
396
|
{
|
|
@@ -400,7 +425,7 @@
|
|
|
400
425
|
"name": "exportable",
|
|
401
426
|
"type": "boolean | readonly ExportFormat[]",
|
|
402
427
|
"default": null,
|
|
403
|
-
"description": "
|
|
428
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
404
429
|
"required": false
|
|
405
430
|
},
|
|
406
431
|
{
|
|
@@ -431,6 +456,13 @@
|
|
|
431
456
|
"description": "The id of the figure.",
|
|
432
457
|
"required": false
|
|
433
458
|
},
|
|
459
|
+
{
|
|
460
|
+
"name": "insight",
|
|
461
|
+
"type": "ReactNode",
|
|
462
|
+
"default": null,
|
|
463
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
464
|
+
"required": false
|
|
465
|
+
},
|
|
434
466
|
{
|
|
435
467
|
"name": "labelHeader",
|
|
436
468
|
"type": "string",
|
|
@@ -508,6 +540,13 @@
|
|
|
508
540
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
509
541
|
"required": false
|
|
510
542
|
},
|
|
543
|
+
{
|
|
544
|
+
"name": "title",
|
|
545
|
+
"type": "string",
|
|
546
|
+
"default": null,
|
|
547
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
548
|
+
"required": false
|
|
549
|
+
},
|
|
511
550
|
{
|
|
512
551
|
"name": "valueHeader",
|
|
513
552
|
"type": "string",
|
|
@@ -863,13 +902,6 @@
|
|
|
863
902
|
"description": "The field (or function) naming the part.",
|
|
864
903
|
"required": true
|
|
865
904
|
},
|
|
866
|
-
{
|
|
867
|
-
"name": "title",
|
|
868
|
-
"type": "string",
|
|
869
|
-
"default": null,
|
|
870
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
871
|
-
"required": true
|
|
872
|
-
},
|
|
873
905
|
{
|
|
874
906
|
"name": "value",
|
|
875
907
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -877,6 +909,13 @@
|
|
|
877
909
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
878
910
|
"required": true
|
|
879
911
|
},
|
|
912
|
+
{
|
|
913
|
+
"name": "actionsMenu",
|
|
914
|
+
"type": "boolean",
|
|
915
|
+
"default": null,
|
|
916
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
917
|
+
"required": false
|
|
918
|
+
},
|
|
880
919
|
{
|
|
881
920
|
"name": "brand",
|
|
882
921
|
"type": "BrandId",
|
|
@@ -916,7 +955,7 @@
|
|
|
916
955
|
"name": "dataTable",
|
|
917
956
|
"type": "boolean",
|
|
918
957
|
"default": null,
|
|
919
|
-
"description": "
|
|
958
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
920
959
|
"required": false
|
|
921
960
|
},
|
|
922
961
|
{
|
|
@@ -944,7 +983,7 @@
|
|
|
944
983
|
"name": "exportable",
|
|
945
984
|
"type": "boolean | readonly ExportFormat[]",
|
|
946
985
|
"default": null,
|
|
947
|
-
"description": "
|
|
986
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
948
987
|
"required": false
|
|
949
988
|
},
|
|
950
989
|
{
|
|
@@ -975,6 +1014,13 @@
|
|
|
975
1014
|
"description": "The id of the figure.",
|
|
976
1015
|
"required": false
|
|
977
1016
|
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "insight",
|
|
1019
|
+
"type": "ReactNode",
|
|
1020
|
+
"default": null,
|
|
1021
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
1022
|
+
"required": false
|
|
1023
|
+
},
|
|
978
1024
|
{
|
|
979
1025
|
"name": "labelHeader",
|
|
980
1026
|
"type": "string",
|
|
@@ -1052,6 +1098,13 @@
|
|
|
1052
1098
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
1053
1099
|
"required": false
|
|
1054
1100
|
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "title",
|
|
1103
|
+
"type": "string",
|
|
1104
|
+
"default": null,
|
|
1105
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
1106
|
+
"required": false
|
|
1107
|
+
},
|
|
1055
1108
|
{
|
|
1056
1109
|
"name": "valueHeader",
|
|
1057
1110
|
"type": "string",
|
|
@@ -1079,13 +1132,6 @@
|
|
|
1079
1132
|
"description": "The field (or function) naming the part.",
|
|
1080
1133
|
"required": true
|
|
1081
1134
|
},
|
|
1082
|
-
{
|
|
1083
|
-
"name": "title",
|
|
1084
|
-
"type": "string",
|
|
1085
|
-
"default": null,
|
|
1086
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
1087
|
-
"required": true
|
|
1088
|
-
},
|
|
1089
1135
|
{
|
|
1090
1136
|
"name": "value",
|
|
1091
1137
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -1093,6 +1139,13 @@
|
|
|
1093
1139
|
"description": "The field (or function) of its amount (≥ 0).",
|
|
1094
1140
|
"required": true
|
|
1095
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"name": "actionsMenu",
|
|
1144
|
+
"type": "boolean",
|
|
1145
|
+
"default": null,
|
|
1146
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
1147
|
+
"required": false
|
|
1148
|
+
},
|
|
1096
1149
|
{
|
|
1097
1150
|
"name": "brand",
|
|
1098
1151
|
"type": "BrandId",
|
|
@@ -1132,7 +1185,7 @@
|
|
|
1132
1185
|
"name": "dataTable",
|
|
1133
1186
|
"type": "boolean",
|
|
1134
1187
|
"default": null,
|
|
1135
|
-
"description": "
|
|
1188
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
1136
1189
|
"required": false
|
|
1137
1190
|
},
|
|
1138
1191
|
{
|
|
@@ -1167,7 +1220,7 @@
|
|
|
1167
1220
|
"name": "exportable",
|
|
1168
1221
|
"type": "boolean | readonly ExportFormat[]",
|
|
1169
1222
|
"default": null,
|
|
1170
|
-
"description": "
|
|
1223
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
1171
1224
|
"required": false
|
|
1172
1225
|
},
|
|
1173
1226
|
{
|
|
@@ -1198,6 +1251,13 @@
|
|
|
1198
1251
|
"description": "The id of the figure.",
|
|
1199
1252
|
"required": false
|
|
1200
1253
|
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "insight",
|
|
1256
|
+
"type": "ReactNode",
|
|
1257
|
+
"default": null,
|
|
1258
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
1259
|
+
"required": false
|
|
1260
|
+
},
|
|
1201
1261
|
{
|
|
1202
1262
|
"name": "labelHeader",
|
|
1203
1263
|
"type": "string",
|
|
@@ -1275,6 +1335,13 @@
|
|
|
1275
1335
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
1276
1336
|
"required": false
|
|
1277
1337
|
},
|
|
1338
|
+
{
|
|
1339
|
+
"name": "title",
|
|
1340
|
+
"type": "string",
|
|
1341
|
+
"default": null,
|
|
1342
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
1343
|
+
"required": false
|
|
1344
|
+
},
|
|
1278
1345
|
{
|
|
1279
1346
|
"name": "valueHeader",
|
|
1280
1347
|
"type": "string",
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "yes"
|
|
17
|
+
},
|
|
18
|
+
"desktop": {
|
|
19
|
+
"state": "yes"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
11
22
|
"engine": "svg",
|
|
12
23
|
"tier": "ready-made",
|
|
13
24
|
"whenToUse": [
|
|
@@ -85,11 +96,18 @@
|
|
|
85
96
|
"required": true
|
|
86
97
|
},
|
|
87
98
|
{
|
|
88
|
-
"name": "
|
|
89
|
-
"type": "
|
|
99
|
+
"name": "actionsMenu",
|
|
100
|
+
"type": "boolean",
|
|
90
101
|
"default": null,
|
|
91
|
-
"description": "
|
|
92
|
-
"required":
|
|
102
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
103
|
+
"required": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "autoRange",
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"default": null,
|
|
109
|
+
"description": "Zoom the time axis on the period that has data: the empty days before the first and after the last value are\nleft out (never fewer than `minPoints`), and a sparse period says so under the chart instead of drawing 13 empty\ndays around one bar. Default false.",
|
|
110
|
+
"required": false
|
|
93
111
|
},
|
|
94
112
|
{
|
|
95
113
|
"name": "brand",
|
|
@@ -109,7 +127,7 @@
|
|
|
109
127
|
"name": "dataTable",
|
|
110
128
|
"type": "boolean",
|
|
111
129
|
"default": null,
|
|
112
|
-
"description": "
|
|
130
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
113
131
|
"required": false
|
|
114
132
|
},
|
|
115
133
|
{
|
|
@@ -151,7 +169,14 @@
|
|
|
151
169
|
"name": "exportable",
|
|
152
170
|
"type": "boolean | readonly ExportFormat[]",
|
|
153
171
|
"default": null,
|
|
154
|
-
"description": "
|
|
172
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
173
|
+
"required": false
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "filterable",
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"default": null,
|
|
179
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
155
180
|
"required": false
|
|
156
181
|
},
|
|
157
182
|
{
|
|
@@ -175,6 +200,13 @@
|
|
|
175
200
|
"description": "The id of the figure.",
|
|
176
201
|
"required": false
|
|
177
202
|
},
|
|
203
|
+
{
|
|
204
|
+
"name": "insight",
|
|
205
|
+
"type": "ReactNode",
|
|
206
|
+
"default": null,
|
|
207
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
208
|
+
"required": false
|
|
209
|
+
},
|
|
178
210
|
{
|
|
179
211
|
"name": "labels",
|
|
180
212
|
"type": "Partial<TickerLabels>",
|
|
@@ -217,6 +249,13 @@
|
|
|
217
249
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
218
250
|
"required": false
|
|
219
251
|
},
|
|
252
|
+
{
|
|
253
|
+
"name": "minPoints",
|
|
254
|
+
"type": "number",
|
|
255
|
+
"default": null,
|
|
256
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
257
|
+
"required": false
|
|
258
|
+
},
|
|
220
259
|
{
|
|
221
260
|
"name": "onSelect",
|
|
222
261
|
"type": "((datum: Point, index: number) => void)",
|
|
@@ -266,6 +305,13 @@
|
|
|
266
305
|
"description": "How the times are written. Default `\"time\"` (`14:30`); `\"datetime\"` for auctions over several days.",
|
|
267
306
|
"required": false
|
|
268
307
|
},
|
|
308
|
+
{
|
|
309
|
+
"name": "title",
|
|
310
|
+
"type": "string",
|
|
311
|
+
"default": null,
|
|
312
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
313
|
+
"required": false
|
|
314
|
+
},
|
|
269
315
|
{
|
|
270
316
|
"name": "xLabel",
|
|
271
317
|
"type": "string",
|
|
@@ -483,11 +529,18 @@
|
|
|
483
529
|
"required": true
|
|
484
530
|
},
|
|
485
531
|
{
|
|
486
|
-
"name": "
|
|
487
|
-
"type": "
|
|
532
|
+
"name": "actionsMenu",
|
|
533
|
+
"type": "boolean",
|
|
488
534
|
"default": null,
|
|
489
|
-
"description": "
|
|
490
|
-
"required":
|
|
535
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
536
|
+
"required": false
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "autoRange",
|
|
540
|
+
"type": "boolean",
|
|
541
|
+
"default": null,
|
|
542
|
+
"description": "Zoom the time axis on the period that has data: the empty days before the first and after the last value are\nleft out (never fewer than `minPoints`), and a sparse period says so under the chart instead of drawing 13 empty\ndays around one bar. Default false.",
|
|
543
|
+
"required": false
|
|
491
544
|
},
|
|
492
545
|
{
|
|
493
546
|
"name": "brand",
|
|
@@ -507,7 +560,7 @@
|
|
|
507
560
|
"name": "dataTable",
|
|
508
561
|
"type": "boolean",
|
|
509
562
|
"default": null,
|
|
510
|
-
"description": "
|
|
563
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
511
564
|
"required": false
|
|
512
565
|
},
|
|
513
566
|
{
|
|
@@ -549,7 +602,14 @@
|
|
|
549
602
|
"name": "exportable",
|
|
550
603
|
"type": "boolean | readonly ExportFormat[]",
|
|
551
604
|
"default": null,
|
|
552
|
-
"description": "
|
|
605
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
606
|
+
"required": false
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "filterable",
|
|
610
|
+
"type": "boolean",
|
|
611
|
+
"default": null,
|
|
612
|
+
"description": "The legend chips switch the series on and off. Default true.",
|
|
553
613
|
"required": false
|
|
554
614
|
},
|
|
555
615
|
{
|
|
@@ -573,6 +633,13 @@
|
|
|
573
633
|
"description": "The id of the figure.",
|
|
574
634
|
"required": false
|
|
575
635
|
},
|
|
636
|
+
{
|
|
637
|
+
"name": "insight",
|
|
638
|
+
"type": "ReactNode",
|
|
639
|
+
"default": null,
|
|
640
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
641
|
+
"required": false
|
|
642
|
+
},
|
|
576
643
|
{
|
|
577
644
|
"name": "labels",
|
|
578
645
|
"type": "Partial<TickerLabels>",
|
|
@@ -615,6 +682,13 @@
|
|
|
615
682
|
"description": "Vertical markers at a category: a launch, an incident.",
|
|
616
683
|
"required": false
|
|
617
684
|
},
|
|
685
|
+
{
|
|
686
|
+
"name": "minPoints",
|
|
687
|
+
"type": "number",
|
|
688
|
+
"default": null,
|
|
689
|
+
"description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
|
|
690
|
+
"required": false
|
|
691
|
+
},
|
|
618
692
|
{
|
|
619
693
|
"name": "onSelect",
|
|
620
694
|
"type": "((datum: Point, index: number) => void)",
|
|
@@ -664,6 +738,13 @@
|
|
|
664
738
|
"description": "How the times are written. Default `\"time\"` (`14:30`); `\"datetime\"` for auctions over several days.",
|
|
665
739
|
"required": false
|
|
666
740
|
},
|
|
741
|
+
{
|
|
742
|
+
"name": "title",
|
|
743
|
+
"type": "string",
|
|
744
|
+
"default": null,
|
|
745
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
746
|
+
"required": false
|
|
747
|
+
},
|
|
667
748
|
{
|
|
668
749
|
"name": "xLabel",
|
|
669
750
|
"type": "string",
|
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "web",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "gap",
|
|
17
|
+
"reason": "Advanced tier: no phone screen needs it yet.",
|
|
18
|
+
"issue": "krizaka/krizaka-ui#280"
|
|
19
|
+
},
|
|
20
|
+
"desktop": {
|
|
21
|
+
"state": "yes"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
11
24
|
"engine": "echarts",
|
|
12
25
|
"tier": "advanced",
|
|
13
26
|
"whenToUse": [
|
|
@@ -85,13 +98,6 @@
|
|
|
85
98
|
"description": "The entities compared, one value per axis each.",
|
|
86
99
|
"required": true
|
|
87
100
|
},
|
|
88
|
-
{
|
|
89
|
-
"name": "title",
|
|
90
|
-
"type": "string",
|
|
91
|
-
"default": null,
|
|
92
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
93
|
-
"required": true
|
|
94
|
-
},
|
|
95
101
|
{
|
|
96
102
|
"name": "x",
|
|
97
103
|
"type": "string | ((datum: T, index: number) => string)",
|
|
@@ -99,6 +105,13 @@
|
|
|
99
105
|
"description": "The field (or function) naming the axis.",
|
|
100
106
|
"required": true
|
|
101
107
|
},
|
|
108
|
+
{
|
|
109
|
+
"name": "actionsMenu",
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"default": null,
|
|
112
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
113
|
+
"required": false
|
|
114
|
+
},
|
|
102
115
|
{
|
|
103
116
|
"name": "brand",
|
|
104
117
|
"type": "BrandId",
|
|
@@ -117,7 +130,7 @@
|
|
|
117
130
|
"name": "dataTable",
|
|
118
131
|
"type": "boolean",
|
|
119
132
|
"default": null,
|
|
120
|
-
"description": "
|
|
133
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
121
134
|
"required": false
|
|
122
135
|
},
|
|
123
136
|
{
|
|
@@ -145,7 +158,7 @@
|
|
|
145
158
|
"name": "exportable",
|
|
146
159
|
"type": "boolean | readonly ExportFormat[]",
|
|
147
160
|
"default": null,
|
|
148
|
-
"description": "
|
|
161
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
149
162
|
"required": false
|
|
150
163
|
},
|
|
151
164
|
{
|
|
@@ -176,6 +189,13 @@
|
|
|
176
189
|
"description": "The id of the figure.",
|
|
177
190
|
"required": false
|
|
178
191
|
},
|
|
192
|
+
{
|
|
193
|
+
"name": "insight",
|
|
194
|
+
"type": "ReactNode",
|
|
195
|
+
"default": null,
|
|
196
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
197
|
+
"required": false
|
|
198
|
+
},
|
|
179
199
|
{
|
|
180
200
|
"name": "labels",
|
|
181
201
|
"type": "ChartLabelsInput",
|
|
@@ -239,6 +259,13 @@
|
|
|
239
259
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
240
260
|
"required": false
|
|
241
261
|
},
|
|
262
|
+
{
|
|
263
|
+
"name": "title",
|
|
264
|
+
"type": "string",
|
|
265
|
+
"default": null,
|
|
266
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
267
|
+
"required": false
|
|
268
|
+
},
|
|
242
269
|
{
|
|
243
270
|
"name": "xLabel",
|
|
244
271
|
"type": "string",
|
|
@@ -292,13 +319,6 @@
|
|
|
292
319
|
"description": "The entities compared, one value per axis each.",
|
|
293
320
|
"required": true
|
|
294
321
|
},
|
|
295
|
-
{
|
|
296
|
-
"name": "title",
|
|
297
|
-
"type": "string",
|
|
298
|
-
"default": null,
|
|
299
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
300
|
-
"required": true
|
|
301
|
-
},
|
|
302
322
|
{
|
|
303
323
|
"name": "x",
|
|
304
324
|
"type": "string | ((datum: T, index: number) => string)",
|
|
@@ -306,6 +326,13 @@
|
|
|
306
326
|
"description": "The field (or function) naming the axis.",
|
|
307
327
|
"required": true
|
|
308
328
|
},
|
|
329
|
+
{
|
|
330
|
+
"name": "actionsMenu",
|
|
331
|
+
"type": "boolean",
|
|
332
|
+
"default": null,
|
|
333
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
334
|
+
"required": false
|
|
335
|
+
},
|
|
309
336
|
{
|
|
310
337
|
"name": "brand",
|
|
311
338
|
"type": "BrandId",
|
|
@@ -324,7 +351,7 @@
|
|
|
324
351
|
"name": "dataTable",
|
|
325
352
|
"type": "boolean",
|
|
326
353
|
"default": null,
|
|
327
|
-
"description": "
|
|
354
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
328
355
|
"required": false
|
|
329
356
|
},
|
|
330
357
|
{
|
|
@@ -352,7 +379,7 @@
|
|
|
352
379
|
"name": "exportable",
|
|
353
380
|
"type": "boolean | readonly ExportFormat[]",
|
|
354
381
|
"default": null,
|
|
355
|
-
"description": "
|
|
382
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
356
383
|
"required": false
|
|
357
384
|
},
|
|
358
385
|
{
|
|
@@ -383,6 +410,13 @@
|
|
|
383
410
|
"description": "The id of the figure.",
|
|
384
411
|
"required": false
|
|
385
412
|
},
|
|
413
|
+
{
|
|
414
|
+
"name": "insight",
|
|
415
|
+
"type": "ReactNode",
|
|
416
|
+
"default": null,
|
|
417
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
418
|
+
"required": false
|
|
419
|
+
},
|
|
386
420
|
{
|
|
387
421
|
"name": "labels",
|
|
388
422
|
"type": "ChartLabelsInput",
|
|
@@ -446,6 +480,13 @@
|
|
|
446
480
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
447
481
|
"required": false
|
|
448
482
|
},
|
|
483
|
+
{
|
|
484
|
+
"name": "title",
|
|
485
|
+
"type": "string",
|
|
486
|
+
"default": null,
|
|
487
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`. Inside a `ChartCard`, the card's title is the default.",
|
|
488
|
+
"required": false
|
|
489
|
+
},
|
|
449
490
|
{
|
|
450
491
|
"name": "xLabel",
|
|
451
492
|
"type": "string",
|