catchup-library-web 2.5.5 → 2.5.7
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
|
@@ -958,7 +958,6 @@ var CancelButton = ({
|
|
|
958
958
|
currentHeightClassName = "h-12";
|
|
959
959
|
currentLoadingSize = 18;
|
|
960
960
|
} else if (size === "unlimited") {
|
|
961
|
-
currentWidthClassName = "w-full";
|
|
962
961
|
currentLoadingSize = 14;
|
|
963
962
|
currentHeightClassName = "h-8";
|
|
964
963
|
}
|
|
@@ -981,7 +980,7 @@ var CancelButton = ({
|
|
|
981
980
|
primaryColor: "#55777f",
|
|
982
981
|
secondaryColor: "#55777f"
|
|
983
982
|
}
|
|
984
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-row justify-center items-center gap-x-2", children: [
|
|
983
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex flex-row justify-center items-center gap-x-2 px-4", children: [
|
|
985
984
|
iconPosition === "left" ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
986
985
|
BaseImage_default,
|
|
987
986
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -725,7 +725,6 @@ var CancelButton = ({
|
|
|
725
725
|
currentHeightClassName = "h-12";
|
|
726
726
|
currentLoadingSize = 18;
|
|
727
727
|
} else if (size === "unlimited") {
|
|
728
|
-
currentWidthClassName = "w-full";
|
|
729
728
|
currentLoadingSize = 14;
|
|
730
729
|
currentHeightClassName = "h-8";
|
|
731
730
|
}
|
|
@@ -748,7 +747,7 @@ var CancelButton = ({
|
|
|
748
747
|
primaryColor: "#55777f",
|
|
749
748
|
secondaryColor: "#55777f"
|
|
750
749
|
}
|
|
751
|
-
) : /* @__PURE__ */ jsxs7("div", { className: "flex flex-row justify-center items-center gap-x-2", children: [
|
|
750
|
+
) : /* @__PURE__ */ jsxs7("div", { className: "flex flex-row justify-center items-center gap-x-2 px-4", children: [
|
|
752
751
|
iconPosition === "left" ? /* @__PURE__ */ jsx10(
|
|
753
752
|
BaseImage_default,
|
|
754
753
|
{
|
package/package.json
CHANGED
|
@@ -40,7 +40,6 @@ const CancelButton = ({
|
|
|
40
40
|
currentHeightClassName = "h-12";
|
|
41
41
|
currentLoadingSize = 18;
|
|
42
42
|
} else if (size === "unlimited") {
|
|
43
|
-
currentWidthClassName = "w-full"; // Added this line
|
|
44
43
|
currentLoadingSize = 14;
|
|
45
44
|
currentHeightClassName = "h-8";
|
|
46
45
|
}
|
|
@@ -70,7 +69,7 @@ const CancelButton = ({
|
|
|
70
69
|
secondaryColor="#55777f"
|
|
71
70
|
/>
|
|
72
71
|
) : (
|
|
73
|
-
<div className="flex flex-row justify-center items-center gap-x-2">
|
|
72
|
+
<div className="flex flex-row justify-center items-center gap-x-2 px-4">
|
|
74
73
|
{iconPosition === "left" ? (
|
|
75
74
|
<BaseImage
|
|
76
75
|
src={`${
|