catchup-library-web 2.7.5 → 2.7.6
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
|
@@ -890,7 +890,7 @@ var DeleteButton = ({
|
|
|
890
890
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
891
891
|
"button",
|
|
892
892
|
{
|
|
893
|
-
className: `border border-catchup-red bg-catchup-
|
|
893
|
+
className: `border border-catchup-red bg-catchup-red text-catchup-white rounded-catchup-button ${loading ? "" : disabled ? "opacity-50" : "hover:bg-catchup-white hover:text-catchup-red hover:border-catchup-red active:bg-catchup-white active:hover:border-catchup-red active:text-catchup-red active:opacity-80"} transition duration-300 ${currentWidthClassName} ${currentHeightClassName}`,
|
|
894
894
|
onClick: internalOnClick,
|
|
895
895
|
onMouseEnter: () => {
|
|
896
896
|
setIsHovered(true);
|
|
@@ -910,7 +910,7 @@ var DeleteButton = ({
|
|
|
910
910
|
iconPosition === "left" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
911
911
|
BaseImage_default,
|
|
912
912
|
{
|
|
913
|
-
src: `${isHovered ? "/icons/remove-
|
|
913
|
+
src: `${isHovered ? "/icons/remove-red.webp" : "/icons/remove-white.webp"}`,
|
|
914
914
|
alt: "remove-white",
|
|
915
915
|
size: "xsmall"
|
|
916
916
|
}
|
|
@@ -919,7 +919,7 @@ var DeleteButton = ({
|
|
|
919
919
|
textOnly || iconPosition === "left" ? null : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
920
920
|
BaseImage_default,
|
|
921
921
|
{
|
|
922
|
-
src: `${isHovered ? "/icons/remove-
|
|
922
|
+
src: `${isHovered ? "/icons/remove-red.webp" : "/icons/remove-white.webp"}`,
|
|
923
923
|
alt: "remove-white",
|
|
924
924
|
size: "xsmall"
|
|
925
925
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -650,7 +650,7 @@ var DeleteButton = ({
|
|
|
650
650
|
return /* @__PURE__ */ jsx9(
|
|
651
651
|
"button",
|
|
652
652
|
{
|
|
653
|
-
className: `border border-catchup-red bg-catchup-
|
|
653
|
+
className: `border border-catchup-red bg-catchup-red text-catchup-white rounded-catchup-button ${loading ? "" : disabled ? "opacity-50" : "hover:bg-catchup-white hover:text-catchup-red hover:border-catchup-red active:bg-catchup-white active:hover:border-catchup-red active:text-catchup-red active:opacity-80"} transition duration-300 ${currentWidthClassName} ${currentHeightClassName}`,
|
|
654
654
|
onClick: internalOnClick,
|
|
655
655
|
onMouseEnter: () => {
|
|
656
656
|
setIsHovered(true);
|
|
@@ -670,7 +670,7 @@ var DeleteButton = ({
|
|
|
670
670
|
iconPosition === "left" ? /* @__PURE__ */ jsx9(
|
|
671
671
|
BaseImage_default,
|
|
672
672
|
{
|
|
673
|
-
src: `${isHovered ? "/icons/remove-
|
|
673
|
+
src: `${isHovered ? "/icons/remove-red.webp" : "/icons/remove-white.webp"}`,
|
|
674
674
|
alt: "remove-white",
|
|
675
675
|
size: "xsmall"
|
|
676
676
|
}
|
|
@@ -679,7 +679,7 @@ var DeleteButton = ({
|
|
|
679
679
|
textOnly || iconPosition === "left" ? null : /* @__PURE__ */ jsx9(
|
|
680
680
|
BaseImage_default,
|
|
681
681
|
{
|
|
682
|
-
src: `${isHovered ? "/icons/remove-
|
|
682
|
+
src: `${isHovered ? "/icons/remove-red.webp" : "/icons/remove-white.webp"}`,
|
|
683
683
|
alt: "remove-white",
|
|
684
684
|
size: "xsmall"
|
|
685
685
|
}
|
package/package.json
CHANGED
|
@@ -46,12 +46,12 @@ const DeleteButton = ({
|
|
|
46
46
|
|
|
47
47
|
return (
|
|
48
48
|
<button
|
|
49
|
-
className={`border border-catchup-red bg-catchup-
|
|
49
|
+
className={`border border-catchup-red bg-catchup-red text-catchup-white rounded-catchup-button ${
|
|
50
50
|
loading
|
|
51
51
|
? ""
|
|
52
52
|
: disabled
|
|
53
53
|
? "opacity-50"
|
|
54
|
-
: "hover:bg-catchup-
|
|
54
|
+
: "hover:bg-catchup-white hover:text-catchup-red hover:border-catchup-red active:bg-catchup-white active:hover:border-catchup-red active:text-catchup-red active:opacity-80"
|
|
55
55
|
} transition duration-300 ${currentWidthClassName} ${currentHeightClassName}`}
|
|
56
56
|
onClick={internalOnClick}
|
|
57
57
|
onMouseEnter={() => {
|
|
@@ -74,8 +74,8 @@ const DeleteButton = ({
|
|
|
74
74
|
<BaseImage
|
|
75
75
|
src={`${
|
|
76
76
|
isHovered
|
|
77
|
-
? "/icons/remove-
|
|
78
|
-
: "/icons/remove-
|
|
77
|
+
? "/icons/remove-red.webp"
|
|
78
|
+
: "/icons/remove-white.webp"
|
|
79
79
|
}`}
|
|
80
80
|
alt="remove-white"
|
|
81
81
|
size="xsmall"
|
|
@@ -87,8 +87,8 @@ const DeleteButton = ({
|
|
|
87
87
|
<BaseImage
|
|
88
88
|
src={`${
|
|
89
89
|
isHovered
|
|
90
|
-
? "/icons/remove-
|
|
91
|
-
: "/icons/remove-
|
|
90
|
+
? "/icons/remove-red.webp"
|
|
91
|
+
: "/icons/remove-white.webp"
|
|
92
92
|
}`}
|
|
93
93
|
alt="remove-white"
|
|
94
94
|
size="xsmall"
|