@foodpilot/foods 0.1.32 → 0.1.33

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.
@@ -20,5 +20,7 @@ export type FormBaseProps = {
20
20
  onPageBack: () => void;
21
21
  nextPageText: string;
22
22
  previousPageText: string;
23
+ validateSteps: boolean[];
24
+ validateStepsTexts: (string | null)[];
23
25
  };
24
26
  export declare const FormBase: (props: FormBaseProps) => JSX.Element;
@@ -9,6 +9,8 @@ type FormTopBarProps = {
9
9
  onPageBack: () => void;
10
10
  nextPageText: string;
11
11
  previousPageText: string;
12
+ validateSteps: boolean[];
13
+ validateStepsTexts: (string | null)[];
12
14
  };
13
15
  export declare const FormTopBar: (props: FormTopBarProps) => import("react/jsx-runtime").JSX.Element;
14
16
  export {};
@@ -0,0 +1,13 @@
1
+ import { MouseEventHandler, ReactNode } from "react";
2
+ export type TextBlockProps = {
3
+ title: string;
4
+ size?: "big" | "small";
5
+ type?: "gray" | "brand" | "default";
6
+ orientation?: "vertical" | "horizontal";
7
+ icon: ReactNode;
8
+ children?: JSX.Element | JSX.Element[];
9
+ cta?: JSX.Element | JSX.Element[];
10
+ closeable?: boolean;
11
+ onClose?: MouseEventHandler;
12
+ };
13
+ export declare const TextBlock: (props: TextBlockProps) => JSX.Element;