@foodpilot/foods 0.3.75 → 0.3.77
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/dist/components/Badge/Badge.d.ts +5 -0
- package/dist/components/Chart/DoughnutChart/DoughnutChartLegend.d.ts +1 -0
- package/dist/components/Chart/WaterfallChart.d.ts +11 -10
- package/dist/components/Tooltip/StyledTooltip.d.ts +3 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/main.js +5283 -5225
- package/dist/main.umd.cjs +91 -91
- package/package.json +1 -1
|
@@ -4,5 +4,10 @@ import { ReactNode } from 'react';
|
|
|
4
4
|
export type BadgeProps = Omit<BoxProps, "content"> & {
|
|
5
5
|
size?: "small" | "medium" | "big";
|
|
6
6
|
children: ReactNode;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
};
|
|
9
|
+
export type BagdeTooltipProps = {
|
|
10
|
+
tooltip?: string;
|
|
11
|
+
children: JSX.Element;
|
|
7
12
|
};
|
|
8
13
|
export declare const Badge: (props: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type WaterfallData = {
|
|
2
2
|
label: string;
|
|
3
3
|
value: number;
|
|
4
4
|
};
|
|
5
5
|
export type Colors = {
|
|
6
6
|
reference?: string;
|
|
7
|
-
|
|
7
|
+
start?: string;
|
|
8
8
|
values?: string;
|
|
9
|
-
|
|
9
|
+
target?: string;
|
|
10
|
+
};
|
|
11
|
+
export type Target = {
|
|
12
|
+
label: string;
|
|
13
|
+
overrideValues?: number;
|
|
10
14
|
};
|
|
11
|
-
type High = number;
|
|
12
|
-
type Low = number;
|
|
13
15
|
export type WaterfallChartProps = {
|
|
14
|
-
reference:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
values: [Low, High][];
|
|
16
|
+
reference: WaterfallData;
|
|
17
|
+
start: WaterfallData;
|
|
18
|
+
values: WaterfallData[];
|
|
18
19
|
colors?: Colors;
|
|
20
|
+
target: Target;
|
|
19
21
|
};
|
|
20
22
|
export declare const WaterfallChart: (props: WaterfallChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StyledTooltip } from './StyledTooltip';
|