@foodpilot/foods 0.3.70 → 0.3.72

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.
@@ -2,7 +2,7 @@ import { ToggleButtonProps } from '@mui/material';
2
2
 
3
3
  type ToggleButtonsPropsWithoutEnforcedKeys = Omit<ToggleButtonProps, "key" | "value" | "onClick" | "selected" | "unselectable">;
4
4
  export type FoodsToggleButtonType = {
5
- id: number;
5
+ id: number | string;
6
6
  label: string;
7
7
  onClick?: () => void;
8
8
  disabled?: boolean;
@@ -7,7 +7,7 @@ export type HeroBlockProps = {
7
7
  subtitle?: FlexibleString;
8
8
  description?: JSX.Element;
9
9
  callToAction?: FlexibleButtonType;
10
- image?: JSX.Element;
10
+ imageUrl?: string;
11
11
  sxProps?: SxProps;
12
12
  };
13
13
  export declare const HeroBlock: (props: HeroBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- type LightIndicatorBlockProps = {
1
+ export type LightIndicatorBlockProps = {
2
2
  title: string;
3
3
  subtitle?: string;
4
4
  description: string;
5
5
  };
6
6
  export declare const LightIndicatorBlock: (props: LightIndicatorBlockProps) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -4,7 +4,7 @@ import { Property } from 'csstype';
4
4
  export type Legend = {
5
5
  position: "bottom" | "right";
6
6
  actions?: Array<(() => void) | undefined>;
7
- seeMoreLabel?: string;
7
+ seeMore?: string | JSX.Element;
8
8
  };
9
9
  export type DoughnutChartLegendProps = {
10
10
  setHoveredArcIndex: (index: number | null) => void;
@@ -1,6 +1,6 @@
1
1
  type DoughnutChartLegendRightProps = {
2
2
  action: () => void;
3
- seeMoreLabel: string;
3
+ seeMore: string | JSX.Element;
4
4
  };
5
5
  export declare const DoughnutChartLegendSeeMoreLink: (props: DoughnutChartLegendRightProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export {};