@foodpilot/foods 0.3.96 → 0.3.98
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/Icons/FoodsIllustrations.d.ts +2 -2
- package/dist/components/Icons/IllustrationBackgrounds.d.ts +9 -0
- package/dist/components/Icons/Illustrations/Actions.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Carbon emissions reduction.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Carbon neutrality.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Communities and local development.d.ts +3 -0
- package/dist/components/Icons/Illustrations/Congratulations.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Data analysis.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Default.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Environment.d.ts +3 -0
- package/dist/components/Icons/Illustrations/Filiere a forte VA.d.ts +3 -0
- package/dist/components/Icons/Illustrations/Inputs & chemicals.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Questionnaire.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Relationships and working conditions.d.ts +3 -0
- package/dist/components/Icons/Illustrations/Scores & indicators.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Select action.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Select starting year.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Trajectory & actions plans.d.ts +2 -2
- package/dist/components/Icons/Illustrations/Under construction.d.ts +2 -2
- package/dist/components/Icons/illustrationProps.d.ts +7 -1
- package/dist/components/Icons/illustrationsConfig.d.ts +17 -13
- package/dist/main.js +5413 -5326
- package/dist/main.umd.cjs +113 -113
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationPropsInput } from './illustrationProps';
|
|
2
2
|
import { illustationsMapping } from './illustrationsConfig';
|
|
3
3
|
|
|
4
4
|
export type IllustrationMapping = typeof illustationsMapping;
|
|
5
|
-
export type FoodsIllustrationsProps =
|
|
5
|
+
export type FoodsIllustrationsProps = IllustrationPropsInput & {
|
|
6
6
|
illustration: keyof IllustrationMapping;
|
|
7
7
|
};
|
|
8
8
|
export declare const FoodsIllustrations: (props: FoodsIllustrationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IllustrationPropsInput } from './illustrationProps';
|
|
2
|
+
|
|
3
|
+
type SvgProps = {
|
|
4
|
+
width: NonNullable<IllustrationPropsInput["width"]>;
|
|
5
|
+
height: IllustrationPropsInput["height"];
|
|
6
|
+
};
|
|
7
|
+
export declare const SvgCircle: (props: SvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const SvgRect: (props: SvgProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const Actions: (props:
|
|
3
|
+
export declare const Actions: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const CarbonEmissions: (props:
|
|
3
|
+
export declare const CarbonEmissions: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const CarbonNeutrality: (props:
|
|
3
|
+
export declare const CarbonNeutrality: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const Congratulations: (props:
|
|
3
|
+
export declare const Congratulations: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const DataAnalysis: (props:
|
|
3
|
+
export declare const DataAnalysis: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const DefaultIllustration: (props:
|
|
3
|
+
export declare const DefaultIllustration: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const Chemicals: (props:
|
|
3
|
+
export declare const Chemicals: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const Questionnaire: (props:
|
|
3
|
+
export declare const Questionnaire: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const ScoresIndicators: (props:
|
|
3
|
+
export declare const ScoresIndicators: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const SelectAction: (props:
|
|
3
|
+
export declare const SelectAction: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const SelectStartingYear: (props:
|
|
3
|
+
export declare const SelectStartingYear: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const TrajectoryActions: (props:
|
|
3
|
+
export declare const TrajectoryActions: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IllustrationProps } from '../illustrationProps';
|
|
2
2
|
|
|
3
|
-
export declare const UnderConstruction: (props:
|
|
3
|
+
export declare const UnderConstruction: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type CommonIllustationProps = {
|
|
2
2
|
width?: number;
|
|
3
3
|
height?: number;
|
|
4
4
|
};
|
|
5
|
+
export type IllustrationPropsInput = CommonIllustationProps & {
|
|
6
|
+
backgroundShape?: "circle" | "rect";
|
|
7
|
+
};
|
|
8
|
+
export type IllustrationProps = CommonIllustationProps & {
|
|
9
|
+
backgroundShape: JSX.Element;
|
|
10
|
+
};
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
export declare const illustationsMapping: {
|
|
2
|
-
readonly actions: (props: import('./illustrationProps').
|
|
3
|
-
readonly carbonEmissions: (props: import('./illustrationProps').
|
|
4
|
-
readonly carbonNeutrality: (props: import('./illustrationProps').
|
|
5
|
-
readonly chemicals: (props: import('./illustrationProps').
|
|
6
|
-
readonly congratulations: (props: import('./illustrationProps').
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
2
|
+
readonly actions: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
readonly carbonEmissions: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
readonly carbonNeutrality: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
readonly chemicals: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
readonly congratulations: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
readonly communities: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
readonly dataAnalysis: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
readonly defaultIllustration: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
readonly environement: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
readonly filliere: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
readonly questionnaire: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
readonly relationships: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
readonly selectAction: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
readonly selectStartingYear: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
readonly scoresIndicators: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
readonly trajectoryActions: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
readonly underConstruction: (props: import('./illustrationProps').IllustrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
19
|
};
|