@vertexvis/viewer-toolkit-react 0.0.5-canary.3 → 0.0.5-canary.5
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/dist/bundle.cjs.js +2 -2
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +3 -3
- package/dist/bundle.esm.js.map +1 -1
- package/dist/components/sidebar/viewer-right-sidebar/viewer-right-open-panel.d.ts +14 -1
- package/dist/components/sidebar/viewer-right-sidebar/viewer-right-panel-header.d.ts +4 -1
- package/dist/components/sidebar/viewer-right-sidebar/viewer-right-sidebar.d.ts +17 -1
- package/dist/state/panel/panel.d.ts +3 -3
- package/dist/state/scene-tree/search/actions.d.ts +2 -2
- package/dist/util/react/children.d.ts +4 -0
- package/package.json +3 -3
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface VertexViewerRightOpenedPanelProps {
|
|
3
|
+
readonly children?: Array<React.ReactElement<CustomPanelContentProps>> | React.ReactElement<CustomPanelContentProps>;
|
|
4
|
+
}
|
|
5
|
+
export declare function VertexViewerRightOpenedPanel({ children, }: VertexViewerRightOpenedPanelProps): JSX.Element;
|
|
6
|
+
export declare namespace VertexViewerRightOpenedPanel {
|
|
7
|
+
var CustomPanelContent: ({ panelName, children, }: CustomPanelContentProps) => JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
interface CustomPanelContentProps {
|
|
10
|
+
readonly panelName: string;
|
|
11
|
+
readonly panelTitle: string;
|
|
12
|
+
readonly children: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export declare const APPEARANCE_HEADING = "Appearance";
|
|
2
2
|
export declare const SETTINGS_HEADING = "Settings";
|
|
3
3
|
export declare const TRANSFORMS_HEADING = "Transforms";
|
|
4
|
-
export
|
|
4
|
+
export interface ViewerRightPanelHeaderProps {
|
|
5
|
+
readonly additionalHeaderMap?: Record<string, string>;
|
|
6
|
+
}
|
|
7
|
+
export declare const ViewerRightPanelHeader: ({ additionalHeaderMap, }: ViewerRightPanelHeaderProps) => JSX.Element;
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { IconName } from '@vertexvis/ui/dist/types/types/icon';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Props as SidebarIconProps } from '../sidebar-icon';
|
|
4
|
+
export interface VertexViewerRightSidebarProps {
|
|
5
|
+
readonly children?: Array<React.ReactElement<CustomPanelIconProps>> | React.ReactElement<CustomPanelIconProps>;
|
|
6
|
+
}
|
|
7
|
+
export declare function VertexViewerRightSidebar({ children, }: VertexViewerRightSidebarProps): JSX.Element;
|
|
8
|
+
export declare namespace VertexViewerRightSidebar {
|
|
9
|
+
var CustomPanelIcon: (props: CustomPanelIconProps) => JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
type CustomPanelIconProps = Omit<SidebarIconProps, 'name' | 'active' | 'content' | 'iconName' | 'onSelect' | 'onDeselect'> & {
|
|
12
|
+
panelName: string;
|
|
13
|
+
tooltipContent: string;
|
|
14
|
+
iconName?: IconName;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type PrimaryPanel = 'appearance' | 'settings' | 'transforms';
|
|
2
|
-
export declare const openedPanelActivePrimaryLeft: import("recoil").RecoilState<
|
|
3
|
-
export declare const openedPanelActivePrimaryRight: import("recoil").RecoilState<
|
|
1
|
+
export type PrimaryPanel = 'appearance' | 'settings' | 'transforms' | string;
|
|
2
|
+
export declare const openedPanelActivePrimaryLeft: import("recoil").RecoilState<string | undefined>;
|
|
3
|
+
export declare const openedPanelActivePrimaryRight: import("recoil").RecoilState<string | undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface SceneTreeSearchActions {
|
|
2
2
|
setMetadataSearchKeys(metadataSearchKeys: string[]): void;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
updateMetadataSearchAfterSearchKeysChange(columnName: string, enableColumn: boolean, visibleColumns: string[], searchTerm?: string): Promise<void>;
|
|
4
|
+
updateMetadataSearchAfterColumnVisibilityChange(previousColumns: string[], updatedColumns: string[], searchTerm?: string): Promise<void>;
|
|
5
5
|
setMetadataSearchExactMatch(exactMatch: boolean): void;
|
|
6
6
|
}
|
|
7
7
|
export declare const useSceneTreeSearchActions: () => SceneTreeSearchActions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function childrenAsArray<T>(children: T): T[];
|
|
3
|
+
export declare function filterChildElements<P>(children: React.ReactNode, element: (props: P) => React.ReactElement<P>): Array<React.ReactElement<P>>;
|
|
4
|
+
export declare function findChildElement<P>(children: React.ReactNode, element: (props: P) => React.ReactElement<P>): React.ReactElement<P> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertexvis/viewer-toolkit-react",
|
|
3
|
-
"version": "0.0.5-canary.
|
|
3
|
+
"version": "0.0.5-canary.5",
|
|
4
4
|
"description": "Components for common Vertex viewer usage patterns.",
|
|
5
5
|
"author": "Vertex Developers <support@vertexvis.com> (https://developer.vertexvis.com)",
|
|
6
6
|
"repository": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@vertexvis/tailwind-config": "^0.1.2",
|
|
57
57
|
"@vertexvis/ui-react": "^0.1.2",
|
|
58
58
|
"@vertexvis/viewer-react": "^0.23.6-canary.8",
|
|
59
|
-
"@vertexwebtoolkit/build": "^0.0.5-canary.
|
|
59
|
+
"@vertexwebtoolkit/build": "^0.0.5-canary.5",
|
|
60
60
|
"autoprefixer": "^10.4.20",
|
|
61
61
|
"chance": "^1.1.13",
|
|
62
62
|
"eslint": "8.49.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"react-dom": ">=16.3.0 <19.0.0",
|
|
88
88
|
"tslib": ">=2.1.0"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "a90bb6497cea7c56c12d1ccc69210c0690003c8c"
|
|
91
91
|
}
|