catchup-library-web 2.7.3 → 2.7.4
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
|
@@ -883,6 +883,9 @@ var DeleteButton = ({
|
|
|
883
883
|
currentWidthClassName = "w-32";
|
|
884
884
|
currentHeightClassName = "h-12";
|
|
885
885
|
currentLoadingSize = 18;
|
|
886
|
+
} else if (size === "unlimited") {
|
|
887
|
+
currentLoadingSize = 14;
|
|
888
|
+
currentHeightClassName = "h-8";
|
|
886
889
|
}
|
|
887
890
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
888
891
|
"button",
|
|
@@ -903,7 +906,7 @@ var DeleteButton = ({
|
|
|
903
906
|
primaryColor: "#55777f",
|
|
904
907
|
secondaryColor: "#55777f"
|
|
905
908
|
}
|
|
906
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-center items-center gap-x-2", children: [
|
|
909
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-row justify-center items-center gap-x-2 px-4", children: [
|
|
907
910
|
iconPosition === "left" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
908
911
|
BaseImage_default,
|
|
909
912
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -643,6 +643,9 @@ var DeleteButton = ({
|
|
|
643
643
|
currentWidthClassName = "w-32";
|
|
644
644
|
currentHeightClassName = "h-12";
|
|
645
645
|
currentLoadingSize = 18;
|
|
646
|
+
} else if (size === "unlimited") {
|
|
647
|
+
currentLoadingSize = 14;
|
|
648
|
+
currentHeightClassName = "h-8";
|
|
646
649
|
}
|
|
647
650
|
return /* @__PURE__ */ jsx9(
|
|
648
651
|
"button",
|
|
@@ -663,7 +666,7 @@ var DeleteButton = ({
|
|
|
663
666
|
primaryColor: "#55777f",
|
|
664
667
|
secondaryColor: "#55777f"
|
|
665
668
|
}
|
|
666
|
-
) : /* @__PURE__ */ jsxs6("div", { className: "flex flex-row justify-center items-center gap-x-2", children: [
|
|
669
|
+
) : /* @__PURE__ */ jsxs6("div", { className: "flex flex-row justify-center items-center gap-x-2 px-4", children: [
|
|
667
670
|
iconPosition === "left" ? /* @__PURE__ */ jsx9(
|
|
668
671
|
BaseImage_default,
|
|
669
672
|
{
|
package/package.json
CHANGED
|
@@ -39,6 +39,9 @@ const DeleteButton = ({
|
|
|
39
39
|
currentWidthClassName = "w-32";
|
|
40
40
|
currentHeightClassName = "h-12";
|
|
41
41
|
currentLoadingSize = 18;
|
|
42
|
+
} else if (size === "unlimited") {
|
|
43
|
+
currentLoadingSize = 14;
|
|
44
|
+
currentHeightClassName = "h-8";
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
return (
|
|
@@ -66,7 +69,7 @@ const DeleteButton = ({
|
|
|
66
69
|
secondaryColor="#55777f"
|
|
67
70
|
/>
|
|
68
71
|
) : (
|
|
69
|
-
<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">
|
|
70
73
|
{iconPosition === "left" ? (
|
|
71
74
|
<BaseImage
|
|
72
75
|
src={`${
|