@lilt-ui/charts 0.9.2 → 0.11.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 (42) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +36 -10
  3. package/dist/cards/activity-ring-card.d.ts +7 -2
  4. package/dist/cards/calendar-heatmap-card.d.ts +18 -0
  5. package/dist/cards/cartesian-card.d.ts +10 -2
  6. package/dist/cards/chart-card.d.ts +4 -1
  7. package/dist/cards/funnel-chart-card.d.ts +7 -2
  8. package/dist/cards/heatmap-chart-card.d.ts +7 -2
  9. package/dist/cards/horizontal-bar-chart-card.d.ts +7 -2
  10. package/dist/cards/keys.d.ts +2 -0
  11. package/dist/cards/observations-card.d.ts +87 -0
  12. package/dist/cards/radar-chart-card.d.ts +7 -2
  13. package/dist/cards/radial-chart-card.d.ts +7 -2
  14. package/dist/cards/range-select.d.ts +28 -0
  15. package/dist/cards/sankey-chart-card.d.ts +7 -2
  16. package/dist/cards/scatter-chart-card.d.ts +7 -2
  17. package/dist/cards/slope-chart-card.d.ts +7 -2
  18. package/dist/cards/stat-card.d.ts +7 -2
  19. package/dist/cards/strip-chart-card.d.ts +15 -0
  20. package/dist/cards/timeline-chart-card.d.ts +18 -0
  21. package/dist/cards/treemap-chart-card.d.ts +24 -0
  22. package/dist/chart.d.ts +1 -1
  23. package/dist/engine/keyed.d.ts +19 -0
  24. package/dist/engine/lifecycle.d.ts +1 -1
  25. package/dist/engine/sankey.d.ts +16 -0
  26. package/dist/finance/cards/depth-chart-card.d.ts +7 -2
  27. package/dist/finance/order-book.d.ts +7 -2
  28. package/dist/finance.js +334 -327
  29. package/dist/index.d.ts +14 -2
  30. package/dist/index.js +3336 -2217
  31. package/dist/lifecycle/chart-empty.d.ts +29 -0
  32. package/dist/marks/contract.d.ts +0 -2
  33. package/dist/motion/use-chart-motion.d.ts +5 -0
  34. package/dist/motion/use-departing.d.ts +7 -0
  35. package/dist/motion/use-snap-bars.d.ts +27 -0
  36. package/dist/{report-context-CVNzZBRd.js → report-context-UrwaoLYZ.js} +408 -231
  37. package/dist/{skeleton-block-Ha7mwDOY.js → skeleton-block-CPaKI7op.js} +2188 -1813
  38. package/dist/styles.css +1 -1
  39. package/dist/types.d.ts +14 -0
  40. package/dist/watch/board/board-state.d.ts +0 -2
  41. package/dist/watch.js +129 -127
  42. package/package.json +11 -10
package/dist/index.d.ts CHANGED
@@ -34,13 +34,15 @@ export { ReferenceLine } from './primitives/reference-line';
34
34
  export { ChangeComparison } from './primitives/change-comparison';
35
35
  export { AnimatedNumber } from './motion/animated-number';
36
36
  export type { AnimatedNumberProps, AnimatedNumberVariant } from './motion/animated-number';
37
- export type { ChartAxis, ChartAxisSide, ChartAxisStyle, ChartBackground, ChartPalette, ChartHoverReadout, ChartHoverStyle, ChartTooltipIndicator, ChartSurface, AreaProps, IntervalBandProps, RangeBarProps, ErrorBarProps, BoxPlotProps, ChartSeriesField, ChartTooltipField, ReferenceLineProps, BarProps, ChartCurve, ChartFillTreatment, ChartObservationStatus, ChartMargins, ChartMotion, ChartProps, ChartPlotProps, ChartToolbarProps, ChartReadoutProps, ChartOverviewProps, ChartBrushProps, ChartSeries, ChartStyle, ChartLineStyle, ChartAreaStyle, ChartBarStyle, ChartBarAppearance, ChartBarLayout, ChartBars, ChartStack, ChartStackMode, ChartStatus, ChartXConfig, ChartYConfig, ChartSelection, ChartAnnotation, ChartCompareConfig, ChartComparison, ChartComparisonSeries, ChartComparisonResult, ChartComparisonContext, ChartController, ChartControllerInspection, ChartPinOptions, ChartControllerSnapshot, ChartFocusConfig, ChartLiveConfig, ChartPercentagePolicy, ChartRange, ChangeComparisonProps, AnnotationsProps, ReferenceBandProps, LegendProps, ChartLegendVariant, ChartLegendSwatch, CardLegend, ChartLoadingStyle, LineProps, NumericXConfig, CategoryXConfig, PrimitiveProps, GridProps, TimeXConfig, TooltipProps, ChartTooltipContext, ChartLegendValue, XAxisProps, YAxisProps, } from './types';
37
+ export type { ChartAxis, ChartAxisSide, ChartAxisStyle, ChartBackground, ChartPalette, ChartHoverReadout, ChartHoverStyle, ChartTooltipIndicator, ChartSurface, AreaProps, IntervalBandProps, RangeBarProps, ErrorBarProps, BoxPlotProps, ChartSeriesField, ChartTooltipField, ReferenceLineProps, BarProps, ChartCurve, ChartFillTreatment, ChartObservationStatus, ChartMargins, ChartMotion, ChartProps, ChartPlotProps, ChartToolbarProps, ChartReadoutProps, ChartOverviewProps, ChartBrushProps, ChartSeries, ChartStyle, ChartLineStyle, ChartAreaStyle, ChartBarStyle, ChartBarAppearance, ChartBarLayout, ChartBars, ChartStack, ChartStackMode, ChartStatus, ChartXConfig, ChartYConfig, ChartSelection, ChartAnnotation, ChartCompareConfig, ChartComparison, ChartComparisonSeries, ChartComparisonResult, ChartComparisonContext, ChartController, ChartControllerInspection, ChartPinOptions, ChartControllerSnapshot, ChartFocusConfig, ChartLiveConfig, ChartPercentagePolicy, ChartRange, ChangeComparisonProps, AnnotationsProps, ReferenceBandProps, LegendProps, ChartLegendVariant, ChartLegendSwatch, CardLegend, ChartLoadingStyle, ChartEmptyLook, ChartEmptyState, LineProps, NumericXConfig, CategoryXConfig, PrimitiveProps, GridProps, TimeXConfig, TooltipProps, ChartTooltipContext, ChartLegendValue, XAxisProps, YAxisProps, } from './types';
38
38
  export { summarizeRange, toChartCsv } from './data/chart-data';
39
39
  export { funnelRows as summarizeFunnelStages } from './engine/analysis';
40
40
  export type { FunnelRow as FunnelStageSummary } from './engine/analysis';
41
41
  export type { ChartSummary, CsvColumn } from './data/chart-data';
42
42
  export { ChartRangeSummary } from './toolkit/chart-range-summary';
43
43
  export type { ChartRangeSummaryProps } from './toolkit/chart-range-summary';
44
+ export { ChartComponentsProvider } from './cards/range-select';
45
+ export type { ChartRangeSelectProps } from './cards/range-select';
44
46
  export { AreaChartCard } from './cards/area-chart-card';
45
47
  export type { AreaChartCardProps, CardSeries, CardRange } from './cards/area-chart-card';
46
48
  export { LineChartCard } from './cards/line-chart-card';
@@ -62,6 +64,14 @@ export type { ProgressCardProps, ProgressRange } from './cards/progress-card';
62
64
  export { FunnelChartCard } from './cards/funnel-chart-card';
63
65
  export type { FunnelChartCardProps } from './cards/funnel-chart-card';
64
66
  export { HeatmapChartCard } from './cards/heatmap-chart-card';
67
+ export { TreemapChartCard } from './cards/treemap-chart-card';
68
+ export type { TreemapChartCardProps } from './cards/treemap-chart-card';
69
+ export { CalendarHeatmapCard } from './cards/calendar-heatmap-card';
70
+ export type { CalendarHeatmapCardProps } from './cards/calendar-heatmap-card';
71
+ export { TimelineChartCard } from './cards/timeline-chart-card';
72
+ export type { TimelineChartCardProps } from './cards/timeline-chart-card';
73
+ export { StripChartCard } from './cards/strip-chart-card';
74
+ export type { StripChartCardProps } from './cards/strip-chart-card';
65
75
  export type { HeatmapAggregate, HeatmapChartCardProps } from './cards/heatmap-chart-card';
66
76
  export { ScatterChartCard } from './cards/scatter-chart-card';
67
77
  export type { ScatterAggregate, ScatterChartCardProps } from './cards/scatter-chart-card';
@@ -75,9 +85,11 @@ export type { BoxPlotCardProps } from './cards/box-plot-card';
75
85
  export type { RadarAggregate, RadarChartCardProps } from './cards/radar-chart-card';
76
86
  export { SlopeChartCard } from './cards/slope-chart-card';
77
87
  export type { SlopeChartCardProps, SlopeOrder } from './cards/slope-chart-card';
88
+ export { ChartEmpty } from './lifecycle/chart-empty';
89
+ export type { ChartEmptyProps } from './lifecycle/chart-empty';
78
90
  export { ActivityRingCard } from './cards/activity-ring-card';
79
91
  export type { ActivityAggregate, ActivityRingCardProps } from './cards/activity-ring-card';
80
92
  export { ChartCard, ChartCardHeader, ChartCardTitle, ChartCardValue, ChartCardDelta, ChartCardCaption, ChartCardRange, CardBadge, CardFrameContext, } from './cards/chart-card';
81
93
  export type { CardFrame, ChartCardProps, ChartCardHeaderProps, ChartCardValueProps, ChartCardDeltaProps, ChartCardRangeProps, ChartCardRangeOption, CardBadgeProps, } from './cards/chart-card';
82
- export type { KeysOfType, NumericKey, TextKey, XKey, XKind } from './cards/keys';
94
+ export type { KeysOfType, NumericKey, TextKey, TimeKey, XKey, XKind } from './cards/keys';
83
95
  export type { NormalReport } from './watch/board/board-state';