catchup-library-web 1.0.11 → 1.0.13

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
@@ -3337,7 +3337,7 @@ var InputGroup = ({
3337
3337
  {
3338
3338
  ref: textAreaRef,
3339
3339
  disabled,
3340
- className: `w-full ${useMinHeight ? "min-h-[250px]" : ""} resize-none overflow-hidden py-2 px-4 border ${errorText ? "border-catchup-red shadow-error placeholder:text-catchup-red placeholder:opacity-80" : "border-catchup-gray-100"} placeholder-catchup-gray-200 rounded-catchup-large focus:outline-none focus:border-catchup-blue-400 ${disabled ? "bg-catchup-lighter-gray" : null} focus:shadow-input`,
3340
+ className: `w-full h-[44px] ${useMinHeight ? "min-h-[250px]" : ""} resize-none overflow-hidden py-2 px-4 border ${errorText ? "border-catchup-red shadow-error placeholder:text-catchup-red placeholder:opacity-80" : "border-catchup-gray-100"} placeholder-catchup-gray-200 rounded-catchup-large focus:outline-none focus:border-catchup-blue-400 ${disabled ? "bg-catchup-lighter-gray" : null} focus:shadow-input`,
3341
3341
  placeholder: errorText ? errorText : placeholder,
3342
3342
  value,
3343
3343
  onLoad: (e) => {
@@ -4999,8 +4999,8 @@ var MCMAActivityMaterialContent = ({
4999
4999
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5000
5000
  BaseImage_default,
5001
5001
  {
5002
- src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.png" : "/icons/empty-checkbox.png",
5003
- alt: "checkbox-empty-checkbox",
5002
+ src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.png" : "/icons/checkbox-empty.png",
5003
+ alt: "checkbox",
5004
5004
  size: "small",
5005
5005
  onClick: () => {
5006
5006
  }
@@ -5698,8 +5698,8 @@ var TrueFalseActivityMaterialContent = ({
5698
5698
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5699
5699
  BaseImage_default,
5700
5700
  {
5701
- src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/empty-checkbox.png",
5702
- alt: "checkbox-empty-checkbox",
5701
+ src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/checkbox-empty.png",
5702
+ alt: "checkbox",
5703
5703
  size: "small",
5704
5704
  onClick: () => {
5705
5705
  onChange(answer, "TRUE", shuffleOption);
@@ -5709,8 +5709,8 @@ var TrueFalseActivityMaterialContent = ({
5709
5709
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-[50px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5710
5710
  BaseImage_default,
5711
5711
  {
5712
- src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/empty-checkbox.png",
5713
- alt: "checkbox-empty-checkbox",
5712
+ src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/checkbox-empty.png",
5713
+ alt: "checkbox",
5714
5714
  size: "small",
5715
5715
  onClick: () => {
5716
5716
  onChange(answer, "FALSE", shuffleOption);
package/dist/index.mjs CHANGED
@@ -3164,7 +3164,7 @@ var InputGroup = ({
3164
3164
  {
3165
3165
  ref: textAreaRef,
3166
3166
  disabled,
3167
- className: `w-full ${useMinHeight ? "min-h-[250px]" : ""} resize-none overflow-hidden py-2 px-4 border ${errorText ? "border-catchup-red shadow-error placeholder:text-catchup-red placeholder:opacity-80" : "border-catchup-gray-100"} placeholder-catchup-gray-200 rounded-catchup-large focus:outline-none focus:border-catchup-blue-400 ${disabled ? "bg-catchup-lighter-gray" : null} focus:shadow-input`,
3167
+ className: `w-full h-[44px] ${useMinHeight ? "min-h-[250px]" : ""} resize-none overflow-hidden py-2 px-4 border ${errorText ? "border-catchup-red shadow-error placeholder:text-catchup-red placeholder:opacity-80" : "border-catchup-gray-100"} placeholder-catchup-gray-200 rounded-catchup-large focus:outline-none focus:border-catchup-blue-400 ${disabled ? "bg-catchup-lighter-gray" : null} focus:shadow-input`,
3168
3168
  placeholder: errorText ? errorText : placeholder,
3169
3169
  value,
3170
3170
  onLoad: (e) => {
@@ -4826,8 +4826,8 @@ var MCMAActivityMaterialContent = ({
4826
4826
  /* @__PURE__ */ jsx28("div", { className: "", children: /* @__PURE__ */ jsx28(
4827
4827
  BaseImage_default,
4828
4828
  {
4829
- src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.png" : "/icons/empty-checkbox.png",
4830
- alt: "checkbox-empty-checkbox",
4829
+ src: answerMap[materialKey].includes(materialSubKey) ? "/icons/checkbox.png" : "/icons/checkbox-empty.png",
4830
+ alt: "checkbox",
4831
4831
  size: "small",
4832
4832
  onClick: () => {
4833
4833
  }
@@ -5525,8 +5525,8 @@ var TrueFalseActivityMaterialContent = ({
5525
5525
  /* @__PURE__ */ jsx37("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx37("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx37(
5526
5526
  BaseImage_default,
5527
5527
  {
5528
- src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/empty-checkbox.png",
5529
- alt: "checkbox-empty-checkbox",
5528
+ src: answerMap.trueList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/checkbox-empty.png",
5529
+ alt: "checkbox",
5530
5530
  size: "small",
5531
5531
  onClick: () => {
5532
5532
  onChange(answer, "TRUE", shuffleOption);
@@ -5536,8 +5536,8 @@ var TrueFalseActivityMaterialContent = ({
5536
5536
  /* @__PURE__ */ jsx37("div", { className: "w-[50px]", children: /* @__PURE__ */ jsx37("div", { className: "flex flex-col items-center justify-center", children: /* @__PURE__ */ jsx37(
5537
5537
  BaseImage_default,
5538
5538
  {
5539
- src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/empty-checkbox.png",
5540
- alt: "checkbox-empty-checkbox",
5539
+ src: answerMap.falseList.includes(shuffleOption) ? "/icons/checkbox.png" : "/icons/checkbox-empty.png",
5540
+ alt: "checkbox",
5541
5541
  size: "small",
5542
5542
  onClick: () => {
5543
5543
  onChange(answer, "FALSE", shuffleOption);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -92,9 +92,9 @@ const MCMAActivityMaterialContent = ({
92
92
  src={
93
93
  answerMap[materialKey].includes(materialSubKey)
94
94
  ? "/icons/checkbox.png"
95
- : "/icons/empty-checkbox.png"
95
+ : "/icons/checkbox-empty.png"
96
96
  }
97
- alt="checkbox-empty-checkbox"
97
+ alt="checkbox"
98
98
  size="small"
99
99
  onClick={() => {}}
100
100
  />
@@ -155,9 +155,9 @@ const TrueFalseActivityMaterialContent = ({
155
155
  src={
156
156
  answerMap.trueList.includes(shuffleOption)
157
157
  ? "/icons/checkbox.png"
158
- : "/icons/empty-checkbox.png"
158
+ : "/icons/checkbox-empty.png"
159
159
  }
160
- alt="checkbox-empty-checkbox"
160
+ alt="checkbox"
161
161
  size="small"
162
162
  onClick={() => {
163
163
  onChange(answer, "TRUE", shuffleOption);
@@ -171,9 +171,9 @@ const TrueFalseActivityMaterialContent = ({
171
171
  src={
172
172
  answerMap.falseList.includes(shuffleOption)
173
173
  ? "/icons/checkbox.png"
174
- : "/icons/empty-checkbox.png"
174
+ : "/icons/checkbox-empty.png"
175
175
  }
176
- alt="checkbox-empty-checkbox"
176
+ alt="checkbox"
177
177
  size="small"
178
178
  onClick={() => {
179
179
  onChange(answer, "FALSE", shuffleOption);
@@ -240,7 +240,7 @@ const InputGroup = ({
240
240
  <textarea
241
241
  ref={textAreaRef}
242
242
  disabled={disabled}
243
- className={`w-full ${
243
+ className={`w-full h-[44px] ${
244
244
  useMinHeight ? "min-h-[250px]" : ""
245
245
  } resize-none overflow-hidden py-2 px-4 border ${
246
246
  errorText