@surveystudio/node-registery 1.5.0 → 1.6.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 +2 -1
- package/dist/ui.d.mts +34959 -11
- package/dist/ui.mjs +458 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,11 +10,12 @@ This package is currently in early migration. It exports migrated node logic for
|
|
|
10
10
|
import { logicRegistry } from "@surveystudio/node-registery/logic";
|
|
11
11
|
import { runnerRegistry } from "@surveystudio/node-registery/runner";
|
|
12
12
|
import { builderRegistry } from "@surveystudio/node-registery/builder";
|
|
13
|
+
import { TextLikeNode, ChoiceNode } from "@surveystudio/node-registery/ui";
|
|
13
14
|
```
|
|
14
15
|
|
|
15
16
|
Use `/logic` for Worker, export, and server runtimes. It is intentionally React-free.
|
|
16
17
|
|
|
17
|
-
Use `/runner
|
|
18
|
+
Use `/runner`, `/builder`, and `/ui` only in React runtimes. React is a peer dependency and is not bundled. The `/ui` entrypoint contains shadcn-style primitive parts for node UIs; Worker and API runtimes should keep importing only `/logic`.
|
|
18
19
|
|
|
19
20
|
Builder manifests/adapters are available for the migrated input, choice, scale, structured choice, consent, media, flow, captcha, emoji rating, and plain text nodes.
|
|
20
21
|
|