@vuu-ui/vuu-shell 0.8.5-debug → 0.8.6-debug
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/cjs/index.js +5378 -446
- package/cjs/index.js.map +4 -4
- package/esm/index.js +5441 -439
- package/esm/index.js.map +4 -4
- package/index.css +843 -96
- package/index.css.map +3 -3
- package/package.json +7 -7
- package/types/vuu-data-react/src/hooks/index.d.ts +6 -0
- package/types/vuu-data-react/src/hooks/useDataSource.d.ts +24 -0
- package/types/vuu-data-react/src/hooks/useServerConnectionQuality.d.ts +1 -0
- package/types/vuu-data-react/src/hooks/useServerConnectionStatus.d.ts +1 -0
- package/types/vuu-data-react/src/hooks/useTypeaheadSuggestions.d.ts +4 -0
- package/types/vuu-data-react/src/hooks/useVuuMenuActions.d.ts +57 -0
- package/types/vuu-data-react/src/hooks/useVuuTables.d.ts +2 -0
- package/types/vuu-data-react/src/index.d.ts +1 -0
- package/types/vuu-popups/src/dialog/Dialog.d.ts +7 -0
- package/types/vuu-popups/src/dialog/index.d.ts +1 -0
- package/types/vuu-popups/src/index.d.ts +5 -0
- package/types/vuu-popups/src/menu/ContextMenu.d.ts +15 -0
- package/types/vuu-popups/src/menu/MenuList.d.ts +43 -0
- package/types/vuu-popups/src/menu/context-menu-provider.d.ts +10 -0
- package/types/vuu-popups/src/menu/index.d.ts +4 -0
- package/types/vuu-popups/src/menu/key-code.d.ts +12 -0
- package/types/vuu-popups/src/menu/list-dom-utils.d.ts +4 -0
- package/types/vuu-popups/src/menu/use-cascade.d.ts +25 -0
- package/types/vuu-popups/src/menu/use-items-with-ids-next.d.ts +13 -0
- package/types/vuu-popups/src/menu/use-keyboard-navigation.d.ts +26 -0
- package/types/vuu-popups/src/menu/useContextMenu.d.ts +13 -0
- package/types/vuu-popups/src/menu/utils.d.ts +2 -0
- package/types/vuu-popups/src/popup/index.d.ts +1 -0
- package/types/vuu-popups/src/popup/popup-service.d.ts +55 -0
- package/types/vuu-popups/src/popup-menu/PopupMenu.d.ts +14 -0
- package/types/vuu-popups/src/popup-menu/index.d.ts +1 -0
- package/types/vuu-popups/src/portal/Portal.d.ts +8 -0
- package/types/vuu-popups/src/portal/index.d.ts +3 -0
- package/types/vuu-popups/src/portal/portal-utils.d.ts +1 -0
- package/types/vuu-popups/src/portal/render-portal.d.ts +10 -0
- package/types/{ShellContextProvider.d.ts → vuu-shell/src/ShellContextProvider.d.ts} +2 -2
- package/types/{index.d.ts → vuu-shell/src/index.d.ts} +3 -0
- package/types/vuu-shell/src/layout-management/SaveLayoutPanel.d.ts +3 -0
- package/types/vuu-shell/src/layout-management/index.d.ts +1 -0
- package/types/{left-nav → vuu-shell/src/left-nav}/LeftNav.d.ts +4 -1
- package/types/{shell-layouts → vuu-shell/src/shell-layouts}/index.d.ts +1 -0
- package/types/vuu-shell/src/shell-layouts/useFullHeightLeftPanel.d.ts +3 -0
- package/types/vuu-shell/src/shell-layouts/useInlayLeftPanel.d.ts +3 -0
- package/types/vuu-shell/src/shell-layouts/useShellLayout.d.ts +9 -0
- package/types/shell-layouts/useFullHeightLeftPanel.d.ts +0 -4
- package/types/shell-layouts/useInlayLeftPanel.d.ts +0 -5
- package/types/shell-layouts/useShellLayout.d.ts +0 -7
- package/types/{app-header → vuu-shell/src/app-header}/AppHeader.d.ts +0 -0
- package/types/{app-header → vuu-shell/src/app-header}/index.d.ts +0 -0
- package/types/{connection-status → vuu-shell/src/connection-status}/ConnectionStatusIcon.d.ts +0 -0
- package/types/{connection-status → vuu-shell/src/connection-status}/index.d.ts +0 -0
- package/types/{density-switch → vuu-shell/src/density-switch}/DensitySwitch.d.ts +0 -0
- package/types/{density-switch → vuu-shell/src/density-switch}/index.d.ts +0 -0
- package/types/{feature → vuu-shell/src/feature}/ErrorBoundary.d.ts +0 -0
- package/types/{feature → vuu-shell/src/feature}/Feature.d.ts +0 -0
- package/types/{feature → vuu-shell/src/feature}/Loader.d.ts +0 -0
- package/types/{feature → vuu-shell/src/feature}/css-module-loader.d.ts +0 -0
- package/types/{feature → vuu-shell/src/feature}/index.d.ts +0 -0
- package/types/{get-layout-history.d.ts → vuu-shell/src/get-layout-history.d.ts} +0 -0
- package/types/{layout-config → vuu-shell/src/layout-config}/index.d.ts +0 -0
- package/types/{layout-config → vuu-shell/src/layout-config}/local-config.d.ts +0 -0
- package/types/{layout-config → vuu-shell/src/layout-config}/remote-config.d.ts +0 -0
- package/types/{layout-config → vuu-shell/src/layout-config}/use-layout-config.d.ts +0 -0
- package/types/{left-nav → vuu-shell/src/left-nav}/index.d.ts +0 -0
- package/types/{login → vuu-shell/src/login}/LoginPanel.d.ts +0 -0
- package/types/{login → vuu-shell/src/login}/index.d.ts +0 -0
- package/types/{login → vuu-shell/src/login}/login-utils.d.ts +0 -0
- package/types/{session-editing-form → vuu-shell/src/session-editing-form}/SessionEditingForm.d.ts +0 -0
- package/types/{session-editing-form → vuu-shell/src/session-editing-form}/index.d.ts +0 -0
- package/types/{shell-layouts → vuu-shell/src/shell-layouts}/context-panel/ContextPanel.d.ts +0 -0
- package/types/{shell-layouts → vuu-shell/src/shell-layouts}/context-panel/index.d.ts +0 -0
- package/types/{shell.d.ts → vuu-shell/src/shell.d.ts} +0 -0
- package/types/{shellTypes.d.ts → vuu-shell/src/shellTypes.d.ts} +0 -0
- package/types/{theme-provider → vuu-shell/src/theme-provider}/ThemeProvider.d.ts +0 -0
- package/types/{theme-provider → vuu-shell/src/theme-provider}/index.d.ts +0 -0
- package/types/{theme-switch → vuu-shell/src/theme-switch}/ThemeSwitch.d.ts +1 -1
- /package/types/{theme-switch → vuu-shell/src/theme-switch}/index.d.ts +0 -0
- /package/types/{use-force-render.d.ts → vuu-shell/src/use-force-render.d.ts} +0 -0
- /package/types/{user-profile → vuu-shell/src/user-profile}/UserPanel.d.ts +0 -0
- /package/types/{user-profile → vuu-shell/src/user-profile}/UserProfile.d.ts +0 -0
- /package/types/{user-profile → vuu-shell/src/user-profile}/index.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MenuRpcResponse } from "@vuu-ui/vuu-data";
|
|
2
1
|
import { ColumnDescriptor } from "@vuu-ui/vuu-datagrid-types";
|
|
2
|
+
import { RpcResponseHandler } from "packages/vuu-data-react/src";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
4
|
export interface ShellContextProps {
|
|
5
5
|
getDefaultColumnConfig?: (tableName: string, columnName: string) => Partial<ColumnDescriptor>;
|
|
6
|
-
handleRpcResponse?:
|
|
6
|
+
handleRpcResponse?: RpcResponseHandler;
|
|
7
7
|
}
|
|
8
8
|
export interface ShellProviderProps {
|
|
9
9
|
children: ReactNode;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./connection-status";
|
|
2
2
|
export * from "./density-switch";
|
|
3
3
|
export * from "./feature";
|
|
4
|
+
export * from "./layout-management";
|
|
5
|
+
export * from "./left-nav";
|
|
4
6
|
export * from "./login";
|
|
5
7
|
export * from "./session-editing-form";
|
|
6
8
|
export * from "./shell";
|
|
9
|
+
export * from "./shell-layouts";
|
|
7
10
|
export * from "./shellTypes";
|
|
8
11
|
export * from "./ShellContextProvider";
|
|
9
12
|
export * from "./theme-provider";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SaveLayoutPanel";
|
|
@@ -4,6 +4,9 @@ interface LeftNavProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
"data-path"?: string;
|
|
5
5
|
onResize?: (size: number) => void;
|
|
6
6
|
open?: boolean;
|
|
7
|
+
sizeCollapsed?: number;
|
|
8
|
+
sizeContent?: number;
|
|
9
|
+
sizeExpanded?: number;
|
|
7
10
|
}
|
|
8
|
-
export declare const LeftNav: ({ "data-path": path, onResize, open, ...htmlAttributes }: LeftNavProps) => JSX.Element;
|
|
11
|
+
export declare const LeftNav: ({ "data-path": path, onResize, open, sizeCollapsed, sizeContent, sizeExpanded, style: styleProp, ...htmlAttributes }: LeftNavProps) => JSX.Element;
|
|
9
12
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
2
|
+
export type ShellLayoutType = "full-height" | "inlay";
|
|
3
|
+
export interface ShellLayoutProps {
|
|
4
|
+
appHeader: ReactElement;
|
|
5
|
+
leftSidePanel?: ReactElement;
|
|
6
|
+
}
|
|
7
|
+
export declare const useShellLayout: ({ leftSidePanelLayout, ...props }: ShellLayoutProps & {
|
|
8
|
+
leftSidePanelLayout?: "full-height" | "inlay" | undefined;
|
|
9
|
+
}) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
2
|
-
export interface ShellLayoutProps {
|
|
3
|
-
appHeader: ReactElement;
|
|
4
|
-
leftSidePanel?: ReactElement;
|
|
5
|
-
leftSidePanelLayout?: "full-height" | "inlay";
|
|
6
|
-
}
|
|
7
|
-
export declare const useShellLayout: ({ leftSidePanelLayout, ...props }: ShellLayoutProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
File without changes
|
|
File without changes
|
package/types/{connection-status → vuu-shell/src/connection-status}/ConnectionStatusIcon.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/types/{session-editing-form → vuu-shell/src/session-editing-form}/SessionEditingForm.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
import "./ThemeSwitch.css";
|
|
3
2
|
import { ThemeMode } from "../theme-provider";
|
|
3
|
+
import "./ThemeSwitch.css";
|
|
4
4
|
export interface ThemeSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
5
5
|
defaultMode?: ThemeMode;
|
|
6
6
|
mode?: ThemeMode;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|