@pie-element/fraction-model 6.1.2-next.2 → 6.1.2-next.20

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 (33) hide show
  1. package/author.js +2 -0
  2. package/dist/author/index.js +2 -2
  3. package/dist/author/main.js +2 -2
  4. package/dist/author/model-options.js +1 -1
  5. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  6. package/dist/browser/author/index.js +15054 -19750
  7. package/dist/browser/author/index.js.map +1 -1
  8. package/dist/browser/controller/index.js +19 -19
  9. package/dist/browser/controller/index.js.map +1 -1
  10. package/dist/browser/delivery/index.js +1 -1
  11. package/dist/browser/delivery-D2VkwAaI.js +28249 -0
  12. package/dist/browser/delivery-D2VkwAaI.js.map +1 -0
  13. package/dist/browser/{dist-DSzihwLW.js → dist-ClmZaEGT.js} +6 -2
  14. package/dist/browser/dist-ClmZaEGT.js.map +1 -0
  15. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  16. package/dist/browser/editor-runtime/author/index.js +15651 -0
  17. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  18. package/dist/browser/editor-runtime/controller/index.js +78 -0
  19. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  20. package/dist/browser/editor-runtime/delivery/index.js +2 -0
  21. package/dist/browser/{delivery-Dop7B493.js → editor-runtime/delivery-Coc6_NJS.js} +8568 -8051
  22. package/dist/browser/editor-runtime/delivery-Coc6_NJS.js.map +1 -0
  23. package/dist/browser/editor-runtime/dist-ClmZaEGT.js +89 -0
  24. package/dist/browser/editor-runtime/dist-ClmZaEGT.js.map +1 -0
  25. package/dist/controller/index.js +18 -18
  26. package/dist/delivery/answer-fraction.js +1 -1
  27. package/dist/delivery/index.js +3 -3
  28. package/dist/delivery/main.js +2 -2
  29. package/dist/index.iife.js +61 -44
  30. package/package.json +35 -23
  31. package/dist/browser/delivery-Dop7B493.js.map +0 -1
  32. package/dist/browser/dist-DSzihwLW.js.map +0 -1
  33. package/dist/browser/fraction-model.css +0 -2
package/package.json CHANGED
@@ -1,28 +1,33 @@
1
1
  {
2
2
  "name": "@pie-element/fraction-model",
3
- "version": "6.1.2-next.2",
3
+ "version": "6.1.2-next.20",
4
4
  "description": "",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/pie-framework/pie-elements-ng.git",
8
+ "directory": "packages/elements-react/fraction-model"
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/config-ui": "13.0.4-next.30",
11
- "@pie-lib/correct-answer-toggle": "4.0.3-next.37",
12
- "@pie-lib/render-ui": "6.1.1-next.37",
13
- "@pie-lib/test-utils": "2.0.2",
14
+ "@pie-lib/config-ui": "14.0.0-next.41",
15
+ "@pie-lib/correct-answer-toggle": "5.0.0-next.49",
16
+ "@pie-lib/render-ui": "6.2.0-next.47",
14
17
  "prop-types": "^15.8.1",
15
18
  "recharts": "^3.8.1",
16
- "@pie-element/shared-configure-events": "0.1.0",
17
- "@pie-lib/editable-html-tip-tap": "2.1.2-next.30",
18
- "@pie-element/shared-lodash": "0.1.1-next.0",
19
- "@pie-element/shared-player-events": "0.1.0",
20
- "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.0",
21
- "react-is": "^18.3.1"
19
+ "@pie-element/shared-configure-events": "0.1.1-next.0",
20
+ "@pie-lib/editable-html-tip-tap": "3.0.0-next.41",
21
+ "@pie-element/shared-lodash": "0.1.1-next.2",
22
+ "@pie-element/shared-player-events": "0.1.1-next.2",
23
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.3",
24
+ "react-is": "^18.3.1",
25
+ "react": "^18.2.0",
26
+ "react-dom": "^18.2.0"
22
27
  },
23
28
  "peerDependencies": {
24
- "react": "^18.0.0",
25
- "react-dom": "^18.0.0"
29
+ "react": "^18.2.0 || ^19.0.0",
30
+ "react-dom": "^18.2.0 || ^19.0.0"
26
31
  },
27
32
  "exports": {
28
33
  ".": {
@@ -34,6 +39,7 @@
34
39
  "default": "./dist/delivery/index.js"
35
40
  },
36
41
  "./browser/delivery": {
42
+ "types": "./dist/delivery/index.d.ts",
37
43
  "default": "./dist/browser/delivery/index.js"
38
44
  },
39
45
  "./author": {
@@ -41,6 +47,7 @@
41
47
  "default": "./dist/author/index.js"
42
48
  },
43
49
  "./browser/author": {
50
+ "types": "./dist/author/index.d.ts",
44
51
  "default": "./dist/browser/author/index.js"
45
52
  },
46
53
  "./configure": {
@@ -56,31 +63,27 @@
56
63
  "default": "./dist/controller/index.js"
57
64
  },
58
65
  "./browser/controller": {
66
+ "types": "./dist/controller/index.d.ts",
59
67
  "default": "./dist/browser/controller/index.js"
60
68
  },
61
69
  "./runtime-support": {
62
70
  "types": "./dist/runtime-support.d.ts",
63
71
  "default": "./dist/runtime-support.js"
64
- }
72
+ },
73
+ "./package.json": "./package.json"
65
74
  },
66
75
  "type": "module",
67
76
  "main": "./dist/index.js",
68
77
  "types": "./dist/index.d.ts",
69
78
  "files": [
79
+ "author.js",
70
80
  "configure.js",
71
81
  "controller.js",
72
82
  "dist"
73
83
  ],
74
84
  "sideEffects": false,
75
- "devDependencies": {
76
- "vite": "^8.0.1",
77
- "typescript": "^5.9.3",
78
- "@vitejs/plugin-react": "^6.0.1",
79
- "@types/react": "^18.2.0",
80
- "@types/react-dom": "^18.2.0"
81
- },
82
85
  "scripts": {
83
- "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",
86
+ "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 vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
84
87
  "dev": "bun x vite",
85
88
  "demo": "bun x vite --mode demo",
86
89
  "test": "bun x vitest run"
@@ -91,6 +94,15 @@
91
94
  "browserSharedDependencies": {
92
95
  "react": "18.2.0",
93
96
  "react-dom": "18.2.0"
97
+ },
98
+ "browserEditorRuntime": {
99
+ "name": "@pie-element/shared-editor-runtime",
100
+ "version": "0.1.1-next.0",
101
+ "views": {
102
+ "delivery": "editor-runtime/delivery",
103
+ "author": "editor-runtime/author",
104
+ "controller": "editor-runtime/controller"
105
+ }
94
106
  }
95
107
  }
96
108
  }