@fluxo-dev/shell 0.0.46 → 0.0.48

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/package.json CHANGED
@@ -1,23 +1,29 @@
1
1
  {
2
2
  "name": "@fluxo-dev/shell",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "peerDependencies": {
5
5
  "react": "^18.3.1",
6
6
  "@mantine/core": "^7.12.2",
7
7
  "react-router-dom": "^6.11.2",
8
8
  "react-redux": "^8.0.5",
9
9
  "@reduxjs/toolkit": "^1.9.1",
10
- "@fluxo-dev/api-client-base": "^0.0.46",
11
- "@fluxo-dev/shell-bi": "^0.0.46",
12
- "@fluxo-dev/shell-hub": "^0.0.46",
13
- "@fluxo-dev/shell-korebi": "^0.0.46",
14
- "@fluxo-dev/shell-mfe": "^0.0.46",
15
- "@fluxo-dev/shell-printing": "^0.0.46",
16
- "@fluxo-dev/shell-reporting": "^0.0.46",
17
- "@fluxo-dev/shell-workflow": "^0.0.46",
18
- "@fluxo-dev/state": "^0.0.46",
19
- "@fluxo-dev/ui-components": "^0.0.46",
20
- "@scalar/api-reference-react": "^0.3.142"
10
+ "@fluxo-dev/api-client-base": "^0.0.48",
11
+ "@fluxo-dev/shell-bi": "^0.0.48",
12
+ "@fluxo-dev/shell-hub": "^0.0.48",
13
+ "@fluxo-dev/shell-korebi": "^0.0.48",
14
+ "@fluxo-dev/shell-mfe": "^0.0.48",
15
+ "@fluxo-dev/shell-printing": "^0.0.48",
16
+ "@fluxo-dev/shell-reporting": "^0.0.48",
17
+ "@fluxo-dev/shell-workflow": "^0.0.48",
18
+ "@fluxo-dev/shell-ravify": "^0.0.48",
19
+ "@fluxo-dev/state": "^0.0.48",
20
+ "@fluxo-dev/ui-components": "^0.0.48",
21
+ "@scalar/api-reference-react": "^0.3.142",
22
+ "@devexpress/analytics-core": "23.1.3",
23
+ "devexpress-dashboard": "23.1.3",
24
+ "devexpress-dashboard-react": "23.1.3",
25
+ "devextreme": "23.1.3",
26
+ "devextreme-react": "23.1.3"
21
27
  },
22
28
  "module": "./index.esm.js",
23
29
  "type": "module",
package/src/lib/app.d.ts CHANGED
@@ -9,6 +9,7 @@ export type ShellFrontend = {
9
9
  dashboardComponent: React.ReactNode | React.ReactElement;
10
10
  modules: EmbeddedModule[];
11
11
  renderWhen?: (configuration: InitialConfiguration) => boolean;
12
+ icon?: React.ReactNode;
12
13
  };
13
14
  export declare enum ShellUINavigation {
14
15
  Sidebar = 1,
@@ -3,6 +3,5 @@ export interface MainRoutesProps {
3
3
  pluginEndpoint: string;
4
4
  frontends: ShellFrontend[];
5
5
  isAdminFrontend: boolean;
6
- hasAdminAccess: boolean;
7
6
  }
8
7
  export declare function MainRoutes(props: MainRoutesProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,9 @@
1
+ import React from "react";
1
2
  export interface FrontendSwitcherProps {
3
+ availableFrontends: {
4
+ id: string;
5
+ name: string;
6
+ icon?: React.ReactNode;
7
+ }[];
2
8
  }
3
9
  export declare function FrontendSwitcher(props: FrontendSwitcherProps): import("react/jsx-runtime").JSX.Element;