@pie-element/rubric 8.1.2-next.3 → 8.1.2-next.30

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 (45) hide show
  1. package/author.js +2 -0
  2. package/dist/author/index.js +1 -1
  3. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  4. package/dist/browser/author/index.js +34047 -44640
  5. package/dist/browser/author/index.js.map +1 -1
  6. package/dist/browser/controller/index.js.map +1 -1
  7. package/dist/browser/delivery/index.js +29 -10
  8. package/dist/browser/delivery/index.js.map +1 -1
  9. package/dist/browser/{dist-DnnL1HSL.js → dist-B8zq6W6A.js} +6 -2
  10. package/dist/browser/dist-B8zq6W6A.js.map +1 -0
  11. package/dist/browser/{dist-B6elSZkE.js → dist-DMY89diX.js} +2755 -2644
  12. package/dist/browser/dist-DMY89diX.js.map +1 -0
  13. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  14. package/dist/browser/editor-runtime/author/index.js +23282 -0
  15. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  16. package/dist/browser/editor-runtime/controller/index.js +41 -0
  17. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  18. package/dist/browser/editor-runtime/delivery/index.js +53 -0
  19. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  20. package/dist/browser/editor-runtime/dist-B8zq6W6A.js +102 -0
  21. package/dist/browser/editor-runtime/dist-B8zq6W6A.js.map +1 -0
  22. package/dist/browser/editor-runtime/dist-CuZbXeXU.js +9202 -0
  23. package/dist/browser/editor-runtime/dist-CuZbXeXU.js.map +1 -0
  24. package/dist/browser/{main-C0Q1SfKi.js → editor-runtime/main-BW9yRRff.js} +26 -25
  25. package/dist/browser/editor-runtime/main-BW9yRRff.js.map +1 -0
  26. package/dist/browser/editor-runtime/print/index.js +37 -0
  27. package/dist/browser/editor-runtime/print/index.js.map +1 -0
  28. package/dist/browser/editor-runtime/rolldown-runtime-CHQKHQ89.js +32 -0
  29. package/dist/browser/main-CLkxSVoZ.js +154 -0
  30. package/dist/browser/{main-C0Q1SfKi.js.map → main-CLkxSVoZ.js.map} +1 -1
  31. package/dist/browser/print/index.js +12 -9
  32. package/dist/browser/print/index.js.map +1 -1
  33. package/dist/browser/rolldown-runtime-CWhphoD1.js +32 -0
  34. package/dist/delivery/index.d.ts +3 -0
  35. package/dist/delivery/index.js +24 -6
  36. package/dist/delivery/main.js +2 -2
  37. package/dist/index.iife.js +30 -30
  38. package/dist/print/index.js +4 -2
  39. package/module/print.js +15264 -0
  40. package/module/print.js.map +1 -0
  41. package/package.json +39 -22
  42. package/print.js +2 -0
  43. package/dist/browser/dist-B6elSZkE.js.map +0 -1
  44. package/dist/browser/dist-DnnL1HSL.js.map +0 -1
  45. package/dist/browser/rubric.css +0 -2
package/package.json CHANGED
@@ -1,24 +1,26 @@
1
1
  {
2
2
  "name": "@pie-element/rubric",
3
- "version": "8.1.2-next.3",
3
+ "version": "8.1.2-next.30",
4
4
  "description": "Rubric Scoring Interaction",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/pie-framework/pie-elements-ng.git",
8
+ "directory": "packages/elements-react/rubric"
9
+ },
5
10
  "dependencies": {
6
11
  "@emotion/react": "^11.14.0",
7
- "@emotion/style": "^0.8.0",
8
12
  "@mui/icons-material": "^7.3.4",
9
13
  "@mui/material": "^7.3.4",
10
- "@pie-lib/render-ui": "6.1.1-next.37",
14
+ "@pie-lib/render-ui": "6.2.0-next.53",
11
15
  "prop-types": "^15.8.1",
12
- "@pie-element/shared-configure-events": "0.1.0",
16
+ "@pie-element/shared-configure-events": "0.1.1-next.1",
13
17
  "debug": "^4.4.3",
14
- "@pie-lib/rubric": "2.0.4-next.30",
15
- "@pie-lib/config-ui": "13.0.4-next.30",
16
- "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.0",
17
- "@pie-element/shared-lodash": "0.1.1-next.0"
18
- },
19
- "peerDependencies": {
20
- "react": "^18.0.0",
21
- "react-dom": "^18.0.0"
18
+ "@pie-lib/rubric": "3.0.0-next.50",
19
+ "@pie-lib/config-ui": "14.0.0-next.50",
20
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.8",
21
+ "@pie-element/shared-lodash": "0.1.1-next.3",
22
+ "react": "^18.2.0",
23
+ "react-dom": "^18.2.0"
22
24
  },
23
25
  "exports": {
24
26
  ".": {
@@ -30,6 +32,7 @@
30
32
  "default": "./dist/delivery/index.js"
31
33
  },
32
34
  "./browser/delivery": {
35
+ "types": "./dist/delivery/index.d.ts",
33
36
  "default": "./dist/browser/delivery/index.js"
34
37
  },
35
38
  "./author": {
@@ -37,6 +40,7 @@
37
40
  "default": "./dist/author/index.js"
38
41
  },
39
42
  "./browser/author": {
43
+ "types": "./dist/author/index.d.ts",
40
44
  "default": "./dist/browser/author/index.js"
41
45
  },
42
46
  "./configure": {
@@ -52,38 +56,41 @@
52
56
  "default": "./dist/controller/index.js"
53
57
  },
54
58
  "./browser/controller": {
59
+ "types": "./dist/controller/index.d.ts",
55
60
  "default": "./dist/browser/controller/index.js"
56
61
  },
57
62
  "./print": {
58
63
  "types": "./dist/print/index.d.ts",
59
64
  "default": "./dist/print/index.js"
60
65
  },
66
+ "./print.js": {
67
+ "types": "./dist/print/index.d.ts",
68
+ "default": "./dist/print/index.js"
69
+ },
61
70
  "./browser/print": {
71
+ "types": "./dist/print/index.d.ts",
62
72
  "default": "./dist/browser/print/index.js"
63
73
  },
64
74
  "./runtime-support": {
65
75
  "types": "./dist/runtime-support.d.ts",
66
76
  "default": "./dist/runtime-support.js"
67
- }
77
+ },
78
+ "./package.json": "./package.json"
68
79
  },
69
80
  "type": "module",
70
81
  "main": "./dist/index.js",
71
82
  "types": "./dist/index.d.ts",
72
83
  "files": [
84
+ "author.js",
73
85
  "configure.js",
74
86
  "controller.js",
75
- "dist"
87
+ "dist",
88
+ "module",
89
+ "print.js"
76
90
  ],
77
91
  "sideEffects": false,
78
- "devDependencies": {
79
- "vite": "^8.0.1",
80
- "typescript": "^5.9.3",
81
- "@vitejs/plugin-react": "^6.0.1",
82
- "@types/react": "^18.2.0",
83
- "@types/react-dom": "^18.2.0"
84
- },
85
92
  "scripts": {
86
- "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
93
+ "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config ../../../tools/vite/element-browser-editor-runtime.config.ts && bun x vite build --config ../../../tools/vite/element-legacy-print.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
87
94
  "dev": "bun x vite",
88
95
  "demo": "bun x vite --mode demo",
89
96
  "test": "bun x vitest run"
@@ -94,6 +101,16 @@
94
101
  "browserSharedDependencies": {
95
102
  "react": "18.2.0",
96
103
  "react-dom": "18.2.0"
104
+ },
105
+ "browserEditorRuntime": {
106
+ "name": "@pie-element/shared-editor-runtime",
107
+ "version": "0.1.1-next.1",
108
+ "views": {
109
+ "delivery": "editor-runtime/delivery",
110
+ "author": "editor-runtime/author",
111
+ "print": "editor-runtime/print",
112
+ "controller": "editor-runtime/controller"
113
+ }
97
114
  }
98
115
  }
99
116
  }
package/print.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './dist/print/index.js';
2
+ export * from './dist/print/index.js';