@arcanejs/react-toolkit 0.4.1 → 0.5.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/README.md +7 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ const ControlPanel = () => {
|
|
|
90
90
|
<Group>
|
|
91
91
|
{`Switch State: ${switchState}`}
|
|
92
92
|
<Switch
|
|
93
|
-
|
|
93
|
+
value={switchState}
|
|
94
94
|
onChange={setSwitchState}
|
|
95
95
|
/>
|
|
96
96
|
</Group>
|
|
@@ -289,6 +289,12 @@ For a comprehensive list of examples,
|
|
|
289
289
|
please see the example directory in the arcane monorepo:
|
|
290
290
|
<https://github.com/arcanejs/arcanejs/tree/main/examples/react>
|
|
291
291
|
|
|
292
|
+
### [Example Philips Hue App](https://github.com/arcanejs/hue-example)
|
|
293
|
+
|
|
294
|
+
Check out this example repository that uses `@arcanejs/react-toolkit`
|
|
295
|
+
to create an app that can be used to control a Philips Hue Bridge
|
|
296
|
+
on your local network.
|
|
297
|
+
|
|
292
298
|
## Status / Suitability / Security Disclaimer
|
|
293
299
|
|
|
294
300
|
This project is **experimental**,
|
package/dist/index.js
CHANGED
|
@@ -229,7 +229,7 @@ var ToolkitRenderer = {
|
|
|
229
229
|
reconciler.updateContainer(componentWithContexts, root, null);
|
|
230
230
|
},
|
|
231
231
|
render: (component, container, rootGroupProps) => {
|
|
232
|
-
const group = new ld.Group(rootGroupProps);
|
|
232
|
+
const group = new ld.Group({ direction: "vertical", ...rootGroupProps });
|
|
233
233
|
container.setRoot(group);
|
|
234
234
|
ToolkitRenderer.renderGroup(component, group);
|
|
235
235
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -229,7 +229,7 @@ var ToolkitRenderer = {
|
|
|
229
229
|
reconciler.updateContainer(componentWithContexts, root, null);
|
|
230
230
|
},
|
|
231
231
|
render: (component, container, rootGroupProps) => {
|
|
232
|
-
const group = new ld.Group(rootGroupProps);
|
|
232
|
+
const group = new ld.Group({ direction: "vertical", ...rootGroupProps });
|
|
233
233
|
container.setRoot(group);
|
|
234
234
|
ToolkitRenderer.renderGroup(component, group);
|
|
235
235
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcanejs/react-toolkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Build web-accessible control interfaces for your long-running Node.js processes",
|
|
6
6
|
"keywords": [
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"tsup": "^8.1.0",
|
|
51
51
|
"typescript": "^5.3.3",
|
|
52
52
|
"zod": "^3.23.8",
|
|
53
|
-
"@arcanejs/
|
|
54
|
-
"@arcanejs/
|
|
53
|
+
"@arcanejs/eslint-config": "^0.0.0",
|
|
54
|
+
"@arcanejs/typescript-config": "^0.0.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"lodash": "^4.17.21",
|
|
58
58
|
"react": "^18",
|
|
59
59
|
"react-reconciler": "0.28.0",
|
|
60
60
|
"@arcanejs/protocol": "^0.2.0",
|
|
61
|
-
"@arcanejs/toolkit": "^0.
|
|
61
|
+
"@arcanejs/toolkit": "^0.4.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"zod": "^3.23.8"
|