@foodpilot/foods 0.1.6 → 0.1.7

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.
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const Footer: React.FC;
1
+ export declare function Footer(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare function FixedMultiValueFilter(props: {
2
+ header: string;
3
+ values: string[];
4
+ allText: string;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare function MultiValueFilter(props: {
2
+ header: string;
3
+ values: string[];
4
+ addText: string;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from "./FixedMultiValueFilter";
2
+ export * from "./MultiValueFilter";
@@ -1,6 +1,7 @@
1
1
  export interface IEcoScoreCellProps {
2
2
  grade: string;
3
3
  value: number;
4
+ maxScore: number;
4
5
  hasWarning: boolean;
5
6
  }
6
7
  export declare function EcoScoreCell(props: IEcoScoreCellProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  export declare function LinkCell(props: {
2
2
  value: string;
3
3
  chain: boolean;
4
+ tag: string;
4
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  export declare function PointsCell(props: {
2
2
  value: string;
3
3
  hasWarning: boolean;
4
+ unit: string;
4
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export * from "./ArrayCell";
2
+ export * from "./EcoScoreCell";
3
+ export * from "./GreyCell";
4
+ export * from "./LinkCell";
5
+ export * from "./PointsCell";
@@ -1,2 +1,3 @@
1
1
  export * from "./MaterialGrid";
2
2
  export * from "./MRTGrid";
3
+ export * from "./Cells";
@@ -1,6 +1,5 @@
1
- import * as AddProductPopover from "./AddProductPopover";
2
- import * as AnchoredPopover from "./AnchoredPopover";
3
- import * as BigPopoverLayout from "./BigPopoverLayout";
4
- import * as CommonSelectProductLine from "./CommonSelectProductLine";
5
- import * as WhitePopoverOnIcon from "./WhitePopoverOnIcon";
6
- export { AddProductPopover, AnchoredPopover, BigPopoverLayout, CommonSelectProductLine, WhitePopoverOnIcon };
1
+ export * from "./AddProductPopover";
2
+ export * from "./AnchoredPopover";
3
+ export * from "./BigPopoverLayout";
4
+ export * from "./CommonSelectProductLine";
5
+ export * from "./WhitePopoverOnIcon";
@@ -1,5 +1,4 @@
1
- import * as Cells from "./Cells";
2
1
  import * as Layout from "./Layout";
3
2
  import * as Popovers from "./Popovers";
4
3
  import * as ProductGrid from "./ProductGrid";
5
- export { Cells, Layout, Popovers, ProductGrid };
4
+ export { Layout, Popovers, ProductGrid };
package/dist/main.d.ts CHANGED
@@ -4,8 +4,11 @@ export { CategoryBox, DottedBox, InfoBox, LineGroupBox, QuoteBox, SolidGreyBox,
4
4
  export { Button, TertiaryToggleButton } from "./components/Button";
5
5
  export { TextArrowList, TextTitle, TextTitleGreyIcon } from "./components/Texts";
6
6
  export { PrimaryCheckbox } from "./components/Checkbox";
7
- export { ConsumptionModal, MaterialModal, PackagingModal, PrimaryDialog, TransformationModal } from "./components/Dialog";
7
+ export { ConsumptionModal, MaterialModal, PackagingModal, PrimaryDialog, TransformationModal, } from "./components/Dialog";
8
8
  export { CategoryField, GammeField, NumberField, TextField } from "./components/Fields";
9
9
  export { FormBase } from "./components/Form";
10
- export { MaterialGrid, MRTGrid } from "./components/Grid";
10
+ export { MaterialGrid, MRTGrid, LinkCell, ArrayCell, GreyTextCell, EcoScoreCell, PointsCell } from "./components/Grid";
11
11
  export { RoundInput, RoundNumberInput, SearchBox } from "./components/Inputs";
12
+ export { FormTopBar, IconThread } from "./components/Navigation";
13
+ export { AddProductPopover, AnchoredPopover, BigPopoverLayout, CommonSelectProductLine, WhitePopoverOnIcon, } from "./components/Popover";
14
+ export { MultiValueFilter, FixedMultiValueFilter } from "./components/Filter";