@foodpilot/foods 0.6.3 → 0.6.5
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/Progress/Progress.d.ts +11 -0
- package/dist/components/Progress/index.d.ts +1 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +10 -0
- package/dist/components/ToggleSwitch/index.d.ts +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/main.js +15617 -14385
- package/dist/main.umd.cjs +124 -124
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Step } from '@mui/material';
|
|
2
|
+
type Step = {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
};
|
|
6
|
+
type ProgressProps = {
|
|
7
|
+
steps?: Step[];
|
|
8
|
+
currentStep?: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const Progress: (props: ProgressProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Progress';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { SwitchProps } from '@mui/material/Switch';
|
|
3
|
+
export type ToggleSwitchProps = {
|
|
4
|
+
label?: ReactNode;
|
|
5
|
+
toggleSize?: 'default' | 'medium' | 'small';
|
|
6
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
+
} & SwitchProps;
|
|
8
|
+
export type ToggleSizeType = 'default' | 'medium' | 'small';
|
|
9
|
+
export declare const ToggleSwitch: (props: ToggleSwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default ToggleSwitch;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ToggleSwitch';
|
|
@@ -20,6 +20,8 @@ export * from './LinearProgress';
|
|
|
20
20
|
export * from './Navigation';
|
|
21
21
|
export * from './Number';
|
|
22
22
|
export * from './Popover';
|
|
23
|
+
export * from './Progress';
|
|
24
|
+
export * from './ToggleSwitch';
|
|
23
25
|
export * from './Radio';
|
|
24
26
|
export * from './Search';
|
|
25
27
|
export * from './Select';
|