catchup-library-web 1.14.2 → 1.14.3

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
@@ -3864,6 +3864,7 @@ var InputGroup = ({
3864
3864
  BaseModal_default,
3865
3865
  {
3866
3866
  isOpen: showMathConstructor,
3867
+ customSize: "small",
3867
3868
  onAfterOpen: () => {
3868
3869
  },
3869
3870
  onRequestClose: () => {
@@ -5803,7 +5804,7 @@ var MCMAActivityMaterialContent = ({
5803
5804
  const answerMap = retrieveAnswerMap();
5804
5805
  const correctAnswerList = retrieveCorrectAnswerList();
5805
5806
  return Object.keys(materialMap).map((materialKey, index) => {
5806
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5807
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5807
5808
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5808
5809
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DividerLine_default, {}) }),
5809
5810
  checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
@@ -5955,7 +5956,7 @@ var MCSAActivityMaterialContent = ({
5955
5956
  const answerMap = retrieveAnswerMap();
5956
5957
  const correctAnswer = retrieveCorrectAnswer();
5957
5958
  return Object.keys(materialMap).map((materialKey, index) => {
5958
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5959
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5959
5960
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "hidden md:block", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5960
5961
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "hidden md:contents", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DividerLine_default, {}) }),
5961
5962
  checkCanAnswerQuestion() ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
package/dist/index.mjs CHANGED
@@ -3655,6 +3655,7 @@ var InputGroup = ({
3655
3655
  BaseModal_default,
3656
3656
  {
3657
3657
  isOpen: showMathConstructor,
3658
+ customSize: "small",
3658
3659
  onAfterOpen: () => {
3659
3660
  },
3660
3661
  onRequestClose: () => {
@@ -5594,7 +5595,7 @@ var MCMAActivityMaterialContent = ({
5594
5595
  const answerMap = retrieveAnswerMap();
5595
5596
  const correctAnswerList = retrieveCorrectAnswerList();
5596
5597
  return Object.keys(materialMap).map((materialKey, index) => {
5597
- return /* @__PURE__ */ jsx33("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs22("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5598
+ return /* @__PURE__ */ jsx33("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs22("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5598
5599
  /* @__PURE__ */ jsx33("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx33("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcma_text") }) }),
5599
5600
  /* @__PURE__ */ jsx33("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx33(DividerLine_default, {}) }),
5600
5601
  checkCanAnswerQuestion() ? /* @__PURE__ */ jsx33("div", { className: "flex flex-row w-full flex-wrap ", children: materialMap[materialKey].map(
@@ -5746,7 +5747,7 @@ var MCSAActivityMaterialContent = ({
5746
5747
  const answerMap = retrieveAnswerMap();
5747
5748
  const correctAnswer = retrieveCorrectAnswer();
5748
5749
  return Object.keys(materialMap).map((materialKey, index) => {
5749
- return /* @__PURE__ */ jsx35("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs24("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5", children: [
5750
+ return /* @__PURE__ */ jsx35("div", { className: "flex flex-row items-center my-1", children: /* @__PURE__ */ jsxs24("div", { className: "flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0", children: [
5750
5751
  /* @__PURE__ */ jsx35("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx35("span", { className: "font-semibold text-xl opacity-60", children: i18n_default.t("please_select_mcsa_text") }) }),
5751
5752
  /* @__PURE__ */ jsx35("div", { className: "hidden md:contents", children: /* @__PURE__ */ jsx35(DividerLine_default, {}) }),
5752
5753
  checkCanAnswerQuestion() ? /* @__PURE__ */ jsx35(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -48,7 +48,7 @@ const MCMAActivityMaterialContent = ({
48
48
  return Object.keys(materialMap).map((materialKey, index) => {
49
49
  return (
50
50
  <div key={index} className="flex flex-row items-center my-1">
51
- <div className="flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5">
51
+ <div className="flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0">
52
52
  <div className="hidden md:block">
53
53
  <span className="font-semibold text-xl opacity-60">
54
54
  {i18n.t("please_select_mcma_text")}
@@ -45,7 +45,7 @@ const MCSAActivityMaterialContent = ({
45
45
  return Object.keys(materialMap).map((materialKey, index) => {
46
46
  return (
47
47
  <div className="flex flex-row items-center my-1" key={index}>
48
- <div className="flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5">
48
+ <div className="flex-1 flex flex-col justify-center border-catchup-lighter-gray rounded-catchup-xlarge px-5 md:px-0">
49
49
  <div className="hidden md:block">
50
50
  <span className="font-semibold text-xl opacity-60">
51
51
  {i18n.t("please_select_mcsa_text")}
@@ -164,6 +164,7 @@ const InputGroup = ({
164
164
  return (
165
165
  <BaseModal
166
166
  isOpen={showMathConstructor}
167
+ customSize="small"
167
168
  onAfterOpen={() => {}}
168
169
  onRequestClose={() => {
169
170
  setShowMathConstructor(false);