@xyo-network/react-witness 6.1.3 → 6.2.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/dist/browser/index.d.ts +3 -27
- package/package.json +18 -18
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { Payload } from '@xyo-network/payload-model';
|
|
6
|
-
import { ModuleIdentifier } from '@xyo-network/module-model';
|
|
7
|
-
import { ModuleFromNodeConfig, WeakModuleFromNodeConfig } from '@xyo-network/react-node';
|
|
8
|
-
|
|
9
|
-
declare const WitnessCard: React.FC<CardProps & ModuleRenderProps<WitnessInstance>>;
|
|
10
|
-
|
|
11
|
-
type WitnessCardContentProps = ModuleRenderProps<WitnessInstance> & CardContentProps & {
|
|
12
|
-
observation?: Payload[];
|
|
13
|
-
};
|
|
14
|
-
declare const WitnessCardContent: React.FC<WitnessCardContentProps>;
|
|
15
|
-
|
|
16
|
-
declare const WitnessCardHeader: React.FC<ModuleRenderProps<WitnessInstance> & CardHeaderProps>;
|
|
17
|
-
|
|
18
|
-
declare const useWeakWitnessesFromNode: (ids?: ModuleIdentifier[], config?: ModuleFromNodeConfig) => [WeakRef<WitnessInstance>[] | null | undefined, Error | undefined];
|
|
19
|
-
|
|
20
|
-
declare const useWeakWitnessFromNode: (nameOrAddressOrInstance?: string | WitnessInstance, config?: WeakModuleFromNodeConfig) => [WeakRef<WitnessInstance> | undefined, Error | undefined];
|
|
21
|
-
|
|
22
|
-
declare const useWitnessesFromNode: (ids?: ModuleIdentifier[], config?: ModuleFromNodeConfig) => [WitnessInstance[] | null | undefined, Error | undefined];
|
|
23
|
-
|
|
24
|
-
declare const useWitnessFromNode: (nameOrAddressOrInstance?: string | WitnessInstance, config?: ModuleFromNodeConfig) => [WitnessInstance | undefined, Error | undefined];
|
|
25
|
-
|
|
26
|
-
export { WitnessCard, WitnessCardContent, WitnessCardHeader, useWeakWitnessFromNode, useWeakWitnessesFromNode, useWitnessFromNode, useWitnessesFromNode };
|
|
27
|
-
export type { WitnessCardContentProps };
|
|
1
|
+
export * from './components/index.ts';
|
|
2
|
+
export * from './hooks/index.ts';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-witness",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -39,30 +39,30 @@
|
|
|
39
39
|
"module": "dist/browser/index.mjs",
|
|
40
40
|
"types": "dist/browser/index.d.ts",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@xylabs/exists": "^4.
|
|
43
|
-
"@xylabs/react-button": "^6.
|
|
44
|
-
"@xylabs/react-flexbox": "^6.
|
|
45
|
-
"@xylabs/react-promise": "^6.
|
|
46
|
-
"@xyo-network/module-model": "^4.
|
|
47
|
-
"@xyo-network/payload-model": "^4.
|
|
48
|
-
"@xyo-network/react-module": "^6.
|
|
49
|
-
"@xyo-network/react-node": "^6.
|
|
50
|
-
"@xyo-network/react-payload-raw-info": "^6.
|
|
51
|
-
"@xyo-network/witness-model": "^4.
|
|
42
|
+
"@xylabs/exists": "^4.15.0",
|
|
43
|
+
"@xylabs/react-button": "^6.4.0",
|
|
44
|
+
"@xylabs/react-flexbox": "^6.4.0",
|
|
45
|
+
"@xylabs/react-promise": "^6.4.0",
|
|
46
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
47
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
48
|
+
"@xyo-network/react-module": "^6.2.0",
|
|
49
|
+
"@xyo-network/react-node": "^6.2.0",
|
|
50
|
+
"@xyo-network/react-payload-raw-info": "^6.2.0",
|
|
51
|
+
"@xyo-network/witness-model": "^4.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@emotion/react": "^11.14.0",
|
|
55
55
|
"@emotion/styled": "^11.14.1",
|
|
56
56
|
"@mui/icons-material": "^7.2.0",
|
|
57
57
|
"@mui/material": "^7.2.0",
|
|
58
|
-
"@storybook/react-vite": "^9.0.
|
|
58
|
+
"@storybook/react-vite": "^9.0.18",
|
|
59
59
|
"@types/react": "^19.1.8",
|
|
60
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
61
|
-
"@xylabs/tsconfig-react": "
|
|
62
|
-
"@xyo-network/id-plugin": "^4.1.
|
|
63
|
-
"react": "^19.1.
|
|
64
|
-
"react-dom": "^19.1.
|
|
65
|
-
"storybook": "^9.0.
|
|
60
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
61
|
+
"@xylabs/tsconfig-react": "^7.0.1",
|
|
62
|
+
"@xyo-network/id-plugin": "^4.1.1",
|
|
63
|
+
"react": "^19.1.1",
|
|
64
|
+
"react-dom": "^19.1.1",
|
|
65
|
+
"storybook": "^9.0.18",
|
|
66
66
|
"typescript": "^5.8.3"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|