@case-framework/survey-editor-ui 0.5.0 → 0.6.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.
Files changed (37) hide show
  1. package/README.md +5 -0
  2. package/dist/src/components/c-ui/confirm-dialog.d.ts +2 -0
  3. package/dist/src/components/c-ui/confirm-provider.d.ts +1 -0
  4. package/dist/src/components/rich-text-editor/plugins/docked-toolbar-plugin.d.ts +3 -1
  5. package/dist/src/components/rich-text-editor/plugins/slash-command-menu-plugin.d.ts +2 -1
  6. package/dist/src/components/rich-text-editor/rich-text-editor.d.ts +3 -1
  7. package/dist/src/components/rich-text-editor/rich-text-menu-styles.d.ts +6 -0
  8. package/dist/src/components/ui/badge.d.ts +1 -1
  9. package/dist/src/components/ui/button.d.ts +1 -1
  10. package/dist/src/modules/default-item-registry/items/form/model.d.ts +1 -0
  11. package/dist/src/modules/default-item-registry/shared/question-editor/deferred-localized-rich-text-field.d.ts +1 -0
  12. package/dist/src/modules/survey-editor/editor-card/index.d.ts +1 -0
  13. package/dist/src/modules/survey-editor/editor-card/item-authoring-state-preview.d.ts +7 -10
  14. package/dist/src/modules/survey-editor/editor-card/item-color-menu.d.ts +2 -1
  15. package/dist/src/modules/survey-editor/editor-card/item-editing-header.d.ts +17 -0
  16. package/dist/src/modules/survey-editor/editor-card/item-editing-panels.d.ts +16 -0
  17. package/dist/src/modules/survey-editor/editor-card/item-editing-surface-context.d.ts +8 -0
  18. package/dist/src/modules/survey-editor/editor-card/item-editing-surface.d.ts +10 -0
  19. package/dist/src/modules/survey-editor/editor-card/item-editor-apply-context.d.ts +19 -0
  20. package/dist/src/modules/survey-editor/editor-card/item-editor-card.d.ts +8 -0
  21. package/dist/src/modules/survey-editor/editor-card/item-editor-header-styles.d.ts +1 -0
  22. package/dist/src/modules/survey-editor/editor-card/item-preview.d.ts +2 -1
  23. package/dist/src/modules/survey-editor/expression-integrity.d.ts +6 -0
  24. package/dist/src/modules/survey-editor/preview-draft/preview-draft-context.d.ts +20 -0
  25. package/dist/src/modules/survey-editor/routes/editor/_components/expression-diagnostics-status.d.ts +1 -0
  26. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/item-drag-drop.d.ts +11 -0
  27. package/dist/src/modules/survey-editor/routes/editor/preview-mode/index.d.ts +3 -2
  28. package/dist/src/modules/survey-editor/routes/editor/preview-mode/preview-controls.d.ts +1 -4
  29. package/dist/src/modules/survey-editor/store/editor-store.d.ts +3 -0
  30. package/dist/src/modules/survey-editor/survey-editor-config.d.ts +2 -2
  31. package/dist/src/modules/survey-editor/survey-editor.d.ts +2 -1
  32. package/dist/survey-editor-ui.cjs.js +64 -62
  33. package/dist/survey-editor-ui.cjs.js.map +1 -1
  34. package/dist/survey-editor-ui.css +1 -1
  35. package/dist/survey-editor-ui.es.js +20265 -19216
  36. package/dist/survey-editor-ui.es.js.map +1 -1
  37. package/package.json +9 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@case-framework/survey-editor-ui",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "description": "React Survey Editor UI and optional assistant integration for CASE surveys.",
6
6
  "repository": {
@@ -64,9 +64,9 @@
64
64
  "sonner": "^2.0.7",
65
65
  "tailwind-merge": "^3.5.0",
66
66
  "zustand": "^5.0.12",
67
+ "@case-framework/ui-localization": "0.2.1",
67
68
  "@case-framework/survey-ui": "0.8.4",
68
- "@case-framework/survey-assistant": "0.3.0",
69
- "@case-framework/ui-localization": "0.2.1"
69
+ "@case-framework/survey-assistant": "0.6.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@eslint/js": "^9.39.4",
@@ -90,18 +90,21 @@
90
90
  "typescript-eslint": "^8.59.1",
91
91
  "vite": "^8.0.10",
92
92
  "vite-plugin-dts": "^4.5.4",
93
- "@case-framework/survey-core": "0.6.1"
93
+ "@case-framework/survey-core": "0.6.2"
94
94
  },
95
95
  "peerDependencies": {
96
+ "@ai-sdk/react": "^4.0.55",
97
+ "ai": "^7.0.52",
96
98
  "react": "^19.2.3",
97
99
  "react-dom": "^19.2.3",
98
- "@case-framework/survey-core": "0.6.1"
100
+ "@case-framework/survey-core": "^0.6.2"
99
101
  },
100
102
  "scripts": {
101
103
  "dev": "vite",
102
104
  "build": "vite build",
103
105
  "lint": "eslint .",
104
- "test": "pnpm typecheck:tests && jest --config jest.config.cjs --runInBand",
106
+ "check:assistant-peer-contract": "node scripts/check-assistant-peer-contract.mjs",
107
+ "test": "pnpm check:assistant-peer-contract && pnpm typecheck:tests && jest --config jest.config.cjs --runInBand",
105
108
  "typecheck:tests": "tsc --noEmit -p tsconfig.test.json",
106
109
  "preview": "vite preview"
107
110
  }