@foodpilot/foods 0.3.68 → 0.3.70

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';
@@ -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';
@@ -1,5 +1,5 @@
1
1
  export type NumberWithUnitProps = {
2
- value: number | null;
2
+ value: number | string | null;
3
3
  unit: string;
4
4
  size?: "micro" | "small" | "inter" | "big";
5
5
  position?: "default-side" | "below-left-aligned" | "below-center-aligned";