@elice/material-quiz 1.230707.0 → 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.
@@ -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
 
@@ -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.230707.0",
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.230707.0",
62
- "@elice/material-shared-utils": "1.230707.0",
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": "9de209573b5a42e0c3775b953e4db0cef2f01405"
76
+ "gitHead": "05fac3c0f761149044fa2d81ffd6027ba5700347"
77
77
  }