catchup-library-web 1.4.10 → 1.4.11

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
@@ -6302,7 +6302,7 @@ var SelectionBox = ({
6302
6302
  {
6303
6303
  className: `flex flex-row items-center gap-x-1 ${option.id === selectedId ? "opacity-100" : "opacity-50"}`,
6304
6304
  children: [
6305
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { children: option.icon }),
6305
+ option.icon,
6306
6306
  /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex-1 flex flex-col items-center", children: [
6307
6307
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { children: option.text }),
6308
6308
  option.subText ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("p", { className: "text-md", children: [
@@ -6696,7 +6696,7 @@ var SelectionCheckbox = ({
6696
6696
  (selectedId) => selectedId === option.id
6697
6697
  ) > -1 ? "opacity-100" : "opacity-50"}`,
6698
6698
  children: [
6699
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6699
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
6700
6700
  BaseImage_default,
6701
6701
  {
6702
6702
  src: selectedIdList.findIndex(
@@ -6705,7 +6705,7 @@ var SelectionCheckbox = ({
6705
6705
  alt: "checkbox",
6706
6706
  size: "small"
6707
6707
  }
6708
- ) }),
6708
+ ),
6709
6709
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { children: option.text }) })
6710
6710
  ]
6711
6711
  }
package/dist/index.mjs CHANGED
@@ -6111,7 +6111,7 @@ var SelectionBox = ({
6111
6111
  {
6112
6112
  className: `flex flex-row items-center gap-x-1 ${option.id === selectedId ? "opacity-100" : "opacity-50"}`,
6113
6113
  children: [
6114
- /* @__PURE__ */ jsx40("div", { children: option.icon }),
6114
+ option.icon,
6115
6115
  /* @__PURE__ */ jsxs31("div", { className: "flex-1 flex flex-col items-center", children: [
6116
6116
  /* @__PURE__ */ jsx40("p", { children: option.text }),
6117
6117
  option.subText ? /* @__PURE__ */ jsxs31("p", { className: "text-md", children: [
@@ -6505,7 +6505,7 @@ var SelectionCheckbox = ({
6505
6505
  (selectedId) => selectedId === option.id
6506
6506
  ) > -1 ? "opacity-100" : "opacity-50"}`,
6507
6507
  children: [
6508
- /* @__PURE__ */ jsx45("div", { children: /* @__PURE__ */ jsx45(
6508
+ /* @__PURE__ */ jsx45(
6509
6509
  BaseImage_default,
6510
6510
  {
6511
6511
  src: selectedIdList.findIndex(
@@ -6514,7 +6514,7 @@ var SelectionCheckbox = ({
6514
6514
  alt: "checkbox",
6515
6515
  size: "small"
6516
6516
  }
6517
- ) }),
6517
+ ),
6518
6518
  /* @__PURE__ */ jsx45("div", { className: "flex-1", children: /* @__PURE__ */ jsx45("p", { children: option.text }) })
6519
6519
  ]
6520
6520
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "1.4.10",
3
+ "version": "1.4.11",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -24,7 +24,7 @@ const SelectionBox = ({
24
24
  option.id === selectedId ? "opacity-100" : "opacity-50"
25
25
  }`}
26
26
  >
27
- <div>{option.icon}</div>
27
+ {option.icon}
28
28
  <div className="flex-1 flex flex-col items-center">
29
29
  <p>{option.text}</p>
30
30
  {option.subText ? (
@@ -40,19 +40,17 @@ const SelectionCheckbox = ({
40
40
  : "opacity-50"
41
41
  }`}
42
42
  >
43
- <div>
44
- <BaseImage
45
- src={
46
- selectedIdList.findIndex(
47
- (selectedId: any) => selectedId === option.id
48
- ) > -1
49
- ? "/icons/checkbox.webp"
50
- : "/icons/checkbox-empty.webp"
51
- }
52
- alt="checkbox"
53
- size="small"
54
- />
55
- </div>
43
+ <BaseImage
44
+ src={
45
+ selectedIdList.findIndex(
46
+ (selectedId: any) => selectedId === option.id
47
+ ) > -1
48
+ ? "/icons/checkbox.webp"
49
+ : "/icons/checkbox-empty.webp"
50
+ }
51
+ alt="checkbox"
52
+ size="small"
53
+ />
56
54
  <div className="flex-1">
57
55
  <p>{option.text}</p>
58
56
  </div>