catchup-library-web 2.5.4 → 2.5.5
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
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ const CancelButton = ({
|
|
|
40
40
|
currentHeightClassName = "h-12";
|
|
41
41
|
currentLoadingSize = 18;
|
|
42
42
|
} else if (size === "unlimited") {
|
|
43
|
+
currentWidthClassName = "w-full"; // Added this line
|
|
43
44
|
currentLoadingSize = 14;
|
|
44
45
|
currentHeightClassName = "h-8";
|
|
45
46
|
}
|
|
@@ -50,8 +51,8 @@ const CancelButton = ({
|
|
|
50
51
|
loading
|
|
51
52
|
? ""
|
|
52
53
|
: disabled
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
? "opacity-50"
|
|
55
|
+
: "hover:bg-catchup-gray-400 hover:text-catchup-white hover:border-catchup-gray-400 active:bg-catchup-gray-500 active:border-catchup-gray-500 active:text-catchup-white"
|
|
55
56
|
} transition duration-300 ${currentWidthClassName} ${currentHeightClassName}`}
|
|
56
57
|
onClick={internalOnClick}
|
|
57
58
|
onMouseEnter={() => {
|