@etsoo/toolpad 1.0.49 → 1.0.50
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/build/cjs/Account/Account.d.ts +1 -1
- package/build/cjs/Account/AccountPopoverFooter.d.ts +1 -1
- package/build/cjs/Account/AccountPopoverHeader.d.ts +1 -1
- package/build/cjs/Account/AccountPreview.d.ts +1 -1
- package/build/cjs/Account/SignInButton.d.ts +2 -1
- package/build/cjs/Account/SignOutButton.d.ts +2 -1
- package/build/cjs/AppProvider/AppProviderComponent.d.ts +1 -1
- package/build/cjs/AppProvider/AppThemeProvider.d.ts +1 -1
- package/build/cjs/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/build/cjs/DashboardLayout/DashboardSidebarSubNavigation.d.ts +2 -1
- package/build/cjs/DashboardLayout/ThemeSwitcher.d.ts +2 -1
- package/build/cjs/DashboardLayout/TitleBar.d.ts +1 -1
- package/build/cjs/PageContainer/PageContainer.d.ts +2 -2
- package/build/cjs/PageContainer/PageContainerToolbar.d.ts +1 -1
- package/build/cjs/react-router-dom/AppProvider.d.ts +2 -1
- package/build/cjs/shared/components.d.ts +2 -2
- package/build/cjs/shared/locales/LocaleContext.d.ts +1 -1
- package/build/mjs/Account/Account.d.ts +1 -1
- package/build/mjs/Account/AccountPopoverFooter.d.ts +1 -1
- package/build/mjs/Account/AccountPopoverHeader.d.ts +1 -1
- package/build/mjs/Account/AccountPreview.d.ts +1 -1
- package/build/mjs/Account/SignInButton.d.ts +2 -1
- package/build/mjs/Account/SignOutButton.d.ts +2 -1
- package/build/mjs/AppProvider/AppProviderComponent.d.ts +1 -1
- package/build/mjs/AppProvider/AppThemeProvider.d.ts +1 -1
- package/build/mjs/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/build/mjs/DashboardLayout/DashboardSidebarSubNavigation.d.ts +2 -1
- package/build/mjs/DashboardLayout/ThemeSwitcher.d.ts +2 -1
- package/build/mjs/DashboardLayout/TitleBar.d.ts +1 -1
- package/build/mjs/PageContainer/PageContainer.d.ts +2 -2
- package/build/mjs/PageContainer/PageContainerToolbar.d.ts +1 -1
- package/build/mjs/react-router-dom/AppProvider.d.ts +2 -1
- package/build/mjs/shared/components.d.ts +2 -2
- package/build/mjs/shared/locales/LocaleContext.d.ts +1 -1
- package/package.json +16 -16
- package/vite.config.mts +15 -0
|
@@ -59,5 +59,5 @@ export interface AccountProps {
|
|
|
59
59
|
*
|
|
60
60
|
* - [Account API](https://mui.com/toolpad/core/api/account)
|
|
61
61
|
*/
|
|
62
|
-
declare function Account(props: AccountProps):
|
|
62
|
+
declare function Account(props: AccountProps): React.JSX.Element | null;
|
|
63
63
|
export { Account };
|
|
@@ -3,4 +3,4 @@ import { BoxProps } from "@mui/material/Box";
|
|
|
3
3
|
export interface AccountPopoverFooterProps extends BoxProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function AccountPopoverFooter(props: AccountPopoverFooterProps):
|
|
6
|
+
export declare function AccountPopoverFooter(props: AccountPopoverFooterProps): React.JSX.Element;
|
|
@@ -3,4 +3,4 @@ import { StackProps } from "@mui/material/Stack";
|
|
|
3
3
|
export interface AccountPopoverHeaderProps extends StackProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function AccountPopoverHeader(props: AccountPopoverHeaderProps):
|
|
6
|
+
export declare function AccountPopoverHeader(props: AccountPopoverHeaderProps): React.JSX.Element;
|
|
@@ -60,5 +60,5 @@ export interface AccountPreviewProps {
|
|
|
60
60
|
*
|
|
61
61
|
* - [AccountPreview API](https://mui.com/toolpad/core/api/account-preview)
|
|
62
62
|
*/
|
|
63
|
-
declare function AccountPreview(props: AccountPreviewProps):
|
|
63
|
+
declare function AccountPreview(props: AccountPreviewProps): React.JSX.Element | null;
|
|
64
64
|
export { AccountPreview };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { ButtonProps } from "@mui/material/Button";
|
|
2
3
|
export type SignOutButtonProps = ButtonProps;
|
|
3
|
-
export declare function SignOutButton(props: SignOutButtonProps):
|
|
4
|
+
export declare function SignOutButton(props: SignOutButtonProps): React.JSX.Element;
|
|
@@ -10,5 +10,5 @@ import { AppProviderProps } from "./AppProvider";
|
|
|
10
10
|
*
|
|
11
11
|
* - [AppProvider API](https://mui.com/toolpad/core/api/app-provider)
|
|
12
12
|
*/
|
|
13
|
-
declare function AppProvider(props: AppProviderProps): import("react
|
|
13
|
+
declare function AppProvider(props: AppProviderProps): import("react").JSX.Element;
|
|
14
14
|
export { AppProvider };
|
|
@@ -8,5 +8,5 @@ interface AppThemeProviderProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* @ignore - internal component.
|
|
10
10
|
*/
|
|
11
|
-
declare function AppThemeProvider(props: AppThemeProviderProps):
|
|
11
|
+
declare function AppThemeProvider(props: AppThemeProviderProps): React.JSX.Element;
|
|
12
12
|
export { AppThemeProvider };
|
|
@@ -87,5 +87,5 @@ export interface DashboardLayoutProps {
|
|
|
87
87
|
*
|
|
88
88
|
* - [DashboardLayout API](https://mui.com/toolpad/core/api/dashboard-layout)
|
|
89
89
|
*/
|
|
90
|
-
declare function DashboardLayout(props: DashboardLayoutProps):
|
|
90
|
+
declare function DashboardLayout(props: DashboardLayoutProps): React.JSX.Element;
|
|
91
91
|
export { DashboardLayout };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { Navigation } from "../AppProvider";
|
|
2
3
|
interface DashboardSidebarSubNavigationProps {
|
|
3
4
|
subNavigation: Navigation;
|
|
@@ -12,5 +13,5 @@ interface DashboardSidebarSubNavigationProps {
|
|
|
12
13
|
/**
|
|
13
14
|
* @ignore - internal component.
|
|
14
15
|
*/
|
|
15
|
-
declare function DashboardSidebarSubNavigation({ subNavigation, basePath, depth, onLinkClick, isMini, isFullyExpanded, hasDrawerTransitions, selectedItemId }: DashboardSidebarSubNavigationProps):
|
|
16
|
+
declare function DashboardSidebarSubNavigation({ subNavigation, basePath, depth, onLinkClick, isMini, isFullyExpanded, hasDrawerTransitions, selectedItemId }: DashboardSidebarSubNavigationProps): React.JSX.Element;
|
|
16
17
|
export { DashboardSidebarSubNavigation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare function TitleBar(): number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> |
|
|
2
|
+
export declare function TitleBar(): number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const PageDataContext: React.Context<{
|
|
|
32
32
|
state: PageData;
|
|
33
33
|
dispatch: React.Dispatch<PageDataAction>;
|
|
34
34
|
}>;
|
|
35
|
-
export declare function PageDataContextProvider(props: React.PropsWithChildren<PageData>):
|
|
35
|
+
export declare function PageDataContextProvider(props: React.PropsWithChildren<PageData>): React.JSX.Element;
|
|
36
36
|
type PageContainerBarProps = {
|
|
37
37
|
/**
|
|
38
38
|
* The components used for each slot inside.
|
|
@@ -59,5 +59,5 @@ export type PageContainerProps = React.PropsWithChildren<StackProps & PageContai
|
|
|
59
59
|
*
|
|
60
60
|
* - [PageContainer API](https://mui.com/toolpad/core/api/page-container)
|
|
61
61
|
*/
|
|
62
|
-
declare function PageContainer(props: PageContainerProps):
|
|
62
|
+
declare function PageContainer(props: PageContainerProps): React.JSX.Element;
|
|
63
63
|
export { PageContainer };
|
|
@@ -12,5 +12,5 @@ export interface PageContainerToolbarProps {
|
|
|
12
12
|
*
|
|
13
13
|
* - [PageContainerToolbar API](https://mui.com/toolpad/core/api/page-container-toolbar)
|
|
14
14
|
*/
|
|
15
|
-
declare function PageContainerToolbar(props: PageContainerToolbarProps):
|
|
15
|
+
declare function PageContainerToolbar(props: PageContainerToolbarProps): React.JSX.Element;
|
|
16
16
|
export { PageContainerToolbar };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { type AppProviderProps } from "../AppProvider";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
declare function AppProvider(props: AppProviderProps):
|
|
6
|
+
declare function AppProvider(props: AppProviderProps): React.JSX.Element;
|
|
6
7
|
export { AppProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface ErrorOverlayProps {
|
|
2
2
|
error?: unknown;
|
|
3
3
|
}
|
|
4
|
-
export declare function ErrorOverlay({ error }: ErrorOverlayProps): import("react
|
|
5
|
-
export declare function LoadingOverlay(): import("react
|
|
4
|
+
export declare function ErrorOverlay({ error }: ErrorOverlayProps): import("react").JSX.Element;
|
|
5
|
+
export declare function LoadingOverlay(): import("react").JSX.Element;
|
|
@@ -37,7 +37,7 @@ export interface LocaleProviderProps {
|
|
|
37
37
|
/**
|
|
38
38
|
* @ignore - internal component.
|
|
39
39
|
*/
|
|
40
|
-
export declare function LocaleProvider({ localeText, children }: LocaleProviderProps):
|
|
40
|
+
export declare function LocaleProvider({ localeText, children }: LocaleProviderProps): React.JSX.Element;
|
|
41
41
|
export declare function useLocaleText(): {
|
|
42
42
|
signInLabel: string;
|
|
43
43
|
signOutLabel: string;
|
|
@@ -59,5 +59,5 @@ export interface AccountProps {
|
|
|
59
59
|
*
|
|
60
60
|
* - [Account API](https://mui.com/toolpad/core/api/account)
|
|
61
61
|
*/
|
|
62
|
-
declare function Account(props: AccountProps):
|
|
62
|
+
declare function Account(props: AccountProps): React.JSX.Element | null;
|
|
63
63
|
export { Account };
|
|
@@ -3,4 +3,4 @@ import { BoxProps } from "@mui/material/Box";
|
|
|
3
3
|
export interface AccountPopoverFooterProps extends BoxProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function AccountPopoverFooter(props: AccountPopoverFooterProps):
|
|
6
|
+
export declare function AccountPopoverFooter(props: AccountPopoverFooterProps): React.JSX.Element;
|
|
@@ -3,4 +3,4 @@ import { StackProps } from "@mui/material/Stack";
|
|
|
3
3
|
export interface AccountPopoverHeaderProps extends StackProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function AccountPopoverHeader(props: AccountPopoverHeaderProps):
|
|
6
|
+
export declare function AccountPopoverHeader(props: AccountPopoverHeaderProps): React.JSX.Element;
|
|
@@ -60,5 +60,5 @@ export interface AccountPreviewProps {
|
|
|
60
60
|
*
|
|
61
61
|
* - [AccountPreview API](https://mui.com/toolpad/core/api/account-preview)
|
|
62
62
|
*/
|
|
63
|
-
declare function AccountPreview(props: AccountPreviewProps):
|
|
63
|
+
declare function AccountPreview(props: AccountPreviewProps): React.JSX.Element | null;
|
|
64
64
|
export { AccountPreview };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { ButtonProps } from "@mui/material/Button";
|
|
2
3
|
export type SignOutButtonProps = ButtonProps;
|
|
3
|
-
export declare function SignOutButton(props: SignOutButtonProps):
|
|
4
|
+
export declare function SignOutButton(props: SignOutButtonProps): React.JSX.Element;
|
|
@@ -10,5 +10,5 @@ import { AppProviderProps } from "./AppProvider";
|
|
|
10
10
|
*
|
|
11
11
|
* - [AppProvider API](https://mui.com/toolpad/core/api/app-provider)
|
|
12
12
|
*/
|
|
13
|
-
declare function AppProvider(props: AppProviderProps): import("react
|
|
13
|
+
declare function AppProvider(props: AppProviderProps): import("react").JSX.Element;
|
|
14
14
|
export { AppProvider };
|
|
@@ -8,5 +8,5 @@ interface AppThemeProviderProps {
|
|
|
8
8
|
/**
|
|
9
9
|
* @ignore - internal component.
|
|
10
10
|
*/
|
|
11
|
-
declare function AppThemeProvider(props: AppThemeProviderProps):
|
|
11
|
+
declare function AppThemeProvider(props: AppThemeProviderProps): React.JSX.Element;
|
|
12
12
|
export { AppThemeProvider };
|
|
@@ -87,5 +87,5 @@ export interface DashboardLayoutProps {
|
|
|
87
87
|
*
|
|
88
88
|
* - [DashboardLayout API](https://mui.com/toolpad/core/api/dashboard-layout)
|
|
89
89
|
*/
|
|
90
|
-
declare function DashboardLayout(props: DashboardLayoutProps):
|
|
90
|
+
declare function DashboardLayout(props: DashboardLayoutProps): React.JSX.Element;
|
|
91
91
|
export { DashboardLayout };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { Navigation } from "../AppProvider";
|
|
2
3
|
interface DashboardSidebarSubNavigationProps {
|
|
3
4
|
subNavigation: Navigation;
|
|
@@ -12,5 +13,5 @@ interface DashboardSidebarSubNavigationProps {
|
|
|
12
13
|
/**
|
|
13
14
|
* @ignore - internal component.
|
|
14
15
|
*/
|
|
15
|
-
declare function DashboardSidebarSubNavigation({ subNavigation, basePath, depth, onLinkClick, isMini, isFullyExpanded, hasDrawerTransitions, selectedItemId }: DashboardSidebarSubNavigationProps):
|
|
16
|
+
declare function DashboardSidebarSubNavigation({ subNavigation, basePath, depth, onLinkClick, isMini, isFullyExpanded, hasDrawerTransitions, selectedItemId }: DashboardSidebarSubNavigationProps): React.JSX.Element;
|
|
16
17
|
export { DashboardSidebarSubNavigation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export declare function TitleBar(): number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> |
|
|
2
|
+
export declare function TitleBar(): number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const PageDataContext: React.Context<{
|
|
|
32
32
|
state: PageData;
|
|
33
33
|
dispatch: React.Dispatch<PageDataAction>;
|
|
34
34
|
}>;
|
|
35
|
-
export declare function PageDataContextProvider(props: React.PropsWithChildren<PageData>):
|
|
35
|
+
export declare function PageDataContextProvider(props: React.PropsWithChildren<PageData>): React.JSX.Element;
|
|
36
36
|
type PageContainerBarProps = {
|
|
37
37
|
/**
|
|
38
38
|
* The components used for each slot inside.
|
|
@@ -59,5 +59,5 @@ export type PageContainerProps = React.PropsWithChildren<StackProps & PageContai
|
|
|
59
59
|
*
|
|
60
60
|
* - [PageContainer API](https://mui.com/toolpad/core/api/page-container)
|
|
61
61
|
*/
|
|
62
|
-
declare function PageContainer(props: PageContainerProps):
|
|
62
|
+
declare function PageContainer(props: PageContainerProps): React.JSX.Element;
|
|
63
63
|
export { PageContainer };
|
|
@@ -12,5 +12,5 @@ export interface PageContainerToolbarProps {
|
|
|
12
12
|
*
|
|
13
13
|
* - [PageContainerToolbar API](https://mui.com/toolpad/core/api/page-container-toolbar)
|
|
14
14
|
*/
|
|
15
|
-
declare function PageContainerToolbar(props: PageContainerToolbarProps):
|
|
15
|
+
declare function PageContainerToolbar(props: PageContainerToolbarProps): React.JSX.Element;
|
|
16
16
|
export { PageContainerToolbar };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { type AppProviderProps } from "../AppProvider";
|
|
2
3
|
/**
|
|
3
4
|
* @ignore - internal component.
|
|
4
5
|
*/
|
|
5
|
-
declare function AppProvider(props: AppProviderProps):
|
|
6
|
+
declare function AppProvider(props: AppProviderProps): React.JSX.Element;
|
|
6
7
|
export { AppProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface ErrorOverlayProps {
|
|
2
2
|
error?: unknown;
|
|
3
3
|
}
|
|
4
|
-
export declare function ErrorOverlay({ error }: ErrorOverlayProps): import("react
|
|
5
|
-
export declare function LoadingOverlay(): import("react
|
|
4
|
+
export declare function ErrorOverlay({ error }: ErrorOverlayProps): import("react").JSX.Element;
|
|
5
|
+
export declare function LoadingOverlay(): import("react").JSX.Element;
|
|
@@ -37,7 +37,7 @@ export interface LocaleProviderProps {
|
|
|
37
37
|
/**
|
|
38
38
|
* @ignore - internal component.
|
|
39
39
|
*/
|
|
40
|
-
export declare function LocaleProvider({ localeText, children }: LocaleProviderProps):
|
|
40
|
+
export declare function LocaleProvider({ localeText, children }: LocaleProviderProps): React.JSX.Element;
|
|
41
41
|
export declare function useLocaleText(): {
|
|
42
42
|
signInLabel: string;
|
|
43
43
|
signOutLabel: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/toolpad",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"author": "ETSOO",
|
|
5
5
|
"description": "Dashboard framework extention based on Toolpad Core",
|
|
6
6
|
"main": "build/cjs/index.js",
|
|
@@ -42,33 +42,33 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@emotion/react": "^11.14.0",
|
|
44
44
|
"@emotion/styled": "^11.14.1",
|
|
45
|
-
"@mui/icons-material": "9.
|
|
46
|
-
"@mui/material": "9.
|
|
47
|
-
"@mui/utils": "9.
|
|
45
|
+
"@mui/icons-material": "9.1.1",
|
|
46
|
+
"@mui/material": "9.1.1",
|
|
47
|
+
"@mui/utils": "9.1.1",
|
|
48
48
|
"invariant": "2.2.4",
|
|
49
49
|
"path-to-regexp": "^6.3.0",
|
|
50
|
-
"react": "^19.2.
|
|
51
|
-
"react-dom": "^19.2.
|
|
50
|
+
"react": "^19.2.7",
|
|
51
|
+
"react-dom": "^19.2.7"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@babel/core": "^7.29.
|
|
55
|
-
"@babel/plugin-transform-runtime": "^7.29.
|
|
56
|
-
"@babel/preset-env": "^7.29.
|
|
57
|
-
"@babel/runtime-corejs3": "^7.29.
|
|
54
|
+
"@babel/core": "^7.29.7",
|
|
55
|
+
"@babel/plugin-transform-runtime": "^7.29.7",
|
|
56
|
+
"@babel/preset-env": "^7.29.7",
|
|
57
|
+
"@babel/runtime-corejs3": "^7.29.7",
|
|
58
58
|
"@testing-library/jest-dom": "^6.9.1",
|
|
59
59
|
"@testing-library/react": "^16.3.2",
|
|
60
60
|
"@testing-library/user-event": "^14.6.1",
|
|
61
61
|
"@types/invariant": "2.2.37",
|
|
62
|
-
"@types/node": "^25.
|
|
63
|
-
"@types/react": "19.2.
|
|
62
|
+
"@types/node": "^25.9.3",
|
|
63
|
+
"@types/react": "19.2.17",
|
|
64
64
|
"@types/react-dom": "19.2.3",
|
|
65
65
|
"@vitejs/plugin-react": "6.0.2",
|
|
66
|
-
"@vitest/browser": "4.1.
|
|
67
|
-
"@vitest/browser-playwright": "^4.1.
|
|
66
|
+
"@vitest/browser": "4.1.8",
|
|
67
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
68
68
|
"jsdom": "^29.1.1",
|
|
69
69
|
"playwright": "^1.60.0",
|
|
70
|
-
"react-router-dom": "^7.
|
|
71
|
-
"vitest": "4.1.
|
|
70
|
+
"react-router-dom": "^7.17.0",
|
|
71
|
+
"vitest": "4.1.8"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"react-router-dom": {
|
package/vite.config.mts
CHANGED
|
@@ -4,11 +4,26 @@ import react from "@vitejs/plugin-react";
|
|
|
4
4
|
|
|
5
5
|
export default defineConfig({
|
|
6
6
|
plugins: [react()],
|
|
7
|
+
resolve: {
|
|
8
|
+
alias: {
|
|
9
|
+
"react-transition-group/TransitionGroupContext":
|
|
10
|
+
"react-transition-group/esm/TransitionGroupContext.js"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
7
13
|
test: {
|
|
8
14
|
setupFiles: ["vitest.setup.ts", "@testing-library/jest-dom/vitest"],
|
|
9
15
|
globals: true,
|
|
10
16
|
environment: "jsdom",
|
|
11
17
|
include: ["**/?(*.)test.ts?(x)"],
|
|
18
|
+
server: {
|
|
19
|
+
deps: {
|
|
20
|
+
inline: [
|
|
21
|
+
/@mui\/x-data-grid.*/,
|
|
22
|
+
/@mui\/material.*/,
|
|
23
|
+
/react-transition-group.*/
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
12
27
|
testTimeout: 10000,
|
|
13
28
|
browser: {
|
|
14
29
|
enabled: false, // enabled through CLI
|