@foodpilot/foods 0.1.78 → 0.1.79
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,13 @@
|
|
|
1
|
+
import { ToggleButtonProps } from "@mui/material";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
export declare const CustomToggleButton: import("@emotion/styled").StyledComponent<import("@mui/material").ToggleButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
5
|
+
}, "size" | "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "onChange" | "onClick" | "disabled" | "value" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
6
|
+
type ToggleButtonsPropsWithoutEnforcedKeys = Omit<ToggleButtonProps, "value" | "onClick" | "selected">;
|
|
7
|
+
export type TertiaryToggleButtonProps = ToggleButtonsPropsWithoutEnforcedKeys & {
|
|
8
|
+
choices: ReactNode[];
|
|
9
|
+
onClick?: (index: number) => void;
|
|
10
|
+
currentIndexSelected?: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const TertiaryToggleButtonNodeTitle: (props: TertiaryToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -7,6 +7,6 @@ export type DoughnutChartProps = Omit<ChartProps<"doughnut">, "data" | "type"> &
|
|
|
7
7
|
colors?: Property.Color[];
|
|
8
8
|
legend?: boolean;
|
|
9
9
|
children?: ReactNode;
|
|
10
|
-
emptyMessage
|
|
10
|
+
emptyMessage?: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const DoughnutChart: (props: DoughnutChartProps) => import("react/jsx-runtime").JSX.Element;
|