@xyo-network/react-debug 4.3.21 → 5.0.0-rc.1

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.
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface BoundWitnessDebuggerProps {
3
+ defaultBoundWitnessInput?: string;
4
+ }
5
+ export declare const BoundWitnessDebugger: React.FC<BoundWitnessDebuggerProps>;
6
+ //# sourceMappingURL=BoundWitnessDebugger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoundWitnessDebugger.d.ts","sourceRoot":"","sources":["../../../src/components/BoundWitnessDebugger.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAKvC,MAAM,WAAW,yBAAyB;IACxC,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAwBpE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const PayloadDebugger: React.FC;
3
+ //# sourceMappingURL=PayloadDebugger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayloadDebugger.d.ts","sourceRoot":"","sources":["../../../src/components/PayloadDebugger.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAOvC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAwBnC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './BoundWitnessDebugger.tsx';
2
+ export * from './PayloadDebugger.tsx';
3
+ export * from './shared/index.ts';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { type ChipProps } from '@mui/material';
2
+ import React from 'react';
3
+ export interface ValidationChipsProps extends ChipProps {
4
+ dataHash?: string;
5
+ rootHash?: string;
6
+ valid?: boolean;
7
+ }
8
+ export declare const ValidationChips: React.FC<ValidationChipsProps>;
9
+ //# sourceMappingURL=Chips.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chips.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Chips.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AACD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAU1D,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { type JsonViewerExProps } from '@xyo-network/react-payload-raw-info';
2
+ import React from 'react';
3
+ export interface JsonPayloadLikeViewerExProps extends JsonViewerExProps {
4
+ }
5
+ export declare const JsonPayloadLikeViewerEx: React.FC<JsonPayloadLikeViewerExProps>;
6
+ //# sourceMappingURL=JsonPayloadLikeViewerEx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonPayloadLikeViewerEx.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/JsonPayloadLikeViewerEx.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,qCAAqC,CAAA;AAC1F,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,4BAA6B,SAAQ,iBAAiB;CAAG;AAE1E,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAU1E,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Chips.tsx';
2
+ export * from './JsonPayloadLikeViewerEx.tsx';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,+BAA+B,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './useDebugBoundWitness.tsx';
2
+ export * from './useDebugPayload.tsx';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,8 @@
1
+ export declare const useDebugBoundWitness: (input?: string) => {
2
+ boundWitness: import("@xyo-network/boundwitness-model").BoundWitness | undefined;
3
+ errors: Error[];
4
+ valid: boolean;
5
+ rootHash: Lowercase<string> | undefined;
6
+ dataHash: Lowercase<string> | undefined;
7
+ };
8
+ //# sourceMappingURL=useDebugBoundWitness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebugBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebugBoundWitness.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,GAAI,QAAQ,MAAM;;;;;;CAalD,CAAA"}
@@ -0,0 +1,8 @@
1
+ export declare const useDebugPayload: (input?: string) => {
2
+ payload: import("@xyo-network/payload-model").Payload | undefined;
3
+ errors: Error[];
4
+ valid: boolean;
5
+ rootHash: Lowercase<string> | undefined;
6
+ dataHash: Lowercase<string> | undefined;
7
+ };
8
+ //# sourceMappingURL=useDebugPayload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebugPayload.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDebugPayload.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM;;;;;;CAQ7C,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './components/index.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-debug",
3
- "version": "4.3.21",
3
+ "version": "5.0.0-rc.1",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -28,10 +28,10 @@
28
28
  "exports": {
29
29
  ".": {
30
30
  "browser": {
31
- "types": "./dist/browser/index.d.ts",
31
+ "types": "./dist/types/index.d.ts",
32
32
  "default": "./dist/browser/index.mjs"
33
33
  },
34
- "types": "./dist/browser/index.d.ts",
34
+ "types": "./dist/types/index.d.ts",
35
35
  "default": "./dist/browser/index.mjs"
36
36
  },
37
37
  "./package.json": "./package.json"
@@ -43,22 +43,24 @@
43
43
  "lint-pkg": "npmPkgJsonLint ."
44
44
  },
45
45
  "dependencies": {
46
- "@xylabs/react-error": "^5.3.23",
47
- "@xylabs/react-flexbox": "^5.3.23",
48
- "@xyo-network/react-payload-raw-info": "^4.4.10",
49
- "@xyo-network/react-shared": "^4.4.10"
46
+ "@xylabs/react-error": "^6.0.0-rc.2",
47
+ "@xylabs/react-flexbox": "^6.0.0-rc.2",
48
+ "@xyo-network/react-payload-raw-info": "^5.0.0-rc.1",
49
+ "@xyo-network/react-shared": "^5.0.0-rc.1",
50
+ "react-router-dom": "^7.3.0"
50
51
  },
51
52
  "devDependencies": {
52
- "@mui/icons-material": "^6.4.6",
53
- "@mui/material": "^6.4.6",
54
- "@mui/styles": "^6.4.6",
55
- "@storybook/react": "^8.6.2",
56
- "@xylabs/ts-scripts-yarn3": "^5.0.25",
57
- "@xylabs/tsconfig-react": "^5.0.25",
58
- "react": "^18.3.1",
59
- "react-dom": "^18.3.1",
60
- "storybook": "^8.6.2",
61
- "typescript": "^5.7.3"
53
+ "@mui/icons-material": "^6.4.7",
54
+ "@mui/material": "^6.4.7",
55
+ "@mui/styles": "^6.4.7",
56
+ "@storybook/react": "^8.6.4",
57
+ "@types/react": "^19.0.10",
58
+ "@xylabs/ts-scripts-yarn3": "^6.0.3",
59
+ "@xylabs/tsconfig-react": "^6.0.3",
60
+ "react": "^19.0.0",
61
+ "react-dom": "^19.0.0",
62
+ "storybook": "^8.6.4",
63
+ "typescript": "^5.8.2"
62
64
  },
63
65
  "peerDependencies": {
64
66
  "@mui/icons-material": "^6",
@@ -70,5 +72,6 @@
70
72
  "publishConfig": {
71
73
  "access": "public"
72
74
  },
73
- "docs": "dist/docs.json"
75
+ "docs": "dist/docs.json",
76
+ "stableVersion": "4.3.22"
74
77
  }
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { ChipProps } from '@mui/material';
3
- import { JsonViewerExProps } from '@xyo-network/react-payload-raw-info';
4
-
5
- interface BoundWitnessDebuggerProps {
6
- defaultBoundWitnessInput?: string;
7
- }
8
- declare const BoundWitnessDebugger: React.FC<BoundWitnessDebuggerProps>;
9
-
10
- declare const PayloadDebugger: React.FC;
11
-
12
- interface ValidationChipsProps extends ChipProps {
13
- dataHash?: string;
14
- rootHash?: string;
15
- valid?: boolean;
16
- }
17
- declare const ValidationChips: React.FC<ValidationChipsProps>;
18
-
19
- interface JsonPayloadLikeViewerExProps extends JsonViewerExProps {
20
- }
21
- declare const JsonPayloadLikeViewerEx: React.FC<JsonPayloadLikeViewerExProps>;
22
-
23
- export { BoundWitnessDebugger, type BoundWitnessDebuggerProps, JsonPayloadLikeViewerEx, type JsonPayloadLikeViewerExProps, PayloadDebugger, ValidationChips, type ValidationChipsProps };