@krizaka/charts 0.1.0 → 0.2.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/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 +100 -4
- 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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { LatencyChart } from "@krizaka/charts/latency";
|
|
2
|
+
|
|
3
|
+
// Milliseconds, per capability, over the last 24 hours (the console's supervision).
|
|
4
|
+
const capabilities = [
|
|
5
|
+
{ name: "Chat", p50: 420, p95: 1_180 },
|
|
6
|
+
{ name: "Embeddings", p50: 85, p95: 210 },
|
|
7
|
+
{ name: "Speech to text", p50: 1_350, p95: 2_900 },
|
|
8
|
+
{ name: "Image", p50: 4_200, p95: 9_800 },
|
|
9
|
+
{ name: "Translation", p50: 610, p95: 1_640 },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export default function ByCapability() {
|
|
13
|
+
return (
|
|
14
|
+
<LatencyChart
|
|
15
|
+
title="Latency by capability"
|
|
16
|
+
description="Last 24 hours"
|
|
17
|
+
data={capabilities}
|
|
18
|
+
objective={{ value: 2_000, label: "Objective" }}
|
|
19
|
+
/>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/latency-chart/native/by-capability.tsx
|
|
4
|
+
import { LatencyChart } from "@krizaka/charts/native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var capabilities = [
|
|
7
|
+
{ name: "Chat", p50: 420, p95: 1180 },
|
|
8
|
+
{ name: "Embed", p50: 85, p95: 210 },
|
|
9
|
+
{ name: "Speech", p50: 1350, p95: 2900 },
|
|
10
|
+
{ name: "Image", p50: 4200, p95: 9800 }
|
|
11
|
+
];
|
|
12
|
+
function NativeByCapability() {
|
|
13
|
+
return /* @__PURE__ */ jsx(LatencyChart, { title: "Latency by capability", data: capabilities, height: 170, objective: { value: 2e3, label: "Objective" } });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
NativeByCapability as default
|
|
17
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LatencyChart } from "@krizaka/charts/native";
|
|
2
|
+
|
|
3
|
+
const capabilities = [
|
|
4
|
+
{ name: "Chat", p50: 420, p95: 1_180 },
|
|
5
|
+
{ name: "Embed", p50: 85, p95: 210 },
|
|
6
|
+
{ name: "Speech", p50: 1_350, p95: 2_900 },
|
|
7
|
+
{ name: "Image", p50: 4_200, p95: 9_800 },
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
// Short names: the bars stand upright on a phone.
|
|
11
|
+
export default function NativeByCapability() {
|
|
12
|
+
return <LatencyChart title="Latency by capability" data={capabilities} height={170} objective={{ value: 2_000, label: "Objective" }} />;
|
|
13
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/latency-chart/time-to-result.tsx
|
|
4
|
+
import { LatencyChart } from "@krizaka/charts/latency";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var kinds = [
|
|
7
|
+
{ kind: "Summary", median: 8400 },
|
|
8
|
+
{ kind: "Transcript", median: 46e3 },
|
|
9
|
+
{ kind: "Dubbing", median: 312e3 },
|
|
10
|
+
{ kind: "Video clip", median: 54e4 }
|
|
11
|
+
];
|
|
12
|
+
function TimeToResult() {
|
|
13
|
+
return /* @__PURE__ */ jsx(
|
|
14
|
+
LatencyChart,
|
|
15
|
+
{
|
|
16
|
+
title: "Time to result",
|
|
17
|
+
data: kinds,
|
|
18
|
+
x: "kind",
|
|
19
|
+
p50: "median",
|
|
20
|
+
p95: null,
|
|
21
|
+
labels: { p50: "Median", slowest: "median of {name}, the slowest" }
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
TimeToResult as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LatencyChart } from "@krizaka/charts/latency";
|
|
2
|
+
|
|
3
|
+
// Orazaka: how long a job takes to give its result, per kind — seconds turn into minutes.
|
|
4
|
+
const kinds = [
|
|
5
|
+
{ kind: "Summary", median: 8_400 },
|
|
6
|
+
{ kind: "Transcript", median: 46_000 },
|
|
7
|
+
{ kind: "Dubbing", median: 312_000 },
|
|
8
|
+
{ kind: "Video clip", median: 540_000 },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export default function TimeToResult() {
|
|
12
|
+
return (
|
|
13
|
+
<LatencyChart
|
|
14
|
+
title="Time to result"
|
|
15
|
+
data={kinds}
|
|
16
|
+
x="kind"
|
|
17
|
+
p50="median"
|
|
18
|
+
p95={null}
|
|
19
|
+
labels={{ p50: "Median", slowest: "median of {name}, the slowest" }}
|
|
20
|
+
/>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/price-ticker/auction-room.tsx
|
|
4
|
+
import { PriceTicker } from "@krizaka/charts/ticker";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var bids = [
|
|
7
|
+
{ at: "2026-10-11T18:02:00Z", amount: 2500 },
|
|
8
|
+
{ at: "2026-10-11T18:05:00Z", amount: 3e3 },
|
|
9
|
+
{ at: "2026-10-11T18:11:00Z", amount: 3500 },
|
|
10
|
+
{ at: "2026-10-11T18:12:00Z", amount: 4200 },
|
|
11
|
+
{ at: "2026-10-11T18:20:00Z", amount: 5e3 },
|
|
12
|
+
{ at: "2026-10-11T18:26:00Z", amount: 5500 },
|
|
13
|
+
{ at: "2026-10-11T18:31:00Z", amount: 6500 },
|
|
14
|
+
{ at: "2026-10-11T18:33:00Z", amount: 7200 }
|
|
15
|
+
];
|
|
16
|
+
function AuctionRoom() {
|
|
17
|
+
return /* @__PURE__ */ jsx(PriceTicker, { title: "Signed first take", bids, opening: 2e3, openedAt: "2026-10-11T18:00:00Z", currency: "USD", reserve: 6e3, height: 220 });
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
AuctionRoom as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PriceTicker } from "@krizaka/charts/ticker";
|
|
2
|
+
|
|
3
|
+
// An Orochia auction: the bids in cents, as they arrived.
|
|
4
|
+
const bids = [
|
|
5
|
+
{ at: "2026-10-11T18:02:00Z", amount: 25_00 },
|
|
6
|
+
{ at: "2026-10-11T18:05:00Z", amount: 30_00 },
|
|
7
|
+
{ at: "2026-10-11T18:11:00Z", amount: 35_00 },
|
|
8
|
+
{ at: "2026-10-11T18:12:00Z", amount: 42_00 },
|
|
9
|
+
{ at: "2026-10-11T18:20:00Z", amount: 50_00 },
|
|
10
|
+
{ at: "2026-10-11T18:26:00Z", amount: 55_00 },
|
|
11
|
+
{ at: "2026-10-11T18:31:00Z", amount: 65_00 },
|
|
12
|
+
{ at: "2026-10-11T18:33:00Z", amount: 72_00 },
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
export default function AuctionRoom() {
|
|
16
|
+
return <PriceTicker title="Signed first take" bids={bids} opening={20_00} openedAt="2026-10-11T18:00:00Z" currency="USD" reserve={60_00} height={220} />;
|
|
17
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/price-ticker/native/auction-room.tsx
|
|
4
|
+
import { PriceTicker } from "@krizaka/charts/native";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
var bids = [
|
|
7
|
+
{ at: "2026-10-11T18:02:00Z", amount: 2500 },
|
|
8
|
+
{ at: "2026-10-11T18:05:00Z", amount: 3e3 },
|
|
9
|
+
{ at: "2026-10-11T18:11:00Z", amount: 3500 },
|
|
10
|
+
{ at: "2026-10-11T18:20:00Z", amount: 5e3 },
|
|
11
|
+
{ at: "2026-10-11T18:31:00Z", amount: 6500 },
|
|
12
|
+
{ at: "2026-10-11T18:33:00Z", amount: 7200 }
|
|
13
|
+
];
|
|
14
|
+
function NativeAuctionRoom() {
|
|
15
|
+
return /* @__PURE__ */ jsx(PriceTicker, { title: "Signed first take", bids, opening: 2e3, openedAt: "2026-10-11T18:00:00Z", currency: "USD", reserve: 6e3, height: 160 });
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
NativeAuctionRoom as default
|
|
19
|
+
};
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PriceTicker } from "@krizaka/charts/native";
|
|
2
|
+
|
|
3
|
+
const bids = [
|
|
4
|
+
{ at: "2026-10-11T18:02:00Z", amount: 25_00 },
|
|
5
|
+
{ at: "2026-10-11T18:05:00Z", amount: 30_00 },
|
|
6
|
+
{ at: "2026-10-11T18:11:00Z", amount: 35_00 },
|
|
7
|
+
{ at: "2026-10-11T18:20:00Z", amount: 50_00 },
|
|
8
|
+
{ at: "2026-10-11T18:31:00Z", amount: 65_00 },
|
|
9
|
+
{ at: "2026-10-11T18:33:00Z", amount: 72_00 },
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
// The auction screen of the app: the current bid first.
|
|
13
|
+
export default function NativeAuctionRoom() {
|
|
14
|
+
return <PriceTicker title="Signed first take" bids={bids} opening={20_00} openedAt="2026-10-11T18:00:00Z" currency="USD" reserve={60_00} height={160} />;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// registry/examples/price-ticker/no-bid-yet.tsx
|
|
4
|
+
import { PriceTicker } from "@krizaka/charts/ticker";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
function NoBidYet() {
|
|
7
|
+
return /* @__PURE__ */ jsx(PriceTicker, { title: "Studio session, one hour", bids: [], opening: 4e3, openedAt: "2026-10-11T18:00:00Z", currency: "USD", reserve: 9e3, height: 180 });
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
NoBidYet as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PriceTicker } from "@krizaka/charts/ticker";
|
|
2
|
+
|
|
3
|
+
// The auction has just opened: the opening price, the reserve ahead.
|
|
4
|
+
export default function NoBidYet() {
|
|
5
|
+
return <PriceTicker title="Studio session, one hour" bids={[]} opening={40_00} openedAt="2026-10-11T18:00:00Z" currency="USD" reserve={90_00} height={180} />;
|
|
6
|
+
}
|
package/registry/funnel.json
CHANGED
package/registry/gauge.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 quota: credits used of a plan, with a warning zone before the limit.",
|
|
14
15
|
"Progress towards a goal with a target: a challenge's escrow against its objective.",
|
package/registry/geo-map.json
CHANGED
package/registry/globe.json
CHANGED