@foodpilot/foods 0.3.101 → 0.3.103

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.
@@ -10,5 +10,6 @@ export type ScoreCardHeaderProps = {
10
10
  selectedItemId: number | null;
11
11
  options: HeaderOptions[];
12
12
  information?: string;
13
+ variant?: 'primary' | 'secondary';
13
14
  };
14
15
  export declare const ScoreCardHeader: (props: ScoreCardHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -8,5 +8,6 @@ export type OptionsPopoverType = {
8
8
  export type ValueSwitcherProps = {
9
9
  selectedItem: HeaderOptions | undefined;
10
10
  optionsProps: OptionsPopoverType;
11
+ variant?: 'primary' | 'secondary';
11
12
  };
12
13
  export declare const ValueSwitcher: (props: ValueSwitcherProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type SeeMoreCardProps = {
4
+ children: ReactNode;
5
+ seeMoreText: string;
6
+ seeLessText: string;
7
+ hidden?: ReactNode;
8
+ defaultVisible?: boolean;
9
+ };
10
+ export declare const SeeMoreCard: (props: SeeMoreCardProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ import { IconMapping } from '../Icons';
2
+ import { TagsButtonVariants } from '../../themes';
3
+
4
+ type FoodsTagsProps = {
5
+ variant?: TagsButtonVariants;
6
+ label: string;
7
+ startIcon?: keyof IconMapping;
8
+ endIcon?: keyof IconMapping;
9
+ onClick?: () => void;
10
+ disabled?: boolean;
11
+ };
12
+ export declare const FoodsTags: (props: FoodsTagsProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,10 @@
1
+ type UserInfo = {
2
+ firstname: string;
3
+ lastname: string;
4
+ };
5
+ type FoodsUserTagsProps = {
6
+ user: UserInfo;
7
+ deleteAction?: () => void;
8
+ };
9
+ export declare const FoodsUserTags: (props: FoodsUserTagsProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};