@xyo-network/react-schema 5.3.2 → 5.3.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.
@@ -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.2",
3
+ "version": "5.3.4",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -39,24 +39,24 @@
39
39
  "module": "dist/browser/index.mjs",
40
40
  "types": "dist/types/index.d.ts",
41
41
  "dependencies": {
42
- "@xylabs/exists": "^4.9.15",
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",
50
- "@xyo-network/diviner-schema-list-model": "^3.15.5",
51
- "@xyo-network/diviner-schema-stats-model": "^3.15.5",
42
+ "@xylabs/exists": "^4.9.18",
43
+ "@xylabs/hex": "^4.9.18",
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
+ "@xyo-network/diviner-schema-list-model": "^3.15.10",
51
+ "@xyo-network/diviner-schema-stats-model": "^3.15.10",
52
52
  "@xyo-network/node-core-types": "^3.6.4",
53
- "@xyo-network/payload-builder": "^3.15.5",
54
- "@xyo-network/payload-model": "^3.15.5",
55
- "@xyo-network/react-diviner": "^5.3.2",
56
- "@xyo-network/react-event": "^5.3.2",
57
- "@xyo-network/react-property": "^5.3.2",
58
- "@xyo-network/schema-cache": "^3.15.5",
59
- "@xyo-network/schema-payload-plugin": "^3.15.5",
53
+ "@xyo-network/payload-builder": "^3.15.10",
54
+ "@xyo-network/payload-model": "^3.15.10",
55
+ "@xyo-network/react-diviner": "^5.3.4",
56
+ "@xyo-network/react-event": "^5.3.4",
57
+ "@xyo-network/react-property": "^5.3.4",
58
+ "@xyo-network/schema-cache": "^3.15.10",
59
+ "@xyo-network/schema-payload-plugin": "^3.15.10",
60
60
  "react-router-dom": "^7.6.0"
61
61
  },
62
62
  "devDependencies": {
@@ -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",
71
- "@xylabs/ts-scripts-yarn3": "^6.5.5",
72
- "@xylabs/tsconfig-react": "^6.5.5",
73
- "@xyo-network/bridge-http": "^3.15.5",
74
- "@xyo-network/node-memory": "^3.15.5",
75
- "@xyo-network/node-model": "^3.15.5",
76
- "@xyo-network/react-node": "^5.3.2",
77
- "@xyo-network/react-payload-raw-info": "^5.3.2",
78
- "@xyo-network/react-storybook": "^5.3.2",
79
- "@xyo-network/react-wallet": "^5.3.2",
69
+ "@xylabs/react-flexbox": "^6.3.1",
70
+ "@xylabs/react-hooks": "^6.3.1",
71
+ "@xylabs/ts-scripts-yarn3": "^6.5.6",
72
+ "@xylabs/tsconfig-react": "^6.5.6",
73
+ "@xyo-network/bridge-http": "^3.15.10",
74
+ "@xyo-network/node-memory": "^3.15.10",
75
+ "@xyo-network/node-model": "^3.15.10",
76
+ "@xyo-network/react-node": "^5.3.4",
77
+ "@xyo-network/react-payload-raw-info": "^5.3.4",
78
+ "@xyo-network/react-storybook": "^5.3.4",
79
+ "@xyo-network/react-wallet": "^5.3.4",
80
80
  "react": "^19.1.0",
81
81
  "react-dom": "^19.1.0",
82
82
  "storybook": "^8.6.12",