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
@@ -958,6 +958,7 @@ var CancelButton = ({
958
958
  currentHeightClassName = "h-12";
959
959
  currentLoadingSize = 18;
960
960
  } else if (size === "unlimited") {
961
+ currentWidthClassName = "w-full";
961
962
  currentLoadingSize = 14;
962
963
  currentHeightClassName = "h-8";
963
964
  }
package/dist/index.mjs CHANGED
@@ -725,6 +725,7 @@ var CancelButton = ({
725
725
  currentHeightClassName = "h-12";
726
726
  currentLoadingSize = 18;
727
727
  } else if (size === "unlimited") {
728
+ currentWidthClassName = "w-full";
728
729
  currentLoadingSize = 14;
729
730
  currentHeightClassName = "h-8";
730
731
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -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
- ? "opacity-50"
54
- : "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"
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={() => {