@foodpilot/foods 0.3.97 → 0.3.99

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.
Files changed (24) hide show
  1. package/dist/components/Icons/FoodsIllustrations.d.ts +2 -2
  2. package/dist/components/Icons/IllustrationBackgrounds.d.ts +9 -0
  3. package/dist/components/Icons/Illustrations/Actions.d.ts +2 -2
  4. package/dist/components/Icons/Illustrations/Carbon emissions reduction.d.ts +2 -2
  5. package/dist/components/Icons/Illustrations/Carbon neutrality.d.ts +2 -2
  6. package/dist/components/Icons/Illustrations/Communities and local development.d.ts +3 -0
  7. package/dist/components/Icons/Illustrations/Congratulations.d.ts +2 -2
  8. package/dist/components/Icons/Illustrations/Data analysis.d.ts +2 -2
  9. package/dist/components/Icons/Illustrations/Default.d.ts +2 -2
  10. package/dist/components/Icons/Illustrations/Environment.d.ts +3 -0
  11. package/dist/components/Icons/Illustrations/Filiere a forte VA.d.ts +3 -0
  12. package/dist/components/Icons/Illustrations/Inputs & chemicals.d.ts +2 -2
  13. package/dist/components/Icons/Illustrations/Questionnaire.d.ts +2 -2
  14. package/dist/components/Icons/Illustrations/Relationships and working conditions.d.ts +3 -0
  15. package/dist/components/Icons/Illustrations/Scores & indicators.d.ts +2 -2
  16. package/dist/components/Icons/Illustrations/Select action.d.ts +2 -2
  17. package/dist/components/Icons/Illustrations/Select starting year.d.ts +2 -2
  18. package/dist/components/Icons/Illustrations/Trajectory & actions plans.d.ts +2 -2
  19. package/dist/components/Icons/Illustrations/Under construction.d.ts +2 -2
  20. package/dist/components/Icons/illustrationProps.d.ts +7 -1
  21. package/dist/components/Icons/illustrationsConfig.d.ts +17 -13
  22. package/dist/main.js +6520 -6429
  23. package/dist/main.umd.cjs +117 -117
  24. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { IllustationProps } from './illustrationProps';
1
+ import { IllustrationPropsInput } from './illustrationProps';
2
2
  import { illustationsMapping } from './illustrationsConfig';
3
3
 
4
4
  export type IllustrationMapping = typeof illustationsMapping;
5
- export type FoodsIllustrationsProps = IllustationProps & {
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 { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const Actions: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Actions: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const CarbonEmissions: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CarbonEmissions: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const CarbonNeutrality: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CarbonNeutrality: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustrationProps } from '../illustrationProps';
2
+
3
+ export declare const Communities: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const Congratulations: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Congratulations: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const DataAnalysis: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const DataAnalysis: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const DefaultIllustration: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const DefaultIllustration: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustrationProps } from '../illustrationProps';
2
+
3
+ export declare const Environment: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustrationProps } from '../illustrationProps';
2
+
3
+ export declare const Filliere: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const Chemicals: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Chemicals: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const Questionnaire: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Questionnaire: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustrationProps } from '../illustrationProps';
2
+
3
+ export declare const Relationships: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const ScoresIndicators: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ScoresIndicators: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const SelectAction: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const SelectAction: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const SelectStartingYear: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const SelectStartingYear: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const TrajectoryActions: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const TrajectoryActions: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IllustationProps } from '../illustrationProps';
1
+ import { IllustrationProps } from '../illustrationProps';
2
2
 
3
- export declare const UnderConstruction: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const UnderConstruction: (props: IllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,10 @@
1
- export type IllustationProps = {
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').IllustationProps) => import("react/jsx-runtime").JSX.Element;
3
- readonly carbonEmissions: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
4
- readonly carbonNeutrality: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
5
- readonly chemicals: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
6
- readonly congratulations: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
7
- readonly dataAnalysis: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
8
- readonly defaultIllustration: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
9
- readonly questionnaire: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
10
- readonly selectAction: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
11
- readonly selectStartingYear: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
12
- readonly scoresIndicators: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
13
- readonly trajectoryActions: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
14
- readonly underConstruction: (props: import('./illustrationProps').IllustationProps) => import("react/jsx-runtime").JSX.Element;
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
  };