@foodpilot/foods 0.3.4 → 0.3.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.
- package/dist/main.js +8002 -7923
- package/dist/main.umd.cjs +105 -105
- package/dist/themes/BredTheme.d.ts +1 -0
- package/dist/themes/CollectiveTheme.d.ts +1 -0
- package/dist/themes/FoodPilotTheme.d.ts +0 -4
- package/dist/themes/FoodsThemeProvider.d.ts +2 -0
- package/dist/themes/WinePilotTheme.d.ts +0 -4
- package/dist/themes/common.d.ts +9 -0
- package/dist/themes/index.d.ts +6 -2
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BredTheme: import("@mui/material").Theme;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CollectiveTheme: import("@mui/material").Theme;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import { GreenShades, GreyShades, RedShades } from "./ThemeExtensions";
|
|
2
|
-
export declare const greyTheme: GreyShades;
|
|
3
|
-
export declare const redTheme: RedShades;
|
|
4
|
-
export declare const greenTheme: GreenShades;
|
|
5
1
|
export declare const FoodPilotTheme: import("@mui/material").Theme;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Themes } from "./index";
|
|
2
3
|
type FoodsThemeProviderProps = {
|
|
3
4
|
children?: JSX.Element | JSX.Element[];
|
|
5
|
+
theme?: Themes;
|
|
4
6
|
};
|
|
5
7
|
export declare const FoodsThemeProvider: (props: FoodsThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export {};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
import { GreenShades, GreyShades, RedShades } from "./ThemeExtensions";
|
|
2
|
-
export declare const greyTheme: GreyShades;
|
|
3
|
-
export declare const redTheme: RedShades;
|
|
4
|
-
export declare const greenTheme: GreenShades;
|
|
5
1
|
export declare const WinePilotTheme: import("@mui/material").Theme;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ThemeOptions } from "@mui/material";
|
|
2
|
+
import { CustomColor, GreenShades, GreyShades, RedShades } from "./ThemeExtensions";
|
|
3
|
+
export declare const colorTheme: CustomColor;
|
|
4
|
+
export declare const greyTheme: GreyShades;
|
|
5
|
+
export declare const redTheme: RedShades;
|
|
6
|
+
export declare const greenTheme: GreenShades;
|
|
7
|
+
export declare const typography: ThemeOptions["typography"];
|
|
8
|
+
export declare const custom: ThemeOptions["custom"];
|
|
9
|
+
export declare const components: ThemeOptions["components"];
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Theme } from "@mui/material";
|
|
2
2
|
import { FoodsThemeProvider } from "./FoodsThemeProvider";
|
|
3
|
-
|
|
3
|
+
declare const THEMES: readonly ["foodpilot", "winepilot", "collective", "bred"];
|
|
4
|
+
export type Themes = (typeof THEMES)[number];
|
|
5
|
+
export declare const isTheme: (theme: string) => theme is "collective" | "foodpilot" | "winepilot" | "bred";
|
|
6
|
+
export declare const themes: Record<Themes, Theme>;
|
|
7
|
+
export { FoodsThemeProvider };
|