touchstudy-core 0.1.142 → 0.1.143
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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -28997,7 +28997,7 @@ var QuestionGroupBlockBody = function QuestionGroupBlockBody(_ref) {
|
|
28997
28997
|
gap: 2
|
28998
28998
|
}, !isMath && React__default.createElement(material.Stack, {
|
28999
28999
|
sx: {
|
29000
|
-
border: "
|
29000
|
+
border: "1.5px solid " + (blockErrors ? open ? error.main : error.light : open ? theme.palette.secondary.main : theme.palette.secondary.light),
|
29001
29001
|
borderRadius: 2
|
29002
29002
|
},
|
29003
29003
|
gap: 1,
|
@@ -29194,7 +29194,7 @@ var QuestionGroupBlock = function QuestionGroupBlock(_ref) {
|
|
29194
29194
|
expanded: open,
|
29195
29195
|
onChange: handleToggle,
|
29196
29196
|
sx: {
|
29197
|
-
border: "
|
29197
|
+
border: "1.5px solid " + (blockErrors ? open ? error.main : error.light : open ? colors.yellow[900] : colors.yellow[500])
|
29198
29198
|
}
|
29199
29199
|
}, React__default.createElement(material.AccordionSummary, {
|
29200
29200
|
expandIcon: React__default.createElement(md.MdExpandMore, {
|
@@ -29651,7 +29651,7 @@ var ChapterBlock = function ChapterBlock(_ref) {
|
|
29651
29651
|
expanded: open,
|
29652
29652
|
onChange: handleToggle,
|
29653
29653
|
sx: {
|
29654
|
-
border: "
|
29654
|
+
border: "1.5px solid " + (blockErrors ? open ? error.main : error.light : open ? (paths === null || paths === void 0 ? void 0 : paths.length) > 1 ? theme.palette.success.main : theme.palette.info.main : (paths === null || paths === void 0 ? void 0 : paths.length) > 1 ? theme.palette.success.light : theme.palette.info.light)
|
29655
29655
|
}
|
29656
29656
|
}, React__default.createElement(material.AccordionSummary, {
|
29657
29657
|
expandIcon: React__default.createElement(md.MdExpandMore, {
|