@surveystudio/node-registery 1.0.0 → 1.0.1

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/dist/ui.mjs ADDED
@@ -0,0 +1,32 @@
1
+ // src/ui/plainText.ts
2
+ import { createElement } from "react";
3
+ var cn = (...values) => values.filter(Boolean).join(" ") || void 0;
4
+ function Root({ className, ...props }) {
5
+ return createElement("div", { ...props, className: cn(className) });
6
+ }
7
+ function Content({ className, ...props }) {
8
+ return createElement("div", { ...props, className: cn(className) });
9
+ }
10
+ function Title({ className, ...props }) {
11
+ return createElement("p", { ...props, className: cn(className) });
12
+ }
13
+ function Description({ className, ...props }) {
14
+ return createElement("p", { ...props, className: cn(className) });
15
+ }
16
+ function Actions({ className, ...props }) {
17
+ return createElement("div", { ...props, className: cn(className) });
18
+ }
19
+ function Button({ className, type = "button", ...props }) {
20
+ return createElement("button", { ...props, className: cn(className), type });
21
+ }
22
+ var PlainTextNode = {
23
+ Root,
24
+ Content,
25
+ Title,
26
+ Description,
27
+ Actions,
28
+ Button
29
+ };
30
+ export {
31
+ PlainTextNode
32
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surveystudio/node-registery",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Typed survey question node registry with split builder, runner, and logic entrypoints.",
5
5
  "main": "./dist/logic.mjs",
6
6
  "types": "./dist/logic.d.mts",
@@ -21,7 +21,11 @@
21
21
  "import": "./dist/builder.mjs",
22
22
  "types": "./dist/builder.d.mts"
23
23
  },
24
- "./package.json": "./package.json"
24
+ "./package.json": "./package.json",
25
+ "./ui": {
26
+ "import": "./dist/ui.mjs",
27
+ "types": "./dist/ui.d.mts"
28
+ }
25
29
  },
26
30
  "keywords": [
27
31
  "survey",