@dxos/app-graph 0.3.9-main.d5f3fd3 → 0.3.9-main.de60860
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@dxosTheme';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
+
decorators: import("@storybook/react").Decorator[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const EchoGraph: {
|
|
7
8
|
render: () => JSX.Element;
|
|
8
|
-
decorators: import("@storybook/csf").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, any>[];
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=EchoGraph.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EchoGraph.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/EchoGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"EchoGraph.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/EchoGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;;;;;AAmBpB,wBAGE;AA6MF,eAAO,MAAM,SAAS;;CAErB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/app-graph",
|
|
3
|
-
"version": "0.3.9-main.
|
|
3
|
+
"version": "0.3.9-main.de60860",
|
|
4
4
|
"description": "Constructs knowledge graphs for the purpose of building applications on top of",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"lodash.get": "^4.4.2",
|
|
39
39
|
"lodash.set": "^4.3.2",
|
|
40
40
|
"mousetrap": "^1.6.5",
|
|
41
|
-
"@dxos/async": "0.3.9-main.
|
|
42
|
-
"@dxos/debug": "0.3.9-main.
|
|
43
|
-
"@dxos/util": "0.3.9-main.
|
|
44
|
-
"@dxos/invariant": "0.3.9-main.
|
|
41
|
+
"@dxos/async": "0.3.9-main.de60860",
|
|
42
|
+
"@dxos/debug": "0.3.9-main.de60860",
|
|
43
|
+
"@dxos/util": "0.3.9-main.de60860",
|
|
44
|
+
"@dxos/invariant": "0.3.9-main.de60860"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@faker-js/faker": "^8.0.2",
|
|
@@ -54,9 +54,10 @@
|
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"react-dom": "^18.2.0",
|
|
56
56
|
"vite": "^4.3.9",
|
|
57
|
-
"@dxos/react-
|
|
58
|
-
"@dxos/react-
|
|
59
|
-
"@dxos/react-ui": "0.3.9-main.
|
|
57
|
+
"@dxos/react-ui": "0.3.9-main.de60860",
|
|
58
|
+
"@dxos/react-client": "0.3.9-main.de60860",
|
|
59
|
+
"@dxos/react-ui-theme": "0.3.9-main.de60860",
|
|
60
|
+
"@dxos/storybook-utils": "0.3.9-main.de60860"
|
|
60
61
|
},
|
|
61
62
|
"peerDependencies": {
|
|
62
63
|
"@phosphor-icons/react": "^2.0.5",
|
|
@@ -11,9 +11,10 @@ import React, { useEffect, useState } from 'react';
|
|
|
11
11
|
import { EventSubscriptions } from '@dxos/async';
|
|
12
12
|
import { Client } from '@dxos/react-client';
|
|
13
13
|
import { Expando, type Space, SpaceProxy, SpaceState } from '@dxos/react-client/echo';
|
|
14
|
-
import {
|
|
14
|
+
import { ClientRepeater, TestBuilder } from '@dxos/react-client/testing';
|
|
15
15
|
import { Button, DensityProvider, Input, Select } from '@dxos/react-ui';
|
|
16
16
|
import { getSize, mx } from '@dxos/react-ui-theme';
|
|
17
|
+
import { withTheme } from '@dxos/storybook-utils';
|
|
17
18
|
import { safeParseInt } from '@dxos/util';
|
|
18
19
|
|
|
19
20
|
import { Tree } from './Tree';
|
|
@@ -22,6 +23,7 @@ import { type Node } from '../node';
|
|
|
22
23
|
|
|
23
24
|
export default {
|
|
24
25
|
title: 'Echo Graph',
|
|
26
|
+
decorators: [withTheme],
|
|
25
27
|
};
|
|
26
28
|
|
|
27
29
|
const DEFAULT_PERIOD = 500;
|
|
@@ -228,6 +230,5 @@ const EchoGraphStory = () => {
|
|
|
228
230
|
};
|
|
229
231
|
|
|
230
232
|
export const EchoGraph = {
|
|
231
|
-
render: () => <EchoGraphStory />,
|
|
232
|
-
decorators: [ClientDecorator({ clients: [client], className: 'flex flex-col' })],
|
|
233
|
+
render: () => <ClientRepeater Component={EchoGraphStory} clients={[client]} className='flex flex-col' />,
|
|
233
234
|
};
|