@case-framework/survey-editor-ui 0.4.2 → 0.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.
Files changed (128) hide show
  1. package/README.md +75 -0
  2. package/dist/item-core-registry.cjs.js +1 -1
  3. package/dist/item-core-registry.cjs.js.map +1 -1
  4. package/dist/item-core-registry.es.js.map +1 -1
  5. package/dist/src/components/c-ui/alert-provider.d.ts +1 -1
  6. package/dist/src/components/c-ui/confirm-dialog.d.ts +3 -1
  7. package/dist/src/components/c-ui/confirm-provider.d.ts +2 -1
  8. package/dist/src/components/c-ui/dot-background.d.ts +2 -2
  9. package/dist/src/components/c-ui/filepicker-dropzone.d.ts +1 -1
  10. package/dist/src/components/common/content-editable-plain.d.ts +1 -1
  11. package/dist/src/components/common/drag-drop-provider.d.ts +7 -0
  12. package/dist/src/components/common/sortable-tree.d.ts +8 -1
  13. package/dist/src/components/rich-text/rich-text-block-editor.d.ts +1 -1
  14. package/dist/src/components/rich-text/rich-text-content-view.d.ts +1 -1
  15. package/dist/src/components/rich-text/rich-text-editor-context.d.ts +1 -1
  16. package/dist/src/components/rich-text-editor/plugins/docked-toolbar-plugin.d.ts +4 -2
  17. package/dist/src/components/rich-text-editor/plugins/end-of-content-editing-area-plugin.d.ts +1 -1
  18. package/dist/src/components/rich-text-editor/plugins/floating-toolbar-plugin.d.ts +1 -1
  19. package/dist/src/components/rich-text-editor/plugins/image-dialog-plugin.d.ts +1 -1
  20. package/dist/src/components/rich-text-editor/plugins/info-box-popover-plugin.d.ts +1 -1
  21. package/dist/src/components/rich-text-editor/plugins/link-popover-plugin.d.ts +1 -1
  22. package/dist/src/components/rich-text-editor/plugins/slash-command-menu-plugin.d.ts +3 -2
  23. package/dist/src/components/rich-text-editor/rich-text-editor.d.ts +3 -1
  24. package/dist/src/components/rich-text-editor/rich-text-menu-styles.d.ts +6 -0
  25. package/dist/src/components/rich-text-editor/style-control-icon.d.ts +1 -1
  26. package/dist/src/components/ui/alert-dialog.d.ts +12 -12
  27. package/dist/src/components/ui/alert.d.ts +4 -4
  28. package/dist/src/components/ui/badge.d.ts +2 -2
  29. package/dist/src/components/ui/breadcrumb.d.ts +7 -7
  30. package/dist/src/components/ui/button.d.ts +2 -2
  31. package/dist/src/components/ui/calendar.d.ts +2 -2
  32. package/dist/src/components/ui/card.d.ts +7 -7
  33. package/dist/src/components/ui/checkbox.d.ts +1 -1
  34. package/dist/src/components/ui/collapsible.d.ts +3 -3
  35. package/dist/src/components/ui/command.d.ts +9 -9
  36. package/dist/src/components/ui/context-menu.d.ts +15 -15
  37. package/dist/src/components/ui/dialog.d.ts +10 -10
  38. package/dist/src/components/ui/dropdown-menu.d.ts +15 -15
  39. package/dist/src/components/ui/field.d.ts +10 -10
  40. package/dist/src/components/ui/input-group.d.ts +6 -6
  41. package/dist/src/components/ui/input.d.ts +1 -1
  42. package/dist/src/components/ui/kbd.d.ts +2 -2
  43. package/dist/src/components/ui/label.d.ts +1 -1
  44. package/dist/src/components/ui/popover.d.ts +7 -7
  45. package/dist/src/components/ui/progress.d.ts +1 -1
  46. package/dist/src/components/ui/radio-group.d.ts +2 -2
  47. package/dist/src/components/ui/resizable.d.ts +3 -3
  48. package/dist/src/components/ui/scroll-area.d.ts +2 -2
  49. package/dist/src/components/ui/select.d.ts +10 -10
  50. package/dist/src/components/ui/separator.d.ts +1 -1
  51. package/dist/src/components/ui/skeleton.d.ts +1 -1
  52. package/dist/src/components/ui/slider.d.ts +1 -1
  53. package/dist/src/components/ui/sonner.d.ts +1 -1
  54. package/dist/src/components/ui/switch.d.ts +1 -1
  55. package/dist/src/components/ui/tabs.d.ts +4 -4
  56. package/dist/src/components/ui/textarea.d.ts +1 -1
  57. package/dist/src/components/ui/toggle-group.d.ts +2 -2
  58. package/dist/src/components/ui/toggle.d.ts +1 -1
  59. package/dist/src/components/ui/tooltip.d.ts +4 -4
  60. package/dist/src/index.d.ts +1 -1
  61. package/dist/src/modules/default-item-registry/items/form/editor/field-item-preview.d.ts +1 -1
  62. package/dist/src/modules/default-item-registry/items/form/editor/field-type-shared.d.ts +7 -7
  63. package/dist/src/modules/default-item-registry/items/form/editor/simple-field-editor.d.ts +1 -1
  64. package/dist/src/modules/default-item-registry/shared/preview/question-header.d.ts +1 -1
  65. package/dist/src/modules/default-item-registry/shared/question-editor/deferred-localized-rich-text-field.d.ts +1 -0
  66. package/dist/src/modules/survey-editor/assets/survey-image-asset-manager.d.ts +1 -1
  67. package/dist/src/modules/survey-editor/editor-card/add-items/hooks/use-add-item-actions.d.ts +2 -6
  68. package/dist/src/modules/survey-editor/editor-card/add-items/hooks/use-add-item-catalog.d.ts +6 -0
  69. package/dist/src/modules/survey-editor/editor-card/add-items/hooks/use-insert-item-preset.d.ts +18 -0
  70. package/dist/src/modules/survey-editor/editor-card/add-items/item-preset-utils.d.ts +6 -0
  71. package/dist/src/modules/survey-editor/editor-card/add-items/views/item-type-grid-view.d.ts +1 -1
  72. package/dist/src/modules/survey-editor/editor-card/copy-item-dropdown-menu.d.ts +1 -1
  73. package/dist/src/modules/survey-editor/editor-card/delete-item-dropdown-menu.d.ts +1 -1
  74. package/dist/src/modules/survey-editor/editor-card/group-items.d.ts +1 -1
  75. package/dist/src/modules/survey-editor/editor-card/index.d.ts +1 -0
  76. package/dist/src/modules/survey-editor/editor-card/item-authoring-state-preview.d.ts +7 -10
  77. package/dist/src/modules/survey-editor/editor-card/item-color-menu.d.ts +3 -2
  78. package/dist/src/modules/survey-editor/editor-card/item-editing-header.d.ts +17 -0
  79. package/dist/src/modules/survey-editor/editor-card/item-editing-panels.d.ts +16 -0
  80. package/dist/src/modules/survey-editor/editor-card/item-editing-surface-context.d.ts +8 -0
  81. package/dist/src/modules/survey-editor/editor-card/item-editing-surface.d.ts +10 -0
  82. package/dist/src/modules/survey-editor/editor-card/item-editor-apply-context.d.ts +19 -0
  83. package/dist/src/modules/survey-editor/editor-card/item-editor-card.d.ts +8 -0
  84. package/dist/src/modules/survey-editor/editor-card/item-editor-header-styles.d.ts +1 -0
  85. package/dist/src/modules/survey-editor/editor-card/item-expression-overview.d.ts +3 -3
  86. package/dist/src/modules/survey-editor/editor-card/item-key-editor.d.ts +1 -1
  87. package/dist/src/modules/survey-editor/editor-card/item-preview.d.ts +2 -1
  88. package/dist/src/modules/survey-editor/editor-card/item-type-icon-with-tooltip.d.ts +1 -1
  89. package/dist/src/modules/survey-editor/editor-card/recommended-item-types.d.ts +1 -1
  90. package/dist/src/modules/survey-editor/expression-integrity.d.ts +6 -0
  91. package/dist/src/modules/survey-editor/index.d.ts +1 -1
  92. package/dist/src/modules/survey-editor/preview-draft/preview-draft-context.d.ts +20 -0
  93. package/dist/src/modules/survey-editor/preview-viewport-toggle.d.ts +1 -1
  94. package/dist/src/modules/survey-editor/primitives/input-with-ai-popover.d.ts +1 -1
  95. package/dist/src/modules/survey-editor/routes/editor/_components/assistant-authoring-lock.d.ts +2 -2
  96. package/dist/src/modules/survey-editor/routes/editor/_components/editor-assistant-slot.d.ts +2 -2
  97. package/dist/src/modules/survey-editor/routes/editor/_components/editor-mode-switch.d.ts +1 -1
  98. package/dist/src/modules/survey-editor/routes/editor/_components/editor-workspace.d.ts +2 -2
  99. package/dist/src/modules/survey-editor/routes/editor/_components/expression-diagnostics-status.d.ts +1 -0
  100. package/dist/src/modules/survey-editor/routes/editor/_components/footer.d.ts +1 -1
  101. package/dist/src/modules/survey-editor/routes/editor/_components/main.d.ts +0 -2
  102. package/dist/src/modules/survey-editor/routes/editor/_components/workspace-panel-toggles.d.ts +23 -0
  103. package/dist/src/modules/survey-editor/routes/editor/asset-manager/index.d.ts +1 -1
  104. package/dist/src/modules/survey-editor/routes/editor/index.d.ts +0 -2
  105. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/item-drag-drop.d.ts +34 -0
  106. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/item-editor-toolbar/language-picker.d.ts +1 -1
  107. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/survey-item-toolbox.d.ts +1 -0
  108. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/survey-left-panel.d.ts +1 -0
  109. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/survey-outline.d.ts +2 -2
  110. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/survey-workspace.d.ts +1 -3
  111. package/dist/src/modules/survey-editor/routes/editor/item-editor/index.d.ts +1 -5
  112. package/dist/src/modules/survey-editor/routes/editor/preview-mode/index.d.ts +3 -4
  113. package/dist/src/modules/survey-editor/routes/editor/preview-mode/page-break-divider.d.ts +1 -1
  114. package/dist/src/modules/survey-editor/routes/editor/preview-mode/preview-controls.d.ts +1 -4
  115. package/dist/src/modules/survey-editor/routes/editor/preview-mode/survey-preview-canvas.d.ts +1 -1
  116. package/dist/src/modules/survey-editor/routes/editor/preview-mode/survey-preview-item.d.ts +1 -1
  117. package/dist/src/modules/survey-editor/routes/editor/translation-mode/index.d.ts +1 -1
  118. package/dist/src/modules/survey-editor/routes/editor/translation-mode/translation-left-panel.d.ts +5 -0
  119. package/dist/src/modules/survey-editor/store/editor-store.d.ts +3 -0
  120. package/dist/src/modules/survey-editor/survey-editor.d.ts +19 -2
  121. package/dist/survey-editor-defaults.css +14 -0
  122. package/dist/survey-editor-ui.cjs.js +70 -68
  123. package/dist/survey-editor-ui.cjs.js.map +1 -1
  124. package/dist/survey-editor-ui.css +2 -2
  125. package/dist/survey-editor-ui.es.js +22161 -20432
  126. package/dist/survey-editor-ui.es.js.map +1 -1
  127. package/package.json +10 -10
  128. package/dist/src/modules/survey-editor/routes/editor/item-editor/_components/item-editor-toolbar/item-editor-toolbar.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@case-framework/survey-editor-ui",
3
- "version": "0.4.2",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "description": "React Survey Editor UI and optional assistant integration for CASE surveys.",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "./package.json": "./package.json"
43
43
  },
44
44
  "dependencies": {
45
- "@dnd-kit/dom": "^0.4.0",
46
- "@dnd-kit/react": "^0.4.0",
45
+ "@dnd-kit/dom": "^0.5.0",
46
+ "@dnd-kit/react": "^0.5.0",
47
47
  "@lexical/extension": "^0.49.0",
48
48
  "@lexical/link": "^0.49.0",
49
49
  "@lexical/list": "^0.49.0",
@@ -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/survey-ui": "0.8.3",
68
- "@case-framework/ui-localization": "0.2.1",
69
- "@case-framework/survey-assistant": "0.2.3"
67
+ "@case-framework/survey-assistant": "0.4.0",
68
+ "@case-framework/survey-ui": "0.8.4",
69
+ "@case-framework/ui-localization": "0.2.1"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@eslint/js": "^9.39.4",
@@ -74,8 +74,8 @@
74
74
  "@tailwindcss/vite": "^4.3.2",
75
75
  "@types/jest": "^30.0.0",
76
76
  "@types/node": "^25.6.0",
77
- "@types/react": "^19.2.14",
78
- "@types/react-dom": "^19.2.3",
77
+ "@types/react": "^19.2.18",
78
+ "@types/react-dom": "^19.2.4",
79
79
  "@vitejs/plugin-react": "^6.0.1",
80
80
  "eslint": "^9.39.4",
81
81
  "eslint-plugin-react-hooks": "^7.1.1",
@@ -90,12 +90,12 @@
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
96
  "react": "^19.2.3",
97
97
  "react-dom": "^19.2.3",
98
- "@case-framework/survey-core": "0.6.1"
98
+ "@case-framework/survey-core": "0.6.2"
99
99
  },
100
100
  "scripts": {
101
101
  "dev": "vite",
@@ -1,6 +0,0 @@
1
- interface ItemEditorToolbarProps {
2
- onBackRequested?: () => void;
3
- onSaveRequested: () => void;
4
- }
5
- declare const ItemEditorToolbar: React.FC<ItemEditorToolbarProps>;
6
- export default ItemEditorToolbar;