catchup-library-web 1.20.13 → 1.20.14
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
CHANGED
|
@@ -5024,7 +5024,7 @@ var FillInTheBlanksActivityMaterialContent = ({
|
|
|
5024
5024
|
index
|
|
5025
5025
|
)
|
|
5026
5026
|
) }),
|
|
5027
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
|
|
5027
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
|
|
5028
5028
|
const learnerAnswerState = checkAnswerState(
|
|
5029
5029
|
JSON.parse(materialMap[materialKey]),
|
|
5030
5030
|
answerMap[materialKey]
|
|
@@ -5046,7 +5046,7 @@ var FillInTheBlanksActivityMaterialContent = ({
|
|
|
5046
5046
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
5047
5047
|
"div",
|
|
5048
5048
|
{
|
|
5049
|
-
className: `w-full min-h-[44px]
|
|
5049
|
+
className: `w-full min-h-[44px] py-2 px-4 border rounded-lg ${answerMap[materialKey] ? "border-catchup-blue-400" : "bg-catchup-gray-50 border-catchup-gray-200 border-dashed"}`,
|
|
5050
5050
|
onClick: () => {
|
|
5051
5051
|
if (answerMap[materialKey]) {
|
|
5052
5052
|
onChange(answer, materialKey, "");
|
package/dist/index.mjs
CHANGED
|
@@ -4808,7 +4808,7 @@ var FillInTheBlanksActivityMaterialContent = ({
|
|
|
4808
4808
|
index
|
|
4809
4809
|
)
|
|
4810
4810
|
) }),
|
|
4811
|
-
/* @__PURE__ */ jsx30("div", { className: "flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
|
|
4811
|
+
/* @__PURE__ */ jsx30("div", { className: "w-full flex flex-row flex-wrap", children: Object.keys(answerMap).map((materialKey, index) => {
|
|
4812
4812
|
const learnerAnswerState = checkAnswerState(
|
|
4813
4813
|
JSON.parse(materialMap[materialKey]),
|
|
4814
4814
|
answerMap[materialKey]
|
|
@@ -4830,7 +4830,7 @@ var FillInTheBlanksActivityMaterialContent = ({
|
|
|
4830
4830
|
/* @__PURE__ */ jsx30("div", { className: "flex-1", children: /* @__PURE__ */ jsx30(
|
|
4831
4831
|
"div",
|
|
4832
4832
|
{
|
|
4833
|
-
className: `w-full min-h-[44px]
|
|
4833
|
+
className: `w-full min-h-[44px] py-2 px-4 border rounded-lg ${answerMap[materialKey] ? "border-catchup-blue-400" : "bg-catchup-gray-50 border-catchup-gray-200 border-dashed"}`,
|
|
4834
4834
|
onClick: () => {
|
|
4835
4835
|
if (answerMap[materialKey]) {
|
|
4836
4836
|
onChange(answer, materialKey, "");
|
package/package.json
CHANGED
package/src/components/activities/material-contents/FillInTheBlanksActivityMaterialContent.tsx
CHANGED
|
@@ -149,7 +149,7 @@ const FillInTheBlanksActivityMaterialContent = ({
|
|
|
149
149
|
)
|
|
150
150
|
)}
|
|
151
151
|
</div>
|
|
152
|
-
<div className="flex flex-row flex-wrap">
|
|
152
|
+
<div className="w-full flex flex-row flex-wrap">
|
|
153
153
|
{Object.keys(answerMap).map((materialKey, index) => {
|
|
154
154
|
const learnerAnswerState = checkAnswerState(
|
|
155
155
|
JSON.parse(materialMap[materialKey]),
|
|
@@ -190,10 +190,10 @@ const FillInTheBlanksActivityMaterialContent = ({
|
|
|
190
190
|
}}
|
|
191
191
|
/> */}
|
|
192
192
|
<div
|
|
193
|
-
className={`w-full min-h-[44px]
|
|
193
|
+
className={`w-full min-h-[44px] py-2 px-4 border rounded-lg ${
|
|
194
194
|
answerMap[materialKey]
|
|
195
|
-
? "
|
|
196
|
-
: "bg-gray-50 border-gray-200 border-dashed"
|
|
195
|
+
? "border-catchup-blue-400"
|
|
196
|
+
: "bg-catchup-gray-50 border-catchup-gray-200 border-dashed"
|
|
197
197
|
}`}
|
|
198
198
|
onClick={() => {
|
|
199
199
|
if (answerMap[materialKey]) {
|