@elice/material-quiz 1.240811.0-recommend.0 → 1.240814.0
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.
|
@@ -161,7 +161,6 @@ var MaterialQuizContainer = function MaterialQuizContainer(_ref7) {
|
|
|
161
161
|
eliceCourseApiConfiguration: eliceCourseApiConfiguration,
|
|
162
162
|
children: jsxRuntime.jsx(MaterialQuizContext.MaterialQuizProvider, {
|
|
163
163
|
materialQuizId: materialQuizId,
|
|
164
|
-
eliceCourseApiConfiguration: eliceCourseApiConfiguration,
|
|
165
164
|
userId: userId,
|
|
166
165
|
onDirty: onDirty,
|
|
167
166
|
onSubmit: onSubmit,
|
|
@@ -22,7 +22,7 @@ export type MaterialQuizProps = {
|
|
|
22
22
|
onSubmit?: (isSucceeded: boolean, isCorrect?: boolean) => void;
|
|
23
23
|
onNext?: () => void;
|
|
24
24
|
};
|
|
25
|
-
interface MaterialQuizProviderProps extends Omit<MaterialQuizProps, 'locale'> {
|
|
25
|
+
interface MaterialQuizProviderProps extends Omit<MaterialQuizProps, 'locale' | 'eliceCourseApiConfiguration'> {
|
|
26
26
|
children: React.ReactNode;
|
|
27
27
|
}
|
|
28
28
|
interface DispatchContextType {
|
|
@@ -152,7 +152,6 @@ var MaterialQuizContainer = function MaterialQuizContainer(_ref7) {
|
|
|
152
152
|
eliceCourseApiConfiguration: eliceCourseApiConfiguration,
|
|
153
153
|
children: jsx(MaterialQuizProvider, {
|
|
154
154
|
materialQuizId: materialQuizId,
|
|
155
|
-
eliceCourseApiConfiguration: eliceCourseApiConfiguration,
|
|
156
155
|
userId: userId,
|
|
157
156
|
onDirty: onDirty,
|
|
158
157
|
onSubmit: onSubmit,
|
|
@@ -22,7 +22,7 @@ export type MaterialQuizProps = {
|
|
|
22
22
|
onSubmit?: (isSucceeded: boolean, isCorrect?: boolean) => void;
|
|
23
23
|
onNext?: () => void;
|
|
24
24
|
};
|
|
25
|
-
interface MaterialQuizProviderProps extends Omit<MaterialQuizProps, 'locale'> {
|
|
25
|
+
interface MaterialQuizProviderProps extends Omit<MaterialQuizProps, 'locale' | 'eliceCourseApiConfiguration'> {
|
|
26
26
|
children: React.ReactNode;
|
|
27
27
|
}
|
|
28
28
|
interface DispatchContextType {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-quiz",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240814.0",
|
|
4
4
|
"description": "User view and editing components of Elice material quiz",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
68
68
|
"@elice/intl": "0.240425.0-rc.2",
|
|
69
69
|
"@elice/markdown": "^1.240124.0",
|
|
70
|
-
"@elice/material-shared-types": "1.
|
|
71
|
-
"@elice/material-shared-utils": "1.
|
|
70
|
+
"@elice/material-shared-types": "1.240814.0",
|
|
71
|
+
"@elice/material-shared-utils": "1.240814.0",
|
|
72
72
|
"@elice/mui-system": "^5.240108.1",
|
|
73
73
|
"@elice/openapi-client-course": "^1.230814.0",
|
|
74
74
|
"@elice/types": "1.240709.0",
|