@krizaka/charts 0.1.0 → 0.2.1
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/README.md +17 -5
- package/dist/bar.js +5 -4
- package/dist/candlestick.js +3 -3
- package/dist/chart.js +3 -3
- package/dist/{chunk-EK3Z647J.js → chunk-4LBXEAGC.js} +3 -3
- package/dist/{chunk-AHQXJSAQ.js → chunk-AA5EWWYV.js} +2 -2
- package/dist/{chunk-VKO2OYYM.js → chunk-ARARFMNE.js} +2 -2
- package/dist/{chunk-WBH2QU77.js → chunk-BV4DBGN7.js} +2 -2
- package/dist/{chunk-BZ5CQFPH.js → chunk-C4MFZLJM.js} +2 -2
- package/dist/{chunk-XAJ3KCC4.js → chunk-CSSZLFLO.js} +3 -3
- package/dist/{chunk-UNK4MJVG.js → chunk-CVWSMUUB.js} +8 -8
- package/dist/chunk-E5DKBSWX.js +2 -0
- package/dist/chunk-E5DKBSWX.js.map +1 -0
- package/dist/chunk-EEP7PS2L.js +54 -0
- package/dist/chunk-EEP7PS2L.js.map +1 -0
- package/dist/{chunk-DZB6HEVO.js → chunk-EQLC2QVN.js} +2 -2
- package/dist/chunk-FINOPIDN.js +2 -0
- package/dist/chunk-FINOPIDN.js.map +1 -0
- package/dist/chunk-G2KF2WL4.js +2 -0
- package/dist/chunk-G2KF2WL4.js.map +1 -0
- package/dist/{chunk-PTSB3H5Q.js → chunk-I3D7KUGN.js} +2 -2
- package/dist/chunk-IKQV3NSL.js +76 -0
- package/dist/chunk-IKQV3NSL.js.map +1 -0
- package/dist/{chunk-DWJPPEMC.js → chunk-JTKR7ZWP.js} +73 -60
- package/dist/chunk-JTKR7ZWP.js.map +1 -0
- package/dist/chunk-KNDHO67X.js +78 -0
- package/dist/chunk-KNDHO67X.js.map +1 -0
- package/dist/chunk-L2EKYWVI.js +94 -0
- package/dist/chunk-L2EKYWVI.js.map +1 -0
- package/dist/{chunk-XC6BQ3RN.js → chunk-MXLITIGU.js} +3 -3
- package/dist/{chunk-OER6ETT4.js → chunk-NCIQMRV3.js} +3 -3
- package/dist/chunk-OIRHLJBC.js +83 -0
- package/dist/chunk-OIRHLJBC.js.map +1 -0
- package/dist/{chunk-WIRCIOLH.js → chunk-PBQV3B6O.js} +5 -5
- package/dist/chunk-POQIHFAZ.js +2 -0
- package/dist/chunk-POQIHFAZ.js.map +1 -0
- package/dist/{chunk-I5QUZVU2.js → chunk-PWMMXRMC.js} +2 -2
- package/dist/chunk-SLEJDQ3A.js +81 -0
- package/dist/chunk-SLEJDQ3A.js.map +1 -0
- package/dist/{chunk-7TIFCK5E.js → chunk-VKZZY2QD.js} +3 -3
- package/dist/{chunk-VKTZD7UT.js → chunk-W5ILLSPK.js} +3 -3
- package/dist/chunk-WBHFVBSK.js +25 -0
- package/dist/chunk-WBHFVBSK.js.map +1 -0
- package/dist/chunk-WNUFGMS7.js +113 -0
- package/dist/chunk-WNUFGMS7.js.map +1 -0
- package/dist/{chunk-XR4ZJDOV.js → chunk-WVTIKOII.js} +2 -2
- package/dist/{chunk-7CSAGFBW.js → chunk-XDDALY4C.js} +3 -3
- package/dist/credits.d.ts +42 -0
- package/dist/credits.js +21 -0
- package/dist/credits.js.map +1 -0
- package/dist/earnings.d.ts +29 -0
- package/dist/earnings.js +22 -0
- package/dist/earnings.js.map +1 -0
- package/dist/funnel.js +3 -3
- package/dist/gauge.js +3 -2
- package/dist/geo.js +2 -2
- package/dist/globe.js +2 -2
- package/dist/goal.d.ts +26 -0
- package/dist/goal.js +17 -0
- package/dist/goal.js.map +1 -0
- package/dist/heatmap.js +3 -3
- package/dist/index.d.ts +7 -0
- package/dist/index.js +80 -33
- package/dist/labels-DE_743fQ.d.ts +72 -0
- package/dist/latency.d.ts +33 -0
- package/dist/latency.js +24 -0
- package/dist/latency.js.map +1 -0
- package/dist/line.js +5 -4
- package/dist/native.d.ts +195 -1
- package/dist/native.js +383 -14
- package/dist/native.js.map +1 -1
- package/dist/pie.js +3 -3
- package/dist/radar.js +3 -3
- package/dist/sankey.js +3 -3
- package/dist/scatter.js +3 -3
- package/dist/sparkline.js +4 -3
- package/dist/throughput.d.ts +37 -0
- package/dist/throughput.js +24 -0
- package/dist/throughput.js.map +1 -0
- package/dist/ticker.d.ts +38 -0
- package/dist/ticker.js +22 -0
- package/dist/ticker.js.map +1 -0
- package/dist/treemap.js +3 -3
- package/package.json +102 -6
- package/registry/area-chart.json +1 -0
- package/registry/bar-chart.json +1 -0
- package/registry/calendar-heatmap.json +1 -0
- package/registry/candlestick.json +1 -0
- package/registry/chart.json +1 -0
- package/registry/charts-provider.json +1 -0
- package/registry/credit-usage.json +473 -0
- package/registry/earnings-chart.json +703 -0
- package/registry/examples/credit-usage/monthly-credits.d.ts +4 -0
- package/registry/examples/credit-usage/monthly-credits.js +24 -0
- package/registry/examples/credit-usage/monthly-credits.tsx +19 -0
- package/registry/examples/credit-usage/native/monthly-credits.d.ts +4 -0
- package/registry/examples/credit-usage/native/monthly-credits.dark.png +0 -0
- package/registry/examples/credit-usage/native/monthly-credits.js +23 -0
- package/registry/examples/credit-usage/native/monthly-credits.light.png +0 -0
- package/registry/examples/credit-usage/native/monthly-credits.tsx +18 -0
- package/registry/examples/credit-usage/storage-plan.d.ts +4 -0
- package/registry/examples/credit-usage/storage-plan.js +21 -0
- package/registry/examples/credit-usage/storage-plan.tsx +15 -0
- package/registry/examples/earnings-chart/creator-month.d.ts +4 -0
- package/registry/examples/earnings-chart/creator-month.js +29 -0
- package/registry/examples/earnings-chart/creator-month.tsx +24 -0
- package/registry/examples/earnings-chart/gross-and-net.d.ts +4 -0
- package/registry/examples/earnings-chart/gross-and-net.js +29 -0
- package/registry/examples/earnings-chart/gross-and-net.tsx +24 -0
- package/registry/examples/earnings-chart/native/creator-month.d.ts +4 -0
- package/registry/examples/earnings-chart/native/creator-month.dark.png +0 -0
- package/registry/examples/earnings-chart/native/creator-month.js +29 -0
- package/registry/examples/earnings-chart/native/creator-month.light.png +0 -0
- package/registry/examples/earnings-chart/native/creator-month.tsx +24 -0
- package/registry/examples/goal-progress/challenge-pot.d.ts +4 -0
- package/registry/examples/goal-progress/challenge-pot.js +22 -0
- package/registry/examples/goal-progress/challenge-pot.tsx +16 -0
- package/registry/examples/goal-progress/goal-reached.d.ts +4 -0
- package/registry/examples/goal-progress/goal-reached.js +11 -0
- package/registry/examples/goal-progress/goal-reached.tsx +6 -0
- package/registry/examples/goal-progress/native/challenge-pot.d.ts +4 -0
- package/registry/examples/goal-progress/native/challenge-pot.dark.png +0 -0
- package/registry/examples/goal-progress/native/challenge-pot.js +11 -0
- package/registry/examples/goal-progress/native/challenge-pot.light.png +0 -0
- package/registry/examples/goal-progress/native/challenge-pot.tsx +6 -0
- package/registry/examples/job-throughput/live-hours.d.ts +4 -0
- package/registry/examples/job-throughput/live-hours.js +33 -0
- package/registry/examples/job-throughput/live-hours.tsx +28 -0
- package/registry/examples/job-throughput/native/week-of-jobs.d.ts +4 -0
- package/registry/examples/job-throughput/native/week-of-jobs.dark.png +0 -0
- package/registry/examples/job-throughput/native/week-of-jobs.js +20 -0
- package/registry/examples/job-throughput/native/week-of-jobs.light.png +0 -0
- package/registry/examples/job-throughput/native/week-of-jobs.tsx +16 -0
- package/registry/examples/job-throughput/week-of-jobs.d.ts +4 -0
- package/registry/examples/job-throughput/week-of-jobs.js +20 -0
- package/registry/examples/job-throughput/week-of-jobs.tsx +16 -0
- package/registry/examples/latency-chart/by-capability.d.ts +4 -0
- package/registry/examples/latency-chart/by-capability.js +26 -0
- package/registry/examples/latency-chart/by-capability.tsx +21 -0
- package/registry/examples/latency-chart/native/by-capability.d.ts +4 -0
- package/registry/examples/latency-chart/native/by-capability.dark.png +0 -0
- package/registry/examples/latency-chart/native/by-capability.js +17 -0
- package/registry/examples/latency-chart/native/by-capability.light.png +0 -0
- package/registry/examples/latency-chart/native/by-capability.tsx +13 -0
- package/registry/examples/latency-chart/time-to-result.d.ts +4 -0
- package/registry/examples/latency-chart/time-to-result.js +27 -0
- package/registry/examples/latency-chart/time-to-result.tsx +22 -0
- package/registry/examples/price-ticker/auction-room.d.ts +4 -0
- package/registry/examples/price-ticker/auction-room.js +21 -0
- package/registry/examples/price-ticker/auction-room.tsx +17 -0
- package/registry/examples/price-ticker/native/auction-room.d.ts +4 -0
- package/registry/examples/price-ticker/native/auction-room.dark.png +0 -0
- package/registry/examples/price-ticker/native/auction-room.js +19 -0
- package/registry/examples/price-ticker/native/auction-room.light.png +0 -0
- package/registry/examples/price-ticker/native/auction-room.tsx +15 -0
- package/registry/examples/price-ticker/no-bid-yet.d.ts +4 -0
- package/registry/examples/price-ticker/no-bid-yet.js +11 -0
- package/registry/examples/price-ticker/no-bid-yet.tsx +6 -0
- package/registry/funnel.json +1 -0
- package/registry/gauge.json +1 -0
- package/registry/geo-map.json +1 -0
- package/registry/globe.json +1 -0
- package/registry/goal-progress.json +520 -0
- package/registry/heatmap.json +1 -0
- package/registry/index.json +163 -1
- package/registry/job-throughput.json +654 -0
- package/registry/latency-chart.json +671 -0
- package/registry/line-chart.json +1 -0
- package/registry/pie-chart.json +1 -0
- package/registry/price-ticker.json +684 -0
- package/registry/radar-chart.json +1 -0
- package/registry/sankey.json +1 -0
- package/registry/scatter-chart.json +1 -0
- package/registry/sparkline.json +1 -0
- package/registry/treemap.json +1 -0
- package/dist/chunk-DWJPPEMC.js.map +0 -1
- /package/dist/{chunk-EK3Z647J.js.map → chunk-4LBXEAGC.js.map} +0 -0
- /package/dist/{chunk-AHQXJSAQ.js.map → chunk-AA5EWWYV.js.map} +0 -0
- /package/dist/{chunk-VKO2OYYM.js.map → chunk-ARARFMNE.js.map} +0 -0
- /package/dist/{chunk-WBH2QU77.js.map → chunk-BV4DBGN7.js.map} +0 -0
- /package/dist/{chunk-BZ5CQFPH.js.map → chunk-C4MFZLJM.js.map} +0 -0
- /package/dist/{chunk-XAJ3KCC4.js.map → chunk-CSSZLFLO.js.map} +0 -0
- /package/dist/{chunk-UNK4MJVG.js.map → chunk-CVWSMUUB.js.map} +0 -0
- /package/dist/{chunk-DZB6HEVO.js.map → chunk-EQLC2QVN.js.map} +0 -0
- /package/dist/{chunk-PTSB3H5Q.js.map → chunk-I3D7KUGN.js.map} +0 -0
- /package/dist/{chunk-XC6BQ3RN.js.map → chunk-MXLITIGU.js.map} +0 -0
- /package/dist/{chunk-OER6ETT4.js.map → chunk-NCIQMRV3.js.map} +0 -0
- /package/dist/{chunk-WIRCIOLH.js.map → chunk-PBQV3B6O.js.map} +0 -0
- /package/dist/{chunk-I5QUZVU2.js.map → chunk-PWMMXRMC.js.map} +0 -0
- /package/dist/{chunk-7TIFCK5E.js.map → chunk-VKZZY2QD.js.map} +0 -0
- /package/dist/{chunk-VKTZD7UT.js.map → chunk-W5ILLSPK.js.map} +0 -0
- /package/dist/{chunk-XR4ZJDOV.js.map → chunk-WVTIKOII.js.map} +0 -0
- /package/dist/{chunk-7CSAGFBW.js.map → chunk-XDDALY4C.js.map} +0 -0
package/dist/pie.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DonutChart,
|
|
4
4
|
PieChart
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PBQV3B6O.js";
|
|
6
6
|
import "./chunk-ANUCSRUN.js";
|
|
7
|
-
import "./chunk-OB5EFDDH.js";
|
|
8
7
|
import "./chunk-W5FX4TU3.js";
|
|
8
|
+
import "./chunk-OB5EFDDH.js";
|
|
9
9
|
import "./chunk-XLLYNNC6.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-JTKR7ZWP.js";
|
|
11
11
|
import "./chunk-3CJHBJXA.js";
|
|
12
12
|
export {
|
|
13
13
|
DonutChart,
|
package/dist/radar.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
RadarChart
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-VKZZY2QD.js";
|
|
5
|
+
import "./chunk-PWMMXRMC.js";
|
|
6
6
|
import "./chunk-W5FX4TU3.js";
|
|
7
7
|
import "./chunk-XLLYNNC6.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JTKR7ZWP.js";
|
|
9
9
|
import "./chunk-3CJHBJXA.js";
|
|
10
10
|
export {
|
|
11
11
|
RadarChart
|
package/dist/sankey.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Sankey
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-MXLITIGU.js";
|
|
5
|
+
import "./chunk-PWMMXRMC.js";
|
|
6
6
|
import "./chunk-W5FX4TU3.js";
|
|
7
7
|
import "./chunk-XLLYNNC6.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JTKR7ZWP.js";
|
|
9
9
|
import "./chunk-3CJHBJXA.js";
|
|
10
10
|
export {
|
|
11
11
|
Sankey
|
package/dist/scatter.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ScatterChart,
|
|
4
4
|
correlation
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-4LBXEAGC.js";
|
|
6
|
+
import "./chunk-PWMMXRMC.js";
|
|
7
7
|
import "./chunk-W5FX4TU3.js";
|
|
8
8
|
import "./chunk-XLLYNNC6.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-JTKR7ZWP.js";
|
|
10
10
|
import "./chunk-3CJHBJXA.js";
|
|
11
11
|
export {
|
|
12
12
|
ScatterChart,
|
package/dist/sparkline.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import "./chunk-POQIHFAZ.js";
|
|
2
3
|
import {
|
|
3
4
|
Sparkline
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ARARFMNE.js";
|
|
5
6
|
import "./chunk-BISL7DYW.js";
|
|
6
7
|
import "./chunk-ANUCSRUN.js";
|
|
7
|
-
import "./chunk-OB5EFDDH.js";
|
|
8
8
|
import "./chunk-W5FX4TU3.js";
|
|
9
|
+
import "./chunk-OB5EFDDH.js";
|
|
9
10
|
import "./chunk-XLLYNNC6.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JTKR7ZWP.js";
|
|
11
12
|
import "./chunk-3CJHBJXA.js";
|
|
12
13
|
export {
|
|
13
14
|
Sparkline
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { f as ThroughputLabels } from './labels-DE_743fQ.js';
|
|
2
|
+
export { T as THROUGHPUT_LABELS } from './labels-DE_743fQ.js';
|
|
3
|
+
import { j as Tone, g as Datum, A as Accessor, C as CategoryFormat } from './context-BgYUymEO.js';
|
|
4
|
+
import * as react from 'react';
|
|
5
|
+
import { C as CartesianProps } from './cartesian-BRhNQ3ib.js';
|
|
6
|
+
import './frame-I7_xYGy5.js';
|
|
7
|
+
|
|
8
|
+
/** A status of a job: the field holding its count per period, its name, its tone, and its part in the success rate. */
|
|
9
|
+
interface JobStatus {
|
|
10
|
+
/** The field of the row holding the count (`"completed"`). */
|
|
11
|
+
readonly key: string;
|
|
12
|
+
/** Its name, passed translated (`"Completed"`). */
|
|
13
|
+
readonly label: string;
|
|
14
|
+
/** Its tone: the status colours (`success`, `danger`, `info`, `neutral`). */
|
|
15
|
+
readonly tone: Tone;
|
|
16
|
+
/** `succeeded` or `failed`: counted in the success rate. Absent: still running or waiting. */
|
|
17
|
+
readonly outcome?: "succeeded" | "failed";
|
|
18
|
+
}
|
|
19
|
+
/** The four statuses of an Orazaka job, in English: pass your own (translated) `statuses`. */
|
|
20
|
+
declare const DEFAULT_STATUSES: readonly JobStatus[];
|
|
21
|
+
|
|
22
|
+
interface JobThroughputProps<T extends Datum> extends Omit<CartesianProps<T>, "y" | "yLabel" | "series" | "format" | "x" | "xFormat" | "labels"> {
|
|
23
|
+
/** The field (or function) of the period. Default `"day"`. */
|
|
24
|
+
x?: Accessor<T, unknown>;
|
|
25
|
+
/** How the periods are written. Default `"day"` (`Oct 11`); `"time"` for hours. */
|
|
26
|
+
period?: CategoryFormat;
|
|
27
|
+
/** The statuses, in stacking order, with their field, name and tone. Default: completed, failed, running, queued. */
|
|
28
|
+
statuses?: readonly JobStatus[];
|
|
29
|
+
/** Hide the total and the success rate above the bars. */
|
|
30
|
+
hideSummary?: boolean;
|
|
31
|
+
/** The words, passed translated; English by default. */
|
|
32
|
+
labels?: Partial<ThroughputLabels>;
|
|
33
|
+
}
|
|
34
|
+
/** Jobs per period, stacked by status, with the total and the success rate. */
|
|
35
|
+
declare function JobThroughput<T extends Datum>({ x, period, statuses, hideSummary, labels: given, description, data, ...props }: JobThroughputProps<T>): react.JSX.Element;
|
|
36
|
+
|
|
37
|
+
export { DEFAULT_STATUSES, type JobStatus, JobThroughput, type JobThroughputProps, ThroughputLabels };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
DEFAULT_STATUSES,
|
|
4
|
+
JobThroughput
|
|
5
|
+
} from "./chunk-SLEJDQ3A.js";
|
|
6
|
+
import "./chunk-WVTIKOII.js";
|
|
7
|
+
import "./chunk-CVWSMUUB.js";
|
|
8
|
+
import "./chunk-WBHFVBSK.js";
|
|
9
|
+
import "./chunk-BISL7DYW.js";
|
|
10
|
+
import "./chunk-ANUCSRUN.js";
|
|
11
|
+
import "./chunk-W5FX4TU3.js";
|
|
12
|
+
import {
|
|
13
|
+
THROUGHPUT_LABELS
|
|
14
|
+
} from "./chunk-WNUFGMS7.js";
|
|
15
|
+
import "./chunk-OB5EFDDH.js";
|
|
16
|
+
import "./chunk-XLLYNNC6.js";
|
|
17
|
+
import "./chunk-JTKR7ZWP.js";
|
|
18
|
+
import "./chunk-3CJHBJXA.js";
|
|
19
|
+
export {
|
|
20
|
+
DEFAULT_STATUSES,
|
|
21
|
+
JobThroughput,
|
|
22
|
+
THROUGHPUT_LABELS
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=throughput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/ticker.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { g as TickerLabels } from './labels-DE_743fQ.js';
|
|
2
|
+
export { e as TICKER_LABELS } from './labels-DE_743fQ.js';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { C as CategoryFormat } from './context-BgYUymEO.js';
|
|
5
|
+
import { LineChartProps } from './line.js';
|
|
6
|
+
import './cartesian-BRhNQ3ib.js';
|
|
7
|
+
import './frame-I7_xYGy5.js';
|
|
8
|
+
|
|
9
|
+
/** A bid: when (an ISO date-time or a `Date`) and how much, in money minor units. */
|
|
10
|
+
interface Bid {
|
|
11
|
+
readonly at: string | Date;
|
|
12
|
+
readonly amount: number;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type Point = {
|
|
16
|
+
at: string | Date;
|
|
17
|
+
amount: number;
|
|
18
|
+
};
|
|
19
|
+
interface PriceTickerProps extends Omit<LineChartProps<Point>, "data" | "x" | "y" | "yLabel" | "series" | "format" | "xFormat" | "thresholds" | "curve" | "labels"> {
|
|
20
|
+
/** The bids, in any order: when and how much (minor units). */
|
|
21
|
+
bids: readonly Bid[];
|
|
22
|
+
/** The opening price, in minor units. */
|
|
23
|
+
opening: number;
|
|
24
|
+
/** When the auction opened: the first point of the line. */
|
|
25
|
+
openedAt?: string | Date;
|
|
26
|
+
/** The ISO 4217 currency. */
|
|
27
|
+
currency: string;
|
|
28
|
+
/** The reserve price, drawn as a line until it is met. */
|
|
29
|
+
reserve?: number;
|
|
30
|
+
/** How the times are written. Default `"time"` (`14:30`); `"datetime"` for auctions over several days. */
|
|
31
|
+
timeFormat?: CategoryFormat;
|
|
32
|
+
/** The words, passed translated; English by default. */
|
|
33
|
+
labels?: Partial<TickerLabels>;
|
|
34
|
+
}
|
|
35
|
+
/** A live auction's price: the current bid, the change since the opening, the steps of the bids, the reserve. */
|
|
36
|
+
declare function PriceTicker({ bids, opening, openedAt, currency, reserve, timeFormat, labels: given, description, live, ...props }: PriceTickerProps): react.JSX.Element;
|
|
37
|
+
|
|
38
|
+
export { type Bid, PriceTicker, type PriceTickerProps, TickerLabels };
|
package/dist/ticker.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
PriceTicker
|
|
4
|
+
} from "./chunk-KNDHO67X.js";
|
|
5
|
+
import "./chunk-C4MFZLJM.js";
|
|
6
|
+
import "./chunk-CVWSMUUB.js";
|
|
7
|
+
import "./chunk-WBHFVBSK.js";
|
|
8
|
+
import "./chunk-BISL7DYW.js";
|
|
9
|
+
import "./chunk-ANUCSRUN.js";
|
|
10
|
+
import "./chunk-W5FX4TU3.js";
|
|
11
|
+
import {
|
|
12
|
+
TICKER_LABELS
|
|
13
|
+
} from "./chunk-WNUFGMS7.js";
|
|
14
|
+
import "./chunk-OB5EFDDH.js";
|
|
15
|
+
import "./chunk-XLLYNNC6.js";
|
|
16
|
+
import "./chunk-JTKR7ZWP.js";
|
|
17
|
+
import "./chunk-3CJHBJXA.js";
|
|
18
|
+
export {
|
|
19
|
+
PriceTicker,
|
|
20
|
+
TICKER_LABELS
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ticker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/treemap.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Treemap
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-W5ILLSPK.js";
|
|
5
|
+
import "./chunk-PWMMXRMC.js";
|
|
6
6
|
import "./chunk-ANUCSRUN.js";
|
|
7
7
|
import "./chunk-W5FX4TU3.js";
|
|
8
8
|
import "./chunk-XLLYNNC6.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-JTKR7ZWP.js";
|
|
10
10
|
import "./chunk-3CJHBJXA.js";
|
|
11
11
|
export {
|
|
12
12
|
Treemap
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krizaka/charts",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Krizaka's data visualisation: typed, declarative React charts (line, area, bar, pie, radar, heatmap, calendar, sankey, funnel, gauge, sparkline, candlestick, treemap, scatter, geo map, 3D globe) on the --kz-* tokens and the brand palettes — an accessible data table, a written summary and keyboard navigation in every chart, SSR without layout shift, and React Native for the simple types.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"krizaka",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"sankey",
|
|
19
19
|
"globe"
|
|
20
20
|
],
|
|
21
|
-
"homepage": "https://www.krizaka.com/docs/ui",
|
|
21
|
+
"homepage": "https://www.krizaka.com/en/docs/ui",
|
|
22
22
|
"bugs": "https://github.com/krizaka/krizaka-ui/issues",
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -40,6 +40,30 @@
|
|
|
40
40
|
"types": "./dist/provider.d.ts",
|
|
41
41
|
"import": "./dist/provider.js"
|
|
42
42
|
},
|
|
43
|
+
"./earnings": {
|
|
44
|
+
"types": "./dist/earnings.d.ts",
|
|
45
|
+
"import": "./dist/earnings.js"
|
|
46
|
+
},
|
|
47
|
+
"./throughput": {
|
|
48
|
+
"types": "./dist/throughput.d.ts",
|
|
49
|
+
"import": "./dist/throughput.js"
|
|
50
|
+
},
|
|
51
|
+
"./latency": {
|
|
52
|
+
"types": "./dist/latency.d.ts",
|
|
53
|
+
"import": "./dist/latency.js"
|
|
54
|
+
},
|
|
55
|
+
"./credits": {
|
|
56
|
+
"types": "./dist/credits.d.ts",
|
|
57
|
+
"import": "./dist/credits.js"
|
|
58
|
+
},
|
|
59
|
+
"./goal": {
|
|
60
|
+
"types": "./dist/goal.d.ts",
|
|
61
|
+
"import": "./dist/goal.js"
|
|
62
|
+
},
|
|
63
|
+
"./ticker": {
|
|
64
|
+
"types": "./dist/ticker.d.ts",
|
|
65
|
+
"import": "./dist/ticker.js"
|
|
66
|
+
},
|
|
43
67
|
"./line": {
|
|
44
68
|
"types": "./dist/line.d.ts",
|
|
45
69
|
"import": "./dist/line.js"
|
|
@@ -126,7 +150,7 @@
|
|
|
126
150
|
"d3-geo": "^3.1.1",
|
|
127
151
|
"echarts": "^6.1.0",
|
|
128
152
|
"topojson-client": "^3.1.0",
|
|
129
|
-
"@krizaka/intl": "^0.1.
|
|
153
|
+
"@krizaka/intl": "^0.1.1"
|
|
130
154
|
},
|
|
131
155
|
"peerDependencies": {
|
|
132
156
|
"react": ">=19",
|
|
@@ -184,8 +208,8 @@
|
|
|
184
208
|
"typescript": "^5.9.0",
|
|
185
209
|
"vitest": "^4.1.11",
|
|
186
210
|
"world-atlas": "^2.0.2",
|
|
187
|
-
"@krizaka/
|
|
188
|
-
"@krizaka/
|
|
211
|
+
"@krizaka/tokens": "3.4.0",
|
|
212
|
+
"@krizaka/config": "0.3.1"
|
|
189
213
|
},
|
|
190
214
|
"engines": {
|
|
191
215
|
"node": ">=20"
|
|
@@ -242,6 +266,78 @@
|
|
|
242
266
|
"react-native-svg"
|
|
243
267
|
]
|
|
244
268
|
},
|
|
269
|
+
{
|
|
270
|
+
"name": "./earnings",
|
|
271
|
+
"path": "dist/earnings.js",
|
|
272
|
+
"limit": "14.5 kB",
|
|
273
|
+
"gzip": true,
|
|
274
|
+
"ignore": [
|
|
275
|
+
"react",
|
|
276
|
+
"react-dom",
|
|
277
|
+
"react-native",
|
|
278
|
+
"react-native-svg"
|
|
279
|
+
]
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "./throughput",
|
|
283
|
+
"path": "dist/throughput.js",
|
|
284
|
+
"limit": "14.5 kB",
|
|
285
|
+
"gzip": true,
|
|
286
|
+
"ignore": [
|
|
287
|
+
"react",
|
|
288
|
+
"react-dom",
|
|
289
|
+
"react-native",
|
|
290
|
+
"react-native-svg"
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "./latency",
|
|
295
|
+
"path": "dist/latency.js",
|
|
296
|
+
"limit": "14.5 kB",
|
|
297
|
+
"gzip": true,
|
|
298
|
+
"ignore": [
|
|
299
|
+
"react",
|
|
300
|
+
"react-dom",
|
|
301
|
+
"react-native",
|
|
302
|
+
"react-native-svg"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "./credits",
|
|
307
|
+
"path": "dist/credits.js",
|
|
308
|
+
"limit": "11.5 kB",
|
|
309
|
+
"gzip": true,
|
|
310
|
+
"ignore": [
|
|
311
|
+
"react",
|
|
312
|
+
"react-dom",
|
|
313
|
+
"react-native",
|
|
314
|
+
"react-native-svg"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "./goal",
|
|
319
|
+
"path": "dist/goal.js",
|
|
320
|
+
"limit": "9.5 kB",
|
|
321
|
+
"gzip": true,
|
|
322
|
+
"ignore": [
|
|
323
|
+
"react",
|
|
324
|
+
"react-dom",
|
|
325
|
+
"react-native",
|
|
326
|
+
"react-native-svg"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "./ticker",
|
|
331
|
+
"path": "dist/ticker.js",
|
|
332
|
+
"limit": "14.5 kB",
|
|
333
|
+
"gzip": true,
|
|
334
|
+
"ignore": [
|
|
335
|
+
"react",
|
|
336
|
+
"react-dom",
|
|
337
|
+
"react-native",
|
|
338
|
+
"react-native-svg"
|
|
339
|
+
]
|
|
340
|
+
},
|
|
245
341
|
{
|
|
246
342
|
"name": "./sparkline",
|
|
247
343
|
"path": "dist/sparkline.js",
|
|
@@ -401,7 +497,7 @@
|
|
|
401
497
|
{
|
|
402
498
|
"name": "./native (bundled by Metro: a regression guard)",
|
|
403
499
|
"path": "dist/native.js",
|
|
404
|
-
"limit": "
|
|
500
|
+
"limit": "13 kB",
|
|
405
501
|
"gzip": true,
|
|
406
502
|
"ignore": [
|
|
407
503
|
"react",
|
package/registry/area-chart.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
11
|
"engine": "svg",
|
|
12
|
+
"tier": "core",
|
|
12
13
|
"whenToUse": [
|
|
13
14
|
"A volume whose size matters, not only its direction: credits consumed, storage used.",
|
|
14
15
|
"The parts of a total over time, stacked: credits by model, views by source."
|
package/registry/bar-chart.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
11
|
"engine": "svg",
|
|
12
|
+
"tier": "core",
|
|
12
13
|
"whenToUse": [
|
|
13
14
|
"Counts per category or per period: jobs per day by status, revenue per plan.",
|
|
14
15
|
"A ranking with long names, as horizontal bars: top supporters, busiest models.",
|
package/registry/chart.json
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"category": "charts",
|
|
10
10
|
"platforms": "both",
|
|
11
11
|
"engine": null,
|
|
12
|
+
"tier": "core",
|
|
12
13
|
"whenToUse": [
|
|
13
14
|
"Once near the root of an app: its locale (`fr-FR`), its brand (`orazaka`), its translated words.",
|
|
14
15
|
"An app that loads a brand stylesheet on `:root` rather than a `.brand-<id>` class: set `brand` here."
|