@krizaka/charts 0.3.0 → 0.4.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.
Files changed (172) hide show
  1. package/README.md +1 -1
  2. package/dist/actions-5VG352VZ.js +53 -0
  3. package/dist/actions-5VG352VZ.js.map +1 -0
  4. package/dist/bar.d.ts +3 -3
  5. package/dist/bar.js +7 -6
  6. package/dist/candlestick.d.ts +2 -2
  7. package/dist/candlestick.js +6 -5
  8. package/dist/card.d.ts +52 -0
  9. package/dist/card.js +19 -0
  10. package/dist/card.js.map +1 -0
  11. package/dist/{cartesian-BRhNQ3ib.d.ts → cartesian-CEY_wwe_.d.ts} +12 -2
  12. package/dist/chart.d.ts +2 -2
  13. package/dist/chart.js +5 -4
  14. package/dist/{chunk-BV4DBGN7.js → chunk-7W4T255Q.js} +4 -4
  15. package/dist/{chunk-W5ILLSPK.js → chunk-AGSSNMK5.js} +5 -5
  16. package/dist/{chunk-VKZZY2QD.js → chunk-FE4LUGAE.js} +5 -5
  17. package/dist/{chunk-ARARFMNE.js → chunk-FIQHMJZK.js} +5 -5
  18. package/dist/chunk-FIQHMJZK.js.map +1 -0
  19. package/dist/{chunk-ANUCSRUN.js → chunk-GD7TWEN3.js} +3 -3
  20. package/dist/chunk-GRRFPI27.js +89 -0
  21. package/dist/chunk-GRRFPI27.js.map +1 -0
  22. package/dist/{chunk-SLEJDQ3A.js → chunk-HH65IEUV.js} +3 -3
  23. package/dist/{chunk-OIRHLJBC.js → chunk-IJTI6VJD.js} +3 -3
  24. package/dist/{chunk-WVTIKOII.js → chunk-IURCLBUQ.js} +2 -2
  25. package/dist/{chunk-CVWSMUUB.js → chunk-JST4HJC3.js} +33 -15
  26. package/dist/chunk-JST4HJC3.js.map +1 -0
  27. package/dist/{chunk-IKQV3NSL.js → chunk-KERGFVSN.js} +3 -3
  28. package/dist/{chunk-XDDALY4C.js → chunk-KMQ7RANJ.js} +5 -5
  29. package/dist/{chunk-NCIQMRV3.js → chunk-LLUQEK5J.js} +5 -5
  30. package/dist/{chunk-AA5EWWYV.js → chunk-LZPZWBBY.js} +2 -2
  31. package/dist/{chunk-PBQV3B6O.js → chunk-MK2ZFUWM.js} +31 -16
  32. package/dist/chunk-MK2ZFUWM.js.map +1 -0
  33. package/dist/{chunk-CSSZLFLO.js → chunk-MRGMLDNS.js} +5 -5
  34. package/dist/{chunk-I3D7KUGN.js → chunk-NLTZWJLV.js} +3 -3
  35. package/dist/{chunk-PWMMXRMC.js → chunk-NV52AKHG.js} +3 -3
  36. package/dist/{chunk-MXLITIGU.js → chunk-NWJ5VDN7.js} +5 -5
  37. package/dist/{chunk-3CJHBJXA.js → chunk-OVASCEGF.js} +12 -73
  38. package/dist/chunk-OVASCEGF.js.map +1 -0
  39. package/dist/{chunk-EQLC2QVN.js → chunk-OZOAKP5F.js} +4 -4
  40. package/dist/chunk-OZOAKP5F.js.map +1 -0
  41. package/dist/{chunk-KNDHO67X.js → chunk-P2NK5L3B.js} +3 -3
  42. package/dist/{chunk-JTKR7ZWP.js → chunk-P6RS2L23.js} +140 -36
  43. package/dist/chunk-P6RS2L23.js.map +1 -0
  44. package/dist/{chunk-W5FX4TU3.js → chunk-PGD6SH5I.js} +30 -2
  45. package/dist/chunk-PGD6SH5I.js.map +1 -0
  46. package/dist/{chunk-4LBXEAGC.js → chunk-PWZHIGPO.js} +5 -5
  47. package/dist/{chunk-L2EKYWVI.js → chunk-VEOJNMPF.js} +3 -3
  48. package/dist/chunk-YHQFW2PR.js +71 -0
  49. package/dist/chunk-YHQFW2PR.js.map +1 -0
  50. package/dist/{chunk-C4MFZLJM.js → chunk-Z4T3JFNU.js} +2 -2
  51. package/dist/{chunk-EEP7PS2L.js → chunk-ZF7LVQTR.js} +3 -3
  52. package/dist/{context-BgYUymEO.d.ts → context-DNW7bJYw.d.ts} +19 -0
  53. package/dist/credits.d.ts +1 -1
  54. package/dist/credits.js +7 -6
  55. package/dist/earnings.d.ts +3 -3
  56. package/dist/earnings.js +8 -7
  57. package/dist/{frame-I7_xYGy5.d.ts → frame-B1HDNm7c.d.ts} +9 -5
  58. package/dist/funnel.d.ts +2 -2
  59. package/dist/funnel.js +6 -5
  60. package/dist/gauge.d.ts +2 -2
  61. package/dist/gauge.js +4 -3
  62. package/dist/geo.d.ts +2 -2
  63. package/dist/geo.js +5 -4
  64. package/dist/globe.d.ts +2 -2
  65. package/dist/globe.js +4 -3
  66. package/dist/goal.d.ts +2 -2
  67. package/dist/goal.js +5 -4
  68. package/dist/heatmap.d.ts +2 -2
  69. package/dist/heatmap.js +6 -5
  70. package/dist/index.d.ts +5 -3
  71. package/dist/index.js +45 -37
  72. package/dist/latency.d.ts +3 -3
  73. package/dist/latency.js +8 -7
  74. package/dist/line.d.ts +3 -3
  75. package/dist/line.js +7 -6
  76. package/dist/native.d.ts +19 -0
  77. package/dist/native.js +13 -1
  78. package/dist/native.js.map +1 -1
  79. package/dist/pie.d.ts +2 -2
  80. package/dist/pie.js +6 -5
  81. package/dist/provider.d.ts +2 -2
  82. package/dist/provider.js +4 -2
  83. package/dist/radar.d.ts +2 -2
  84. package/dist/radar.js +6 -5
  85. package/dist/sankey.d.ts +2 -2
  86. package/dist/sankey.js +6 -5
  87. package/dist/scatter.d.ts +2 -2
  88. package/dist/scatter.js +6 -5
  89. package/dist/sparkline.d.ts +2 -2
  90. package/dist/sparkline.js +6 -5
  91. package/dist/table-sheet-CQBIAV5N.js +36 -0
  92. package/dist/table-sheet-CQBIAV5N.js.map +1 -0
  93. package/dist/throughput.d.ts +3 -3
  94. package/dist/throughput.js +8 -7
  95. package/dist/ticker.d.ts +3 -3
  96. package/dist/ticker.js +8 -7
  97. package/dist/treemap.d.ts +2 -2
  98. package/dist/treemap.js +7 -6
  99. package/package.json +295 -53
  100. package/registry/area-chart.json +82 -12
  101. package/registry/bar-chart.json +82 -12
  102. package/registry/calendar-heatmap.json +46 -18
  103. package/registry/candlestick.json +46 -18
  104. package/registry/chart-card.json +235 -0
  105. package/registry/chart.json +40 -12
  106. package/registry/charts-provider.json +2 -2
  107. package/registry/earnings-chart.json +82 -12
  108. package/registry/examples/chart-card/before-after.d.ts +4 -0
  109. package/registry/examples/chart-card/before-after.js +22 -0
  110. package/registry/examples/chart-card/before-after.tsx +22 -0
  111. package/registry/examples/chart-card/jobs-activity.d.ts +4 -0
  112. package/registry/examples/chart-card/jobs-activity.js +20 -0
  113. package/registry/examples/chart-card/jobs-activity.tsx +20 -0
  114. package/registry/examples/chart-card/sparse-and-empty.d.ts +4 -0
  115. package/registry/examples/chart-card/sparse-and-empty.js +16 -0
  116. package/registry/examples/chart-card/sparse-and-empty.tsx +18 -0
  117. package/registry/examples/chart-card/usage-donut.d.ts +4 -0
  118. package/registry/examples/chart-card/usage-donut.js +18 -0
  119. package/registry/examples/chart-card/usage-donut.tsx +18 -0
  120. package/registry/examples/charts-provider/french-orazaka.js +1 -1
  121. package/registry/examples/charts-provider/french-orazaka.tsx +1 -1
  122. package/registry/examples/kpi-stat/dashboard-row.d.ts +4 -0
  123. package/registry/examples/kpi-stat/dashboard-row.js +19 -0
  124. package/registry/examples/kpi-stat/dashboard-row.tsx +17 -0
  125. package/registry/examples/kpi-stat/single.d.ts +4 -0
  126. package/registry/examples/kpi-stat/single.js +11 -0
  127. package/registry/examples/kpi-stat/single.tsx +6 -0
  128. package/registry/funnel.json +46 -18
  129. package/registry/gauge.json +42 -14
  130. package/registry/geo-map.json +46 -18
  131. package/registry/globe.json +40 -12
  132. package/registry/goal-progress.json +36 -8
  133. package/registry/heatmap.json +46 -18
  134. package/registry/index.json +49 -1
  135. package/registry/job-throughput.json +82 -12
  136. package/registry/kpi-stat.json +296 -0
  137. package/registry/latency-chart.json +82 -12
  138. package/registry/line-chart.json +82 -12
  139. package/registry/pie-chart.json +92 -36
  140. package/registry/price-ticker.json +82 -12
  141. package/registry/radar-chart.json +46 -18
  142. package/registry/sankey.json +46 -18
  143. package/registry/scatter-chart.json +46 -18
  144. package/registry/sparkline.json +38 -10
  145. package/registry/treemap.json +40 -12
  146. package/dist/chunk-3CJHBJXA.js.map +0 -1
  147. package/dist/chunk-ARARFMNE.js.map +0 -1
  148. package/dist/chunk-CVWSMUUB.js.map +0 -1
  149. package/dist/chunk-EQLC2QVN.js.map +0 -1
  150. package/dist/chunk-JTKR7ZWP.js.map +0 -1
  151. package/dist/chunk-PBQV3B6O.js.map +0 -1
  152. package/dist/chunk-W5FX4TU3.js.map +0 -1
  153. /package/dist/{chunk-BV4DBGN7.js.map → chunk-7W4T255Q.js.map} +0 -0
  154. /package/dist/{chunk-W5ILLSPK.js.map → chunk-AGSSNMK5.js.map} +0 -0
  155. /package/dist/{chunk-VKZZY2QD.js.map → chunk-FE4LUGAE.js.map} +0 -0
  156. /package/dist/{chunk-ANUCSRUN.js.map → chunk-GD7TWEN3.js.map} +0 -0
  157. /package/dist/{chunk-SLEJDQ3A.js.map → chunk-HH65IEUV.js.map} +0 -0
  158. /package/dist/{chunk-OIRHLJBC.js.map → chunk-IJTI6VJD.js.map} +0 -0
  159. /package/dist/{chunk-WVTIKOII.js.map → chunk-IURCLBUQ.js.map} +0 -0
  160. /package/dist/{chunk-IKQV3NSL.js.map → chunk-KERGFVSN.js.map} +0 -0
  161. /package/dist/{chunk-XDDALY4C.js.map → chunk-KMQ7RANJ.js.map} +0 -0
  162. /package/dist/{chunk-NCIQMRV3.js.map → chunk-LLUQEK5J.js.map} +0 -0
  163. /package/dist/{chunk-AA5EWWYV.js.map → chunk-LZPZWBBY.js.map} +0 -0
  164. /package/dist/{chunk-CSSZLFLO.js.map → chunk-MRGMLDNS.js.map} +0 -0
  165. /package/dist/{chunk-I3D7KUGN.js.map → chunk-NLTZWJLV.js.map} +0 -0
  166. /package/dist/{chunk-PWMMXRMC.js.map → chunk-NV52AKHG.js.map} +0 -0
  167. /package/dist/{chunk-MXLITIGU.js.map → chunk-NWJ5VDN7.js.map} +0 -0
  168. /package/dist/{chunk-KNDHO67X.js.map → chunk-P2NK5L3B.js.map} +0 -0
  169. /package/dist/{chunk-4LBXEAGC.js.map → chunk-PWZHIGPO.js.map} +0 -0
  170. /package/dist/{chunk-L2EKYWVI.js.map → chunk-VEOJNMPF.js.map} +0 -0
  171. /package/dist/{chunk-C4MFZLJM.js.map → chunk-Z4T3JFNU.js.map} +0 -0
  172. /package/dist/{chunk-EEP7PS2L.js.map → chunk-ZF7LVQTR.js.map} +0 -0
@@ -81,11 +81,18 @@
81
81
  "required": true
82
82
  },
83
83
  {
84
- "name": "title",
85
- "type": "string",
84
+ "name": "actionsMenu",
85
+ "type": "boolean",
86
86
  "default": null,
87
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
88
- "required": true
87
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
88
+ "required": false
89
+ },
90
+ {
91
+ "name": "autoRange",
92
+ "type": "boolean",
93
+ "default": null,
94
+ "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.",
95
+ "required": false
89
96
  },
90
97
  {
91
98
  "name": "brand",
@@ -112,7 +119,7 @@
112
119
  "name": "dataTable",
113
120
  "type": "boolean",
114
121
  "default": null,
115
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
122
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
116
123
  "required": false
117
124
  },
118
125
  {
@@ -154,7 +161,14 @@
154
161
  "name": "exportable",
155
162
  "type": "boolean | readonly ExportFormat[]",
156
163
  "default": null,
157
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
164
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
165
+ "required": false
166
+ },
167
+ {
168
+ "name": "filterable",
169
+ "type": "boolean",
170
+ "default": null,
171
+ "description": "The legend chips switch the series on and off. Default true.",
158
172
  "required": false
159
173
  },
160
174
  {
@@ -185,6 +199,13 @@
185
199
  "description": "The id of the figure.",
186
200
  "required": false
187
201
  },
202
+ {
203
+ "name": "insight",
204
+ "type": "ReactNode",
205
+ "default": null,
206
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
207
+ "required": false
208
+ },
188
209
  {
189
210
  "name": "labels",
190
211
  "type": "ChartLabelsInput",
@@ -227,6 +248,13 @@
227
248
  "description": "Vertical markers at a category: a launch, an incident.",
228
249
  "required": false
229
250
  },
251
+ {
252
+ "name": "minPoints",
253
+ "type": "number",
254
+ "default": null,
255
+ "description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
256
+ "required": false
257
+ },
230
258
  {
231
259
  "name": "onSelect",
232
260
  "type": "((datum: T, index: number) => void)",
@@ -276,6 +304,13 @@
276
304
  "description": "Horizontal lines at a value: a goal, a payout threshold.",
277
305
  "required": false
278
306
  },
307
+ {
308
+ "name": "title",
309
+ "type": "string",
310
+ "default": null,
311
+ "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.",
312
+ "required": false
313
+ },
279
314
  {
280
315
  "name": "x",
281
316
  "type": "string | ((datum: T, index: number) => unknown)",
@@ -542,11 +577,18 @@
542
577
  "required": true
543
578
  },
544
579
  {
545
- "name": "title",
546
- "type": "string",
580
+ "name": "actionsMenu",
581
+ "type": "boolean",
547
582
  "default": null,
548
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
549
- "required": true
583
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
584
+ "required": false
585
+ },
586
+ {
587
+ "name": "autoRange",
588
+ "type": "boolean",
589
+ "default": null,
590
+ "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.",
591
+ "required": false
550
592
  },
551
593
  {
552
594
  "name": "brand",
@@ -573,7 +615,7 @@
573
615
  "name": "dataTable",
574
616
  "type": "boolean",
575
617
  "default": null,
576
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
618
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
577
619
  "required": false
578
620
  },
579
621
  {
@@ -615,7 +657,14 @@
615
657
  "name": "exportable",
616
658
  "type": "boolean | readonly ExportFormat[]",
617
659
  "default": null,
618
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
660
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
661
+ "required": false
662
+ },
663
+ {
664
+ "name": "filterable",
665
+ "type": "boolean",
666
+ "default": null,
667
+ "description": "The legend chips switch the series on and off. Default true.",
619
668
  "required": false
620
669
  },
621
670
  {
@@ -646,6 +695,13 @@
646
695
  "description": "The id of the figure.",
647
696
  "required": false
648
697
  },
698
+ {
699
+ "name": "insight",
700
+ "type": "ReactNode",
701
+ "default": null,
702
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
703
+ "required": false
704
+ },
649
705
  {
650
706
  "name": "labels",
651
707
  "type": "ChartLabelsInput",
@@ -688,6 +744,13 @@
688
744
  "description": "Vertical markers at a category: a launch, an incident.",
689
745
  "required": false
690
746
  },
747
+ {
748
+ "name": "minPoints",
749
+ "type": "number",
750
+ "default": null,
751
+ "description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
752
+ "required": false
753
+ },
691
754
  {
692
755
  "name": "onSelect",
693
756
  "type": "((datum: T, index: number) => void)",
@@ -737,6 +800,13 @@
737
800
  "description": "Horizontal lines at a value: a goal, a payout threshold.",
738
801
  "required": false
739
802
  },
803
+ {
804
+ "name": "title",
805
+ "type": "string",
806
+ "default": null,
807
+ "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.",
808
+ "required": false
809
+ },
740
810
  {
741
811
  "name": "x",
742
812
  "type": "string | ((datum: T, index: number) => unknown)",
@@ -93,11 +93,18 @@
93
93
  "required": true
94
94
  },
95
95
  {
96
- "name": "title",
97
- "type": "string",
96
+ "name": "actionsMenu",
97
+ "type": "boolean",
98
98
  "default": null,
99
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
100
- "required": true
99
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
100
+ "required": false
101
+ },
102
+ {
103
+ "name": "autoRange",
104
+ "type": "boolean",
105
+ "default": null,
106
+ "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.",
107
+ "required": false
101
108
  },
102
109
  {
103
110
  "name": "brand",
@@ -117,7 +124,7 @@
117
124
  "name": "dataTable",
118
125
  "type": "boolean",
119
126
  "default": null,
120
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
127
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
121
128
  "required": false
122
129
  },
123
130
  {
@@ -145,7 +152,14 @@
145
152
  "name": "exportable",
146
153
  "type": "boolean | readonly ExportFormat[]",
147
154
  "default": null,
148
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
155
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
156
+ "required": false
157
+ },
158
+ {
159
+ "name": "filterable",
160
+ "type": "boolean",
161
+ "default": null,
162
+ "description": "The legend chips switch the series on and off. Default true.",
149
163
  "required": false
150
164
  },
151
165
  {
@@ -183,6 +197,13 @@
183
197
  "description": "The id of the figure.",
184
198
  "required": false
185
199
  },
200
+ {
201
+ "name": "insight",
202
+ "type": "ReactNode",
203
+ "default": null,
204
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
205
+ "required": false
206
+ },
186
207
  {
187
208
  "name": "labels",
188
209
  "type": "ChartLabelsInput",
@@ -225,6 +246,13 @@
225
246
  "description": "Vertical markers at a category: a launch, an incident.",
226
247
  "required": false
227
248
  },
249
+ {
250
+ "name": "minPoints",
251
+ "type": "number",
252
+ "default": null,
253
+ "description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
254
+ "required": false
255
+ },
228
256
  {
229
257
  "name": "onSelect",
230
258
  "type": "((datum: T, index: number) => void)",
@@ -274,6 +302,13 @@
274
302
  "description": "Horizontal lines at a value: a goal, a payout threshold.",
275
303
  "required": false
276
304
  },
305
+ {
306
+ "name": "title",
307
+ "type": "string",
308
+ "default": null,
309
+ "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.",
310
+ "required": false
311
+ },
277
312
  {
278
313
  "name": "valueLabels",
279
314
  "type": "boolean",
@@ -548,11 +583,18 @@
548
583
  "required": true
549
584
  },
550
585
  {
551
- "name": "title",
552
- "type": "string",
586
+ "name": "actionsMenu",
587
+ "type": "boolean",
553
588
  "default": null,
554
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
555
- "required": true
589
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
590
+ "required": false
591
+ },
592
+ {
593
+ "name": "autoRange",
594
+ "type": "boolean",
595
+ "default": null,
596
+ "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.",
597
+ "required": false
556
598
  },
557
599
  {
558
600
  "name": "brand",
@@ -572,7 +614,7 @@
572
614
  "name": "dataTable",
573
615
  "type": "boolean",
574
616
  "default": null,
575
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
617
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
576
618
  "required": false
577
619
  },
578
620
  {
@@ -600,7 +642,14 @@
600
642
  "name": "exportable",
601
643
  "type": "boolean | readonly ExportFormat[]",
602
644
  "default": null,
603
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
645
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
646
+ "required": false
647
+ },
648
+ {
649
+ "name": "filterable",
650
+ "type": "boolean",
651
+ "default": null,
652
+ "description": "The legend chips switch the series on and off. Default true.",
604
653
  "required": false
605
654
  },
606
655
  {
@@ -638,6 +687,13 @@
638
687
  "description": "The id of the figure.",
639
688
  "required": false
640
689
  },
690
+ {
691
+ "name": "insight",
692
+ "type": "ReactNode",
693
+ "default": null,
694
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
695
+ "required": false
696
+ },
641
697
  {
642
698
  "name": "labels",
643
699
  "type": "ChartLabelsInput",
@@ -680,6 +736,13 @@
680
736
  "description": "Vertical markers at a category: a launch, an incident.",
681
737
  "required": false
682
738
  },
739
+ {
740
+ "name": "minPoints",
741
+ "type": "number",
742
+ "default": null,
743
+ "description": "With `autoRange`, the fewest categories to keep so a short burst still has a time scale. Default 7.",
744
+ "required": false
745
+ },
683
746
  {
684
747
  "name": "onSelect",
685
748
  "type": "((datum: T, index: number) => void)",
@@ -729,6 +792,13 @@
729
792
  "description": "Horizontal lines at a value: a goal, a payout threshold.",
730
793
  "required": false
731
794
  },
795
+ {
796
+ "name": "title",
797
+ "type": "string",
798
+ "default": null,
799
+ "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.",
800
+ "required": false
801
+ },
732
802
  {
733
803
  "name": "valueLabels",
734
804
  "type": "boolean",
@@ -86,13 +86,6 @@
86
86
  "description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
87
87
  "required": true
88
88
  },
89
- {
90
- "name": "title",
91
- "type": "string",
92
- "default": null,
93
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
94
- "required": true
95
- },
96
89
  {
97
90
  "name": "value",
98
91
  "type": "string | ((datum: T, index: number) => number)",
@@ -100,6 +93,13 @@
100
93
  "description": "The field of the day's value.",
101
94
  "required": true
102
95
  },
96
+ {
97
+ "name": "actionsMenu",
98
+ "type": "boolean",
99
+ "default": null,
100
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
101
+ "required": false
102
+ },
103
103
  {
104
104
  "name": "brand",
105
105
  "type": "BrandId",
@@ -118,7 +118,7 @@
118
118
  "name": "dataTable",
119
119
  "type": "boolean",
120
120
  "default": null,
121
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
121
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
122
122
  "required": false
123
123
  },
124
124
  {
@@ -146,7 +146,7 @@
146
146
  "name": "exportable",
147
147
  "type": "boolean | readonly ExportFormat[]",
148
148
  "default": null,
149
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
149
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
150
150
  "required": false
151
151
  },
152
152
  {
@@ -177,6 +177,13 @@
177
177
  "description": "The id of the figure.",
178
178
  "required": false
179
179
  },
180
+ {
181
+ "name": "insight",
182
+ "type": "ReactNode",
183
+ "default": null,
184
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
185
+ "required": false
186
+ },
180
187
  {
181
188
  "name": "labels",
182
189
  "type": "ChartLabelsInput",
@@ -240,6 +247,13 @@
240
247
  "description": "Your own summary instead of the generated one (still read first by screen readers).",
241
248
  "required": false
242
249
  },
250
+ {
251
+ "name": "title",
252
+ "type": "string",
253
+ "default": null,
254
+ "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.",
255
+ "required": false
256
+ },
243
257
  {
244
258
  "name": "valueLabel",
245
259
  "type": "string",
@@ -293,13 +307,6 @@
293
307
  "description": "The field of the day: an ISO date (`2026-04-12`), a `Date` or an epoch.",
294
308
  "required": true
295
309
  },
296
- {
297
- "name": "title",
298
- "type": "string",
299
- "default": null,
300
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
301
- "required": true
302
- },
303
310
  {
304
311
  "name": "value",
305
312
  "type": "string | ((datum: T, index: number) => number)",
@@ -307,6 +314,13 @@
307
314
  "description": "The field of the day's value.",
308
315
  "required": true
309
316
  },
317
+ {
318
+ "name": "actionsMenu",
319
+ "type": "boolean",
320
+ "default": null,
321
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
322
+ "required": false
323
+ },
310
324
  {
311
325
  "name": "brand",
312
326
  "type": "BrandId",
@@ -325,7 +339,7 @@
325
339
  "name": "dataTable",
326
340
  "type": "boolean",
327
341
  "default": null,
328
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
342
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
329
343
  "required": false
330
344
  },
331
345
  {
@@ -353,7 +367,7 @@
353
367
  "name": "exportable",
354
368
  "type": "boolean | readonly ExportFormat[]",
355
369
  "default": null,
356
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
370
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
357
371
  "required": false
358
372
  },
359
373
  {
@@ -384,6 +398,13 @@
384
398
  "description": "The id of the figure.",
385
399
  "required": false
386
400
  },
401
+ {
402
+ "name": "insight",
403
+ "type": "ReactNode",
404
+ "default": null,
405
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
406
+ "required": false
407
+ },
387
408
  {
388
409
  "name": "labels",
389
410
  "type": "ChartLabelsInput",
@@ -447,6 +468,13 @@
447
468
  "description": "Your own summary instead of the generated one (still read first by screen readers).",
448
469
  "required": false
449
470
  },
471
+ {
472
+ "name": "title",
473
+ "type": "string",
474
+ "default": null,
475
+ "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.",
476
+ "required": false
477
+ },
450
478
  {
451
479
  "name": "valueLabel",
452
480
  "type": "string",
@@ -102,13 +102,6 @@
102
102
  "description": "The field of the price at the start of the period.",
103
103
  "required": true
104
104
  },
105
- {
106
- "name": "title",
107
- "type": "string",
108
- "default": null,
109
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
110
- "required": true
111
- },
112
105
  {
113
106
  "name": "x",
114
107
  "type": "string | ((datum: T, index: number) => unknown)",
@@ -116,6 +109,13 @@
116
109
  "description": "The field of the period (a date, an hour).",
117
110
  "required": true
118
111
  },
112
+ {
113
+ "name": "actionsMenu",
114
+ "type": "boolean",
115
+ "default": null,
116
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
117
+ "required": false
118
+ },
119
119
  {
120
120
  "name": "brand",
121
121
  "type": "BrandId",
@@ -141,7 +141,7 @@
141
141
  "name": "dataTable",
142
142
  "type": "boolean",
143
143
  "default": null,
144
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
144
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
145
145
  "required": false
146
146
  },
147
147
  {
@@ -169,7 +169,7 @@
169
169
  "name": "exportable",
170
170
  "type": "boolean | readonly ExportFormat[]",
171
171
  "default": null,
172
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
172
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
173
173
  "required": false
174
174
  },
175
175
  {
@@ -200,6 +200,13 @@
200
200
  "description": "The id of the figure.",
201
201
  "required": false
202
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
+ },
203
210
  {
204
211
  "name": "labels",
205
212
  "type": "ChartLabelsInput",
@@ -263,6 +270,13 @@
263
270
  "description": "Horizontal lines: a reserve price, a target.",
264
271
  "required": false
265
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
+ },
266
280
  {
267
281
  "name": "volume",
268
282
  "type": "string | ((datum: T, index: number) => number)",
@@ -358,13 +372,6 @@
358
372
  "description": "The field of the price at the start of the period.",
359
373
  "required": true
360
374
  },
361
- {
362
- "name": "title",
363
- "type": "string",
364
- "default": null,
365
- "description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
366
- "required": true
367
- },
368
375
  {
369
376
  "name": "x",
370
377
  "type": "string | ((datum: T, index: number) => unknown)",
@@ -372,6 +379,13 @@
372
379
  "description": "The field of the period (a date, an hour).",
373
380
  "required": true
374
381
  },
382
+ {
383
+ "name": "actionsMenu",
384
+ "type": "boolean",
385
+ "default": null,
386
+ "description": "The ⋯ actions menu of the kit. `false`: the former “Show data” and export buttons, drawn in line. Default true.",
387
+ "required": false
388
+ },
375
389
  {
376
390
  "name": "brand",
377
391
  "type": "BrandId",
@@ -397,7 +411,7 @@
397
411
  "name": "dataTable",
398
412
  "type": "boolean",
399
413
  "default": null,
400
- "description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
414
+ "description": "“View as table” in the actions menu (the table is in the page for screen readers either way). Default true.",
401
415
  "required": false
402
416
  },
403
417
  {
@@ -425,7 +439,7 @@
425
439
  "name": "exportable",
426
440
  "type": "boolean | readonly ExportFormat[]",
427
441
  "default": null,
428
- "description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
442
+ "description": "The downloads of the actions menu: all three by default, or the formats you want, or `false` for none.",
429
443
  "required": false
430
444
  },
431
445
  {
@@ -456,6 +470,13 @@
456
470
  "description": "The id of the figure.",
457
471
  "required": false
458
472
  },
473
+ {
474
+ "name": "insight",
475
+ "type": "ReactNode",
476
+ "default": null,
477
+ "description": "One line that says what the chart shows, between the title and the chart: “100 jobs · +100 % vs last week”.",
478
+ "required": false
479
+ },
459
480
  {
460
481
  "name": "labels",
461
482
  "type": "ChartLabelsInput",
@@ -519,6 +540,13 @@
519
540
  "description": "Horizontal lines: a reserve price, a target.",
520
541
  "required": false
521
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
+ },
522
550
  {
523
551
  "name": "volume",
524
552
  "type": "string | ((datum: T, index: number) => number)",