@superdoc-dev/template-builder 0.2.0-next.5 → 0.2.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.
@@ -1 +1 @@
1
- {"version":3,"file":"FieldList.d.ts","sourceRoot":"","sources":["../../src/defaults/FieldList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuJ9C,CAAC"}
1
+ {"version":3,"file":"FieldList.d.ts","sourceRoot":"","sources":["../../src/defaults/FieldList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwJ9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldMenu.d.ts","sourceRoot":"","sources":["../../src/defaults/FieldMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmB,cAAc,EAAE,MAAM,UAAU,CAAC;AAEhE,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmX9C,CAAC"}
1
+ {"version":3,"file":"FieldMenu.d.ts","sourceRoot":"","sources":["../../src/defaults/FieldMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmB,cAAc,EAAE,MAAM,UAAU,CAAC;AAEhE,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiY9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;AA0GhC,QAAA,MAAM,uBAAuB,oJAokB3B,CAAC;AAIH,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;AA0GhC,QAAA,MAAM,uBAAuB,oJAqkB3B,CAAC;AAIH,eAAe,uBAAuB,CAAC"}
package/dist/index.mjs CHANGED
@@ -417,30 +417,52 @@ const Be = ({
417
417
  fontSize: "13px"
418
418
  },
419
419
  children: [
420
- /* @__PURE__ */ n.jsxs("label", { style: { display: "flex", alignItems: "center", gap: "4px", cursor: "pointer" }, children: [
421
- /* @__PURE__ */ n.jsx(
422
- "input",
423
- {
424
- type: "radio",
425
- value: "inline",
426
- checked: I === "inline",
427
- onChange: () => k("inline")
428
- }
429
- ),
430
- "Inline"
431
- ] }),
432
- /* @__PURE__ */ n.jsxs("label", { style: { display: "flex", alignItems: "center", gap: "4px", cursor: "pointer" }, children: [
433
- /* @__PURE__ */ n.jsx(
434
- "input",
435
- {
436
- type: "radio",
437
- value: "block",
438
- checked: I === "block",
439
- onChange: () => k("block")
440
- }
441
- ),
442
- "Block"
443
- ] })
420
+ /* @__PURE__ */ n.jsxs(
421
+ "label",
422
+ {
423
+ style: {
424
+ display: "flex",
425
+ alignItems: "center",
426
+ gap: "4px",
427
+ cursor: "pointer"
428
+ },
429
+ children: [
430
+ /* @__PURE__ */ n.jsx(
431
+ "input",
432
+ {
433
+ type: "radio",
434
+ value: "inline",
435
+ checked: I === "inline",
436
+ onChange: () => k("inline")
437
+ }
438
+ ),
439
+ "Inline"
440
+ ]
441
+ }
442
+ ),
443
+ /* @__PURE__ */ n.jsxs(
444
+ "label",
445
+ {
446
+ style: {
447
+ display: "flex",
448
+ alignItems: "center",
449
+ gap: "4px",
450
+ cursor: "pointer"
451
+ },
452
+ children: [
453
+ /* @__PURE__ */ n.jsx(
454
+ "input",
455
+ {
456
+ type: "radio",
457
+ value: "block",
458
+ checked: I === "block",
459
+ onChange: () => k("block")
460
+ }
461
+ ),
462
+ "Block"
463
+ ]
464
+ }
465
+ )
444
466
  ]
445
467
  }
446
468
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/template-builder",
3
- "version": "0.2.0-next.5",
3
+ "version": "0.2.0",
4
4
  "description": "React template builder component for SuperDoc",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",