@xyo-network/react-node-renderer 5.2.3 → 5.2.4
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/knip.config.ts +15 -0
- package/package.json +29 -25
- package/src/components/module/CardParser.stories.tsx +1 -1
- package/src/components/module/graph/GraphFlexBox.stories.tsx +3 -2
- package/src/components/relational/graph/Graph.stories.tsx +3 -2
- package/src/components/relational/graph/GraphCola.stories.tsx +3 -2
- package/src/components/relational/graph/GraphCoseBilkent.stories.tsx +3 -2
- package/src/components/relational/graph/GraphDagre.stories.tsx +3 -2
- package/src/components/relational/graph/GraphEuler.stories.tsx +3 -2
- package/src/components/relational/graph/GraphEvents.stories.tsx +2 -2
package/knip.config.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-node-renderer",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.4",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -41,23 +41,24 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@xylabs/exists": "^4.8.7",
|
|
43
43
|
"@xylabs/hex": "^4.8.7",
|
|
44
|
-
"@xylabs/react-async-effect": "^6.2.
|
|
45
|
-
"@xylabs/react-flexbox": "^6.2.
|
|
46
|
-
"@xylabs/react-identicon": "^6.2.
|
|
47
|
-
"@xylabs/react-promise": "^6.2.
|
|
48
|
-
"@
|
|
49
|
-
"@xyo-network/
|
|
50
|
-
"@xyo-network/
|
|
51
|
-
"@xyo-network/
|
|
52
|
-
"@xyo-network/
|
|
53
|
-
"@xyo-network/module-
|
|
54
|
-
"@xyo-network/
|
|
55
|
-
"@xyo-network/
|
|
56
|
-
"@xyo-network/react-
|
|
57
|
-
"@xyo-network/react-
|
|
58
|
-
"@xyo-network/react-
|
|
59
|
-
"@xyo-network/
|
|
60
|
-
"@xyo-network/
|
|
44
|
+
"@xylabs/react-async-effect": "^6.2.11",
|
|
45
|
+
"@xylabs/react-flexbox": "^6.2.11",
|
|
46
|
+
"@xylabs/react-identicon": "^6.2.11",
|
|
47
|
+
"@xylabs/react-promise": "^6.2.11",
|
|
48
|
+
"@xylabs/react-theme": "^6.2.11",
|
|
49
|
+
"@xyo-network/account-model": "^3.14.12",
|
|
50
|
+
"@xyo-network/archivist-model": "^3.14.12",
|
|
51
|
+
"@xyo-network/bridge-model": "^3.14.12",
|
|
52
|
+
"@xyo-network/diviner-model": "^3.14.12",
|
|
53
|
+
"@xyo-network/module-events": "^3.14.12",
|
|
54
|
+
"@xyo-network/module-model": "^3.14.12",
|
|
55
|
+
"@xyo-network/node-model": "^3.14.12",
|
|
56
|
+
"@xyo-network/react-archivist": "^5.2.4",
|
|
57
|
+
"@xyo-network/react-module": "^5.2.4",
|
|
58
|
+
"@xyo-network/react-node": "^5.2.4",
|
|
59
|
+
"@xyo-network/react-shared": "^5.2.4",
|
|
60
|
+
"@xyo-network/sentinel-model": "^3.14.12",
|
|
61
|
+
"@xyo-network/witness-model": "^3.14.12",
|
|
61
62
|
"cytoscape": "^3.31.2",
|
|
62
63
|
"cytoscape-cola": "^2.5.1",
|
|
63
64
|
"cytoscape-cose-bilkent": "^4.1.0",
|
|
@@ -75,14 +76,17 @@
|
|
|
75
76
|
"@types/react-dom": "^19.1.2",
|
|
76
77
|
"@xylabs/ts-scripts-yarn3": "^6.3.5",
|
|
77
78
|
"@xylabs/tsconfig-react": "^6.3.5",
|
|
78
|
-
"@xyo-network/archivist": "^3.
|
|
79
|
-
"@xyo-network/
|
|
80
|
-
"@xyo-network/bridge-
|
|
79
|
+
"@xyo-network/archivist": "^3.14.12",
|
|
80
|
+
"@xyo-network/archivist-memory": "^3.14.12",
|
|
81
|
+
"@xyo-network/bridge-http": "^3.14.12",
|
|
82
|
+
"@xyo-network/bridge-model": "^3.14.12",
|
|
81
83
|
"@xyo-network/id-plugin": "^3.5.3",
|
|
82
|
-
"@xyo-network/node-memory": "^3.
|
|
83
|
-
"@xyo-network/react-storybook": "^5.2.
|
|
84
|
-
"@xyo-network/react-wallet": "^5.2.
|
|
85
|
-
"@xyo-network/sentinel": "^3.
|
|
84
|
+
"@xyo-network/node-memory": "^3.14.12",
|
|
85
|
+
"@xyo-network/react-storybook": "^5.2.4",
|
|
86
|
+
"@xyo-network/react-wallet": "^5.2.4",
|
|
87
|
+
"@xyo-network/sentinel": "^3.14.12",
|
|
88
|
+
"@xyo-network/sentinel-memory": "^3.14.12",
|
|
89
|
+
"knip": "^5.50.5",
|
|
86
90
|
"react": "^19.1.0",
|
|
87
91
|
"react-dom": "^19.1.0",
|
|
88
92
|
"storybook": "^8.6.12",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
2
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
3
3
|
import { IdWitness, IdWitnessConfigSchema } from '@xyo-network/id-plugin'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
|
|
@@ -3,14 +3,15 @@ import type {
|
|
|
3
3
|
Decorator, Meta, StoryFn,
|
|
4
4
|
} from '@storybook/react'
|
|
5
5
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
6
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
6
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
7
7
|
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
8
8
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
9
9
|
import { NodeConfigSchema } from '@xyo-network/node-model'
|
|
10
10
|
import { NodeProvider, useWeakProvidedNode } from '@xyo-network/react-node'
|
|
11
11
|
import { DefaultSeedPhrase } from '@xyo-network/react-storybook'
|
|
12
12
|
import { useWallet, WalletProvider } from '@xyo-network/react-wallet'
|
|
13
|
-
import {
|
|
13
|
+
import { SentinelConfigSchema } from '@xyo-network/sentinel'
|
|
14
|
+
import { MemorySentinel } from '@xyo-network/sentinel-memory'
|
|
14
15
|
import React, { useState } from 'react'
|
|
15
16
|
|
|
16
17
|
import { ModuleGraphFlexBoxWithProvider } from './GraphFlexBox.tsx'
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
Decorator, Meta, StoryFn,
|
|
4
4
|
} from '@storybook/react'
|
|
5
5
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
6
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
6
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
7
7
|
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
8
8
|
import { IdWitness, IdWitnessConfigSchema } from '@xyo-network/id-plugin'
|
|
9
9
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
} from '@xyo-network/react-node'
|
|
14
14
|
import { DefaultSeedPhrase } from '@xyo-network/react-storybook'
|
|
15
15
|
import { useWallet, WalletProvider } from '@xyo-network/react-wallet'
|
|
16
|
-
import {
|
|
16
|
+
import { SentinelConfigSchema } from '@xyo-network/sentinel'
|
|
17
|
+
import { MemorySentinel } from '@xyo-network/sentinel-memory'
|
|
17
18
|
import React, { useState } from 'react'
|
|
18
19
|
|
|
19
20
|
import { CytoscapeInstanceProvider } from '../../../contexts/index.ts'
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
Decorator, Meta, StoryFn,
|
|
4
4
|
} from '@storybook/react'
|
|
5
5
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
6
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
6
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
7
7
|
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
8
8
|
import { IdWitness, IdWitnessConfigSchema } from '@xyo-network/id-plugin'
|
|
9
9
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
} from '@xyo-network/react-node'
|
|
14
14
|
import { DefaultSeedPhrase } from '@xyo-network/react-storybook'
|
|
15
15
|
import { useWallet, WalletProvider } from '@xyo-network/react-wallet'
|
|
16
|
-
import {
|
|
16
|
+
import { SentinelConfigSchema } from '@xyo-network/sentinel'
|
|
17
|
+
import { MemorySentinel } from '@xyo-network/sentinel-memory'
|
|
17
18
|
import React, { useState } from 'react'
|
|
18
19
|
|
|
19
20
|
import { CytoscapeInstanceProvider } from '../../../contexts/index.ts'
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
Decorator, Meta, StoryFn,
|
|
4
4
|
} from '@storybook/react'
|
|
5
5
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
6
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
6
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
7
7
|
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
8
8
|
import { IdWitness, IdWitnessConfigSchema } from '@xyo-network/id-plugin'
|
|
9
9
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
} from '@xyo-network/react-node'
|
|
14
14
|
import { DefaultSeedPhrase } from '@xyo-network/react-storybook'
|
|
15
15
|
import { useWallet, WalletProvider } from '@xyo-network/react-wallet'
|
|
16
|
-
import {
|
|
16
|
+
import { SentinelConfigSchema } from '@xyo-network/sentinel'
|
|
17
|
+
import { MemorySentinel } from '@xyo-network/sentinel-memory'
|
|
17
18
|
import React, { useState } from 'react'
|
|
18
19
|
|
|
19
20
|
import { CytoscapeInstanceProvider } from '../../../contexts/index.ts'
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
Decorator, Meta, StoryFn,
|
|
4
4
|
} from '@storybook/react'
|
|
5
5
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
6
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
6
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
7
7
|
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
8
8
|
import { IdWitness, IdWitnessConfigSchema } from '@xyo-network/id-plugin'
|
|
9
9
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
} from '@xyo-network/react-node'
|
|
14
14
|
import { DefaultSeedPhrase } from '@xyo-network/react-storybook'
|
|
15
15
|
import { useWallet, WalletProvider } from '@xyo-network/react-wallet'
|
|
16
|
-
import {
|
|
16
|
+
import { SentinelConfigSchema } from '@xyo-network/sentinel'
|
|
17
|
+
import { MemorySentinel } from '@xyo-network/sentinel-memory'
|
|
17
18
|
import React, { useState } from 'react'
|
|
18
19
|
|
|
19
20
|
import { CytoscapeInstanceProvider } from '../../../contexts/index.ts'
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
Decorator, Meta, StoryFn,
|
|
4
4
|
} from '@storybook/react'
|
|
5
5
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
6
|
-
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
|
|
6
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
7
7
|
import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/bridge-http'
|
|
8
8
|
import { IdWitness, IdWitnessConfigSchema } from '@xyo-network/id-plugin'
|
|
9
9
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
} from '@xyo-network/react-node'
|
|
14
14
|
import { DefaultSeedPhrase } from '@xyo-network/react-storybook'
|
|
15
15
|
import { useWallet, WalletProvider } from '@xyo-network/react-wallet'
|
|
16
|
-
import {
|
|
16
|
+
import { SentinelConfigSchema } from '@xyo-network/sentinel'
|
|
17
|
+
import { MemorySentinel } from '@xyo-network/sentinel-memory'
|
|
17
18
|
import React, { useState } from 'react'
|
|
18
19
|
|
|
19
20
|
import { CytoscapeInstanceProvider } from '../../../contexts/index.ts'
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
Decorator, Meta, StoryFn,
|
|
3
3
|
} from '@storybook/react'
|
|
4
4
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
5
|
-
import {
|
|
5
|
+
import { MemoryArchivist, MemoryArchivistConfigSchema } from '@xyo-network/archivist-memory'
|
|
6
6
|
import { MemoryNode } from '@xyo-network/node-memory'
|
|
7
7
|
import { NodeConfigSchema } from '@xyo-network/node-model'
|
|
8
8
|
import { NodeProvider, useWeakProvidedNode } from '@xyo-network/react-node'
|
|
@@ -22,7 +22,7 @@ const MemoryNodeDecorator: Decorator = (Story, args) => {
|
|
|
22
22
|
async () => {
|
|
23
23
|
const node = await MemoryNode.create({ config: { name: 'GlobalNode', schema: NodeConfigSchema } })
|
|
24
24
|
|
|
25
|
-
const archivist = await MemoryArchivist.create({ config: { name: 'RootStorageArchivist', schema:
|
|
25
|
+
const archivist = await MemoryArchivist.create({ config: { name: 'RootStorageArchivist', schema: MemoryArchivistConfigSchema } })
|
|
26
26
|
await node.register(archivist)
|
|
27
27
|
await node.attach(archivist.address, true)
|
|
28
28
|
|