@xyo-network/react-node 2.40.22 → 2.40.24

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.
@@ -4,6 +4,6 @@ import { FlexCol } from '@xylabs/react-flexbox';
4
4
  import { useNode } from '../contexts';
5
5
  export const NodeBox = (props) => {
6
6
  const [node] = useNode();
7
- return (_jsx(FlexCol, { ...props, children: _jsx(Typography, { children: JSON.stringify(node?.registered()) }) }));
7
+ return (_jsx(FlexCol, { ...props, children: _jsx(Typography, { children: JSON.stringify(node?.description(), null, 2) }) }));
8
8
  };
9
9
  //# sourceMappingURL=Node.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Node.js","sourceRoot":"","sources":["../../../src/components/Node.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAgB,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,MAAM,CAAC,MAAM,OAAO,GAA2B,CAAC,KAAK,EAAE,EAAE;IACvD,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,EAAE,CAAA;IACxB,OAAO,CACL,KAAC,OAAO,OAAK,KAAK,YAChB,KAAC,UAAU,cAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,GAAc,GACrD,CACX,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"Node.js","sourceRoot":"","sources":["../../../src/components/Node.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAgB,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,MAAM,CAAC,MAAM,OAAO,GAA2B,CAAC,KAAK,EAAE,EAAE;IACvD,MAAM,CAAC,IAAI,CAAC,GAAG,OAAO,EAAE,CAAA;IACxB,OAAO,CACL,KAAC,OAAO,OAAK,KAAK,YAChB,KAAC,UAAU,cAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,GAAc,GAC/D,CACX,CAAA;AACH,CAAC,CAAA"}
@@ -1 +1,3 @@
1
+ export * from './Node';
2
+ export * from './NodeDrawer';
1
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA"}
@@ -1,2 +1,3 @@
1
- "use strict";
1
+ export * from './Node';
2
+ export * from './NodeDrawer';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA"}
@@ -1,2 +1,3 @@
1
+ export * from './components';
1
2
  export * from './contexts';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
package/dist/esm/index.js CHANGED
@@ -1,2 +1,3 @@
1
+ export * from './components';
1
2
  export * from './contexts';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "@mui/lab": "^5.0.0-alpha.108",
14
14
  "@xylabs/react-flexbox": "^2.15.1",
15
15
  "@xylabs/react-shared": "^2.15.1",
16
- "@xyo-network/react-shared": "^2.40.22",
16
+ "@xyo-network/react-shared": "^2.40.24",
17
17
  "lodash": "^4.17.21",
18
18
  "tslib": "^2.4.1"
19
19
  },
@@ -74,5 +74,5 @@
74
74
  },
75
75
  "sideEffects": false,
76
76
  "types": "dist/esm/index.d.ts",
77
- "version": "2.40.22"
77
+ "version": "2.40.24"
78
78
  }
@@ -7,7 +7,7 @@ export const NodeBox: React.FC<FlexBoxProps> = (props) => {
7
7
  const [node] = useNode()
8
8
  return (
9
9
  <FlexCol {...props}>
10
- <Typography>{JSON.stringify(node?.registered())}</Typography>
10
+ <Typography>{JSON.stringify(node?.description(), null, 2)}</Typography>
11
11
  </FlexCol>
12
12
  )
13
13
  }
@@ -0,0 +1,2 @@
1
+ export * from './Node'
2
+ export * from './NodeDrawer'
package/src/index.ts CHANGED
@@ -1 +1,2 @@
1
+ export * from './components'
1
2
  export * from './contexts'