@pie-element/fraction-model 6.1.2-next.3 → 6.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 (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 +23906 -34476
  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-DWhSE6LF.js +28350 -0
  12. package/dist/browser/delivery-DWhSE6LF.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 +15657 -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-CRnQ8F-f.js → editor-runtime/delivery-rS6aVJ0Y.js} +8700 -8200
  22. package/dist/browser/editor-runtime/delivery-rS6aVJ0Y.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 +60 -43
  30. package/package.json +33 -25
  31. package/dist/browser/delivery-CRnQ8F-f.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,29 @@
1
1
  {
2
2
  "name": "@pie-element/fraction-model",
3
- "version": "6.1.2-next.3",
3
+ "version": "6.1.2-next.30",
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.49",
15
+ "@pie-lib/correct-answer-toggle": "5.0.0-next.55",
16
+ "@pie-lib/render-ui": "6.2.0-next.52",
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"
22
- },
23
- "peerDependencies": {
24
- "react": "^18.0.0",
25
- "react-dom": "^18.0.0"
19
+ "@pie-element/shared-configure-events": "0.1.1-next.1",
20
+ "@pie-lib/editable-html-tip-tap": "3.0.0-next.49",
21
+ "@pie-element/shared-lodash": "0.1.1-next.3",
22
+ "@pie-element/shared-player-events": "0.1.1-next.3",
23
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.7",
24
+ "react-is": "^18.3.1",
25
+ "react": "^18.2.0",
26
+ "react-dom": "^18.2.0"
26
27
  },
27
28
  "exports": {
28
29
  ".": {
@@ -34,6 +35,7 @@
34
35
  "default": "./dist/delivery/index.js"
35
36
  },
36
37
  "./browser/delivery": {
38
+ "types": "./dist/delivery/index.d.ts",
37
39
  "default": "./dist/browser/delivery/index.js"
38
40
  },
39
41
  "./author": {
@@ -41,6 +43,7 @@
41
43
  "default": "./dist/author/index.js"
42
44
  },
43
45
  "./browser/author": {
46
+ "types": "./dist/author/index.d.ts",
44
47
  "default": "./dist/browser/author/index.js"
45
48
  },
46
49
  "./configure": {
@@ -56,31 +59,27 @@
56
59
  "default": "./dist/controller/index.js"
57
60
  },
58
61
  "./browser/controller": {
62
+ "types": "./dist/controller/index.d.ts",
59
63
  "default": "./dist/browser/controller/index.js"
60
64
  },
61
65
  "./runtime-support": {
62
66
  "types": "./dist/runtime-support.d.ts",
63
67
  "default": "./dist/runtime-support.js"
64
- }
68
+ },
69
+ "./package.json": "./package.json"
65
70
  },
66
71
  "type": "module",
67
72
  "main": "./dist/index.js",
68
73
  "types": "./dist/index.d.ts",
69
74
  "files": [
75
+ "author.js",
70
76
  "configure.js",
71
77
  "controller.js",
72
78
  "dist"
73
79
  ],
74
80
  "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
81
  "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",
82
+ "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
83
  "dev": "bun x vite",
85
84
  "demo": "bun x vite --mode demo",
86
85
  "test": "bun x vitest run"
@@ -91,6 +90,15 @@
91
90
  "browserSharedDependencies": {
92
91
  "react": "18.2.0",
93
92
  "react-dom": "18.2.0"
93
+ },
94
+ "browserEditorRuntime": {
95
+ "name": "@pie-element/shared-editor-runtime",
96
+ "version": "0.1.1-next.1",
97
+ "views": {
98
+ "delivery": "editor-runtime/delivery",
99
+ "author": "editor-runtime/author",
100
+ "controller": "editor-runtime/controller"
101
+ }
94
102
  }
95
103
  }
96
104
  }