catchup-library-web 2.2.11 → 2.2.12

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
@@ -7427,7 +7427,7 @@ var ActivityPreviewByData = ({
7427
7427
  if (!data) return null;
7428
7428
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { children: [
7429
7429
  showType && optionList.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
7430
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-4", children: [
7430
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "mb-2", children: [
7431
7431
  showDescription ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7432
7432
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7433
7433
  SelectionBox_default,
@@ -7442,15 +7442,15 @@ var ActivityPreviewByData = ({
7442
7442
  ] }),
7443
7443
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DividerLine_default, {})
7444
7444
  ] }) : null,
7445
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col my-2 w-full p-5", children: RenderSelectedActivityContent() }),
7446
- selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7445
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex flex-col mb-2 w-full", children: RenderSelectedActivityContent() }),
7446
+ selectedType && showSolution ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7447
7447
  ActivitySolutionContent_default,
7448
7448
  {
7449
7449
  activityTemplateType: selectedType,
7450
7450
  data
7451
7451
  }
7452
7452
  ) }) : null,
7453
- selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "my-4", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7453
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
7454
7454
  ActivityEvaluationRubricContent_default,
7455
7455
  {
7456
7456
  activityTemplateType: selectedType,
package/dist/index.mjs CHANGED
@@ -7204,7 +7204,7 @@ var ActivityPreviewByData = ({
7204
7204
  if (!data) return null;
7205
7205
  return /* @__PURE__ */ jsxs36("div", { children: [
7206
7206
  showType && optionList.length > 0 ? /* @__PURE__ */ jsxs36(Fragment11, { children: [
7207
- /* @__PURE__ */ jsxs36("div", { className: "mb-4", children: [
7207
+ /* @__PURE__ */ jsxs36("div", { className: "mb-2", children: [
7208
7208
  showDescription ? /* @__PURE__ */ jsx47("div", { className: "my-2", children: /* @__PURE__ */ jsx47("p", { className: "font-semibold text-lg", children: i18n_default.t("activity_template") }) }) : null,
7209
7209
  /* @__PURE__ */ jsx47(
7210
7210
  SelectionBox_default,
@@ -7219,15 +7219,15 @@ var ActivityPreviewByData = ({
7219
7219
  ] }),
7220
7220
  /* @__PURE__ */ jsx47(DividerLine_default, {})
7221
7221
  ] }) : null,
7222
- /* @__PURE__ */ jsx47("div", { className: "flex flex-col my-2 w-full p-5", children: RenderSelectedActivityContent() }),
7223
- selectedType && showSolution ? /* @__PURE__ */ jsx47("div", { className: "my-4", children: /* @__PURE__ */ jsx47(
7222
+ /* @__PURE__ */ jsx47("div", { className: "flex flex-col mb-2 w-full", children: RenderSelectedActivityContent() }),
7223
+ selectedType && showSolution ? /* @__PURE__ */ jsx47("div", { className: "mb-2", children: /* @__PURE__ */ jsx47(
7224
7224
  ActivitySolutionContent_default,
7225
7225
  {
7226
7226
  activityTemplateType: selectedType,
7227
7227
  data
7228
7228
  }
7229
7229
  ) }) : null,
7230
- selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx47("div", { className: "my-4", children: /* @__PURE__ */ jsx47(
7230
+ selectedType && showEvaluationRubric ? /* @__PURE__ */ jsx47("div", { className: "mb-2", children: /* @__PURE__ */ jsx47(
7231
7231
  ActivityEvaluationRubricContent_default,
7232
7232
  {
7233
7233
  activityTemplateType: selectedType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.2.11",
3
+ "version": "2.2.12",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -219,7 +219,7 @@ const ActivityPreviewByData = ({
219
219
  <div>
220
220
  {showType && optionList.length > 0 ? (
221
221
  <>
222
- <div className="mb-4">
222
+ <div className="mb-2">
223
223
  {showDescription ? (
224
224
  <div className="my-2">
225
225
  <p className="font-semibold text-lg">
@@ -240,12 +240,12 @@ const ActivityPreviewByData = ({
240
240
  </>
241
241
  ) : null}
242
242
 
243
- <div className="flex flex-col my-2 w-full p-5">
243
+ <div className="flex flex-col mb-2 w-full">
244
244
  {RenderSelectedActivityContent()}
245
245
  </div>
246
246
 
247
247
  {selectedType && showSolution ? (
248
- <div className="my-4">
248
+ <div className="mb-2">
249
249
  <ActivitySolutionContent
250
250
  activityTemplateType={selectedType}
251
251
  data={data}
@@ -254,7 +254,7 @@ const ActivityPreviewByData = ({
254
254
  ) : null}
255
255
 
256
256
  {selectedType && showEvaluationRubric ? (
257
- <div className="my-4">
257
+ <div className="mb-2">
258
258
  <ActivityEvaluationRubricContent
259
259
  activityTemplateType={selectedType}
260
260
  data={data}