@mui-toolpad-extended-tuni/main 3.3.0 → 3.4.0
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/README.md +2 -2
- package/dist/ToolpadProvider.d.ts +3 -0
- package/dist/index.cjs +30 -30
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +1240 -1237
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ npm install @mui-toolpad-extended-tuni/main @mui-toolpad-extended-tuni/core
|
|
|
15
15
|
This package requires the following peer dependencies to be installed:
|
|
16
16
|
|
|
17
17
|
### Required Package
|
|
18
|
-
- **`@mui-toolpad-extended-tuni/core`**: ^3.
|
|
18
|
+
- **`@mui-toolpad-extended-tuni/core`**: ^3.2.0 - **MUST be installed separately**
|
|
19
19
|
|
|
20
20
|
### React & UI Framework
|
|
21
21
|
- `@emotion/react`: ^11.0.0
|
|
@@ -121,7 +121,7 @@ If you're migrating from the deprecated `mui-toolpad-extended-tuni` package:
|
|
|
121
121
|
```json
|
|
122
122
|
{
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"@mui-toolpad-extended-tuni/main": "^3.
|
|
124
|
+
"@mui-toolpad-extended-tuni/main": "^3.4.0"
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
```
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { ApiConfig } from '../../core/src';
|
|
2
3
|
export interface LogoConfig {
|
|
3
4
|
sidebarFooter?: {
|
|
4
5
|
smallLogo?: string;
|
|
@@ -9,6 +10,8 @@ export interface LogoConfig {
|
|
|
9
10
|
export interface ToolpadProviderProps {
|
|
10
11
|
children?: ReactNode;
|
|
11
12
|
logos?: LogoConfig;
|
|
13
|
+
/** API endpoint configuration for microservices. Each microservice can define its own endpoints. */
|
|
14
|
+
apiConfig?: ApiConfig;
|
|
12
15
|
}
|
|
13
16
|
export declare const useLogoContext: () => LogoConfig;
|
|
14
17
|
/**
|