@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.
Files changed (172) hide show
  1. package/dist/actions-5VG352VZ.js +53 -0
  2. package/dist/actions-5VG352VZ.js.map +1 -0
  3. package/dist/bar.d.ts +3 -3
  4. package/dist/bar.js +7 -6
  5. package/dist/candlestick.d.ts +2 -2
  6. package/dist/candlestick.js +6 -5
  7. package/dist/card.d.ts +52 -0
  8. package/dist/card.js +19 -0
  9. package/dist/card.js.map +1 -0
  10. package/dist/{cartesian-BRhNQ3ib.d.ts → cartesian-CEY_wwe_.d.ts} +12 -2
  11. package/dist/chart.d.ts +2 -2
  12. package/dist/chart.js +5 -4
  13. package/dist/{chunk-BV4DBGN7.js → chunk-7W4T255Q.js} +4 -4
  14. package/dist/{chunk-W5ILLSPK.js → chunk-AGSSNMK5.js} +5 -5
  15. package/dist/{chunk-VKZZY2QD.js → chunk-FE4LUGAE.js} +5 -5
  16. package/dist/{chunk-ARARFMNE.js → chunk-FIQHMJZK.js} +5 -5
  17. package/dist/chunk-FIQHMJZK.js.map +1 -0
  18. package/dist/{chunk-ANUCSRUN.js → chunk-GD7TWEN3.js} +3 -3
  19. package/dist/chunk-GRRFPI27.js +89 -0
  20. package/dist/chunk-GRRFPI27.js.map +1 -0
  21. package/dist/{chunk-SLEJDQ3A.js → chunk-HH65IEUV.js} +3 -3
  22. package/dist/{chunk-OIRHLJBC.js → chunk-IJTI6VJD.js} +3 -3
  23. package/dist/{chunk-WVTIKOII.js → chunk-IURCLBUQ.js} +2 -2
  24. package/dist/{chunk-CVWSMUUB.js → chunk-JST4HJC3.js} +33 -15
  25. package/dist/chunk-JST4HJC3.js.map +1 -0
  26. package/dist/{chunk-IKQV3NSL.js → chunk-KERGFVSN.js} +3 -3
  27. package/dist/{chunk-XDDALY4C.js → chunk-KMQ7RANJ.js} +5 -5
  28. package/dist/{chunk-NCIQMRV3.js → chunk-LLUQEK5J.js} +5 -5
  29. package/dist/{chunk-AA5EWWYV.js → chunk-LZPZWBBY.js} +2 -2
  30. package/dist/{chunk-PBQV3B6O.js → chunk-MK2ZFUWM.js} +31 -16
  31. package/dist/chunk-MK2ZFUWM.js.map +1 -0
  32. package/dist/{chunk-CSSZLFLO.js → chunk-MRGMLDNS.js} +5 -5
  33. package/dist/{chunk-I3D7KUGN.js → chunk-NLTZWJLV.js} +3 -3
  34. package/dist/{chunk-PWMMXRMC.js → chunk-NV52AKHG.js} +3 -3
  35. package/dist/{chunk-MXLITIGU.js → chunk-NWJ5VDN7.js} +5 -5
  36. package/dist/{chunk-3CJHBJXA.js → chunk-OVASCEGF.js} +12 -73
  37. package/dist/chunk-OVASCEGF.js.map +1 -0
  38. package/dist/{chunk-EQLC2QVN.js → chunk-OZOAKP5F.js} +4 -4
  39. package/dist/chunk-OZOAKP5F.js.map +1 -0
  40. package/dist/{chunk-KNDHO67X.js → chunk-P2NK5L3B.js} +3 -3
  41. package/dist/{chunk-JTKR7ZWP.js → chunk-P6RS2L23.js} +140 -36
  42. package/dist/chunk-P6RS2L23.js.map +1 -0
  43. package/dist/{chunk-W5FX4TU3.js → chunk-PGD6SH5I.js} +30 -2
  44. package/dist/chunk-PGD6SH5I.js.map +1 -0
  45. package/dist/{chunk-4LBXEAGC.js → chunk-PWZHIGPO.js} +5 -5
  46. package/dist/{chunk-L2EKYWVI.js → chunk-VEOJNMPF.js} +3 -3
  47. package/dist/chunk-YHQFW2PR.js +71 -0
  48. package/dist/chunk-YHQFW2PR.js.map +1 -0
  49. package/dist/{chunk-C4MFZLJM.js → chunk-Z4T3JFNU.js} +2 -2
  50. package/dist/{chunk-EEP7PS2L.js → chunk-ZF7LVQTR.js} +3 -3
  51. package/dist/{context-BgYUymEO.d.ts → context-DNW7bJYw.d.ts} +19 -0
  52. package/dist/credits.d.ts +1 -1
  53. package/dist/credits.js +7 -6
  54. package/dist/earnings.d.ts +3 -3
  55. package/dist/earnings.js +8 -7
  56. package/dist/{frame-I7_xYGy5.d.ts → frame-B1HDNm7c.d.ts} +9 -5
  57. package/dist/funnel.d.ts +2 -2
  58. package/dist/funnel.js +6 -5
  59. package/dist/gauge.d.ts +2 -2
  60. package/dist/gauge.js +4 -3
  61. package/dist/geo.d.ts +2 -2
  62. package/dist/geo.js +5 -4
  63. package/dist/globe.d.ts +2 -2
  64. package/dist/globe.js +4 -3
  65. package/dist/goal.d.ts +2 -2
  66. package/dist/goal.js +5 -4
  67. package/dist/heatmap.d.ts +2 -2
  68. package/dist/heatmap.js +6 -5
  69. package/dist/index.d.ts +5 -3
  70. package/dist/index.js +45 -37
  71. package/dist/latency.d.ts +3 -3
  72. package/dist/latency.js +8 -7
  73. package/dist/line.d.ts +3 -3
  74. package/dist/line.js +7 -6
  75. package/dist/native.d.ts +19 -0
  76. package/dist/native.js +13 -1
  77. package/dist/native.js.map +1 -1
  78. package/dist/pie.d.ts +2 -2
  79. package/dist/pie.js +6 -5
  80. package/dist/provider.d.ts +2 -2
  81. package/dist/provider.js +4 -2
  82. package/dist/radar.d.ts +2 -2
  83. package/dist/radar.js +6 -5
  84. package/dist/sankey.d.ts +2 -2
  85. package/dist/sankey.js +6 -5
  86. package/dist/scatter.d.ts +2 -2
  87. package/dist/scatter.js +6 -5
  88. package/dist/sparkline.d.ts +2 -2
  89. package/dist/sparkline.js +6 -5
  90. package/dist/table-sheet-CQBIAV5N.js +36 -0
  91. package/dist/table-sheet-CQBIAV5N.js.map +1 -0
  92. package/dist/throughput.d.ts +3 -3
  93. package/dist/throughput.js +8 -7
  94. package/dist/ticker.d.ts +3 -3
  95. package/dist/ticker.js +8 -7
  96. package/dist/treemap.d.ts +2 -2
  97. package/dist/treemap.js +7 -6
  98. package/package.json +292 -50
  99. package/registry/area-chart.json +93 -12
  100. package/registry/bar-chart.json +93 -12
  101. package/registry/calendar-heatmap.json +59 -18
  102. package/registry/candlestick.json +59 -18
  103. package/registry/chart-card.json +248 -0
  104. package/registry/chart.json +53 -12
  105. package/registry/charts-provider.json +13 -2
  106. package/registry/credit-usage.json +11 -0
  107. package/registry/earnings-chart.json +93 -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 +59 -18
  129. package/registry/gauge.json +53 -14
  130. package/registry/geo-map.json +59 -18
  131. package/registry/globe.json +54 -12
  132. package/registry/goal-progress.json +47 -8
  133. package/registry/heatmap.json +59 -18
  134. package/registry/index.json +362 -1
  135. package/registry/job-throughput.json +93 -12
  136. package/registry/kpi-stat.json +309 -0
  137. package/registry/latency-chart.json +93 -12
  138. package/registry/line-chart.json +93 -12
  139. package/registry/pie-chart.json +103 -36
  140. package/registry/price-ticker.json +93 -12
  141. package/registry/radar-chart.json +59 -18
  142. package/registry/sankey.json +59 -18
  143. package/registry/scatter-chart.json +59 -18
  144. package/registry/sparkline.json +49 -10
  145. package/registry/treemap.json +53 -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
package/dist/geo.js CHANGED
@@ -1,12 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  GeoMap
4
- } from "./chunk-BV4DBGN7.js";
4
+ } from "./chunk-7W4T255Q.js";
5
5
  import "./chunk-6FINSUOS.js";
6
- import "./chunk-W5FX4TU3.js";
6
+ import "./chunk-PGD6SH5I.js";
7
7
  import "./chunk-XLLYNNC6.js";
8
- import "./chunk-JTKR7ZWP.js";
9
- import "./chunk-3CJHBJXA.js";
8
+ import "./chunk-P6RS2L23.js";
9
+ import "./chunk-OVASCEGF.js";
10
+ import "./chunk-GRRFPI27.js";
10
11
  export {
11
12
  GeoMap
12
13
  };
package/dist/globe.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
- import { j as Tone, V as ValueFormat } from './context-BgYUymEO.js';
2
+ import { j as Tone, V as ValueFormat } from './context-DNW7bJYw.js';
3
3
  import { GeoPoint } from './geo.js';
4
- import { C as ChartFrameProps } from './frame-I7_xYGy5.js';
4
+ import { C as ChartFrameProps } from './frame-B1HDNm7c.js';
5
5
 
6
6
  interface GlobePoint extends GeoPoint {
7
7
  /** Its tone: a healthy region in `"success"`, a degraded one in `"warning"`. Default `"accent"`. */
package/dist/globe.js CHANGED
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  Globe3D
4
- } from "./chunk-I3D7KUGN.js";
4
+ } from "./chunk-NLTZWJLV.js";
5
5
  import "./chunk-6FINSUOS.js";
6
6
  import "./chunk-XLLYNNC6.js";
7
- import "./chunk-JTKR7ZWP.js";
8
- import "./chunk-3CJHBJXA.js";
7
+ import "./chunk-P6RS2L23.js";
8
+ import "./chunk-OVASCEGF.js";
9
+ import "./chunk-GRRFPI27.js";
9
10
  export {
10
11
  Globe3D
11
12
  };
package/dist/goal.d.ts CHANGED
@@ -3,8 +3,8 @@ export { G as GOAL_LABELS } from './labels-DE_743fQ.js';
3
3
  import * as react from 'react';
4
4
  import { ReactNode } from 'react';
5
5
  import { GaugeProps } from './gauge.js';
6
- import './context-BgYUymEO.js';
7
- import './frame-I7_xYGy5.js';
6
+ import './context-DNW7bJYw.js';
7
+ import './frame-B1HDNm7c.js';
8
8
 
9
9
  interface GoalProgressProps extends Omit<GaugeProps, "value" | "min" | "max" | "format" | "caption" | "target" | "zones" | "tone" | "labels"> {
10
10
  /** The amount raised, in **minor units** (cents). */
package/dist/goal.js CHANGED
@@ -1,15 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  GoalProgress
4
- } from "./chunk-EEP7PS2L.js";
5
- import "./chunk-EQLC2QVN.js";
4
+ } from "./chunk-ZF7LVQTR.js";
5
+ import "./chunk-OZOAKP5F.js";
6
6
  import {
7
7
  GOAL_LABELS
8
8
  } from "./chunk-WNUFGMS7.js";
9
9
  import "./chunk-OB5EFDDH.js";
10
10
  import "./chunk-XLLYNNC6.js";
11
- import "./chunk-JTKR7ZWP.js";
12
- import "./chunk-3CJHBJXA.js";
11
+ import "./chunk-P6RS2L23.js";
12
+ import "./chunk-OVASCEGF.js";
13
+ import "./chunk-GRRFPI27.js";
13
14
  export {
14
15
  GOAL_LABELS,
15
16
  GoalProgress
package/dist/heatmap.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
- import { g as Datum, A as Accessor, V as ValueFormat, C as CategoryFormat } from './context-BgYUymEO.js';
2
+ import { g as Datum, A as Accessor, V as ValueFormat, C as CategoryFormat } from './context-DNW7bJYw.js';
3
3
  import { E as EngineProps } from './host-_F8RgiIz.js';
4
- import { C as ChartFrameProps } from './frame-I7_xYGy5.js';
4
+ import { C as ChartFrameProps } from './frame-B1HDNm7c.js';
5
5
 
6
6
  interface HeatmapProps<T extends Datum> extends ChartFrameProps, EngineProps {
7
7
  /** One row per cell. */
package/dist/heatmap.js CHANGED
@@ -2,12 +2,13 @@
2
2
  import {
3
3
  CalendarHeatmap,
4
4
  Heatmap
5
- } from "./chunk-XDDALY4C.js";
6
- import "./chunk-PWMMXRMC.js";
7
- import "./chunk-W5FX4TU3.js";
5
+ } from "./chunk-KMQ7RANJ.js";
6
+ import "./chunk-NV52AKHG.js";
7
+ import "./chunk-PGD6SH5I.js";
8
8
  import "./chunk-XLLYNNC6.js";
9
- import "./chunk-JTKR7ZWP.js";
10
- import "./chunk-3CJHBJXA.js";
9
+ import "./chunk-P6RS2L23.js";
10
+ import "./chunk-OVASCEGF.js";
11
+ import "./chunk-GRRFPI27.js";
11
12
  export {
12
13
  CalendarHeatmap,
13
14
  Heatmap
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- export { C as CartesianProps } from './cartesian-BRhNQ3ib.js';
1
+ export { C as CartesianProps } from './cartesian-CEY_wwe_.js';
2
2
  export { BarChart, BarChartProps } from './bar.js';
3
3
  export { Candlestick, CandlestickProps } from './candlestick.js';
4
+ export { ChartCard, ChartCardProps, KpiStat, KpiStatProps } from './card.js';
4
5
  export { W as WalkItem } from './host-_F8RgiIz.js';
5
- export { T as TableModel } from './frame-I7_xYGy5.js';
6
+ export { T as TableModel } from './frame-B1HDNm7c.js';
6
7
  export { Chart, ChartProps, ResolvedTheme } from './chart.js';
7
8
  export { C as CREDIT_LABELS, a as CreditLabels, E as EARNINGS_LABELS, b as EarningsLabels, G as GOAL_LABELS, c as GoalLabels, L as LATENCY_LABELS, d as LatencyLabels, T as THROUGHPUT_LABELS, e as TICKER_LABELS, f as ThroughputLabels, g as TickerLabels } from './labels-DE_743fQ.js';
8
9
  export { CreditUsage, CreditUsageProps } from './credits.js';
@@ -16,7 +17,7 @@ export { CalendarHeatmap, CalendarHeatmapProps, Heatmap, HeatmapProps } from './
16
17
  export { LatencyChart, LatencyChartProps, formatDuration } from './latency.js';
17
18
  export { AreaChart, AreaChartProps, LineChart, LineChartProps } from './line.js';
18
19
  export { DonutChart, PieChart, PieChartProps } from './pie.js';
19
- export { A as Accessor, B as BrandId, C as CategoryFormat, a as ChartKind, b as ChartLabels, c as ChartLabelsInput, d as ChartsProvider, e as ChartsProviderProps, f as ChartsSettings, D as DEFAULT_LABELS, g as Datum, L as Locale, M as Marker, S as SeriesColor, h as SeriesSpec, i as SeriesSummary, T as Threshold, j as Tone, V as ValueFormat } from './context-BgYUymEO.js';
20
+ export { A as Accessor, B as BrandId, C as CategoryFormat, a as ChartKind, b as ChartLabels, c as ChartLabelsInput, d as ChartsProvider, e as ChartsProviderProps, f as ChartsSettings, D as DEFAULT_LABELS, g as Datum, L as Locale, M as Marker, S as SeriesColor, h as SeriesSpec, i as SeriesSummary, T as Threshold, j as Tone, V as ValueFormat } from './context-DNW7bJYw.js';
20
21
  export { DIVERGING, HUES, ORDERS, SlidingWindow, palette, sequential, useSlidingWindow } from './provider.js';
21
22
  export { RadarChart, RadarChartProps } from './radar.js';
22
23
  export { Sankey, SankeyProps } from './sankey.js';
@@ -26,4 +27,5 @@ export { DEFAULT_STATUSES, JobStatus, JobThroughput, JobThroughputProps } from '
26
27
  export { Bid, PriceTicker, PriceTickerProps } from './ticker.js';
27
28
  export { Treemap, TreemapNode, TreemapProps } from './treemap.js';
28
29
  import 'react';
30
+ import '@krizaka/ui/stat';
29
31
  import 'echarts/core';
package/dist/index.js CHANGED
@@ -1,86 +1,90 @@
1
1
  "use client";
2
+ import {
3
+ RadarChart
4
+ } from "./chunk-FE4LUGAE.js";
2
5
  import {
3
6
  CalendarHeatmap,
4
7
  Heatmap
5
- } from "./chunk-XDDALY4C.js";
8
+ } from "./chunk-KMQ7RANJ.js";
6
9
  import {
7
10
  Sankey
8
- } from "./chunk-MXLITIGU.js";
11
+ } from "./chunk-NWJ5VDN7.js";
9
12
  import {
10
13
  Funnel
11
- } from "./chunk-CSSZLFLO.js";
14
+ } from "./chunk-MRGMLDNS.js";
12
15
  import {
13
16
  Candlestick
14
- } from "./chunk-NCIQMRV3.js";
17
+ } from "./chunk-LLUQEK5J.js";
15
18
  import {
16
19
  Treemap
17
- } from "./chunk-W5ILLSPK.js";
20
+ } from "./chunk-AGSSNMK5.js";
18
21
  import {
19
22
  ScatterChart,
20
23
  correlation
21
- } from "./chunk-4LBXEAGC.js";
24
+ } from "./chunk-PWZHIGPO.js";
22
25
  import {
23
26
  Chart
24
- } from "./chunk-AA5EWWYV.js";
27
+ } from "./chunk-LZPZWBBY.js";
28
+ import "./chunk-NV52AKHG.js";
29
+ import {
30
+ PriceTicker
31
+ } from "./chunk-P2NK5L3B.js";
25
32
  import "./chunk-E5DKBSWX.js";
33
+ import {
34
+ AreaChart,
35
+ LineChart
36
+ } from "./chunk-Z4T3JFNU.js";
26
37
  import "./chunk-FINOPIDN.js";
27
38
  import {
28
39
  DonutChart,
29
40
  PieChart
30
- } from "./chunk-PBQV3B6O.js";
41
+ } from "./chunk-MK2ZFUWM.js";
31
42
  import "./chunk-G2KF2WL4.js";
32
43
  import "./chunk-POQIHFAZ.js";
33
44
  import {
34
45
  GeoMap
35
- } from "./chunk-BV4DBGN7.js";
46
+ } from "./chunk-7W4T255Q.js";
36
47
  import {
37
48
  Globe3D
38
- } from "./chunk-I3D7KUGN.js";
49
+ } from "./chunk-NLTZWJLV.js";
39
50
  import "./chunk-6FINSUOS.js";
40
- import {
41
- RadarChart
42
- } from "./chunk-VKZZY2QD.js";
43
- import "./chunk-PWMMXRMC.js";
44
51
  import {
45
52
  useSlidingWindow
46
53
  } from "./chunk-TPJDOB7R.js";
54
+ import {
55
+ ChartCard,
56
+ KpiStat
57
+ } from "./chunk-YHQFW2PR.js";
47
58
  import {
48
59
  EarningsChart
49
- } from "./chunk-OIRHLJBC.js";
60
+ } from "./chunk-IJTI6VJD.js";
50
61
  import {
51
62
  DEFAULT_STATUSES,
52
63
  JobThroughput
53
- } from "./chunk-SLEJDQ3A.js";
64
+ } from "./chunk-HH65IEUV.js";
54
65
  import {
55
66
  LatencyChart
56
- } from "./chunk-IKQV3NSL.js";
67
+ } from "./chunk-KERGFVSN.js";
57
68
  import {
58
69
  BarChart
59
- } from "./chunk-WVTIKOII.js";
70
+ } from "./chunk-IURCLBUQ.js";
71
+ import "./chunk-JST4HJC3.js";
60
72
  import {
61
73
  CreditUsage
62
- } from "./chunk-L2EKYWVI.js";
74
+ } from "./chunk-VEOJNMPF.js";
63
75
  import {
64
76
  Sparkline
65
- } from "./chunk-ARARFMNE.js";
77
+ } from "./chunk-FIQHMJZK.js";
78
+ import "./chunk-WBHFVBSK.js";
79
+ import "./chunk-BISL7DYW.js";
80
+ import "./chunk-GD7TWEN3.js";
81
+ import "./chunk-PGD6SH5I.js";
66
82
  import {
67
83
  GoalProgress
68
- } from "./chunk-EEP7PS2L.js";
84
+ } from "./chunk-ZF7LVQTR.js";
69
85
  import {
70
86
  Gauge
71
- } from "./chunk-EQLC2QVN.js";
72
- import {
73
- PriceTicker
74
- } from "./chunk-KNDHO67X.js";
75
- import {
76
- AreaChart,
77
- LineChart
78
- } from "./chunk-C4MFZLJM.js";
79
- import "./chunk-CVWSMUUB.js";
80
- import "./chunk-WBHFVBSK.js";
81
- import "./chunk-BISL7DYW.js";
82
- import "./chunk-ANUCSRUN.js";
83
- import "./chunk-W5FX4TU3.js";
87
+ } from "./chunk-OZOAKP5F.js";
84
88
  import {
85
89
  CREDIT_LABELS,
86
90
  EARNINGS_LABELS,
@@ -92,16 +96,18 @@ import {
92
96
  } from "./chunk-WNUFGMS7.js";
93
97
  import "./chunk-OB5EFDDH.js";
94
98
  import "./chunk-XLLYNNC6.js";
95
- import "./chunk-JTKR7ZWP.js";
99
+ import "./chunk-P6RS2L23.js";
96
100
  import {
97
101
  ChartsProvider,
98
- DEFAULT_LABELS,
99
102
  DIVERGING,
100
103
  HUES,
101
104
  ORDERS,
102
105
  palette,
103
106
  sequential
104
- } from "./chunk-3CJHBJXA.js";
107
+ } from "./chunk-OVASCEGF.js";
108
+ import {
109
+ DEFAULT_LABELS
110
+ } from "./chunk-GRRFPI27.js";
105
111
  export {
106
112
  AreaChart,
107
113
  BarChart,
@@ -109,6 +115,7 @@ export {
109
115
  CalendarHeatmap,
110
116
  Candlestick,
111
117
  Chart,
118
+ ChartCard,
112
119
  ChartsProvider,
113
120
  CreditUsage,
114
121
  DEFAULT_LABELS,
@@ -126,6 +133,7 @@ export {
126
133
  HUES,
127
134
  Heatmap,
128
135
  JobThroughput,
136
+ KpiStat,
129
137
  LATENCY_LABELS,
130
138
  LatencyChart,
131
139
  LineChart,
package/dist/latency.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { d as LatencyLabels } from './labels-DE_743fQ.js';
2
2
  export { L as LATENCY_LABELS } from './labels-DE_743fQ.js';
3
- import { L as Locale, g as Datum, A as Accessor } from './context-BgYUymEO.js';
3
+ import { L as Locale, g as Datum, A as Accessor } from './context-DNW7bJYw.js';
4
4
  import * as react from 'react';
5
- import { C as CartesianProps } from './cartesian-BRhNQ3ib.js';
6
- import './frame-I7_xYGy5.js';
5
+ import { C as CartesianProps } from './cartesian-CEY_wwe_.js';
6
+ import './frame-B1HDNm7c.js';
7
7
 
8
8
  /** Milliseconds as a duration: `840 ms`, `1.2 s`, `2.5 min` — the unit follows the size, through Intl. */
9
9
  declare function formatDuration(ms: number, locale: Locale): string;
package/dist/latency.js CHANGED
@@ -1,21 +1,22 @@
1
1
  "use client";
2
2
  import {
3
3
  LatencyChart
4
- } from "./chunk-IKQV3NSL.js";
5
- import "./chunk-WVTIKOII.js";
6
- import "./chunk-CVWSMUUB.js";
4
+ } from "./chunk-KERGFVSN.js";
5
+ import "./chunk-IURCLBUQ.js";
6
+ import "./chunk-JST4HJC3.js";
7
7
  import "./chunk-WBHFVBSK.js";
8
8
  import "./chunk-BISL7DYW.js";
9
- import "./chunk-ANUCSRUN.js";
10
- import "./chunk-W5FX4TU3.js";
9
+ import "./chunk-GD7TWEN3.js";
10
+ import "./chunk-PGD6SH5I.js";
11
11
  import {
12
12
  LATENCY_LABELS,
13
13
  formatDuration
14
14
  } from "./chunk-WNUFGMS7.js";
15
15
  import "./chunk-OB5EFDDH.js";
16
16
  import "./chunk-XLLYNNC6.js";
17
- import "./chunk-JTKR7ZWP.js";
18
- import "./chunk-3CJHBJXA.js";
17
+ import "./chunk-P6RS2L23.js";
18
+ import "./chunk-OVASCEGF.js";
19
+ import "./chunk-GRRFPI27.js";
19
20
  export {
20
21
  LATENCY_LABELS,
21
22
  LatencyChart,
package/dist/line.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { C as CartesianProps } from './cartesian-BRhNQ3ib.js';
1
+ import { C as CartesianProps } from './cartesian-CEY_wwe_.js';
2
2
  import * as react from 'react';
3
- import { g as Datum } from './context-BgYUymEO.js';
4
- import './frame-I7_xYGy5.js';
3
+ import { g as Datum } from './context-DNW7bJYw.js';
4
+ import './frame-B1HDNm7c.js';
5
5
 
6
6
  type Curve = "linear" | "monotone" | "step";
7
7
 
package/dist/line.js CHANGED
@@ -3,15 +3,16 @@ import "./chunk-E5DKBSWX.js";
3
3
  import {
4
4
  AreaChart,
5
5
  LineChart
6
- } from "./chunk-C4MFZLJM.js";
7
- import "./chunk-CVWSMUUB.js";
6
+ } from "./chunk-Z4T3JFNU.js";
7
+ import "./chunk-JST4HJC3.js";
8
8
  import "./chunk-BISL7DYW.js";
9
- import "./chunk-ANUCSRUN.js";
10
- import "./chunk-W5FX4TU3.js";
9
+ import "./chunk-GD7TWEN3.js";
10
+ import "./chunk-PGD6SH5I.js";
11
11
  import "./chunk-OB5EFDDH.js";
12
12
  import "./chunk-XLLYNNC6.js";
13
- import "./chunk-JTKR7ZWP.js";
14
- import "./chunk-3CJHBJXA.js";
13
+ import "./chunk-P6RS2L23.js";
14
+ import "./chunk-OVASCEGF.js";
15
+ import "./chunk-GRRFPI27.js";
15
16
  export {
16
17
  AreaChart,
17
18
  LineChart
package/dist/native.d.ts CHANGED
@@ -13,6 +13,25 @@ interface ChartLabels {
13
13
  exportPng: string;
14
14
  exportSvg: string;
15
15
  exportCsv: string;
16
+ /** The actions menu (⋯) of a chart: its accessible name, and its entries. */
17
+ actions: string;
18
+ viewTable: string;
19
+ downloadCsv: string;
20
+ downloadPng: string;
21
+ downloadSvg: string;
22
+ copyData: string;
23
+ /** Announced once the data is on the clipboard. */
24
+ copied: string;
25
+ /** The close button of the table sheet. */
26
+ close: string;
27
+ /** The sheet's description: `{count}` rows. */
28
+ tableRows: string;
29
+ /** Legend chips filter: the chip's accessible name, `{label}`. */
30
+ toggleSeries: string;
31
+ /** Sparse data: under the chart, `{count}` periods with data out of `{total}`. */
32
+ sparse: string;
33
+ /** A KPI's change: `{change}` (`+12 %`) against the previous period. */
34
+ trendVsPrevious: string;
16
35
  /** Announced while the data loads. */
17
36
  loading: string;
18
37
  /** Shown when there is nothing to draw. */
package/dist/native.js CHANGED
@@ -6,6 +6,18 @@ var DEFAULT_LABELS = {
6
6
  exportPng: "PNG",
7
7
  exportSvg: "SVG",
8
8
  exportCsv: "CSV",
9
+ actions: "Chart actions",
10
+ viewTable: "View as table",
11
+ downloadCsv: "Download CSV",
12
+ downloadPng: "Download PNG",
13
+ downloadSvg: "Download SVG",
14
+ copyData: "Copy data",
15
+ copied: "Data copied",
16
+ close: "Close",
17
+ tableRows: "{count} rows",
18
+ toggleSeries: "Show or hide {label}",
19
+ sparse: "{count} of {total} periods have data.",
20
+ trendVsPrevious: "{change} vs previous period",
9
21
  loading: "Loading chart\u2026",
10
22
  empty: "No data for this period yet.",
11
23
  error: "The chart could not be loaded.",
@@ -548,7 +560,7 @@ var HUES = {
548
560
  };
549
561
  var ORDERS = {
550
562
  krizaka: ["blue", "green", "magenta", "yellow", "aqua", "orange", "violet", "red"],
551
- orazaka: ["orange", "aqua", "blue", "yellow", "magenta", "green", "violet", "red"],
563
+ orazaka: ["orange", "blue", "aqua", "yellow", "magenta", "green", "violet", "red"],
552
564
  orochia: ["violet", "magenta", "yellow", "aqua", "orange", "blue", "green", "red"]
553
565
  };
554
566
  function palette(brand, mode) {