@lilt-ui/charts 0.2.0 → 0.3.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 (37) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +45 -0
  3. package/dist/cards/area-chart-card.d.ts +10 -1
  4. package/dist/cards/cartesian-card.d.ts +35 -6
  5. package/dist/cards/chart-card.d.ts +12 -1
  6. package/dist/cards/line-chart-card.d.ts +10 -1
  7. package/dist/{cartesian-card-BDZs0v6E.js → cartesian-card-Dcd0ZnQL.js} +2745 -2976
  8. package/dist/chart.d.ts +1 -1
  9. package/dist/finance/cards/depth-chart-card.d.ts +2 -2
  10. package/dist/finance.js +220 -219
  11. package/dist/index.d.ts +5 -4
  12. package/dist/index.js +1635 -1631
  13. package/dist/interaction/axis-cursor.d.ts +12 -2
  14. package/dist/interaction/chart-sync.d.ts +11 -1
  15. package/dist/interaction/inspection-layer.d.ts +6 -0
  16. package/dist/interaction/pin-glyphs.d.ts +8 -0
  17. package/dist/interaction/pin-marker.d.ts +9 -1
  18. package/dist/model/cartesian-model.d.ts +3 -3
  19. package/dist/primitives/axis-segments.d.ts +23 -0
  20. package/dist/report-context-Cz0AYdV2.js +895 -0
  21. package/dist/styles.css +1 -1
  22. package/dist/types.d.ts +34 -3
  23. package/dist/watch/board/board-state.d.ts +74 -0
  24. package/dist/watch/board/board-toast.d.ts +19 -0
  25. package/dist/watch/board/chart-board.d.ts +97 -0
  26. package/dist/watch/board/report-context.d.ts +3 -0
  27. package/dist/watch/engine/describe.d.ts +9 -0
  28. package/dist/watch/engine/explain.d.ts +48 -0
  29. package/dist/watch/engine/normal.d.ts +114 -0
  30. package/dist/watch/engine/robust.d.ts +7 -0
  31. package/dist/watch/engine/rules.d.ts +22 -0
  32. package/dist/watch/engine/status.d.ts +39 -0
  33. package/dist/watch/index.d.ts +14 -0
  34. package/dist/watch/normal-layer.d.ts +18 -0
  35. package/dist/watch.d.ts +2 -0
  36. package/dist/watch.js +628 -0
  37. package/package.json +6 -1
package/dist/chart.d.ts CHANGED
@@ -15,5 +15,5 @@ type ChartPlotRendererProps<T> = Omit<ChartProps<T>, 'className' | 'style'> & Om
15
15
  controllerLinked?: boolean;
16
16
  tooltipNode?: ReactNode;
17
17
  };
18
- export declare function ChartPlotRenderer<T>({ data, x, y, series, height, compactHeight, margins: marginProps, arrangement, marks, barLayout: barsProps, compact, tooltipNode, inspectionSeries: plotInspectionSeries, className, style, 'aria-label': ariaLabel, children, status, interactive, error, renderRetry, motion: motionPreference, animateIn, resetKey, onSelectionChange, controller, linkedSelection, selectedCategoryId, onSelectedCategoryIdChange, compare, focus, live, brush, visibleSeries, onVisibleSeriesChange, toolkit, model, controllerLinked, axis: axisStyle, pill, pillSeries, pillValue, pillPosition, axisInset, runoff, labelOverhang, }: ChartPlotRendererProps<T>): ReactElement;
18
+ export declare function ChartPlotRenderer<T>({ data, x, y, series, height, compactHeight, margins: marginProps, arrangement, marks, barLayout: barsProps, compact, tooltipNode, inspectionSeries: plotInspectionSeries, className, style, 'aria-label': ariaLabel, children, status, interactive, error, renderRetry, motion: motionPreference, animateIn, resetKey, onSelectionChange, controller, linkedSelection, selectedCategoryId, onSelectedCategoryIdChange, compare, focus, live, brush, visibleSeries, onVisibleSeriesChange, toolkit, model, controllerLinked, axis: axisProp, pill, pillSeries, pillValue, pillPosition, axisInset, runoff, labelOverhang, }: ChartPlotRendererProps<T>): ReactElement;
19
19
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ReactElement } from 'react';
2
- import { ChartAxisStyle, ChartBackground, ChartHoverStyle, ChartMotion, ChartStyle, ChartSurface } from '../../types';
2
+ import { ChartAxis, ChartBackground, ChartHoverStyle, ChartMotion, ChartStyle, ChartSurface } from '../../types';
3
3
  import { AnimatedNumberVariant } from '../../motion/animated-number';
4
4
  import { BookLevel } from '../indicators';
5
5
  export interface DepthChartCardProps {
@@ -15,7 +15,7 @@ export interface DepthChartCardProps {
15
15
  locale?: string;
16
16
  /** Plot height in pixels. Defaults to 220. */
17
17
  height?: number;
18
- axis?: ChartAxisStyle;
18
+ axis?: ChartAxis;
19
19
  background?: ChartBackground;
20
20
  hoverStyle?: ChartHoverStyle;
21
21
  surface?: ChartSurface;