@xyo-network/react-schema 5.3.1 → 5.3.3

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,9 +1,23 @@
1
- export declare const SchemaContext: import("react").Context<{
1
+ export declare const SchemaContext: import("react").Context<({
2
2
  schema?: string;
3
3
  schemaList?: string[];
4
4
  setSchema?: import("react").Dispatch<string>;
5
5
  setSchemaList?: import("react").Dispatch<string[]>;
6
6
  } & {
7
7
  provided: true;
8
- }>;
8
+ }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
9
+ schema?: string;
10
+ schemaList?: string[];
11
+ setSchema?: import("react").Dispatch<string>;
12
+ setSchemaList?: import("react").Dispatch<string[]>;
13
+ }>, never> & {
14
+ provided: false;
15
+ }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
16
+ schema?: string;
17
+ schemaList?: string[];
18
+ setSchema?: import("react").Dispatch<string>;
19
+ setSchemaList?: import("react").Dispatch<string[]>;
20
+ }>, never> & {
21
+ provided: false;
22
+ })>;
9
23
  //# sourceMappingURL=Context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Schema/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;EAAwC,CAAA"}
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Schema/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;GAAwC,CAAA"}
@@ -1,3 +1,4 @@
1
+ import type { SchemaContextState } from './State.ts';
1
2
  export declare const useSchema: (required?: boolean) => Omit<{
2
3
  schema?: string;
3
4
  schemaList?: string[];
@@ -5,5 +6,5 @@ export declare const useSchema: (required?: boolean) => Omit<{
5
6
  setSchemaList?: import("react").Dispatch<string[]>;
6
7
  } & {
7
8
  provided: true;
8
- }, "provided"> | Omit<never, "provided">;
9
+ }, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<SchemaContextState>, "provided">;
9
10
  //# sourceMappingURL=use.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Schema/use.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,GAAI,kBAAgB;;;;;;;wCAEzC,CAAA"}
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/Schema/use.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,eAAO,MAAM,SAAS,GAAI,kBAAgB;;;;;;;+GAEzC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-schema",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -41,20 +41,20 @@
41
41
  "dependencies": {
42
42
  "@xylabs/exists": "^4.9.15",
43
43
  "@xylabs/hex": "^4.9.15",
44
- "@xylabs/react-async-effect": "^6.3.0",
45
- "@xylabs/react-flexbox": "^6.3.0",
46
- "@xylabs/react-link": "^6.3.0",
47
- "@xylabs/react-promise": "^6.3.0",
48
- "@xylabs/react-select": "^6.3.0",
49
- "@xylabs/react-shared": "^6.3.0",
44
+ "@xylabs/react-async-effect": "^6.3.1",
45
+ "@xylabs/react-flexbox": "^6.3.1",
46
+ "@xylabs/react-link": "^6.3.1",
47
+ "@xylabs/react-promise": "^6.3.1",
48
+ "@xylabs/react-select": "^6.3.1",
49
+ "@xylabs/react-shared": "^6.3.1",
50
50
  "@xyo-network/diviner-schema-list-model": "^3.15.5",
51
51
  "@xyo-network/diviner-schema-stats-model": "^3.15.5",
52
52
  "@xyo-network/node-core-types": "^3.6.4",
53
53
  "@xyo-network/payload-builder": "^3.15.5",
54
54
  "@xyo-network/payload-model": "^3.15.5",
55
- "@xyo-network/react-diviner": "^5.3.1",
56
- "@xyo-network/react-event": "^5.3.1",
57
- "@xyo-network/react-property": "^5.3.1",
55
+ "@xyo-network/react-diviner": "^5.3.3",
56
+ "@xyo-network/react-event": "^5.3.3",
57
+ "@xyo-network/react-property": "^5.3.3",
58
58
  "@xyo-network/schema-cache": "^3.15.5",
59
59
  "@xyo-network/schema-payload-plugin": "^3.15.5",
60
60
  "react-router-dom": "^7.6.0"
@@ -66,17 +66,17 @@
66
66
  "@mui/material": "^7.1.0",
67
67
  "@storybook/react": "^8.6.12",
68
68
  "@types/react": "^19.1.4",
69
- "@xylabs/react-flexbox": "^6.3.0",
70
- "@xylabs/react-hooks": "^6.3.0",
69
+ "@xylabs/react-flexbox": "^6.3.1",
70
+ "@xylabs/react-hooks": "^6.3.1",
71
71
  "@xylabs/ts-scripts-yarn3": "^6.5.5",
72
72
  "@xylabs/tsconfig-react": "^6.5.5",
73
73
  "@xyo-network/bridge-http": "^3.15.5",
74
74
  "@xyo-network/node-memory": "^3.15.5",
75
75
  "@xyo-network/node-model": "^3.15.5",
76
- "@xyo-network/react-node": "^5.3.1",
77
- "@xyo-network/react-payload-raw-info": "^5.3.1",
78
- "@xyo-network/react-storybook": "^5.3.1",
79
- "@xyo-network/react-wallet": "^5.3.1",
76
+ "@xyo-network/react-node": "^5.3.3",
77
+ "@xyo-network/react-payload-raw-info": "^5.3.3",
78
+ "@xyo-network/react-storybook": "^5.3.3",
79
+ "@xyo-network/react-wallet": "^5.3.3",
80
80
  "react": "^19.1.0",
81
81
  "react-dom": "^19.1.0",
82
82
  "storybook": "^8.6.12",