@pie-element/multiple-choice 13.4.0-next.13 → 13.4.0-next.15

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 (31) hide show
  1. package/dist/browser/{Radio-B-Cd30zs.js → Radio-BQL7oapy.js} +1336 -1332
  2. package/dist/browser/{Radio-B-Cd30zs.js.map → Radio-BQL7oapy.js.map} +1 -1
  3. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  4. package/dist/browser/author/index.js +19 -1
  5. package/dist/browser/author/index.js.map +1 -1
  6. package/dist/browser/delivery/index.js +3 -3
  7. package/dist/browser/delivery/index.js.map +1 -1
  8. package/dist/browser/editor-runtime/Radio-DkB_O40L.js +9596 -0
  9. package/dist/browser/editor-runtime/Radio-DkB_O40L.js.map +1 -0
  10. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  11. package/dist/browser/editor-runtime/author/index.js +18663 -0
  12. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  13. package/dist/browser/editor-runtime/controller/index.js +204 -0
  14. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  15. package/dist/browser/editor-runtime/delivery/index.js +303 -0
  16. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  17. package/dist/browser/editor-runtime/dist-CHbLnyuX.js +111 -0
  18. package/dist/browser/editor-runtime/dist-CHbLnyuX.js.map +1 -0
  19. package/dist/browser/editor-runtime/main-By6Ldawu.js +2553 -0
  20. package/dist/browser/editor-runtime/main-By6Ldawu.js.map +1 -0
  21. package/dist/browser/editor-runtime/print/index.js +43 -0
  22. package/dist/browser/editor-runtime/print/index.js.map +1 -0
  23. package/dist/browser/{main-DoiD4nKm.js → main-CwGRAG_O.js} +2 -2
  24. package/dist/browser/{main-DoiD4nKm.js.map → main-CwGRAG_O.js.map} +1 -1
  25. package/dist/browser/print/index.js +2 -2
  26. package/dist/delivery/index.js +1 -1
  27. package/dist/index.iife.js +2 -2
  28. package/module/print.js +612 -608
  29. package/module/print.js.map +1 -1
  30. package/package.json +22 -12
  31. package/dist/browser/multiple-choice.css +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/multiple-choice",
3
- "version": "13.4.0-next.13",
3
+ "version": "13.4.0-next.15",
4
4
  "description": "React implementation of multiple-choice element synced from pie-elements",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,29 +9,28 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@emotion/react": "^11.14.0",
12
- "@emotion/style": "^0.8.0",
13
12
  "@mui/icons-material": "^7.3.4",
14
13
  "@mui/material": "^7.3.4",
15
- "@pie-lib/correct-answer-toggle": "5.0.0-next.47",
16
- "@pie-lib/render-ui": "6.2.0-next.45",
14
+ "@pie-lib/correct-answer-toggle": "5.0.0-next.48",
15
+ "@pie-lib/render-ui": "6.2.0-next.46",
17
16
  "@pie-lib/translator": "5.0.0-next.5",
18
17
  "debug": "^4.1.1",
19
18
  "prop-types": "^15.8.1",
20
19
  "react-transition-group": "^4.4.5",
21
20
  "@pie-element/shared-configure-events": "0.1.1-next.0",
22
- "@pie-lib/config-ui": "14.0.0-next.39",
21
+ "@pie-lib/config-ui": "14.0.0-next.40",
23
22
  "@pie-element/shared-lodash": "0.1.1-next.2",
24
- "@pie-lib/editable-html-tip-tap": "3.0.0-next.39",
25
- "@pie-element/shared-controller-utils": "0.1.1-next.2",
23
+ "@pie-lib/editable-html-tip-tap": "3.0.0-next.40",
24
+ "@pie-element/shared-controller-utils": "0.1.1-next.3",
26
25
  "clsx": "^2.1.1",
27
26
  "@pie-element/shared-player-events": "0.1.1-next.1",
28
- "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.1",
27
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.2",
29
28
  "react": "^18.2.0",
30
29
  "react-dom": "^18.2.0"
31
30
  },
32
31
  "peerDependencies": {
33
- "react": "^18.0.0",
34
- "react-dom": "^18.0.0"
32
+ "react": "^18.2.0 || ^19.0.0",
33
+ "react-dom": "^18.2.0 || ^19.0.0"
35
34
  },
36
35
  "exports": {
37
36
  ".": {
@@ -81,7 +80,8 @@
81
80
  "./runtime-support": {
82
81
  "types": "./dist/runtime-support.d.ts",
83
82
  "default": "./dist/runtime-support.js"
84
- }
83
+ },
84
+ "./package.json": "./package.json"
85
85
  },
86
86
  "type": "module",
87
87
  "main": "./dist/index.js",
@@ -96,7 +96,7 @@
96
96
  ],
97
97
  "sideEffects": false,
98
98
  "scripts": {
99
- "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.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",
99
+ "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",
100
100
  "dev": "bun x vite",
101
101
  "demo": "bun x vite --mode demo",
102
102
  "test": "bun x vitest run"
@@ -107,6 +107,16 @@
107
107
  "browserSharedDependencies": {
108
108
  "react": "18.2.0",
109
109
  "react-dom": "18.2.0"
110
+ },
111
+ "browserEditorRuntime": {
112
+ "name": "@pie-element/shared-editor-runtime",
113
+ "version": "0.1.1-next.0",
114
+ "views": {
115
+ "delivery": "editor-runtime/delivery",
116
+ "author": "editor-runtime/author",
117
+ "print": "editor-runtime/print",
118
+ "controller": "editor-runtime/controller"
119
+ }
110
120
  }
111
121
  }
112
122
  }