@lilt-ui/charts 0.12.1 → 0.13.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/CHANGELOG.md +20 -0
- package/README.md +0 -45
- package/dist/cards/arc-bridges-card.d.ts +17 -0
- package/dist/cards/area-chart-card.d.ts +1 -10
- package/dist/cards/block-city-card.d.ts +21 -0
- package/dist/cards/calendar-heatmap-card.d.ts +31 -1
- package/dist/cards/cartesian-card.d.ts +8 -26
- package/dist/cards/chart-card.d.ts +1 -12
- package/dist/cards/chord-loom-card.d.ts +17 -0
- package/dist/cards/circle-archipelago-card.d.ts +9 -0
- package/dist/cards/cluster-constellation-card.d.ts +16 -0
- package/dist/cards/comparison-forms.d.ts +30 -0
- package/dist/cards/composition-forms.d.ts +10 -0
- package/dist/cards/contour-islands-card.d.ts +25 -0
- package/dist/cards/density-contours.d.ts +3 -0
- package/dist/cards/distribution-forms.d.ts +37 -0
- package/dist/cards/event-helix-card.d.ts +26 -0
- package/dist/cards/helix-ribbons-card.d.ts +14 -0
- package/dist/cards/hex-city-card.d.ts +25 -0
- package/dist/cards/hierarchy-layouts.d.ts +21 -0
- package/dist/cards/horizon-folds-card.d.ts +10 -0
- package/dist/cards/horizontal-bar-chart-card.d.ts +1 -1
- package/dist/cards/intersection-towers-card.d.ts +9 -0
- package/dist/cards/line-chart-card.d.ts +4 -11
- package/dist/cards/link-readings.d.ts +26 -0
- package/dist/cards/marimekko-blocks-card.d.ts +10 -0
- package/dist/cards/observations-card.d.ts +45 -2
- package/dist/cards/parallel-ribbons-card.d.ts +27 -0
- package/dist/cards/prism-grid.d.ts +58 -0
- package/dist/cards/prism.d.ts +42 -0
- package/dist/cards/progress-forms.d.ts +21 -0
- package/dist/cards/rank-ribbons-card.d.ts +22 -0
- package/dist/cards/ridgeline-card.d.ts +24 -0
- package/dist/cards/scatter-chart-card.d.ts +19 -1
- package/dist/cards/sculpted-geometry.d.ts +18 -0
- package/dist/cards/skyline-card.d.ts +12 -0
- package/dist/cards/spatial-composition-layouts.d.ts +14 -0
- package/dist/cards/spatial-geometry.d.ts +34 -0
- package/dist/cards/spatial-hierarchy.d.ts +10 -0
- package/dist/cards/spatial-point-layouts.d.ts +16 -0
- package/dist/cards/spatial-series-layouts.d.ts +12 -0
- package/dist/cards/spiral-year-card.d.ts +17 -0
- package/dist/cards/sunburst-terraces-card.d.ts +10 -0
- package/dist/cards/ternary-prism-card.d.ts +13 -0
- package/dist/cards/terrain-card.d.ts +21 -0
- package/dist/cards/treemap-chart-card.d.ts +3 -1
- package/dist/cards/trend-forms.d.ts +11 -0
- package/dist/cards/voxel-cloud-card.d.ts +16 -0
- package/dist/cards/voxel-waffle-card.d.ts +18 -0
- package/dist/cards/wind-rose-card.d.ts +11 -0
- package/dist/engine/domains.d.ts +0 -1
- package/dist/finance.js +310 -311
- package/dist/index.d.ts +39 -4
- package/dist/index.js +8919 -2948
- package/dist/interaction/comparison-layer.d.ts +3 -1
- package/dist/{skeleton-block-ClcPgFdK.js → skeleton-block-BPoUJvcR.js} +3689 -2959
- package/dist/styles.css +1 -1
- package/package.json +1 -6
- package/dist/report-context-DLA3I57K.js +0 -1100
- package/dist/watch/board/board-state.d.ts +0 -72
- package/dist/watch/board/board-toast.d.ts +0 -19
- package/dist/watch/board/chart-board.d.ts +0 -93
- package/dist/watch/board/report-context.d.ts +0 -3
- package/dist/watch/engine/describe.d.ts +0 -9
- package/dist/watch/engine/explain.d.ts +0 -48
- package/dist/watch/engine/normal.d.ts +0 -114
- package/dist/watch/engine/robust.d.ts +0 -7
- package/dist/watch/engine/rules.d.ts +0 -22
- package/dist/watch/engine/status.d.ts +0 -39
- package/dist/watch/index.d.ts +0 -14
- package/dist/watch/normal-layer.d.ts +0 -18
- package/dist/watch.d.ts +0 -2
- package/dist/watch.js +0 -636
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NumericKey, TextKey } from './keys';
|
|
2
|
+
import { ObservationsCardProps } from './observations-card';
|
|
3
|
+
export { windRoseLayout } from './spatial-composition-layouts';
|
|
4
|
+
export interface WindRoseCardProps<Row, Key extends NumericKey<Row>> extends ObservationsCardProps<Row> {
|
|
5
|
+
direction: NumericKey<Row>;
|
|
6
|
+
band: TextKey<Row>;
|
|
7
|
+
value: Key;
|
|
8
|
+
sectors?: number;
|
|
9
|
+
tilt?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function WindRoseCard<Row, const Key extends NumericKey<Row>>({ direction, band, value, sectors, tilt, color, height, depth, ...props }: WindRoseCardProps<Row, Key>): import("react/jsx-runtime").JSX.Element;
|
package/dist/engine/domains.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { NormalizedData } from './normalize';
|
|
|
3
3
|
/** A row's finite companion values for one series; fields share the series' unit. */
|
|
4
4
|
export declare function fieldValues(fields: Readonly<Record<string, number | null>> | undefined): number[];
|
|
5
5
|
export declare function computeYDomain<T>(data: NormalizedData<T>, series: readonly ChartSeries<T>[], config?: ChartYConfig): readonly [number, number];
|
|
6
|
-
export declare function interpolateDomain(from: readonly [number, number], to: readonly [number, number], progress: number): readonly [number, number];
|
|
7
6
|
/** The smallest of 1, 2, 2.5, 5 × 10ⁿ at or above `value`. */
|
|
8
7
|
export declare function niceCeil(value: number): number;
|
|
9
8
|
/**
|