@pie-element/multiple-choice 13.4.0-next.14 → 13.4.0-next.16

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 (26) hide show
  1. package/dist/browser/{Radio-BQL7oapy.js → Radio-DegbIWvP.js} +434 -401
  2. package/dist/browser/{Radio-BQL7oapy.js.map → Radio-DegbIWvP.js.map} +1 -1
  3. package/dist/browser/author/index.js +7 -7
  4. package/dist/browser/delivery/index.js +2 -2
  5. package/dist/browser/editor-runtime/Radio-B4cx94v5.js +9629 -0
  6. package/dist/browser/editor-runtime/Radio-B4cx94v5.js.map +1 -0
  7. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  8. package/dist/browser/editor-runtime/author/index.js +18663 -0
  9. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  10. package/dist/browser/editor-runtime/controller/index.js +204 -0
  11. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  12. package/dist/browser/editor-runtime/delivery/index.js +303 -0
  13. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  14. package/dist/browser/editor-runtime/dist-CHbLnyuX.js +111 -0
  15. package/dist/browser/editor-runtime/dist-CHbLnyuX.js.map +1 -0
  16. package/dist/browser/editor-runtime/main-BccPBB_e.js +2553 -0
  17. package/dist/browser/editor-runtime/main-BccPBB_e.js.map +1 -0
  18. package/dist/browser/editor-runtime/print/index.js +43 -0
  19. package/dist/browser/editor-runtime/print/index.js.map +1 -0
  20. package/dist/browser/{main-CwGRAG_O.js → main-BTp97kLn.js} +2 -2
  21. package/dist/browser/{main-CwGRAG_O.js.map → main-BTp97kLn.js.map} +1 -1
  22. package/dist/browser/print/index.js +2 -2
  23. package/dist/index.iife.js +21 -21
  24. package/module/print.js +1585 -1552
  25. package/module/print.js.map +1 -1
  26. package/package.json +23 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/multiple-choice",
3
- "version": "13.4.0-next.14",
3
+ "version": "13.4.0-next.16",
4
4
  "description": "React implementation of multiple-choice element synced from pie-elements",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,20 +11,20 @@
11
11
  "@emotion/react": "^11.14.0",
12
12
  "@mui/icons-material": "^7.3.4",
13
13
  "@mui/material": "^7.3.4",
14
- "@pie-lib/correct-answer-toggle": "5.0.0-next.48",
15
- "@pie-lib/render-ui": "6.2.0-next.46",
14
+ "@pie-lib/correct-answer-toggle": "5.0.0-next.49",
15
+ "@pie-lib/render-ui": "6.2.0-next.47",
16
16
  "@pie-lib/translator": "5.0.0-next.5",
17
17
  "debug": "^4.1.1",
18
18
  "prop-types": "^15.8.1",
19
19
  "react-transition-group": "^4.4.5",
20
20
  "@pie-element/shared-configure-events": "0.1.1-next.0",
21
- "@pie-lib/config-ui": "14.0.0-next.40",
21
+ "@pie-lib/config-ui": "14.0.0-next.41",
22
22
  "@pie-element/shared-lodash": "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",
23
+ "@pie-lib/editable-html-tip-tap": "3.0.0-next.41",
24
+ "@pie-element/shared-controller-utils": "0.1.1-next.4",
25
25
  "clsx": "^2.1.1",
26
- "@pie-element/shared-player-events": "0.1.1-next.1",
27
- "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.2",
26
+ "@pie-element/shared-player-events": "0.1.1-next.2",
27
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.3",
28
28
  "react": "^18.2.0",
29
29
  "react-dom": "^18.2.0"
30
30
  },
@@ -42,6 +42,7 @@
42
42
  "default": "./dist/delivery/index.js"
43
43
  },
44
44
  "./browser/delivery": {
45
+ "types": "./dist/delivery/index.d.ts",
45
46
  "default": "./dist/browser/delivery/index.js"
46
47
  },
47
48
  "./author": {
@@ -49,6 +50,7 @@
49
50
  "default": "./dist/author/index.js"
50
51
  },
51
52
  "./browser/author": {
53
+ "types": "./dist/author/index.d.ts",
52
54
  "default": "./dist/browser/author/index.js"
53
55
  },
54
56
  "./configure": {
@@ -64,6 +66,7 @@
64
66
  "default": "./dist/controller/index.js"
65
67
  },
66
68
  "./browser/controller": {
69
+ "types": "./dist/controller/index.d.ts",
67
70
  "default": "./dist/browser/controller/index.js"
68
71
  },
69
72
  "./print": {
@@ -75,6 +78,7 @@
75
78
  "default": "./dist/print/index.js"
76
79
  },
77
80
  "./browser/print": {
81
+ "types": "./dist/print/index.d.ts",
78
82
  "default": "./dist/browser/print/index.js"
79
83
  },
80
84
  "./runtime-support": {
@@ -96,7 +100,7 @@
96
100
  ],
97
101
  "sideEffects": false,
98
102
  "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",
103
+ "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
104
  "dev": "bun x vite",
101
105
  "demo": "bun x vite --mode demo",
102
106
  "test": "bun x vitest run"
@@ -107,6 +111,16 @@
107
111
  "browserSharedDependencies": {
108
112
  "react": "18.2.0",
109
113
  "react-dom": "18.2.0"
114
+ },
115
+ "browserEditorRuntime": {
116
+ "name": "@pie-element/shared-editor-runtime",
117
+ "version": "0.1.1-next.0",
118
+ "views": {
119
+ "delivery": "editor-runtime/delivery",
120
+ "author": "editor-runtime/author",
121
+ "print": "editor-runtime/print",
122
+ "controller": "editor-runtime/controller"
123
+ }
110
124
  }
111
125
  }
112
126
  }