@archetypeai/ds-ui-svelte-labs 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/primitives/aspect-ratio/usage.json +4 -0
- package/dist/primitives/chart/usage.json +7 -0
- package/dist/primitives/kbd/usage.json +4 -0
- package/dist/primitives/logo/usage.json +6 -0
- package/dist/primitives/menubar/usage.json +6 -0
- package/dist/primitives/scatter-chart/usage.json +7 -0
- package/dist/primitives/sensor-chart/usage.json +7 -0
- package/dist/primitives/slider/usage.json +6 -0
- package/dist/primitives/switch/usage.json +4 -0
- package/dist/primitives/toggle/usage.json +4 -0
- package/dist/primitives/utils.usage.json +3 -0
- package/dist/primitives/video-player/usage.json +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Chart.Container + Chart.Tooltip wrappers around layerchart for custom charts (prefer sensor-chart / scatter-chart when they fit).",
|
|
3
|
+
"usage": [
|
|
4
|
+
"Wrap every layerchart in `<Chart.Container config={...} class=\"aspect-auto h-[220px] w-full\">`; config maps data keys to { label, color: 'var(--chart-N)' } (chart-1…chart-5).",
|
|
5
|
+
"layerchart is pinned to an exact prerelease — never loosen it."
|
|
6
|
+
]
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Branded app header with logo, partner-logo slot, action children, and built-in dark-mode toggle.",
|
|
3
|
+
"usage": [
|
|
4
|
+
"Top of every dashboard shell; children render as right-side actions — `Button variant=\"link\" class=\"text-muted-foreground no-underline hover:underline\"`."
|
|
5
|
+
]
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Scatter-plot card for embeddings and cluster views; composes BackgroundCard + Chart.",
|
|
3
|
+
"usage": [
|
|
4
|
+
"`<ScatterChart title icon data categoryKey=\"cluster\" categories={{ q1: 'Cluster A', … }} xMin xMax yMin yMax xTicks yTicks />` — data rows are { x, y, <categoryKey> }; categories map drives legend + series colors.",
|
|
5
|
+
"Streaming: append rows and set `maxPoints` for a sliding window."
|
|
6
|
+
]
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Time-series line-chart card with multi-signal support and sliding-window streaming; composes BackgroundCard + Chart.",
|
|
3
|
+
"usage": [
|
|
4
|
+
"`<SensorChart title=\"ACCELERATION SENSOR\" icon={AudioWaveformIcon} data={rows} signals={{ accel_x: 'Accel X', … }} yMin yMax yTicks />` — data rows are { timestamp: Date, <signalKey>: number }.",
|
|
5
|
+
"Streaming: append rows and set `maxPoints` (sliding window); `axis=\"y\"` hides the time axis while streaming."
|
|
6
|
+
]
|
|
7
|
+
}
|
package/package.json
CHANGED