@foodpilot/foods 0.3.120 → 0.3.122
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.
- package/dist/components/Cards/TrajectoryCards/Blocks/types.d.ts +2 -0
- package/dist/components/Cards/TrajectoryCards/Blocks/vertical/index.d.ts +1 -1
- package/dist/components/Cards/TrajectoryCards/TrajectoryCards.d.ts +1 -0
- package/dist/components/Cards/TrajectoryCards/components/Comparisons.d.ts +1 -1
- package/dist/components/Cards/TrajectoryCards/components/TargetToGoalComparison/HorizontalTargetToGoalComparison.d.ts +8 -0
- package/dist/components/Cards/TrajectoryCards/components/TargetToGoalComparison/VerticalTargetToGoalComparison.d.ts +8 -0
- package/dist/components/Cards/TrajectoryCards/components/TargetToGoalComparison.d.ts +6 -3
- package/dist/components/Cards/TrajectoryCards/styles/index.d.ts +0 -8
- package/dist/main.js +8714 -8641
- package/dist/main.umd.cjs +121 -121
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export interface TargetoryCardsProps {
|
|
|
8
8
|
goal?: StepProps;
|
|
9
9
|
};
|
|
10
10
|
textOptions: TrajectoryStepsText;
|
|
11
|
+
noGoalLabel?: React.ReactNode;
|
|
11
12
|
}
|
|
12
13
|
export interface ComparisonProps {
|
|
13
14
|
currentValue: number | null;
|
|
@@ -18,5 +19,6 @@ export interface TargetComparisonProps {
|
|
|
18
19
|
currentValue: number | null;
|
|
19
20
|
targetValue: number | null;
|
|
20
21
|
label?: FlexibleString;
|
|
22
|
+
noObjectiveLabel?: string;
|
|
21
23
|
orientation?: "horizontal" | "vertical";
|
|
22
24
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TargetoryCardsProps } from '../types';
|
|
2
|
-
export declare const Vertical: ({ steps, textOptions }: TargetoryCardsProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Vertical: ({ steps, textOptions, noGoalLabel }: TargetoryCardsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ComparisonProps, TargetComparisonProps } from '../Blocks/types';
|
|
2
2
|
export declare const StartCurrentComparison: ({ currentValue, targetValue, orientation }: ComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare const LastTargetComparison: ({ currentValue, targetValue, orientation }: TargetComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const CurrentToGoalComparison: ({ currentValue, targetValue, label }: TargetComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const CurrentToGoalComparison: ({ currentValue, targetValue, label, noObjectiveLabel, orientation }: TargetComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FlexibleString } from '../../../../../innerComponents/FlexibleTypography';
|
|
2
|
+
export interface HorizontalTargetComparisonProps {
|
|
3
|
+
currentValue: number | null;
|
|
4
|
+
targetValue: number | null;
|
|
5
|
+
label?: FlexibleString;
|
|
6
|
+
noObjectiveLabel?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const HorizontalTargetToGoalComparison: (props: HorizontalTargetComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FlexibleString } from '../../../../../innerComponents/FlexibleTypography';
|
|
2
|
+
export interface VerticalTargetComparisonProps {
|
|
3
|
+
currentValue: number | null;
|
|
4
|
+
targetValue: number | null;
|
|
5
|
+
label?: FlexibleString;
|
|
6
|
+
noObjectiveLabel?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const VerticalTargetToGoalComparison: (props: VerticalTargetComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { FlexibleString } from '../../../../innerComponents/FlexibleTypography';
|
|
2
|
-
|
|
3
|
-
children: React.ReactNode;
|
|
2
|
+
type TargetComparisonProps = {
|
|
4
3
|
currentValue: number | null;
|
|
5
4
|
targetValue: number | null;
|
|
6
5
|
label?: FlexibleString;
|
|
7
|
-
|
|
6
|
+
noObjectiveLabel?: string;
|
|
7
|
+
orientation?: "vertical" | "horizontal";
|
|
8
|
+
};
|
|
9
|
+
export declare const TargetToGoalComparaison: (props: TargetComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StepType } from '../components/Step';
|
|
2
|
-
import { FlexibleString } from '../../../../innerComponents/FlexibleTypography';
|
|
3
2
|
interface StepsProps {
|
|
4
3
|
step: StepType;
|
|
5
4
|
isLast: boolean;
|
|
@@ -21,12 +20,6 @@ export declare const CurrentToTargetArrow: import('@emotion/styled').StyledCompo
|
|
|
21
20
|
}, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
22
21
|
orientation?: "horizontal" | "vertical";
|
|
23
22
|
}, {}, {}>;
|
|
24
|
-
export declare const LabelComparison: (props: {
|
|
25
|
-
children: React.ReactNode;
|
|
26
|
-
currentValue: number | null;
|
|
27
|
-
targetValue: number | null;
|
|
28
|
-
label?: FlexibleString;
|
|
29
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
30
23
|
export declare const LeftColumn: import('@emotion/styled').StyledComponent<import('@mui/material').GridOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
31
24
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
32
25
|
}, "position" | "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "direction" | "columns" | "container" | "children" | "spacing" | "sx" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -35,5 +28,4 @@ export declare const RightColumn: import('@emotion/styled').StyledComponent<impo
|
|
|
35
28
|
}, "position" | "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "direction" | "columns" | "container" | "children" | "spacing" | "sx" | "wrap" | "xs" | "sm" | "md" | "lg" | "xl" | "columnSpacing" | "item" | "rowSpacing" | "zeroMinWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
36
29
|
export declare const StyledStartStep: (props: StepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
30
|
export declare const StyledLastStep: (props: StepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export declare const StyledTargetStep: (props: StepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
31
|
export {};
|