@dxos/plugin-explorer 0.8.1-main.ae460ac → 0.8.1-staging.391c573
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/lib/browser/{ExplorerContainer-T5CTMBIS.mjs → ExplorerContainer-3FC557MG.mjs} +2 -2
- package/dist/lib/browser/{chunk-SU3K2HL7.mjs → chunk-4OFGICWF.mjs} +3 -3
- package/dist/lib/browser/{chunk-V23FAKIX.mjs → chunk-X5CI43J6.mjs} +1 -1
- package/dist/lib/browser/{chunk-V23FAKIX.mjs.map → chunk-X5CI43J6.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-Q7OT6GXC.mjs → react-surface-TQPQNICA.mjs} +3 -3
- package/dist/lib/node/{ExplorerContainer-SO5XAXFS.cjs → ExplorerContainer-2DQFUEG7.cjs} +6 -6
- package/dist/lib/node/{chunk-6GTOKVKH.cjs → chunk-AABHIUUW.cjs} +4 -4
- package/dist/lib/node/{chunk-6GTOKVKH.cjs.map → chunk-AABHIUUW.cjs.map} +2 -2
- package/dist/lib/node/{chunk-CQYBCGC4.cjs → chunk-ZJL53DLS.cjs} +7 -7
- package/dist/lib/node/index.cjs +10 -10
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-5G52HSJW.cjs → react-surface-5KXC7YQA.cjs} +7 -7
- package/dist/lib/node-esm/{ExplorerContainer-DTUTEZLK.mjs → ExplorerContainer-RBGUFI5X.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-4IST6Y3Z.mjs → chunk-PIOV7IOO.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-Q2IQDIKJ.mjs → chunk-TI3P4L2P.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-Q2IQDIKJ.mjs.map → chunk-TI3P4L2P.mjs.map} +2 -2
- package/dist/lib/node-esm/index.mjs +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-QSQVINGP.mjs → react-surface-F7FKYPQZ.mjs} +3 -3
- package/dist/types/src/components/Chart/Chart.d.ts +2 -1
- package/dist/types/src/components/Chart/Chart.d.ts.map +1 -1
- package/dist/types/src/components/Chart/Chart.stories.d.ts +2 -1
- package/dist/types/src/components/Chart/Chart.stories.d.ts.map +1 -1
- package/dist/types/src/components/ExplorerContainer.d.ts +2 -1
- package/dist/types/src/components/ExplorerContainer.d.ts.map +1 -1
- package/dist/types/src/components/Globe/Globe.d.ts +2 -1
- package/dist/types/src/components/Globe/Globe.d.ts.map +1 -1
- package/dist/types/src/components/Globe/Globe.stories.d.ts +3 -2
- package/dist/types/src/components/Globe/Globe.stories.d.ts.map +1 -1
- package/dist/types/src/components/Graph/Graph.d.ts.map +1 -1
- package/dist/types/src/components/Tree/Tree.d.ts +2 -1
- package/dist/types/src/components/Tree/Tree.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/package.json +26 -25
- package/src/components/Graph/Graph.tsx +1 -0
- /package/dist/lib/browser/{ExplorerContainer-T5CTMBIS.mjs.map → ExplorerContainer-3FC557MG.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-SU3K2HL7.mjs.map → chunk-4OFGICWF.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-Q7OT6GXC.mjs.map → react-surface-TQPQNICA.mjs.map} +0 -0
- /package/dist/lib/node/{ExplorerContainer-SO5XAXFS.cjs.map → ExplorerContainer-2DQFUEG7.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-CQYBCGC4.cjs.map → chunk-ZJL53DLS.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-5G52HSJW.cjs.map → react-surface-5KXC7YQA.cjs.map} +0 -0
- /package/dist/lib/node-esm/{ExplorerContainer-DTUTEZLK.mjs.map → ExplorerContainer-RBGUFI5X.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-4IST6Y3Z.mjs.map → chunk-PIOV7IOO.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-QSQVINGP.mjs.map → react-surface-F7FKYPQZ.mjs.map} +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type ViewType } from '../types';
|
|
2
3
|
declare const ExplorerContainer: ({ view, role }: {
|
|
3
4
|
view: ViewType;
|
|
4
5
|
role: string;
|
|
5
|
-
}) =>
|
|
6
|
+
}) => React.JSX.Element | null;
|
|
6
7
|
export default ExplorerContainer;
|
|
7
8
|
//# sourceMappingURL=ExplorerContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExplorerContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ExplorerContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExplorerContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ExplorerContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,QAAA,MAAM,iBAAiB,mBAAoB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,6BAa1E,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DotOptions } from '@observablehq/plot';
|
|
2
2
|
import * as Plot from '@observablehq/plot';
|
|
3
|
+
import React from 'react';
|
|
3
4
|
import { type Accessor, type GeoLocation } from '../plot';
|
|
4
5
|
export type GlobeProps = {
|
|
5
6
|
items?: any[];
|
|
@@ -7,5 +8,5 @@ export type GlobeProps = {
|
|
|
7
8
|
projection?: Plot.ProjectionName;
|
|
8
9
|
options?: DotOptions;
|
|
9
10
|
};
|
|
10
|
-
export declare const Globe: ({ items, accessor, projection, options }: GlobeProps) =>
|
|
11
|
+
export declare const Globe: ({ items, accessor, projection, options }: GlobeProps) => React.JSX.Element;
|
|
11
12
|
//# sourceMappingURL=Globe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Globe.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Globe.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,OAAO,EAAE,KAAK,QAAQ,EAAiB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAOzE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC;IACjC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,6CAAqF,UAAU,sBAsChH,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
2
|
import { type Meta } from '@storybook/react';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export declare const Default: () => React.JSX.Element;
|
|
5
|
+
export declare const Extended: () => React.JSX.Element;
|
|
5
6
|
declare const meta: Meta;
|
|
6
7
|
export default meta;
|
|
7
8
|
//# sourceMappingURL=Globe.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Globe.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Globe.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAyEzC,eAAO,MAAM,OAAO,yBAAgE,CAAC;AAErF,eAAO,MAAM,QAAQ,yBAAiE,CAAC;AAEvF,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/Graph.tsx"],"names":[],"mappings":"AAMA,OAAc,EAAE,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAG1D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM/C,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/Graph.tsx"],"names":[],"mappings":"AAMA,OAAc,EAAE,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAG1D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM/C,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAqEhC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type Space } from '@dxos/client/echo';
|
|
2
3
|
export type LayoutVariant = 'tidy' | 'radial' | 'edge';
|
|
3
4
|
export type TreeLayoutSlots = {
|
|
@@ -22,5 +23,5 @@ export type TreeComponentProps<N = unknown> = {
|
|
|
22
23
|
variant?: LayoutVariant;
|
|
23
24
|
onNodeClick?: (node?: N) => void;
|
|
24
25
|
};
|
|
25
|
-
export declare const Tree: <N>({ space, selected, variant, onNodeClick }: TreeComponentProps<N>) =>
|
|
26
|
+
export declare const Tree: <N>({ space, selected, variant, onNodeClick }: TreeComponentProps<N>) => React.JSX.Element;
|
|
26
27
|
//# sourceMappingURL=Tree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAa/C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAGvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,eAIpC,CAAC;AAQF,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,OAAO,IAAI;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,IAAI,GAAI,CAAC,6CAAuD,kBAAkB,CAAC,CAAC,CAAC,sBAiDjG,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const ExplorerContainer: import("react").LazyExoticComponent<({ view, role }: {
|
|
2
2
|
view: import("../types").ViewType;
|
|
3
3
|
role: string;
|
|
4
|
-
}) => import("react
|
|
4
|
+
}) => import("react").JSX.Element | null>;
|
|
5
5
|
export * from './Chart';
|
|
6
6
|
export * from './Globe';
|
|
7
7
|
export * from './Graph';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;yCAA4C,CAAC;AAE3E,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-explorer",
|
|
3
|
-
"version": "0.8.1-
|
|
3
|
+
"version": "0.8.1-staging.391c573",
|
|
4
4
|
"description": "Braneframe data visualization plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,29 +33,30 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"3d-force-graph": "^1.76.1",
|
|
36
37
|
"@observablehq/plot": "^0.6.11",
|
|
37
38
|
"@preact/signals-core": "^1.6.0",
|
|
38
39
|
"d3": "^7.9.0",
|
|
39
|
-
"force-graph": "1.49.
|
|
40
|
+
"force-graph": "^1.49.4",
|
|
40
41
|
"lodash.defaultsdeep": "^4.6.1",
|
|
41
42
|
"lodash.get": "^4.4.2",
|
|
42
43
|
"react-resize-detector": "^11.0.1",
|
|
43
44
|
"topojson-client": "^3.1.0",
|
|
44
|
-
"@dxos/app-framework": "0.8.1-
|
|
45
|
-
"@dxos/async": "0.8.1-
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/gem-
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/log": "0.8.1-
|
|
52
|
-
"@dxos/plugin-
|
|
53
|
-
"@dxos/plugin-
|
|
54
|
-
"@dxos/plugin-search": "0.8.1-
|
|
55
|
-
"@dxos/plugin-space": "0.8.1-
|
|
56
|
-
"@dxos/react-
|
|
57
|
-
"@dxos/
|
|
58
|
-
"@dxos/
|
|
45
|
+
"@dxos/app-framework": "0.8.1-staging.391c573",
|
|
46
|
+
"@dxos/async": "0.8.1-staging.391c573",
|
|
47
|
+
"@dxos/echo-schema": "0.8.1-staging.391c573",
|
|
48
|
+
"@dxos/client": "0.8.1-staging.391c573",
|
|
49
|
+
"@dxos/gem-core": "0.8.1-staging.391c573",
|
|
50
|
+
"@dxos/live-object": "0.8.1-staging.391c573",
|
|
51
|
+
"@dxos/gem-spore": "0.8.1-staging.391c573",
|
|
52
|
+
"@dxos/log": "0.8.1-staging.391c573",
|
|
53
|
+
"@dxos/plugin-graph": "0.8.1-staging.391c573",
|
|
54
|
+
"@dxos/plugin-client": "0.8.1-staging.391c573",
|
|
55
|
+
"@dxos/plugin-search": "0.8.1-staging.391c573",
|
|
56
|
+
"@dxos/plugin-space": "0.8.1-staging.391c573",
|
|
57
|
+
"@dxos/react-ui-stack": "0.8.1-staging.391c573",
|
|
58
|
+
"@dxos/react-client": "0.8.1-staging.391c573",
|
|
59
|
+
"@dxos/util": "0.8.1-staging.391c573"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -70,19 +71,19 @@
|
|
|
70
71
|
"react": "~18.2.0",
|
|
71
72
|
"react-dom": "~18.2.0",
|
|
72
73
|
"vite": "5.4.7",
|
|
73
|
-
"@dxos/echo-generator": "0.8.1-
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/react-ui": "0.8.1-
|
|
77
|
-
"@dxos/
|
|
78
|
-
"@dxos/
|
|
74
|
+
"@dxos/echo-generator": "0.8.1-staging.391c573",
|
|
75
|
+
"@dxos/random": "0.8.1-staging.391c573",
|
|
76
|
+
"@dxos/plugin-outliner": "0.8.1-staging.391c573",
|
|
77
|
+
"@dxos/react-ui": "0.8.1-staging.391c573",
|
|
78
|
+
"@dxos/react-ui-theme": "0.8.1-staging.391c573",
|
|
79
|
+
"@dxos/storybook-utils": "0.8.1-staging.391c573"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
82
|
"@phosphor-icons/react": "^2.1.5",
|
|
82
83
|
"react": "~18.2.0",
|
|
83
84
|
"react-dom": "~18.2.0",
|
|
84
|
-
"@dxos/react-ui": "0.8.1-
|
|
85
|
-
"@dxos/react-ui-theme": "0.8.1-
|
|
85
|
+
"@dxos/react-ui": "0.8.1-staging.391c573",
|
|
86
|
+
"@dxos/react-ui-theme": "0.8.1-staging.391c573"
|
|
86
87
|
},
|
|
87
88
|
"publishConfig": {
|
|
88
89
|
"access": "public"
|
|
@@ -34,6 +34,7 @@ export const Graph: FC<GraphProps> = ({ space, match }) => {
|
|
|
34
34
|
useEffect(() => {
|
|
35
35
|
if (rootRef.current) {
|
|
36
36
|
// https://github.com/vasturiano/force-graph
|
|
37
|
+
// https://github.com/vasturiano/3d-force-graph
|
|
37
38
|
forceGraph.current = new ForceGraph(rootRef.current)
|
|
38
39
|
.nodeRelSize(6)
|
|
39
40
|
.nodeLabel((node: any) => {
|
/package/dist/lib/browser/{ExplorerContainer-T5CTMBIS.mjs.map → ExplorerContainer-3FC557MG.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/node/{ExplorerContainer-SO5XAXFS.cjs.map → ExplorerContainer-2DQFUEG7.cjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/node-esm/{ExplorerContainer-DTUTEZLK.mjs.map → ExplorerContainer-RBGUFI5X.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/lib/node-esm/{react-surface-QSQVINGP.mjs.map → react-surface-F7FKYPQZ.mjs.map}
RENAMED
|
File without changes
|