@case-framework/survey-ui 0.3.1 → 0.3.3

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 (29) hide show
  1. package/dist/src/components/hooks/use-document-keydown.d.ts +1 -1
  2. package/dist/src/components/rich-text/index.d.ts +1 -1
  3. package/dist/src/components/rich-text-editor/plugins/command-handler-plugin.d.ts +1 -1
  4. package/dist/src/components/rich-text-editor/plugins/image-dialog-plugin.d.ts +1 -1
  5. package/dist/src/components/rich-text-editor/plugins/sync-editor-value-plugin.d.ts +1 -1
  6. package/dist/src/components/ui/card.d.ts +1 -1
  7. package/dist/src/dev/_components/nav-input.d.ts +1 -1
  8. package/dist/src/modules/default-item-registry/items/form/model.d.ts +1 -1
  9. package/dist/src/modules/default-item-registry/items/form/search-adapter.d.ts +2 -0
  10. package/dist/src/modules/survey-editor/assets/survey-image-asset-manager.d.ts +1 -1
  11. package/dist/src/modules/survey-editor/editor-card/add-items/types.d.ts +1 -1
  12. package/dist/src/modules/survey-editor/editor-card/item-type-icon-with-tooltip.d.ts +1 -1
  13. package/dist/src/modules/survey-editor/index.d.ts +1 -1
  14. package/dist/src/modules/survey-editor/localization/default-all.d.ts +2 -0
  15. package/dist/src/modules/survey-editor/localization/default-en.d.ts +1 -2
  16. package/dist/src/modules/survey-editor/localization/default-nl.d.ts +2 -0
  17. package/dist/src/modules/survey-editor/localization/index.d.ts +4 -2
  18. package/dist/src/modules/survey-editor/navigation/types.d.ts +3 -3
  19. package/dist/src/modules/survey-editor/session-file.d.ts +1 -1
  20. package/dist/src/modules/survey-player/index.d.ts +1 -1
  21. package/dist/survey-editor-defaults.css +6 -6
  22. package/dist/survey-editor-defaults.css.d.ts +2 -0
  23. package/dist/survey-ui.cjs.js +71 -71
  24. package/dist/survey-ui.cjs.js.map +1 -1
  25. package/dist/survey-ui.css +1 -1
  26. package/dist/survey-ui.css.d.ts +2 -0
  27. package/dist/survey-ui.es.js +10698 -9622
  28. package/dist/survey-ui.es.js.map +1 -1
  29. package/package.json +46 -37
package/package.json CHANGED
@@ -1,51 +1,36 @@
1
1
  {
2
2
  "name": "@case-framework/survey-ui",
3
+ "version": "0.3.3",
3
4
  "private": false,
4
- "version": "0.3.1",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/case-framework/case-survey-toolkit"
8
+ },
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "sideEffects": [
13
+ "**/*.css"
14
+ ],
15
+ "main": "./dist/survey-ui.cjs.js",
16
+ "module": "./dist/survey-ui.es.js",
17
+ "types": "./dist/src/index.d.ts",
5
18
  "exports": {
6
19
  ".": {
7
20
  "types": "./dist/src/index.d.ts",
8
21
  "import": "./dist/survey-ui.es.js",
9
22
  "require": "./dist/survey-ui.cjs.js"
10
23
  },
11
- "./css": "./dist/survey-ui.css",
12
- "./editor-defaults.css": "./dist/survey-editor-defaults.css",
24
+ "./css": {
25
+ "types": "./dist/survey-ui.css.d.ts",
26
+ "default": "./dist/survey-ui.css"
27
+ },
28
+ "./editor-defaults.css": {
29
+ "types": "./dist/survey-editor-defaults.css.d.ts",
30
+ "default": "./dist/survey-editor-defaults.css"
31
+ },
13
32
  "./package.json": "./package.json"
14
33
  },
15
- "main": "./dist/survey-ui.cjs.js",
16
- "module": "./dist/survey-ui.es.js",
17
- "types": "./dist/src/index.d.ts",
18
- "files": [
19
- "dist"
20
- ],
21
- "repository": {
22
- "type": "git",
23
- "url": "https://github.com/case-framework/case-survey-toolkit"
24
- },
25
- "peerDependencies": {
26
- "react": "^19.2.3",
27
- "react-dom": "^19.2.3"
28
- },
29
- "devDependencies": {
30
- "@eslint/js": "^9.39.4",
31
- "@tailwindcss/vite": "^4.2.4",
32
- "@types/node": "^25.6.0",
33
- "@types/react": "^19.2.14",
34
- "@types/react-dom": "^19.2.3",
35
- "@vitejs/plugin-react": "^6.0.1",
36
- "eslint": "^9.39.4",
37
- "eslint-plugin-react-hooks": "^7.1.1",
38
- "eslint-plugin-react-refresh": "^0.5.2",
39
- "globals": "^17.5.0",
40
- "shadcn": "^4.5.0",
41
- "tailwindcss": "^4.2.4",
42
- "tw-animate-css": "^1.4.0",
43
- "typescript": "~6.0.3",
44
- "typescript-eslint": "^8.59.1",
45
- "vite": "^8.0.10",
46
- "vite-plugin-dts": "^4.5.4",
47
- "@case-framework/survey-core": "0.4.0"
48
- },
49
34
  "dependencies": {
50
35
  "@dnd-kit/dom": "^0.4.0",
51
36
  "@dnd-kit/helpers": "^0.4.0",
@@ -74,6 +59,30 @@
74
59
  "zod": "^4.3.6",
75
60
  "zustand": "^5.0.12"
76
61
  },
62
+ "devDependencies": {
63
+ "@eslint/js": "^9.39.4",
64
+ "@tailwindcss/vite": "^4.2.4",
65
+ "@types/node": "^25.6.0",
66
+ "@types/react": "^19.2.14",
67
+ "@types/react-dom": "^19.2.3",
68
+ "@vitejs/plugin-react": "^6.0.1",
69
+ "eslint": "^9.39.4",
70
+ "eslint-plugin-react-hooks": "^7.1.1",
71
+ "eslint-plugin-react-refresh": "^0.5.2",
72
+ "globals": "^17.5.0",
73
+ "shadcn": "^4.5.0",
74
+ "tailwindcss": "^4.2.4",
75
+ "tw-animate-css": "^1.4.0",
76
+ "typescript": "~6.0.3",
77
+ "typescript-eslint": "^8.59.1",
78
+ "vite": "^8.0.10",
79
+ "vite-plugin-dts": "^4.5.4",
80
+ "@case-framework/survey-core": "0.4.0"
81
+ },
82
+ "peerDependencies": {
83
+ "react": "^19.2.3",
84
+ "react-dom": "^19.2.3"
85
+ },
77
86
  "scripts": {
78
87
  "dev": "vite",
79
88
  "build": "vite build",