@elice/material-quiz 1.230705.1 → 1.230710.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.
|
@@ -8,8 +8,8 @@ var en = {
|
|
|
8
8
|
'materialQuiz.submittedAnswer': 'Submitted Answer',
|
|
9
9
|
'materialQuiz.answer': 'Answer',
|
|
10
10
|
'materialQuiz.next': 'Next question >',
|
|
11
|
-
'materialQuiz.selectOne.answer.title': '
|
|
12
|
-
'materialQuiz.selectMultiple.answer.title': '
|
|
11
|
+
'materialQuiz.selectOne.answer.title': 'Choose from the views below.',
|
|
12
|
+
'materialQuiz.selectMultiple.answer.title': 'Choose from the views below. (Redundant selections available)',
|
|
13
13
|
'materialQuiz.selectMultipleOrder.answer.title': 'Drag and drop your answers.',
|
|
14
14
|
'materialQuiz.text.answer.title': 'Please fill out the answer.',
|
|
15
15
|
'materialQuiz.empty.title': 'Quiz is now preparing.',
|
|
@@ -41,8 +41,8 @@ var ko = {
|
|
|
41
41
|
'materialQuiz.submittedAnswer': '제출한 답',
|
|
42
42
|
'materialQuiz.answer': '정답',
|
|
43
43
|
'materialQuiz.next': '다음 문제로 이동 >',
|
|
44
|
-
'materialQuiz.selectOne.answer.title': '
|
|
45
|
-
'materialQuiz.selectMultiple.answer.title': '
|
|
44
|
+
'materialQuiz.selectOne.answer.title': '아래 보기에서 골라주세요.',
|
|
45
|
+
'materialQuiz.selectMultiple.answer.title': '아래 보기에서 골라주세요. (중복 선택 가능)',
|
|
46
46
|
'materialQuiz.selectMultipleOrder.answer.title': '답안을 드래그 앤 드롭하세요.',
|
|
47
47
|
'materialQuiz.text.answer.title': '답안을 작성해 주세요.',
|
|
48
48
|
'materialQuiz.empty.title': '퀴즈가 준비 중 입니다.',
|
|
@@ -9,7 +9,7 @@ var styled = require('styled-components');
|
|
|
9
9
|
* Get shared question custom style depend on checked, status values.
|
|
10
10
|
*/
|
|
11
11
|
function getQuestionStatusStyle() {
|
|
12
|
-
return styled.css(["&,& p,& p.elicemd.elicemd--theme-dark{color:", ";}"], function (_ref) {
|
|
12
|
+
return styled.css(["&,& p,& p.elicemd.elicemd--theme-dark{color:", ";table tbody > tr:nth-child(odd) > td{background-color:", ";}}"], function (_ref) {
|
|
13
13
|
var checked = _ref.checked,
|
|
14
14
|
status = _ref.status;
|
|
15
15
|
switch (status) {
|
|
@@ -20,6 +20,10 @@ function getQuestionStatusStyle() {
|
|
|
20
20
|
default:
|
|
21
21
|
return checked ? designTokens.base.color.primary6 : designTokens.base.color.navy0;
|
|
22
22
|
}
|
|
23
|
+
}, function (_ref2) {
|
|
24
|
+
var checked = _ref2.checked,
|
|
25
|
+
status = _ref2.status;
|
|
26
|
+
return checked || status !== 'answer' ? "rgba(0, 0, 0, 0.08);" : null;
|
|
23
27
|
});
|
|
24
28
|
}
|
|
25
29
|
|
|
@@ -4,8 +4,8 @@ var en = {
|
|
|
4
4
|
'materialQuiz.submittedAnswer': 'Submitted Answer',
|
|
5
5
|
'materialQuiz.answer': 'Answer',
|
|
6
6
|
'materialQuiz.next': 'Next question >',
|
|
7
|
-
'materialQuiz.selectOne.answer.title': '
|
|
8
|
-
'materialQuiz.selectMultiple.answer.title': '
|
|
7
|
+
'materialQuiz.selectOne.answer.title': 'Choose from the views below.',
|
|
8
|
+
'materialQuiz.selectMultiple.answer.title': 'Choose from the views below. (Redundant selections available)',
|
|
9
9
|
'materialQuiz.selectMultipleOrder.answer.title': 'Drag and drop your answers.',
|
|
10
10
|
'materialQuiz.text.answer.title': 'Please fill out the answer.',
|
|
11
11
|
'materialQuiz.empty.title': 'Quiz is now preparing.',
|
|
@@ -37,8 +37,8 @@ var ko = {
|
|
|
37
37
|
'materialQuiz.submittedAnswer': '제출한 답',
|
|
38
38
|
'materialQuiz.answer': '정답',
|
|
39
39
|
'materialQuiz.next': '다음 문제로 이동 >',
|
|
40
|
-
'materialQuiz.selectOne.answer.title': '
|
|
41
|
-
'materialQuiz.selectMultiple.answer.title': '
|
|
40
|
+
'materialQuiz.selectOne.answer.title': '아래 보기에서 골라주세요.',
|
|
41
|
+
'materialQuiz.selectMultiple.answer.title': '아래 보기에서 골라주세요. (중복 선택 가능)',
|
|
42
42
|
'materialQuiz.selectMultipleOrder.answer.title': '답안을 드래그 앤 드롭하세요.',
|
|
43
43
|
'materialQuiz.text.answer.title': '답안을 작성해 주세요.',
|
|
44
44
|
'materialQuiz.empty.title': '퀴즈가 준비 중 입니다.',
|
|
@@ -5,7 +5,7 @@ import { css } from 'styled-components';
|
|
|
5
5
|
* Get shared question custom style depend on checked, status values.
|
|
6
6
|
*/
|
|
7
7
|
function getQuestionStatusStyle() {
|
|
8
|
-
return css(["&,& p,& p.elicemd.elicemd--theme-dark{color:", ";}"], function (_ref) {
|
|
8
|
+
return css(["&,& p,& p.elicemd.elicemd--theme-dark{color:", ";table tbody > tr:nth-child(odd) > td{background-color:", ";}}"], function (_ref) {
|
|
9
9
|
var checked = _ref.checked,
|
|
10
10
|
status = _ref.status;
|
|
11
11
|
switch (status) {
|
|
@@ -16,6 +16,10 @@ function getQuestionStatusStyle() {
|
|
|
16
16
|
default:
|
|
17
17
|
return checked ? base.color.primary6 : base.color.navy0;
|
|
18
18
|
}
|
|
19
|
+
}, function (_ref2) {
|
|
20
|
+
var checked = _ref2.checked,
|
|
21
|
+
status = _ref2.status;
|
|
22
|
+
return checked || status !== 'answer' ? "rgba(0, 0, 0, 0.08);" : null;
|
|
19
23
|
});
|
|
20
24
|
}
|
|
21
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-quiz",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.230710.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",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"@elice/icons": "^1.220803.0",
|
|
59
59
|
"@elice/icons-legacy": "npm:@elice/icons@0.220803.1",
|
|
60
60
|
"@elice/markdown": "^1.220803.0",
|
|
61
|
-
"@elice/material-shared-types": "1.
|
|
62
|
-
"@elice/material-shared-utils": "1.
|
|
61
|
+
"@elice/material-shared-types": "1.230710.0",
|
|
62
|
+
"@elice/material-shared-utils": "1.230710.0",
|
|
63
63
|
"@elice/types": "^1.230629.0",
|
|
64
64
|
"@types/classnames": "^2.3.1",
|
|
65
65
|
"@types/jquery": "^3.5.13",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"react-use": "^17.2.4",
|
|
74
74
|
"styled-components": "^5.3.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "05fac3c0f761149044fa2d81ffd6027ba5700347"
|
|
77
77
|
}
|