@squaredr/fieldcraft-pro 1.7.0 → 1.9.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.
Files changed (33) hide show
  1. package/LICENSE.txt +51 -51
  2. package/README.md +139 -139
  3. package/dist/{chunk-VEP3DOCQ.mjs → chunk-5QXKDYWY.mjs} +103 -19
  4. package/dist/{chunk-GZIV2XAD.mjs → chunk-7GPX3YIB.mjs} +146 -183
  5. package/dist/{chunk-J5V6OVZO.mjs → chunk-DWRLPGX5.mjs} +690 -211
  6. package/dist/{chunk-4TN6YJDF.mjs → chunk-KTIU7VCP.mjs} +971 -214
  7. package/dist/default-schema-BGxf9Jrg.d.ts +174 -0
  8. package/dist/default-schema-Bwq8FATF.d.mts +174 -0
  9. package/dist/form-builder/index.d.mts +14 -170
  10. package/dist/form-builder/index.d.ts +14 -170
  11. package/dist/form-builder/index.js +827 -326
  12. package/dist/form-builder/index.mjs +1 -1
  13. package/dist/index.d.mts +111 -10
  14. package/dist/index.d.ts +111 -10
  15. package/dist/index.js +3525 -971
  16. package/dist/index.mjs +1424 -124
  17. package/dist/response-viewer/index.d.mts +1 -1
  18. package/dist/response-viewer/index.d.ts +1 -1
  19. package/dist/response-viewer/index.js +146 -183
  20. package/dist/response-viewer/index.mjs +1 -1
  21. package/dist/styles.css +2 -2
  22. package/dist/templates/index.d.mts +1 -1
  23. package/dist/templates/index.d.ts +1 -1
  24. package/dist/templates/index.js +103 -19
  25. package/dist/templates/index.mjs +1 -1
  26. package/dist/theme-editor/index.d.mts +12 -7
  27. package/dist/theme-editor/index.d.ts +12 -7
  28. package/dist/theme-editor/index.js +971 -214
  29. package/dist/theme-editor/index.mjs +1 -1
  30. package/dist/{types-bFHsZT1n.d.mts → types-BQOeI3LX.d.mts} +1 -1
  31. package/dist/{types-bFHsZT1n.d.ts → types-BQOeI3LX.d.ts} +1 -1
  32. package/package.json +29 -18
  33. package/theme-editor/styles.css +497 -466
@@ -1,2 +1,2 @@
1
- export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme } from '../chunk-4TN6YJDF.mjs';
1
+ export { PRESET_FAMILIES, PREVIEW_SCHEMA, ThemeEditor, ThemeEditorThemeProvider, resolveThemeFromDOM, themeEditorDarkPreset, themeEditorLightPreset, useEditorTheme } from '../chunk-KTIU7VCP.mjs';
2
2
  import '../chunk-4MMKB2EW.mjs';
@@ -214,4 +214,4 @@ type MutationAction = {
214
214
  updates: Partial<Option>;
215
215
  };
216
216
 
217
- export type { BuilderState as B, DragItem as D, FormBuilderPreviewProps as F, MutationAction as M, PaletteCategory as P, QuestionTypeCategory as Q, SelectedItem as S, DropTarget as a, FormBuilderProps as b, FormBuilderTemplate as c, FormBuilderTheme as d, PropertyPanelTab as e, QuestionTypeInfo as f };
217
+ export type { BuilderState as B, DragItem as D, FormBuilderTheme as F, MutationAction as M, PaletteCategory as P, QuestionTypeCategory as Q, SelectedItem as S, DropTarget as a, FormBuilderPreviewProps as b, FormBuilderProps as c, PropertyPanelTab as d, QuestionTypeInfo as e, FormBuilderTemplate as f };
@@ -214,4 +214,4 @@ type MutationAction = {
214
214
  updates: Partial<Option>;
215
215
  };
216
216
 
217
- export type { BuilderState as B, DragItem as D, FormBuilderPreviewProps as F, MutationAction as M, PaletteCategory as P, QuestionTypeCategory as Q, SelectedItem as S, DropTarget as a, FormBuilderProps as b, FormBuilderTemplate as c, FormBuilderTheme as d, PropertyPanelTab as e, QuestionTypeInfo as f };
217
+ export type { BuilderState as B, DragItem as D, FormBuilderTheme as F, MutationAction as M, PaletteCategory as P, QuestionTypeCategory as Q, SelectedItem as S, DropTarget as a, FormBuilderPreviewProps as b, FormBuilderProps as c, PropertyPanelTab as d, QuestionTypeInfo as e, FormBuilderTemplate as f };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squaredr/fieldcraft-pro",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "Pro components for FieldCraft — visual drag-and-drop Form Builder, Response Viewer, and Theme Editor for React",
5
5
  "keywords": [
6
6
  "fieldcraft",
@@ -59,39 +59,50 @@
59
59
  "./theme-editor/styles.css"
60
60
  ],
61
61
  "dependencies": {
62
- "@dnd-kit/core": "^6.1.0",
62
+ "@dnd-kit/core": "^6.3.1",
63
63
  "@dnd-kit/sortable": "^8.0.0",
64
64
  "@dnd-kit/utilities": "^3.2.2",
65
- "@monaco-editor/react": "^4.6.0",
66
- "@xyflow/react": "^12.11.3",
65
+ "@monaco-editor/react": "^4.7.0",
66
+ "@radix-ui/react-select": "^2.3.7",
67
+ "@xyflow/react": "^12.11.5",
67
68
  "clsx": "^2.1.1",
68
- "lucide-react": "^1.16.0",
69
+ "lucide-react": "^1.37.0",
69
70
  "tailwind-merge": "^3.6.0"
70
71
  },
71
72
  "peerDependencies": {
72
- "@squaredr/fieldcraft-core": "^1.6.0",
73
- "@squaredr/fieldcraft-react": "^1.6.0",
73
+ "@squaredr/fieldcraft-core": "^1.9.1",
74
+ "@squaredr/fieldcraft-react": "^1.9.2",
75
+ "@squaredr/paykit": "^0.10.0",
74
76
  "@squaredr/paykit-react": "^1.0.0",
75
77
  "react": "^18 || ^19",
76
78
  "react-dom": "^18 || ^19"
77
79
  },
78
80
  "peerDependenciesMeta": {
81
+ "@squaredr/paykit": {
82
+ "optional": true
83
+ },
79
84
  "@squaredr/paykit-react": {
80
85
  "optional": true
81
86
  }
82
87
  },
83
88
  "devDependencies": {
84
- "@squaredr/fieldcraft-core": "^1.6.0",
85
- "@squaredr/fieldcraft-react": "^1.6.0",
86
- "@tailwindcss/cli": "^4.3.0",
87
- "@types/react": "^19.2.14",
88
- "@types/react-dom": "^19.2.3",
89
- "react": "^19.2.4",
90
- "react-dom": "^19.2.4",
91
- "tailwindcss": "^4.3.0",
92
- "tsup": "^8.0",
93
- "typescript": "^5.5",
94
- "vitest": "^2.0",
89
+ "@squaredr/fieldcraft-core": "^1.10.0",
90
+ "@squaredr/fieldcraft-react": "^1.10.0",
91
+ "@squaredr/paykit": "^0.10.2",
92
+ "@squaredr/paykit-react": "^1.1.0",
93
+ "@tailwindcss/cli": "^4.3.3",
94
+ "@testing-library/jest-dom": "^7.0.1",
95
+ "@testing-library/react": "^16.3.3",
96
+ "@testing-library/user-event": "^14.6.6",
97
+ "@types/react": "^19.2.18",
98
+ "@types/react-dom": "^19.2.5",
99
+ "jsdom": "^30.0.1",
100
+ "react": "^19.2.8",
101
+ "react-dom": "^19.2.8",
102
+ "tailwindcss": "^4.3.3",
103
+ "tsup": "^8.5.1",
104
+ "typescript": "^5.9.3",
105
+ "vitest": "^2.1.9",
95
106
  "@squaredr/fieldcraft-pro-license": "1.4.0",
96
107
  "@squaredr/fieldcraft-pro-tsconfig": "0.0.1"
97
108
  },