@vuu-ui/vuu-shell 4.0.1 → 4.1.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/package.json +13 -13
- package/types/app-header/AppHeader.d.ts +1 -1
- package/types/feature/Feature.d.ts +1 -1
- package/types/feature/FeatureErrorBoundary.d.ts +1 -1
- package/types/feature/Loader.d.ts +1 -1
- package/types/feature-list/FeatureList.d.ts +1 -1
- package/types/left-nav/LeftNav.d.ts +1 -1
- package/types/login/LoginPanel.d.ts +1 -1
- package/types/login/VuuLogo.d.ts +1 -1
- package/types/shell-layout-templates/context-panel/ContextPanel.d.ts +2 -2
- package/types/shell-layout-templates/side-panel/SidePanel.d.ts +1 -1
- package/types/shell.d.ts +1 -1
- package/types/theme-switch/ThemeSwitch.d.ts +1 -1
- package/types/user-settings/SettingsForm.d.ts +2 -2
- package/types/user-settings/UserSettingsPanel.d.ts +1 -1
- package/types/workspace-management/LayoutList.d.ts +1 -1
- package/types/workspace-management/LayoutTile.d.ts +1 -1
- package/types/workspace-management/SaveLayoutPanel.d.ts +1 -1
- package/types/workspace-management/WorkspaceProvider.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0
|
|
2
|
+
"version": "4.1.0",
|
|
3
3
|
"description": "VUU UI Shell",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"author": "heswell",
|
|
@@ -10,23 +10,23 @@
|
|
|
10
10
|
"type-defs": "node ../../scripts/build-type-defs.mjs"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@vuu-ui/vuu-data-types": "4.0
|
|
14
|
-
"@vuu-ui/vuu-protocol-types": "4.0
|
|
15
|
-
"@vuu-ui/vuu-table-types": "4.0
|
|
13
|
+
"@vuu-ui/vuu-data-types": "4.1.0",
|
|
14
|
+
"@vuu-ui/vuu-protocol-types": "4.1.0",
|
|
15
|
+
"@vuu-ui/vuu-table-types": "4.1.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@salt-ds/core": "1.74.0",
|
|
19
19
|
"@salt-ds/styles": "0.4.2",
|
|
20
20
|
"@salt-ds/window": "0.1.2",
|
|
21
|
-
"@vuu-ui/vuu-context-menu": "4.0
|
|
22
|
-
"@vuu-ui/vuu-data-react": "4.0
|
|
23
|
-
"@vuu-ui/vuu-data-remote": "4.0
|
|
24
|
-
"@vuu-ui/vuu-icons": "4.0
|
|
25
|
-
"@vuu-ui/vuu-layout": "4.0
|
|
26
|
-
"@vuu-ui/vuu-notifications": "4.0
|
|
27
|
-
"@vuu-ui/vuu-table": "4.0
|
|
28
|
-
"@vuu-ui/vuu-ui-controls": "4.0
|
|
29
|
-
"@vuu-ui/vuu-utils": "4.0
|
|
21
|
+
"@vuu-ui/vuu-context-menu": "4.1.0",
|
|
22
|
+
"@vuu-ui/vuu-data-react": "4.1.0",
|
|
23
|
+
"@vuu-ui/vuu-data-remote": "4.1.0",
|
|
24
|
+
"@vuu-ui/vuu-icons": "4.1.0",
|
|
25
|
+
"@vuu-ui/vuu-layout": "4.1.0",
|
|
26
|
+
"@vuu-ui/vuu-notifications": "4.1.0",
|
|
27
|
+
"@vuu-ui/vuu-table": "4.1.0",
|
|
28
|
+
"@vuu-ui/vuu-ui-controls": "4.1.0",
|
|
29
|
+
"@vuu-ui/vuu-utils": "4.1.0",
|
|
30
30
|
"html-to-image": "^1.11.11"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -3,4 +3,4 @@ import { HTMLAttributes } from "react";
|
|
|
3
3
|
export interface AppHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
themeMode?: ThemeMode;
|
|
5
5
|
}
|
|
6
|
-
export declare const AppHeader: ({ className: classNameProp, themeMode: _, ...htmlAttributes }: AppHeaderProps) => import("react
|
|
6
|
+
export declare const AppHeader: ({ className: classNameProp, themeMode: _, ...htmlAttributes }: AppHeaderProps) => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DynamicFeatureProps } from "@vuu-ui/vuu-utils";
|
|
2
2
|
import React from "react";
|
|
3
|
-
declare function RawFeature<Params extends object | undefined>({ url, css, ComponentProps: params, ...props }: DynamicFeatureProps<Params>):
|
|
3
|
+
declare function RawFeature<Params extends object | undefined>({ url, css, ComponentProps: params, ...props }: DynamicFeatureProps<Params>): React.JSX.Element;
|
|
4
4
|
/**
|
|
5
5
|
Feature is a wrapper around React Lazy Loading. It will load a component
|
|
6
6
|
from the given url. That url must resolve to a javascript bundle with a
|
|
@@ -9,5 +9,5 @@ export declare class FeatureErrorBoundary extends React.Component<FeatureErrorBo
|
|
|
9
9
|
errorMessage: string;
|
|
10
10
|
};
|
|
11
11
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
12
|
-
render(): string | number | bigint | boolean |
|
|
12
|
+
render(): string | number | bigint | boolean | React.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | React.ReactPortal | null | undefined> | null | undefined;
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Loader: () => import("react
|
|
1
|
+
export declare const Loader: () => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export type GroupedFeatureProps<P extends object | undefined = object> = Record<
|
|
|
4
4
|
export interface FeatureListProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
features: DynamicFeatureProps[] | GroupedFeatureProps | StaticFeatureDescriptor[];
|
|
6
6
|
}
|
|
7
|
-
export declare const FeatureList: ({ features, title, ...htmlAttributes }: FeatureListProps) => import("react
|
|
7
|
+
export declare const FeatureList: ({ features, title, ...htmlAttributes }: FeatureListProps) => import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface LeftNavProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
11
11
|
sizeContent?: number;
|
|
12
12
|
sizeExpanded?: number;
|
|
13
13
|
}
|
|
14
|
-
export declare const LeftNav: (props: LeftNavProps) => import("react
|
|
14
|
+
export declare const LeftNav: (props: LeftNavProps) => import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface LoginPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
3
3
|
appName?: string;
|
|
4
4
|
onSubmit: (username: string, password: string) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const LoginPanel: ({ appName, className, onSubmit, ...htmlAttributes }: LoginPanelProps) => import("react
|
|
6
|
+
export declare const LoginPanel: ({ appName, className, onSubmit, ...htmlAttributes }: LoginPanelProps) => import("react").JSX.Element;
|
package/types/login/VuuLogo.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VuuLogo: () => import("react
|
|
1
|
+
export declare const VuuLogo: () => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LayoutJSON } from "@vuu-ui/vuu-utils";
|
|
2
|
-
import { ReactElement, ReactNode } from "react";
|
|
2
|
+
import React, { ReactElement, ReactNode } from "react";
|
|
3
3
|
export interface ContextPanelProps {
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
className?: string;
|
|
@@ -10,4 +10,4 @@ export interface ContextPanelProps {
|
|
|
10
10
|
overlay?: boolean;
|
|
11
11
|
title?: ReactNode;
|
|
12
12
|
}
|
|
13
|
-
export declare const ContextPanel: ({ className: classNameProp, expanded, content: contentProp, id, onClose, overlay, title, }: ContextPanelProps) =>
|
|
13
|
+
export declare const ContextPanel: ({ className: classNameProp, expanded, content: contentProp, id, onClose, overlay, title, }: ContextPanelProps) => React.JSX.Element;
|
|
@@ -5,4 +5,4 @@ export interface SidePanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
sizeOpen?: number;
|
|
6
6
|
sizeClosed?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const SidePanel: ({ children, open, sizeClosed, sizeOpen, style: styleProp, ...htmlAttributes }: SidePanelProps) => import("react
|
|
8
|
+
export declare const SidePanel: ({ children, open, sizeClosed, sizeOpen, style: styleProp, ...htmlAttributes }: SidePanelProps) => import("react").JSX.Element;
|
package/types/shell.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export interface ShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
14
14
|
serverUrl?: string;
|
|
15
15
|
user: VuuUser;
|
|
16
16
|
}
|
|
17
|
-
export declare const Shell: ({ logout, user, userSettingsSchema, workspaceProps, ...props }: ShellProps) => import("react
|
|
17
|
+
export declare const Shell: ({ logout, user, userSettingsSchema, workspaceProps, ...props }: ShellProps) => import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ export interface ThemeSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, "
|
|
|
5
5
|
mode?: ThemeMode;
|
|
6
6
|
onChange: (mode: ThemeMode) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const ThemeSwitch: ({ className: classNameProp, defaultMode: defaultModeProp, mode: modeProp, onChange, ...htmlAttributes }: ThemeSwitchProps) => import("react
|
|
8
|
+
export declare const ThemeSwitch: ({ className: classNameProp, defaultMode: defaultModeProp, mode: modeProp, onChange, ...htmlAttributes }: ThemeSwitchProps) => import("react").JSX.Element;
|
|
@@ -37,10 +37,10 @@ export declare function FormControl({ property, changeHandler, selectHandler, in
|
|
|
37
37
|
selectHandler: DropdownProps["onSelectionChange"];
|
|
38
38
|
inputHandler: FormEventHandler;
|
|
39
39
|
currentValue: VuuRowDataItemType;
|
|
40
|
-
}): import("react
|
|
40
|
+
}): import("react").JSX.Element | null;
|
|
41
41
|
export interface SettingsFormProps extends HTMLAttributes<HTMLDivElement> {
|
|
42
42
|
settingsSchema: SettingsSchema;
|
|
43
43
|
settings: Settings;
|
|
44
44
|
onSettingChanged: (propertyName: string, value: string | number | boolean) => void;
|
|
45
45
|
}
|
|
46
|
-
export declare const SettingsForm: ({ className, settingsSchema, settings, onSettingChanged, ...htmlAttributes }: SettingsFormProps) => import("react
|
|
46
|
+
export declare const SettingsForm: ({ className, settingsSchema, settings, onSettingChanged, ...htmlAttributes }: SettingsFormProps) => import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
2
|
export type UserSettingsPanelProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
export declare const UserSettingsPanel: ({ ...htmlAttributes }: UserSettingsPanelProps) => import("react
|
|
3
|
+
export declare const UserSettingsPanel: ({ ...htmlAttributes }: UserSettingsPanelProps) => import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
export declare const LayoutList: ({ className, title, ...htmlAttributes }: HTMLAttributes<HTMLDivElement>) => import("react
|
|
2
|
+
export declare const LayoutList: ({ className, title, ...htmlAttributes }: HTMLAttributes<HTMLDivElement>) => import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface LayoutTileProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4
4
|
metadata: LayoutMetadata | SystemLayoutMetadata;
|
|
5
5
|
onLoadLayout: (layoutId?: string, layoutJSON?: LayoutJSON) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const LayoutTile: ({ metadata, onLoadLayout, ...htmlAttributes }: LayoutTileProps) => import("react
|
|
7
|
+
export declare const LayoutTile: ({ metadata, onLoadLayout, ...htmlAttributes }: LayoutTileProps) => import("react").JSX.Element;
|
|
@@ -5,5 +5,5 @@ type SaveLayoutPanelProps = {
|
|
|
5
5
|
onCancel: () => void;
|
|
6
6
|
onSave: (layoutMetadata: LayoutMetadataDto) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const SaveLayoutPanel: (props: SaveLayoutPanelProps) => import("react
|
|
8
|
+
export declare const SaveLayoutPanel: (props: SaveLayoutPanelProps) => import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -35,7 +35,7 @@ export interface WorkspaceProviderProps extends WorkspaceProps {
|
|
|
35
35
|
* If saved layout state has been returned, that will be set as current state (and rendered)
|
|
36
36
|
*
|
|
37
37
|
*/
|
|
38
|
-
export declare const WorkspaceProvider: ({ TabstripProps, children, layoutJSON, activeLayoutIndex, layoutPlaceholderJSON, showTabs, workspaceJSON: customWorkspaceJSON, }: WorkspaceProviderProps) => import("react
|
|
38
|
+
export declare const WorkspaceProvider: ({ TabstripProps, children, layoutJSON, activeLayoutIndex, layoutPlaceholderJSON, showTabs, workspaceJSON: customWorkspaceJSON, }: WorkspaceProviderProps) => import("react").JSX.Element;
|
|
39
39
|
export declare const useWorkspace: () => {
|
|
40
40
|
layoutMetadata: LayoutMetadata[];
|
|
41
41
|
layoutPlaceholderJSON?: LayoutJSON;
|