@pie-element/rubric 8.1.2-next.2 → 8.1.2-next.21

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 (44) 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 +35238 -39958
  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-D-HDsar4.js → dist-CV2-Vqbt.js} +2587 -2610
  12. package/dist/browser/dist-CV2-Vqbt.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 +23275 -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-c0SEcG05.js +9068 -0
  23. package/dist/browser/editor-runtime/dist-c0SEcG05.js.map +1 -0
  24. package/dist/browser/{main-Fk9pdppe.js → editor-runtime/main-BP6BbEXo.js} +25 -24
  25. package/dist/browser/editor-runtime/main-BP6BbEXo.js.map +1 -0
  26. package/dist/browser/editor-runtime/print/index.js +35 -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-DsZOE_DR.js +154 -0
  30. package/dist/browser/{main-Fk9pdppe.js.map → main-DsZOE_DR.js.map} +1 -1
  31. package/dist/browser/print/index.js +7 -6
  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/module/print.js +15160 -0
  39. package/module/print.js.map +1 -0
  40. package/package.json +41 -20
  41. package/print.js +2 -0
  42. package/dist/browser/dist-D-HDsar4.js.map +0 -1
  43. package/dist/browser/dist-DnnL1HSL.js.map +0 -1
  44. package/dist/browser/rubric.css +0 -2
package/package.json CHANGED
@@ -1,24 +1,30 @@
1
1
  {
2
2
  "name": "@pie-element/rubric",
3
- "version": "8.1.2-next.2",
3
+ "version": "8.1.2-next.21",
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.48",
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.0",
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
+ "@pie-lib/rubric": "3.0.0-next.42",
19
+ "@pie-lib/config-ui": "14.0.0-next.42",
20
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.4",
21
+ "@pie-element/shared-lodash": "0.1.1-next.2",
22
+ "react": "^18.2.0",
23
+ "react-dom": "^18.2.0"
18
24
  },
19
25
  "peerDependencies": {
20
- "react": "^18.0.0",
21
- "react-dom": "^18.0.0"
26
+ "react": "^18.2.0 || ^19.0.0",
27
+ "react-dom": "^18.2.0 || ^19.0.0"
22
28
  },
23
29
  "exports": {
24
30
  ".": {
@@ -30,6 +36,7 @@
30
36
  "default": "./dist/delivery/index.js"
31
37
  },
32
38
  "./browser/delivery": {
39
+ "types": "./dist/delivery/index.d.ts",
33
40
  "default": "./dist/browser/delivery/index.js"
34
41
  },
35
42
  "./author": {
@@ -37,6 +44,7 @@
37
44
  "default": "./dist/author/index.js"
38
45
  },
39
46
  "./browser/author": {
47
+ "types": "./dist/author/index.d.ts",
40
48
  "default": "./dist/browser/author/index.js"
41
49
  },
42
50
  "./configure": {
@@ -52,38 +60,41 @@
52
60
  "default": "./dist/controller/index.js"
53
61
  },
54
62
  "./browser/controller": {
63
+ "types": "./dist/controller/index.d.ts",
55
64
  "default": "./dist/browser/controller/index.js"
56
65
  },
57
66
  "./print": {
58
67
  "types": "./dist/print/index.d.ts",
59
68
  "default": "./dist/print/index.js"
60
69
  },
70
+ "./print.js": {
71
+ "types": "./dist/print/index.d.ts",
72
+ "default": "./dist/print/index.js"
73
+ },
61
74
  "./browser/print": {
75
+ "types": "./dist/print/index.d.ts",
62
76
  "default": "./dist/browser/print/index.js"
63
77
  },
64
78
  "./runtime-support": {
65
79
  "types": "./dist/runtime-support.d.ts",
66
80
  "default": "./dist/runtime-support.js"
67
- }
81
+ },
82
+ "./package.json": "./package.json"
68
83
  },
69
84
  "type": "module",
70
85
  "main": "./dist/index.js",
71
86
  "types": "./dist/index.d.ts",
72
87
  "files": [
88
+ "author.js",
73
89
  "configure.js",
74
90
  "controller.js",
75
- "dist"
91
+ "dist",
92
+ "module",
93
+ "print.js"
76
94
  ],
77
95
  "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
96
  "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",
97
+ "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
98
  "dev": "bun x vite",
88
99
  "demo": "bun x vite --mode demo",
89
100
  "test": "bun x vitest run"
@@ -94,6 +105,16 @@
94
105
  "browserSharedDependencies": {
95
106
  "react": "18.2.0",
96
107
  "react-dom": "18.2.0"
108
+ },
109
+ "browserEditorRuntime": {
110
+ "name": "@pie-element/shared-editor-runtime",
111
+ "version": "0.1.1-next.0",
112
+ "views": {
113
+ "delivery": "editor-runtime/delivery",
114
+ "author": "editor-runtime/author",
115
+ "print": "editor-runtime/print",
116
+ "controller": "editor-runtime/controller"
117
+ }
97
118
  }
98
119
  }
99
120
  }
package/print.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './dist/print/index.js';
2
+ export * from './dist/print/index.js';