@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.
Files changed (83) hide show
  1. package/cjs/index.js +5378 -446
  2. package/cjs/index.js.map +4 -4
  3. package/esm/index.js +5441 -439
  4. package/esm/index.js.map +4 -4
  5. package/index.css +843 -96
  6. package/index.css.map +3 -3
  7. package/package.json +7 -7
  8. package/types/vuu-data-react/src/hooks/index.d.ts +6 -0
  9. package/types/vuu-data-react/src/hooks/useDataSource.d.ts +24 -0
  10. package/types/vuu-data-react/src/hooks/useServerConnectionQuality.d.ts +1 -0
  11. package/types/vuu-data-react/src/hooks/useServerConnectionStatus.d.ts +1 -0
  12. package/types/vuu-data-react/src/hooks/useTypeaheadSuggestions.d.ts +4 -0
  13. package/types/vuu-data-react/src/hooks/useVuuMenuActions.d.ts +57 -0
  14. package/types/vuu-data-react/src/hooks/useVuuTables.d.ts +2 -0
  15. package/types/vuu-data-react/src/index.d.ts +1 -0
  16. package/types/vuu-popups/src/dialog/Dialog.d.ts +7 -0
  17. package/types/vuu-popups/src/dialog/index.d.ts +1 -0
  18. package/types/vuu-popups/src/index.d.ts +5 -0
  19. package/types/vuu-popups/src/menu/ContextMenu.d.ts +15 -0
  20. package/types/vuu-popups/src/menu/MenuList.d.ts +43 -0
  21. package/types/vuu-popups/src/menu/context-menu-provider.d.ts +10 -0
  22. package/types/vuu-popups/src/menu/index.d.ts +4 -0
  23. package/types/vuu-popups/src/menu/key-code.d.ts +12 -0
  24. package/types/vuu-popups/src/menu/list-dom-utils.d.ts +4 -0
  25. package/types/vuu-popups/src/menu/use-cascade.d.ts +25 -0
  26. package/types/vuu-popups/src/menu/use-items-with-ids-next.d.ts +13 -0
  27. package/types/vuu-popups/src/menu/use-keyboard-navigation.d.ts +26 -0
  28. package/types/vuu-popups/src/menu/useContextMenu.d.ts +13 -0
  29. package/types/vuu-popups/src/menu/utils.d.ts +2 -0
  30. package/types/vuu-popups/src/popup/index.d.ts +1 -0
  31. package/types/vuu-popups/src/popup/popup-service.d.ts +55 -0
  32. package/types/vuu-popups/src/popup-menu/PopupMenu.d.ts +14 -0
  33. package/types/vuu-popups/src/popup-menu/index.d.ts +1 -0
  34. package/types/vuu-popups/src/portal/Portal.d.ts +8 -0
  35. package/types/vuu-popups/src/portal/index.d.ts +3 -0
  36. package/types/vuu-popups/src/portal/portal-utils.d.ts +1 -0
  37. package/types/vuu-popups/src/portal/render-portal.d.ts +10 -0
  38. package/types/{ShellContextProvider.d.ts → vuu-shell/src/ShellContextProvider.d.ts} +2 -2
  39. package/types/{index.d.ts → vuu-shell/src/index.d.ts} +3 -0
  40. package/types/vuu-shell/src/layout-management/SaveLayoutPanel.d.ts +3 -0
  41. package/types/vuu-shell/src/layout-management/index.d.ts +1 -0
  42. package/types/{left-nav → vuu-shell/src/left-nav}/LeftNav.d.ts +4 -1
  43. package/types/{shell-layouts → vuu-shell/src/shell-layouts}/index.d.ts +1 -0
  44. package/types/vuu-shell/src/shell-layouts/useFullHeightLeftPanel.d.ts +3 -0
  45. package/types/vuu-shell/src/shell-layouts/useInlayLeftPanel.d.ts +3 -0
  46. package/types/vuu-shell/src/shell-layouts/useShellLayout.d.ts +9 -0
  47. package/types/shell-layouts/useFullHeightLeftPanel.d.ts +0 -4
  48. package/types/shell-layouts/useInlayLeftPanel.d.ts +0 -5
  49. package/types/shell-layouts/useShellLayout.d.ts +0 -7
  50. package/types/{app-header → vuu-shell/src/app-header}/AppHeader.d.ts +0 -0
  51. package/types/{app-header → vuu-shell/src/app-header}/index.d.ts +0 -0
  52. package/types/{connection-status → vuu-shell/src/connection-status}/ConnectionStatusIcon.d.ts +0 -0
  53. package/types/{connection-status → vuu-shell/src/connection-status}/index.d.ts +0 -0
  54. package/types/{density-switch → vuu-shell/src/density-switch}/DensitySwitch.d.ts +0 -0
  55. package/types/{density-switch → vuu-shell/src/density-switch}/index.d.ts +0 -0
  56. package/types/{feature → vuu-shell/src/feature}/ErrorBoundary.d.ts +0 -0
  57. package/types/{feature → vuu-shell/src/feature}/Feature.d.ts +0 -0
  58. package/types/{feature → vuu-shell/src/feature}/Loader.d.ts +0 -0
  59. package/types/{feature → vuu-shell/src/feature}/css-module-loader.d.ts +0 -0
  60. package/types/{feature → vuu-shell/src/feature}/index.d.ts +0 -0
  61. package/types/{get-layout-history.d.ts → vuu-shell/src/get-layout-history.d.ts} +0 -0
  62. package/types/{layout-config → vuu-shell/src/layout-config}/index.d.ts +0 -0
  63. package/types/{layout-config → vuu-shell/src/layout-config}/local-config.d.ts +0 -0
  64. package/types/{layout-config → vuu-shell/src/layout-config}/remote-config.d.ts +0 -0
  65. package/types/{layout-config → vuu-shell/src/layout-config}/use-layout-config.d.ts +0 -0
  66. package/types/{left-nav → vuu-shell/src/left-nav}/index.d.ts +0 -0
  67. package/types/{login → vuu-shell/src/login}/LoginPanel.d.ts +0 -0
  68. package/types/{login → vuu-shell/src/login}/index.d.ts +0 -0
  69. package/types/{login → vuu-shell/src/login}/login-utils.d.ts +0 -0
  70. package/types/{session-editing-form → vuu-shell/src/session-editing-form}/SessionEditingForm.d.ts +0 -0
  71. package/types/{session-editing-form → vuu-shell/src/session-editing-form}/index.d.ts +0 -0
  72. package/types/{shell-layouts → vuu-shell/src/shell-layouts}/context-panel/ContextPanel.d.ts +0 -0
  73. package/types/{shell-layouts → vuu-shell/src/shell-layouts}/context-panel/index.d.ts +0 -0
  74. package/types/{shell.d.ts → vuu-shell/src/shell.d.ts} +0 -0
  75. package/types/{shellTypes.d.ts → vuu-shell/src/shellTypes.d.ts} +0 -0
  76. package/types/{theme-provider → vuu-shell/src/theme-provider}/ThemeProvider.d.ts +0 -0
  77. package/types/{theme-provider → vuu-shell/src/theme-provider}/index.d.ts +0 -0
  78. package/types/{theme-switch → vuu-shell/src/theme-switch}/ThemeSwitch.d.ts +1 -1
  79. /package/types/{theme-switch → vuu-shell/src/theme-switch}/index.d.ts +0 -0
  80. /package/types/{use-force-render.d.ts → vuu-shell/src/use-force-render.d.ts} +0 -0
  81. /package/types/{user-profile → vuu-shell/src/user-profile}/UserPanel.d.ts +0 -0
  82. /package/types/{user-profile → vuu-shell/src/user-profile}/UserProfile.d.ts +0 -0
  83. /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?: (response?: MenuRpcResponse) => void;
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,3 @@
1
+ /// <reference types="react" />
2
+ import "./SaveLayoutPanel.css";
3
+ export declare const SaveLayoutPanel: () => JSX.Element;
@@ -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 {};
@@ -1 +1,2 @@
1
+ export * from "./context-panel";
1
2
  export * from "./useShellLayout";
@@ -0,0 +1,3 @@
1
+ import { ReactElement } from "react";
2
+ import { ShellLayoutProps } from "./useShellLayout";
3
+ export declare const useFullHeightLeftPanel: ({ appHeader, leftSidePanel, }: ShellLayoutProps) => ReactElement;
@@ -0,0 +1,3 @@
1
+ import { ReactElement } from "react";
2
+ import { ShellLayoutProps } from "./useShellLayout";
3
+ export declare const useInlayLeftPanel: ({ appHeader, leftSidePanel, }: ShellLayoutProps) => ReactElement;
@@ -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,4 +0,0 @@
1
- import { ReactElement } from "react";
2
- export declare const useFullHeightLeftPanel: ({ appHeader, }: {
3
- appHeader: ReactElement;
4
- }) => ReactElement;
@@ -1,5 +0,0 @@
1
- import { ReactElement } from "react";
2
- export declare const useInlayLeftPanel: ({ appHeader, leftSidePanel, }: {
3
- appHeader: ReactElement;
4
- leftSidePanel?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
5
- }) => ReactElement;
@@ -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
@@ -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;