@foodpilot/foods 0.3.99 → 0.3.100
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.
|
@@ -13,5 +13,6 @@ export type DoughnutChartProps = Omit<ChartProps<"doughnut">, "data" | "type"> &
|
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
className?: string;
|
|
15
15
|
valuesFormatterFn?: (value: number) => string;
|
|
16
|
+
createPalette?: boolean;
|
|
16
17
|
};
|
|
17
18
|
export declare const DoughnutChart: (props: DoughnutChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -325,6 +325,7 @@ export declare const getDoughnutConfig: (props: Omit<DoughnutChartProps, "legend
|
|
|
325
325
|
valuesUnit?: string | undefined;
|
|
326
326
|
icons?: import('react').ReactNode[] | undefined;
|
|
327
327
|
valuesFormatterFn?: ((value: number) => string) | undefined;
|
|
328
|
+
createPalette?: boolean | undefined;
|
|
328
329
|
};
|
|
329
330
|
export declare const extractPaletteFromTheme: (theme: Theme, min: number, max: number) => Property.Color[];
|
|
330
331
|
export declare const createPalette: (colors: Property.Color[], values: number[]) => Property.Color[];
|