@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/gauge.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": [
|
|
@@ -56,13 +67,6 @@
|
|
|
56
67
|
"component": "Gauge",
|
|
57
68
|
"description": "One figure against its range — credits used of a plan, a challenge's progress, a load.",
|
|
58
69
|
"props": [
|
|
59
|
-
{
|
|
60
|
-
"name": "title",
|
|
61
|
-
"type": "string",
|
|
62
|
-
"default": null,
|
|
63
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
64
|
-
"required": true
|
|
65
|
-
},
|
|
66
70
|
{
|
|
67
71
|
"name": "value",
|
|
68
72
|
"type": "number",
|
|
@@ -70,6 +74,13 @@
|
|
|
70
74
|
"description": "The value.",
|
|
71
75
|
"required": true
|
|
72
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"name": "actionsMenu",
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"default": null,
|
|
81
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
82
|
+
"required": false
|
|
83
|
+
},
|
|
73
84
|
{
|
|
74
85
|
"name": "brand",
|
|
75
86
|
"type": "BrandId",
|
|
@@ -140,6 +151,13 @@
|
|
|
140
151
|
"description": "The id of the figure.",
|
|
141
152
|
"required": false
|
|
142
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"name": "insight",
|
|
156
|
+
"type": "ReactNode",
|
|
157
|
+
"default": null,
|
|
158
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
159
|
+
"required": false
|
|
160
|
+
},
|
|
143
161
|
{
|
|
144
162
|
"name": "labels",
|
|
145
163
|
"type": "ChartLabelsInput",
|
|
@@ -210,6 +228,13 @@
|
|
|
210
228
|
"description": "A tick on the arc: the objective.",
|
|
211
229
|
"required": false
|
|
212
230
|
},
|
|
231
|
+
{
|
|
232
|
+
"name": "title",
|
|
233
|
+
"type": "string",
|
|
234
|
+
"default": null,
|
|
235
|
+
"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.",
|
|
236
|
+
"required": false
|
|
237
|
+
},
|
|
213
238
|
{
|
|
214
239
|
"name": "tone",
|
|
215
240
|
"type": "Tone",
|
|
@@ -426,13 +451,6 @@
|
|
|
426
451
|
"component": "Gauge",
|
|
427
452
|
"description": "One figure against its range — credits used of a plan, a challenge's progress, a load.",
|
|
428
453
|
"props": [
|
|
429
|
-
{
|
|
430
|
-
"name": "title",
|
|
431
|
-
"type": "string",
|
|
432
|
-
"default": null,
|
|
433
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
434
|
-
"required": true
|
|
435
|
-
},
|
|
436
454
|
{
|
|
437
455
|
"name": "value",
|
|
438
456
|
"type": "number",
|
|
@@ -440,6 +458,13 @@
|
|
|
440
458
|
"description": "The value.",
|
|
441
459
|
"required": true
|
|
442
460
|
},
|
|
461
|
+
{
|
|
462
|
+
"name": "actionsMenu",
|
|
463
|
+
"type": "boolean",
|
|
464
|
+
"default": null,
|
|
465
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
466
|
+
"required": false
|
|
467
|
+
},
|
|
443
468
|
{
|
|
444
469
|
"name": "brand",
|
|
445
470
|
"type": "BrandId",
|
|
@@ -510,6 +535,13 @@
|
|
|
510
535
|
"description": "The id of the figure.",
|
|
511
536
|
"required": false
|
|
512
537
|
},
|
|
538
|
+
{
|
|
539
|
+
"name": "insight",
|
|
540
|
+
"type": "ReactNode",
|
|
541
|
+
"default": null,
|
|
542
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
543
|
+
"required": false
|
|
544
|
+
},
|
|
513
545
|
{
|
|
514
546
|
"name": "labels",
|
|
515
547
|
"type": "ChartLabelsInput",
|
|
@@ -580,6 +612,13 @@
|
|
|
580
612
|
"description": "A tick on the arc: the objective.",
|
|
581
613
|
"required": false
|
|
582
614
|
},
|
|
615
|
+
{
|
|
616
|
+
"name": "title",
|
|
617
|
+
"type": "string",
|
|
618
|
+
"default": null,
|
|
619
|
+
"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.",
|
|
620
|
+
"required": false
|
|
621
|
+
},
|
|
583
622
|
{
|
|
584
623
|
"name": "tone",
|
|
585
624
|
"type": "Tone",
|
package/registry/geo-map.json
CHANGED
|
@@ -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": "n/a",
|
|
17
|
+
"reason": "A choropleth over the world; a phone shows the MapLibre map of @krizaka/ui/native/map or a ranked list.",
|
|
18
|
+
"use": "bar-chart"
|
|
19
|
+
},
|
|
20
|
+
"desktop": {
|
|
21
|
+
"state": "yes"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
11
24
|
"engine": "svg",
|
|
12
25
|
"tier": "advanced",
|
|
13
26
|
"whenToUse": [
|
|
@@ -82,13 +95,6 @@
|
|
|
82
95
|
"description": "The field (or function) of the region's ISO 3166-1 alpha-2 code (`\"FR\"`, `\"US\"`).",
|
|
83
96
|
"required": true
|
|
84
97
|
},
|
|
85
|
-
{
|
|
86
|
-
"name": "title",
|
|
87
|
-
"type": "string",
|
|
88
|
-
"default": null,
|
|
89
|
-
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
90
|
-
"required": true
|
|
91
|
-
},
|
|
92
98
|
{
|
|
93
99
|
"name": "value",
|
|
94
100
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -96,6 +102,13 @@
|
|
|
96
102
|
"description": "The field (or function) of its value.",
|
|
97
103
|
"required": true
|
|
98
104
|
},
|
|
105
|
+
{
|
|
106
|
+
"name": "actionsMenu",
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"default": null,
|
|
109
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
110
|
+
"required": false
|
|
111
|
+
},
|
|
99
112
|
{
|
|
100
113
|
"name": "brand",
|
|
101
114
|
"type": "BrandId",
|
|
@@ -114,7 +127,7 @@
|
|
|
114
127
|
"name": "dataTable",
|
|
115
128
|
"type": "boolean",
|
|
116
129
|
"default": null,
|
|
117
|
-
"description": "
|
|
130
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
118
131
|
"required": false
|
|
119
132
|
},
|
|
120
133
|
{
|
|
@@ -142,7 +155,7 @@
|
|
|
142
155
|
"name": "exportable",
|
|
143
156
|
"type": "boolean | readonly ExportFormat[]",
|
|
144
157
|
"default": null,
|
|
145
|
-
"description": "
|
|
158
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
146
159
|
"required": false
|
|
147
160
|
},
|
|
148
161
|
{
|
|
@@ -173,6 +186,13 @@
|
|
|
173
186
|
"description": "The id of the figure.",
|
|
174
187
|
"required": false
|
|
175
188
|
},
|
|
189
|
+
{
|
|
190
|
+
"name": "insight",
|
|
191
|
+
"type": "ReactNode",
|
|
192
|
+
"default": null,
|
|
193
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
194
|
+
"required": false
|
|
195
|
+
},
|
|
176
196
|
{
|
|
177
197
|
"name": "labels",
|
|
178
198
|
"type": "ChartLabelsInput",
|
|
@@ -250,6 +270,13 @@
|
|
|
250
270
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
251
271
|
"required": false
|
|
252
272
|
},
|
|
273
|
+
{
|
|
274
|
+
"name": "title",
|
|
275
|
+
"type": "string",
|
|
276
|
+
"default": null,
|
|
277
|
+
"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.",
|
|
278
|
+
"required": false
|
|
279
|
+
},
|
|
253
280
|
{
|
|
254
281
|
"name": "valueLabel",
|
|
255
282
|
"type": "string",
|
|
@@ -303,13 +330,6 @@
|
|
|
303
330
|
"description": "The field (or function) of the region's ISO 3166-1 alpha-2 code (`\"FR\"`, `\"US\"`).",
|
|
304
331
|
"required": true
|
|
305
332
|
},
|
|
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`.",
|
|
311
|
-
"required": true
|
|
312
|
-
},
|
|
313
333
|
{
|
|
314
334
|
"name": "value",
|
|
315
335
|
"type": "string | ((datum: T, index: number) => number)",
|
|
@@ -317,6 +337,13 @@
|
|
|
317
337
|
"description": "The field (or function) of its value.",
|
|
318
338
|
"required": true
|
|
319
339
|
},
|
|
340
|
+
{
|
|
341
|
+
"name": "actionsMenu",
|
|
342
|
+
"type": "boolean",
|
|
343
|
+
"default": null,
|
|
344
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
345
|
+
"required": false
|
|
346
|
+
},
|
|
320
347
|
{
|
|
321
348
|
"name": "brand",
|
|
322
349
|
"type": "BrandId",
|
|
@@ -335,7 +362,7 @@
|
|
|
335
362
|
"name": "dataTable",
|
|
336
363
|
"type": "boolean",
|
|
337
364
|
"default": null,
|
|
338
|
-
"description": "
|
|
365
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
339
366
|
"required": false
|
|
340
367
|
},
|
|
341
368
|
{
|
|
@@ -363,7 +390,7 @@
|
|
|
363
390
|
"name": "exportable",
|
|
364
391
|
"type": "boolean | readonly ExportFormat[]",
|
|
365
392
|
"default": null,
|
|
366
|
-
"description": "
|
|
393
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
367
394
|
"required": false
|
|
368
395
|
},
|
|
369
396
|
{
|
|
@@ -394,6 +421,13 @@
|
|
|
394
421
|
"description": "The id of the figure.",
|
|
395
422
|
"required": false
|
|
396
423
|
},
|
|
424
|
+
{
|
|
425
|
+
"name": "insight",
|
|
426
|
+
"type": "ReactNode",
|
|
427
|
+
"default": null,
|
|
428
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
429
|
+
"required": false
|
|
430
|
+
},
|
|
397
431
|
{
|
|
398
432
|
"name": "labels",
|
|
399
433
|
"type": "ChartLabelsInput",
|
|
@@ -471,6 +505,13 @@
|
|
|
471
505
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
472
506
|
"required": false
|
|
473
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"name": "title",
|
|
510
|
+
"type": "string",
|
|
511
|
+
"default": null,
|
|
512
|
+
"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.",
|
|
513
|
+
"required": false
|
|
514
|
+
},
|
|
474
515
|
{
|
|
475
516
|
"name": "valueLabel",
|
|
476
517
|
"type": "string",
|
package/registry/globe.json
CHANGED
|
@@ -8,6 +8,20 @@
|
|
|
8
8
|
"status": "beta",
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "web",
|
|
11
|
+
"parity": {
|
|
12
|
+
"web": {
|
|
13
|
+
"state": "yes"
|
|
14
|
+
},
|
|
15
|
+
"native": {
|
|
16
|
+
"state": "n/a",
|
|
17
|
+
"reason": "A WebGL globe for a site's hero; a phone shows a map or a list.",
|
|
18
|
+
"use": "bar-chart"
|
|
19
|
+
},
|
|
20
|
+
"desktop": {
|
|
21
|
+
"state": "n/a",
|
|
22
|
+
"reason": "A public site's page, not a window of the Mac app."
|
|
23
|
+
}
|
|
24
|
+
},
|
|
11
25
|
"engine": "svg",
|
|
12
26
|
"tier": "advanced",
|
|
13
27
|
"whenToUse": [
|
|
@@ -75,11 +89,11 @@
|
|
|
75
89
|
"required": true
|
|
76
90
|
},
|
|
77
91
|
{
|
|
78
|
-
"name": "
|
|
79
|
-
"type": "
|
|
92
|
+
"name": "actionsMenu",
|
|
93
|
+
"type": "boolean",
|
|
80
94
|
"default": null,
|
|
81
|
-
"description": "
|
|
82
|
-
"required":
|
|
95
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
96
|
+
"required": false
|
|
83
97
|
},
|
|
84
98
|
{
|
|
85
99
|
"name": "arcs",
|
|
@@ -120,7 +134,7 @@
|
|
|
120
134
|
"name": "dataTable",
|
|
121
135
|
"type": "boolean",
|
|
122
136
|
"default": null,
|
|
123
|
-
"description": "
|
|
137
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
124
138
|
"required": false
|
|
125
139
|
},
|
|
126
140
|
{
|
|
@@ -148,7 +162,7 @@
|
|
|
148
162
|
"name": "exportable",
|
|
149
163
|
"type": "boolean | readonly ExportFormat[]",
|
|
150
164
|
"default": null,
|
|
151
|
-
"description": "
|
|
165
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
152
166
|
"required": false
|
|
153
167
|
},
|
|
154
168
|
{
|
|
@@ -179,6 +193,13 @@
|
|
|
179
193
|
"description": "The id of the figure.",
|
|
180
194
|
"required": false
|
|
181
195
|
},
|
|
196
|
+
{
|
|
197
|
+
"name": "insight",
|
|
198
|
+
"type": "ReactNode",
|
|
199
|
+
"default": null,
|
|
200
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
201
|
+
"required": false
|
|
202
|
+
},
|
|
182
203
|
{
|
|
183
204
|
"name": "labels",
|
|
184
205
|
"type": "ChartLabelsInput",
|
|
@@ -242,6 +263,13 @@
|
|
|
242
263
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
243
264
|
"required": false
|
|
244
265
|
},
|
|
266
|
+
{
|
|
267
|
+
"name": "title",
|
|
268
|
+
"type": "string",
|
|
269
|
+
"default": null,
|
|
270
|
+
"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.",
|
|
271
|
+
"required": false
|
|
272
|
+
},
|
|
245
273
|
{
|
|
246
274
|
"name": "valueLabel",
|
|
247
275
|
"type": "string",
|
|
@@ -289,11 +317,11 @@
|
|
|
289
317
|
"required": true
|
|
290
318
|
},
|
|
291
319
|
{
|
|
292
|
-
"name": "
|
|
293
|
-
"type": "
|
|
320
|
+
"name": "actionsMenu",
|
|
321
|
+
"type": "boolean",
|
|
294
322
|
"default": null,
|
|
295
|
-
"description": "
|
|
296
|
-
"required":
|
|
323
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
324
|
+
"required": false
|
|
297
325
|
},
|
|
298
326
|
{
|
|
299
327
|
"name": "arcs",
|
|
@@ -334,7 +362,7 @@
|
|
|
334
362
|
"name": "dataTable",
|
|
335
363
|
"type": "boolean",
|
|
336
364
|
"default": null,
|
|
337
|
-
"description": "
|
|
365
|
+
"description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
|
|
338
366
|
"required": false
|
|
339
367
|
},
|
|
340
368
|
{
|
|
@@ -362,7 +390,7 @@
|
|
|
362
390
|
"name": "exportable",
|
|
363
391
|
"type": "boolean | readonly ExportFormat[]",
|
|
364
392
|
"default": null,
|
|
365
|
-
"description": "
|
|
393
|
+
"description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
|
|
366
394
|
"required": false
|
|
367
395
|
},
|
|
368
396
|
{
|
|
@@ -393,6 +421,13 @@
|
|
|
393
421
|
"description": "The id of the figure.",
|
|
394
422
|
"required": false
|
|
395
423
|
},
|
|
424
|
+
{
|
|
425
|
+
"name": "insight",
|
|
426
|
+
"type": "ReactNode",
|
|
427
|
+
"default": null,
|
|
428
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
429
|
+
"required": false
|
|
430
|
+
},
|
|
396
431
|
{
|
|
397
432
|
"name": "labels",
|
|
398
433
|
"type": "ChartLabelsInput",
|
|
@@ -456,6 +491,13 @@
|
|
|
456
491
|
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
457
492
|
"required": false
|
|
458
493
|
},
|
|
494
|
+
{
|
|
495
|
+
"name": "title",
|
|
496
|
+
"type": "string",
|
|
497
|
+
"default": null,
|
|
498
|
+
"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.",
|
|
499
|
+
"required": false
|
|
500
|
+
},
|
|
459
501
|
{
|
|
460
502
|
"name": "valueLabel",
|
|
461
503
|
"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": [
|
|
@@ -76,11 +87,11 @@
|
|
|
76
87
|
"required": true
|
|
77
88
|
},
|
|
78
89
|
{
|
|
79
|
-
"name": "
|
|
80
|
-
"type": "
|
|
90
|
+
"name": "actionsMenu",
|
|
91
|
+
"type": "boolean",
|
|
81
92
|
"default": null,
|
|
82
|
-
"description": "
|
|
83
|
-
"required":
|
|
93
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
94
|
+
"required": false
|
|
84
95
|
},
|
|
85
96
|
{
|
|
86
97
|
"name": "brand",
|
|
@@ -138,6 +149,13 @@
|
|
|
138
149
|
"description": "The id of the figure.",
|
|
139
150
|
"required": false
|
|
140
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"name": "insight",
|
|
154
|
+
"type": "ReactNode",
|
|
155
|
+
"default": null,
|
|
156
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
157
|
+
"required": false
|
|
158
|
+
},
|
|
141
159
|
{
|
|
142
160
|
"name": "labels",
|
|
143
161
|
"type": "Partial<GoalLabels>",
|
|
@@ -200,6 +218,13 @@
|
|
|
200
218
|
"default": null,
|
|
201
219
|
"description": "The time left, written by the app (a `Countdown`, “2 days”).",
|
|
202
220
|
"required": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "title",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"default": null,
|
|
226
|
+
"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.",
|
|
227
|
+
"required": false
|
|
203
228
|
}
|
|
204
229
|
]
|
|
205
230
|
}
|
|
@@ -389,11 +414,11 @@
|
|
|
389
414
|
"required": true
|
|
390
415
|
},
|
|
391
416
|
{
|
|
392
|
-
"name": "
|
|
393
|
-
"type": "
|
|
417
|
+
"name": "actionsMenu",
|
|
418
|
+
"type": "boolean",
|
|
394
419
|
"default": null,
|
|
395
|
-
"description": "
|
|
396
|
-
"required":
|
|
420
|
+
"description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
|
|
421
|
+
"required": false
|
|
397
422
|
},
|
|
398
423
|
{
|
|
399
424
|
"name": "brand",
|
|
@@ -451,6 +476,13 @@
|
|
|
451
476
|
"description": "The id of the figure.",
|
|
452
477
|
"required": false
|
|
453
478
|
},
|
|
479
|
+
{
|
|
480
|
+
"name": "insight",
|
|
481
|
+
"type": "ReactNode",
|
|
482
|
+
"default": null,
|
|
483
|
+
"description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
|
|
484
|
+
"required": false
|
|
485
|
+
},
|
|
454
486
|
{
|
|
455
487
|
"name": "labels",
|
|
456
488
|
"type": "Partial<GoalLabels>",
|
|
@@ -513,6 +545,13 @@
|
|
|
513
545
|
"default": null,
|
|
514
546
|
"description": "The time left, written by the app (a `Countdown`, “2 days”).",
|
|
515
547
|
"required": false
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "title",
|
|
551
|
+
"type": "string",
|
|
552
|
+
"default": null,
|
|
553
|
+
"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.",
|
|
554
|
+
"required": false
|
|
516
555
|
}
|
|
517
556
|
]
|
|
518
557
|
}
|