@foodpilot/foods 0.3.46 → 0.3.47

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 (67) hide show
  1. package/dist/components/Box/index.d.ts +0 -1
  2. package/dist/components/Button/FoodsIconButton.d.ts +9 -2
  3. package/dist/components/Button/IconTooltips/FoodsIconButtonTooltip.d.ts +3 -0
  4. package/dist/components/Cards/ScoreCard/Header/ScoreCardHeader.d.ts +1 -1
  5. package/dist/components/Cards/ScoreCard/Header/ValueSwitcher/ValueSwitcher.d.ts +6 -3
  6. package/dist/components/Cards/ScoreCard/ScoreCard.d.ts +3 -8
  7. package/dist/components/Icons/FoodsIllustrations.d.ts +2 -1
  8. package/dist/components/Icons/Illustrations/Actions.d.ts +3 -1
  9. package/dist/components/Icons/Illustrations/Carbon emissions reduction.d.ts +3 -1
  10. package/dist/components/Icons/Illustrations/Carbon neutrality.d.ts +3 -1
  11. package/dist/components/Icons/Illustrations/Congratulations.d.ts +3 -0
  12. package/dist/components/Icons/Illustrations/Data analysis.d.ts +3 -1
  13. package/dist/components/Icons/Illustrations/Default.d.ts +3 -0
  14. package/dist/components/Icons/Illustrations/Inputs & chemicals.d.ts +3 -1
  15. package/dist/components/Icons/Illustrations/Questionnaire.d.ts +3 -1
  16. package/dist/components/Icons/Illustrations/Scores & indicators.d.ts +3 -1
  17. package/dist/components/Icons/Illustrations/Select action.d.ts +3 -0
  18. package/dist/components/Icons/Illustrations/Select starting year.d.ts +3 -0
  19. package/dist/components/Icons/Illustrations/Trajectory & actions plans.d.ts +3 -0
  20. package/dist/components/Icons/Illustrations/Under construction.d.ts +3 -1
  21. package/dist/components/Icons/illustrationProps.d.ts +4 -0
  22. package/dist/components/Icons/illustrationsConfig.d.ts +13 -8
  23. package/dist/components/Layout/BlockList/BlockListContainer.d.ts +5 -0
  24. package/dist/components/Layout/BlockList/Blocks/ActionsBlock/ActionRow.d.ts +21 -0
  25. package/dist/components/Layout/BlockList/Blocks/ActionsBlock/ActionsBlock.d.ts +6 -0
  26. package/dist/components/Layout/BlockList/Blocks/ActionsBlock/index.d.ts +1 -0
  27. package/dist/components/Layout/BlockList/Blocks/Common/LeftComparisonPart.d.ts +15 -0
  28. package/dist/components/Layout/BlockList/Blocks/Common/ValueDisplay.d.ts +6 -0
  29. package/dist/components/Layout/BlockList/Blocks/Common/index.d.ts +2 -0
  30. package/dist/components/Layout/BlockList/Blocks/Container/BlockItemContainer.d.ts +7 -0
  31. package/dist/components/Layout/BlockList/Blocks/Container/BlockItemInner.d.ts +12 -0
  32. package/dist/components/Layout/BlockList/Blocks/Container/index.d.ts +2 -0
  33. package/dist/components/Layout/BlockList/Blocks/InnerInfoBlocks/EmptyForm.d.ts +7 -0
  34. package/dist/components/Layout/BlockList/Blocks/InnerInfoBlocks/SuggestionBlock.d.ts +5 -0
  35. package/dist/components/Layout/BlockList/Blocks/InnerInputBlocks/CheckboxBlock.d.ts +8 -0
  36. package/dist/components/Layout/BlockList/Blocks/InnerInputBlocks/NumericalBlock.d.ts +8 -0
  37. package/dist/components/Layout/BlockList/Blocks/InnerInputBlocks/RadioBlock.d.ts +8 -0
  38. package/dist/components/Layout/BlockList/Blocks/InnerInputBlocks/SelectBlock.d.ts +8 -0
  39. package/dist/components/Layout/BlockList/Blocks/InnerInputBlocks/TextBlock.d.ts +8 -0
  40. package/dist/components/Layout/BlockList/Blocks/InnerInputBlocks/index.d.ts +5 -0
  41. package/dist/components/Layout/BlockList/Blocks/index.d.ts +4 -0
  42. package/dist/components/Layout/BlockList/Headers/EditHeader.d.ts +12 -0
  43. package/dist/components/Layout/BlockList/Headers/InitHeader.d.ts +9 -0
  44. package/dist/components/Layout/BlockList/Headers/ListHeader.d.ts +15 -0
  45. package/dist/components/Layout/BlockList/Headers/index.d.ts +3 -0
  46. package/dist/components/Layout/BlockList/index.d.ts +4 -0
  47. package/dist/components/Layout/InfoHeaderWithIllustration.d.ts +12 -0
  48. package/dist/components/Layout/index.d.ts +2 -0
  49. package/dist/components/Text/index.d.ts +0 -1
  50. package/dist/components/index.d.ts +1 -0
  51. package/dist/innerComponents/FlexibleButton.d.ts +12 -0
  52. package/dist/innerComponents/FlexibleTypography.d.ts +8 -0
  53. package/dist/main.js +11354 -10978
  54. package/dist/main.umd.cjs +110 -110
  55. package/dist/themes/ThemeExtensions.d.ts +1 -1
  56. package/dist/themes/common.d.ts +1 -0
  57. package/package.json +1 -1
  58. package/dist/components/Box/BlockList/BlockItemContainer.d.ts +0 -2
  59. package/dist/components/Box/BlockList/BlockListContainer.d.ts +0 -4
  60. package/dist/components/Box/BlockList/BlockListHeader.d.ts +0 -12
  61. package/dist/components/Box/BlockList/Blocks/CheckboxBlock.d.ts +0 -1
  62. package/dist/components/Box/BlockList/Blocks/GroupBlock.d.ts +0 -1
  63. package/dist/components/Box/BlockList/Blocks/NumericalBlock.d.ts +0 -1
  64. package/dist/components/Box/BlockList/Blocks/RadioBlock.d.ts +0 -1
  65. package/dist/components/Box/BlockList/Blocks/SelectBlock.d.ts +0 -1
  66. package/dist/components/Box/BlockList/index.d.ts +0 -1
  67. package/dist/components/Text/TextBlock.d.ts +0 -14
@@ -1,5 +1,4 @@
1
1
  export * from './AdditionalContentBox';
2
- export * from './BlockList';
3
2
  export * from './CategoryBox';
4
3
  export * from './ContextualContentBox';
5
4
  export * from './DottedBox';
@@ -1,4 +1,11 @@
1
- export type FoodsIconButton = {
2
- icon: JSX.Element;
1
+ import { TooltipProps } from '@mui/material';
2
+ import { FoodsBadgeProps } from '../Badge';
3
+
4
+ export type FoodsIconButton = FoodsBadgeProps & {
5
+ onClick: () => void;
6
+ tooltip?: {
7
+ text?: string;
8
+ props?: Omit<TooltipProps, "children" | "title">;
9
+ };
3
10
  };
4
11
  export declare const FoodsIconButton: (props: FoodsIconButton) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TooltipProps } from '@mui/material/Tooltip/Tooltip';
2
+
3
+ export declare const FoodsIconButtonTooltip: import('@emotion/styled').StyledComponent<TooltipProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -2,7 +2,7 @@ import { OptionsPopoverType } from './ValueSwitcher/ValueSwitcher';
2
2
 
3
3
  export type ScoreCardHeaderProps = {
4
4
  title: string;
5
- selectedItemLabel: string;
5
+ selectedItemId: number;
6
6
  optionsProps: OptionsPopoverType;
7
7
  };
8
8
  export declare const ScoreCardHeader: (props: ScoreCardHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,11 @@
1
- import { OptionsPopoverProps } from '../../../../Popover';
1
+ import { OptionsPopoverSection } from '../../../../Popover';
2
2
 
3
- export type OptionsPopoverType = Pick<OptionsPopoverProps, "content" | "onChange" | "defaultIndex">;
3
+ export type OptionsPopoverType = {
4
+ content: OptionsPopoverSection;
5
+ onChange: (optionId: number) => void;
6
+ };
4
7
  export type ValueSwitcherProps = {
5
- selectedItemLabel: string;
8
+ selectedItemId: number;
6
9
  optionsProps: OptionsPopoverType;
7
10
  };
8
11
  export declare const ValueSwitcher: (props: ValueSwitcherProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,15 +1,10 @@
1
- import { OptionsPopoverType } from './Header/ValueSwitcher/ValueSwitcher';
1
+ import { ScoreCardHeaderProps } from './Header/ScoreCardHeader';
2
2
 
3
- type ScoreHeader = {
4
- title: string;
5
- selectedItemLabel: string;
6
- optionsProps: OptionsPopoverType;
7
- };
8
3
  export type ScoreCardProps = {
9
- header: ScoreHeader;
4
+ header: ScoreCardHeaderProps;
10
5
  moreDetailAction?: () => void;
11
6
  soonAvailableText?: string;
7
+ disableFooter?: boolean;
12
8
  children?: JSX.Element;
13
9
  };
14
10
  export declare const ScoreCard: (props: ScoreCardProps) => import("react/jsx-runtime").JSX.Element;
15
- export {};
@@ -1,7 +1,8 @@
1
+ import { IllustationProps } from './illustrationProps';
1
2
  import { illustationsMapping } from './illustrationsConfig';
2
3
 
3
4
  export type IllustrationMapping = typeof illustationsMapping;
4
- export type FoodsIllustrationsProps = {
5
+ export type FoodsIllustrationsProps = IllustationProps & {
5
6
  illustration: keyof IllustrationMapping;
6
7
  };
7
8
  export declare const FoodsIllustrations: (props: FoodsIllustrationsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Actions: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const Actions: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const CarbonEmissions: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const CarbonEmissions: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const CarbonNeutrality: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const CarbonNeutrality: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const Congratulations: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const DataAnalysis: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const DataAnalysis: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const DefaultIllustration: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Chemicals: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const Chemicals: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const Questionnaire: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const Questionnaire: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const ScoresIndicators: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const ScoresIndicators: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const SelectAction: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const SelectStartingYear: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const TrajectoryActions: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,3 @@
1
- export declare const UnderConstruction: () => import("react/jsx-runtime").JSX.Element;
1
+ import { IllustationProps } from '../illustrationProps';
2
+
3
+ export declare const UnderConstruction: (props: IllustationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export type IllustationProps = {
2
+ width?: number;
3
+ height?: number;
4
+ };
@@ -1,10 +1,15 @@
1
1
  export declare const illustationsMapping: {
2
- readonly actions: () => import("react/jsx-runtime").JSX.Element;
3
- readonly carbonEmissions: () => import("react/jsx-runtime").JSX.Element;
4
- readonly carbonNeutrality: () => import("react/jsx-runtime").JSX.Element;
5
- readonly dataAnalysis: () => import("react/jsx-runtime").JSX.Element;
6
- readonly chemicals: () => import("react/jsx-runtime").JSX.Element;
7
- readonly questionnaire: () => import("react/jsx-runtime").JSX.Element;
8
- readonly scoresIndicators: () => import("react/jsx-runtime").JSX.Element;
9
- readonly underConstruction: () => import("react/jsx-runtime").JSX.Element;
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;
10
15
  };
@@ -0,0 +1,5 @@
1
+ export type BlockListBoxProps = {
2
+ header: JSX.Element;
3
+ blocks?: JSX.Element[];
4
+ };
5
+ export declare const BlockListContainer: (props: BlockListBoxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,21 @@
1
+ export type ActionType = {
2
+ actionTitle: string;
3
+ value: number | null;
4
+ unit: string;
5
+ };
6
+ export type RowActions = {
7
+ addAction?: {
8
+ helperText?: string;
9
+ action: (option: ActionType) => void;
10
+ };
11
+ editAction?: {
12
+ helperText?: string;
13
+ action: (option: ActionType) => void;
14
+ };
15
+ deleteAction?: {
16
+ helperText?: string;
17
+ action: (option: ActionType) => void;
18
+ };
19
+ };
20
+ export type ActionRowProps = ActionType & RowActions;
21
+ export declare const ActionRow: (props: ActionRowProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { ActionType, RowActions } from './ActionRow';
2
+
3
+ export type ActionsBlockProps = RowActions & {
4
+ actionBlocks: ActionType[];
5
+ };
6
+ export declare const ActionsBlock: (props: ActionsBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ActionsBlock';
@@ -0,0 +1,15 @@
1
+ export type BlockItemValue = (number | string)[] | (number | string);
2
+ export type BlockItemComparison = {
3
+ start: {
4
+ year: string | number;
5
+ value: BlockItemValue;
6
+ };
7
+ current?: {
8
+ year: string | number;
9
+ value: BlockItemValue;
10
+ };
11
+ };
12
+ export type LeftComparisonPartProps = {
13
+ comparison: BlockItemComparison;
14
+ };
15
+ export declare const LeftComparisonPart: (props: LeftComparisonPartProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { BlockItemValue } from './LeftComparisonPart';
2
+
3
+ export type ValueDisplayProps = {
4
+ value: BlockItemValue;
5
+ };
6
+ export declare const ValueDisplay: (props: ValueDisplayProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './LeftComparisonPart';
2
+ export * from './ValueDisplay';
@@ -0,0 +1,7 @@
1
+ export type BlockItemContainerProps = {
2
+ title: string;
3
+ value: number;
4
+ unit: string;
5
+ fields?: JSX.Element[];
6
+ };
7
+ export declare const BlockItemContainer: (props: BlockItemContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { BlockItemComparison } from '../Common/LeftComparisonPart';
2
+
3
+ export type BlockOptions = {
4
+ rightSubtitle: string;
5
+ title: string;
6
+ comparisonValues: BlockItemComparison;
7
+ };
8
+ export type BlockItemInnerProps = {
9
+ children: JSX.Element;
10
+ blockOptions: BlockOptions;
11
+ };
12
+ export declare const BlockItemInner: (props: BlockItemInnerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './BlockItemContainer';
2
+ export * from './BlockItemInner';
@@ -0,0 +1,7 @@
1
+ import { IllustrationMapping } from '../../../../Icons';
2
+
3
+ export type EmptyFormProps = {
4
+ illustration: keyof IllustrationMapping;
5
+ emptyText: JSX.Element;
6
+ };
7
+ export declare const EmptyForm: (props: EmptyFormProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export type SuggestionBlockProps = {
2
+ suggestionTitle: JSX.Element;
3
+ text: JSX.Element;
4
+ };
5
+ export declare const SuggestionBlock: (props: SuggestionBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { FoodsCheckboxProps } from '../../../../Checkbox';
2
+ import { BlockOptions } from '../Container/BlockItemInner';
3
+
4
+ type CheckboxBlockProps<T> = FoodsCheckboxProps<T> & {
5
+ blockOptions: BlockOptions;
6
+ };
7
+ export declare const CheckboxBlock: <T>(props: CheckboxBlockProps<T>) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BlockOptions } from '../Container/BlockItemInner';
2
+ import { RoundInputProps } from '../../../../Input';
3
+
4
+ type NumericalBlockProps = RoundInputProps & {
5
+ blockOptions: BlockOptions;
6
+ };
7
+ export declare const NumericalBlock: (props: NumericalBlockProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BlockOptions } from '../Container/BlockItemInner';
2
+ import { FoodsRadioListProps } from '../../../../Radio';
3
+
4
+ type RadioBlockProps<T> = FoodsRadioListProps<T> & {
5
+ blockOptions: BlockOptions;
6
+ };
7
+ export declare const RadioBlock: <T>(props: RadioBlockProps<T>) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BlockOptions } from '../Container/BlockItemInner';
2
+ import { SelectWrapperProps } from '../../../../Select';
3
+
4
+ type SelectBlockProps<T> = SelectWrapperProps<T> & {
5
+ blockOptions: BlockOptions;
6
+ };
7
+ export declare const SelectBlock: <T>(props: SelectBlockProps<T>) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { BlockOptions } from '../Container/BlockItemInner';
2
+ import { RoundInputProps } from '../../../../Input';
3
+
4
+ type TextBlockProps = RoundInputProps & {
5
+ blockOptions: BlockOptions;
6
+ };
7
+ export declare const TextBlock: (props: TextBlockProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ export * from './CheckboxBlock';
2
+ export * from './NumericalBlock';
3
+ export * from './RadioBlock';
4
+ export * from './SelectBlock';
5
+ export * from './TextBlock';
@@ -0,0 +1,4 @@
1
+ export * from './InnerInputBlocks';
2
+ export * from './Container';
3
+ export * from './Common';
4
+ export * from './ActionsBlock';
@@ -0,0 +1,12 @@
1
+ export type EditHeaderProps = {
2
+ title: string;
3
+ cancel: {
4
+ label: string;
5
+ action: () => void;
6
+ };
7
+ confirm: {
8
+ label: string;
9
+ action: () => void;
10
+ };
11
+ };
12
+ export declare const EditHeader: (props: EditHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FlexibleString } from '../../../../innerComponents/FlexibleTypography';
2
+ import { FlexibleButtonType } from '../../../../innerComponents/FlexibleButton';
3
+
4
+ export type InitHeaderProps = {
5
+ title: FlexibleString;
6
+ actionButton: FlexibleButtonType;
7
+ cancelButton?: FlexibleButtonType;
8
+ };
9
+ export declare const InitHeader: (props: InitHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { FlexibleString } from '../../../../innerComponents/FlexibleTypography';
2
+
3
+ export type ListHeaderProps = {
4
+ title: FlexibleString;
5
+ cancel: {
6
+ label: string;
7
+ action: () => void;
8
+ };
9
+ confirm: {
10
+ label: string;
11
+ action: () => void;
12
+ disabled?: boolean;
13
+ };
14
+ };
15
+ export declare const ListHeader: (props: ListHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './ListHeader';
2
+ export * from './EditHeader';
3
+ export * from './InitHeader';
@@ -0,0 +1,4 @@
1
+ export * from './BlockListContainer';
2
+ export * from './Blocks/Container/BlockItemContainer';
3
+ export * from './Headers/ListHeader';
4
+ export * from './Blocks';
@@ -0,0 +1,12 @@
1
+ import { IllustrationMapping } from '../Icons';
2
+
3
+ export type InfoHeaderWithIllustrationProps = {
4
+ boldText: string;
5
+ smallInfoText: string;
6
+ illustration: keyof IllustrationMapping;
7
+ buttonAction: {
8
+ action: () => void;
9
+ label: string;
10
+ };
11
+ };
12
+ export declare const InfoHeaderWithIllustration: (props: InfoHeaderWithIllustrationProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './InfoHeaderWithIllustration';
2
+ export * from './BlockList';
@@ -1,4 +1,3 @@
1
1
  export * from './TextArrowList';
2
- export * from './TextBlock';
3
2
  export * from './TextTitle';
4
3
  export * from './TextTitleGreyIcon';
@@ -15,6 +15,7 @@ export * from './Grid';
15
15
  export * from './Icons';
16
16
  export * from './Indicator';
17
17
  export * from './Input';
18
+ export * from './Layout';
18
19
  export * from './LinearProgress';
19
20
  export * from './Navigation';
20
21
  export * from './Number';
@@ -0,0 +1,12 @@
1
+ import { ButtonProps } from '@mui/material';
2
+
3
+ export type GenericButton = {
4
+ label: string;
5
+ onClick: () => void;
6
+ };
7
+ export type FlexibleButtonType = JSX.Element | GenericButton;
8
+ export type FlexibleButtonProps = {
9
+ buttonOptions: FlexibleButtonType;
10
+ defaultOptions?: Omit<ButtonProps, "onClick">;
11
+ };
12
+ export declare const FlexibleButton: (props: FlexibleButtonProps) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { TypographyProps } from '@mui/material';
2
+
3
+ export type FlexibleString = JSX.Element | string;
4
+ export type FlexibleTypographyProps = {
5
+ text: FlexibleString;
6
+ defaultVariant: TypographyProps["variant"];
7
+ };
8
+ export declare const FlexibleTypography: (props: FlexibleTypographyProps) => JSX.Element;