@elice/material-quiz 1.240514.0 → 1.240514.2
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.
|
@@ -123,7 +123,7 @@ const MaterialQuizEditContent = () => {
|
|
|
123
123
|
setValue('optionsDefault', get());
|
|
124
124
|
},
|
|
125
125
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
126
|
-
[watchedOptionType, setValue
|
|
126
|
+
[watchedOptionType, setValue]);
|
|
127
127
|
//
|
|
128
128
|
// Change `answerInfo` according to `optionType`.
|
|
129
129
|
//
|
|
@@ -159,7 +159,7 @@ const MaterialQuizEditContent = () => {
|
|
|
159
159
|
setValue('answerInfoDefault', get());
|
|
160
160
|
},
|
|
161
161
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
162
|
-
[watchedOptionType, setValue
|
|
162
|
+
[watchedOptionType, setValue]);
|
|
163
163
|
//
|
|
164
164
|
// Change `answerHint` according to `optionType`.
|
|
165
165
|
//
|
|
@@ -180,7 +180,7 @@ const MaterialQuizEditContent = () => {
|
|
|
180
180
|
setValue('answerHint', get());
|
|
181
181
|
},
|
|
182
182
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
183
|
-
[watchedOptionType, setValue
|
|
183
|
+
[watchedOptionType, setValue]);
|
|
184
184
|
//
|
|
185
185
|
// Change `isAutoGrade` according to `optionType`.
|
|
186
186
|
//
|
|
@@ -201,7 +201,7 @@ const MaterialQuizEditContent = () => {
|
|
|
201
201
|
setValue('isAutoGrade', get());
|
|
202
202
|
},
|
|
203
203
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
204
|
-
[watchedOptionType, setValue
|
|
204
|
+
[watchedOptionType, setValue]);
|
|
205
205
|
//
|
|
206
206
|
// Change `groups` according to `optionType`.
|
|
207
207
|
//
|
|
@@ -236,7 +236,7 @@ const MaterialQuizEditContent = () => {
|
|
|
236
236
|
setValue('groups', get());
|
|
237
237
|
},
|
|
238
238
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
239
|
-
[watchedOptionType, setValue
|
|
239
|
+
[watchedOptionType, setValue]);
|
|
240
240
|
/**
|
|
241
241
|
* Input of option info and answer info,
|
|
242
242
|
* according to option type.
|
|
@@ -119,7 +119,7 @@ const MaterialQuizEditContent = () => {
|
|
|
119
119
|
setValue('optionsDefault', get());
|
|
120
120
|
},
|
|
121
121
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
122
|
-
[watchedOptionType, setValue
|
|
122
|
+
[watchedOptionType, setValue]);
|
|
123
123
|
//
|
|
124
124
|
// Change `answerInfo` according to `optionType`.
|
|
125
125
|
//
|
|
@@ -155,7 +155,7 @@ const MaterialQuizEditContent = () => {
|
|
|
155
155
|
setValue('answerInfoDefault', get());
|
|
156
156
|
},
|
|
157
157
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
158
|
-
[watchedOptionType, setValue
|
|
158
|
+
[watchedOptionType, setValue]);
|
|
159
159
|
//
|
|
160
160
|
// Change `answerHint` according to `optionType`.
|
|
161
161
|
//
|
|
@@ -176,7 +176,7 @@ const MaterialQuizEditContent = () => {
|
|
|
176
176
|
setValue('answerHint', get());
|
|
177
177
|
},
|
|
178
178
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
179
|
-
[watchedOptionType, setValue
|
|
179
|
+
[watchedOptionType, setValue]);
|
|
180
180
|
//
|
|
181
181
|
// Change `isAutoGrade` according to `optionType`.
|
|
182
182
|
//
|
|
@@ -197,7 +197,7 @@ const MaterialQuizEditContent = () => {
|
|
|
197
197
|
setValue('isAutoGrade', get());
|
|
198
198
|
},
|
|
199
199
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
200
|
-
[watchedOptionType, setValue
|
|
200
|
+
[watchedOptionType, setValue]);
|
|
201
201
|
//
|
|
202
202
|
// Change `groups` according to `optionType`.
|
|
203
203
|
//
|
|
@@ -232,7 +232,7 @@ const MaterialQuizEditContent = () => {
|
|
|
232
232
|
setValue('groups', get());
|
|
233
233
|
},
|
|
234
234
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
235
|
-
[watchedOptionType, setValue
|
|
235
|
+
[watchedOptionType, setValue]);
|
|
236
236
|
/**
|
|
237
237
|
* Input of option info and answer info,
|
|
238
238
|
* according to option type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-quiz",
|
|
3
|
-
"version": "1.240514.
|
|
3
|
+
"version": "1.240514.2",
|
|
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",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
65
65
|
"@elice/intl": "0.240425.0-rc.0",
|
|
66
66
|
"@elice/markdown": "^1.240124.0",
|
|
67
|
-
"@elice/material-shared-types": "1.240514.
|
|
68
|
-
"@elice/material-shared-utils": "1.240514.
|
|
67
|
+
"@elice/material-shared-types": "1.240514.2",
|
|
68
|
+
"@elice/material-shared-utils": "1.240514.2",
|
|
69
69
|
"@elice/mui-system": "^5.240108.1",
|
|
70
70
|
"@elice/types": "1.240131.0",
|
|
71
71
|
"@emotion/react": "^11.10.0",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"react-use": "^17.2.4",
|
|
88
88
|
"styled-components": "^5.3.0"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "b13df05d69f1f8b7081d670ec2986a6212875563"
|
|
91
91
|
}
|