@foodpilot/foods 0.3.69 → 0.3.71

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.
@@ -1,10 +1,8 @@
1
1
  export * from './AdditionalContentBox';
2
- export * from './ArticlesBox';
3
2
  export * from './CategoryBox';
4
3
  export * from './ContextualContentBox';
5
4
  export * from './DottedBox';
6
5
  export * from './HelperBox';
7
- export * from './IndicatorBox';
8
6
  export * from './InfoBox';
9
7
  export * from './LineGroupBox';
10
8
  export * from './QuoteBox';
@@ -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;
@@ -0,0 +1,2 @@
1
+ export * from './ArticlesBox';
2
+ export * from './Article';
@@ -0,0 +1,13 @@
1
+ import { SxProps } from '@mui/system';
2
+ import { FlexibleString } from '../../../innerComponents/FlexibleTypography';
3
+ import { FlexibleButtonType } from '../../../innerComponents/FlexibleButton';
4
+
5
+ export type HeroBlockProps = {
6
+ title: FlexibleString;
7
+ subtitle?: FlexibleString;
8
+ description?: JSX.Element;
9
+ callToAction?: FlexibleButtonType;
10
+ image?: JSX.Element;
11
+ sxProps?: SxProps;
12
+ };
13
+ export declare const HeroBlock: (props: HeroBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './HeroBlock';
@@ -1,4 +1,4 @@
1
- type IndicatorBoxProps = {
1
+ type IndicatorBlockProps = {
2
2
  title: string;
3
3
  children: JSX.Element | JSX.Element[];
4
4
  objectives: {
@@ -7,5 +7,5 @@ type IndicatorBoxProps = {
7
7
  }[];
8
8
  tooltipMessage?: string;
9
9
  };
10
- export declare const IndicatorBox: (props: IndicatorBoxProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const IndicatorBlock: (props: IndicatorBlockProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export {};
@@ -0,0 +1,7 @@
1
+ type LightIndicatorBlockProps = {
2
+ title: string;
3
+ subtitle?: string;
4
+ description: string;
5
+ };
6
+ export declare const LightIndicatorBlock: (props: LightIndicatorBlockProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './IndicatorBlock';
2
+ export * from './LightIndicatorBlock';
@@ -1 +1,3 @@
1
- export * from './ContentBlock';
1
+ export * from './HeroBlock';
2
+ export * from './ArticleBlock';
3
+ export * from './IndicatorBlock';
@@ -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 {};