@foodpilot/foods 0.1.51 → 0.1.53

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.
@@ -14,7 +14,7 @@ export declare const StyledAccordion: import("@emotion/styled").StyledComponent<
14
14
  TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
15
15
  } & import("@mui/material/Accordion").AccordionSlotsAndSlotProps & Omit<import("@mui/material").PaperOwnProps, "classes" | "onChange"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
16
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
17
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "disabled" | "variant" | "sx" | "onChange" | "elevation" | "square" | "defaultExpanded" | "disableGutters" | "expanded" | "TransitionComponent" | "TransitionProps" | keyof import("@mui/material/Accordion").AccordionSlotsAndSlotProps> & {
17
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "onChange" | "square" | "disabled" | "elevation" | "defaultExpanded" | "disableGutters" | "expanded" | "TransitionComponent" | "TransitionProps" | keyof import("@mui/material/Accordion").AccordionSlotsAndSlotProps> & {
18
18
  theme?: import("@emotion/react").Theme | undefined;
19
19
  }, {}, {}>;
20
20
  export type AccordionContent = {
@@ -2,7 +2,7 @@
2
2
  import { ToggleButtonProps } from "@mui/material";
3
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
4
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
5
- }, "color" | "className" | "style" | "classes" | "children" | "disabled" | "disableFocusRipple" | "disableRipple" | "fullWidth" | "size" | "sx" | "tabIndex" | "onChange" | "onClick" | "action" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "value" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
5
+ }, "color" | "className" | "style" | "classes" | "children" | "sx" | "tabIndex" | "onChange" | "onClick" | "disabled" | "disableFocusRipple" | "disableRipple" | "fullWidth" | "size" | "action" | "centerRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "value" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
6
6
  type ToggleButtonsPropsWithoutEnforcedKeys = Omit<ToggleButtonProps, "value" | "onClick" | "selected">;
7
7
  export type TertiaryToggleButtonProps = ToggleButtonsPropsWithoutEnforcedKeys & {
8
8
  choices: string[];
@@ -1,2 +1,3 @@
1
1
  export * from "./FormBase";
2
2
  export * from "./FormTopBar";
3
+ export * from "./FormBox";
@@ -0,0 +1,7 @@
1
+ export type NumberProps = {
2
+ label: number;
3
+ unity: string;
4
+ size?: number;
5
+ direction?: "row" | "column";
6
+ };
7
+ export declare const NumberUnit: (props: NumberProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export type ScoreProps = {
2
+ score: "A" | "B" | "C" | "D" | "E";
3
+ value: number;
4
+ size?: number;
5
+ direction?: "row" | "column";
6
+ };
7
+ export declare const Score: (props: ScoreProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from "./NumberUnit";
2
+ export * from "./Score";
@@ -1,5 +1,6 @@
1
1
  import { BoxProps } from "@mui/material";
2
2
  export type OptionsPopoverOption = {
3
+ id: number;
3
4
  label: string;
4
5
  active?: boolean;
5
6
  };
@@ -10,5 +11,6 @@ export type OptionsPopoverSection = {
10
11
  export type OptionsPopoverProps = Omit<BoxProps, "content" | "onChange"> & {
11
12
  content: OptionsPopoverSection[];
12
13
  onChange?: (option: OptionsPopoverOption, section: OptionsPopoverSection) => void;
14
+ defaultIndex?: number;
13
15
  };
14
16
  export declare function OptionsPopover(props: OptionsPopoverProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { RadioProps } from "@mui/material";
2
+ export type RadioProperties = Record<string, RadioPropertyValue>;
3
+ export type RadioPropertyValue = {
4
+ name: string;
5
+ state: boolean;
6
+ disabled?: boolean;
7
+ };
8
+ type RadioListProps = Omit<RadioProps, "onChange"> & {
9
+ values: RadioProperties;
10
+ onChange: (newRadio: RadioProperties) => void;
11
+ variant: "primary" | "secondary";
12
+ };
13
+ export declare const RadioList: (props: RadioListProps) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./RadioList";
@@ -0,0 +1,6 @@
1
+ export type TextareaProps = {
2
+ content: string;
3
+ variant?: "primary" | "secondary" | "tertiary" | "disabled";
4
+ disabled?: boolean;
5
+ };
6
+ export declare const Textarea: import("@emotion/styled").StyledComponent<TextareaProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -13,6 +13,8 @@ export * from "./Navigation";
13
13
  export * from "./Popover";
14
14
  export * from "./Ssq";
15
15
  export * from "./Text";
16
+ export * from "./Number";
17
+ export * from "./Radio";
16
18
  export * from "./Badge";
17
19
  export * from "./CardImage";
18
20
  export * from "./LinearProgress";