@foodpilot/foods 0.1.77 → 0.1.78

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.
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from "react";
2
+ import { ChartProps } from "react-chartjs-2";
3
+ export type ScatterPlotProps = ChartProps<"scatter"> & {
4
+ values: Array<Point>;
5
+ x: ReactNode;
6
+ y: ReactNode;
7
+ color: string;
8
+ onPointSelection: (selectedPoint: SelectedPoint | null) => void;
9
+ };
10
+ type Coordinate = {
11
+ x: number;
12
+ y: number;
13
+ };
14
+ export type Point = {
15
+ label: string;
16
+ } & Coordinate;
17
+ export type SelectedPoint = {
18
+ point: Point;
19
+ absoluteCoordinate: Coordinate;
20
+ };
21
+ export declare const ScatterPlot: (props: ScatterPlotProps) => import("react/jsx-runtime").JSX.Element;
22
+ export {};
@@ -1 +1,2 @@
1
1
  export * from "./DoughnutChart";
2
+ export * from "./ScatterPlot";
@@ -0,0 +1,4 @@
1
+ export type ComparaisonIndicatorProps = {
2
+ value: number;
3
+ };
4
+ export declare const ComparaisonIndicator: (props: ComparaisonIndicatorProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./ComparaisonIndicator";
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from "react";
2
+ export type CoordinatePopoverProps = {
3
+ x: number;
4
+ y: number;
5
+ content: ReactNode;
6
+ open: boolean;
7
+ setOpen: (value: boolean) => void;
8
+ };
9
+ export declare const CoordinatePopover: (props: CoordinatePopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,3 +3,4 @@ export * from "./BigPopoverLayout";
3
3
  export * from "./OptionsPopover";
4
4
  export * from "./WhitePopoverOnIcon";
5
5
  export * from "./WhitePopover";
6
+ export * from "./CoordinatePopover";
@@ -16,6 +16,7 @@ export * from "./Text";
16
16
  export * from "./CustomTypography";
17
17
  export * from "./Number";
18
18
  export * from "./Radio";
19
+ export * from "./Indicator";
19
20
  export * from "./Badge";
20
21
  export * from "./CardImage";
21
22
  export * from "./LinearProgress";