@chao-component/bag-animation-ui 1.0.21 → 1.0.22
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1040,7 +1040,7 @@ function BagAnimation({
|
|
|
1040
1040
|
}
|
|
1041
1041
|
};
|
|
1042
1042
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: `flex w-full relative justify-center items-center ${className}`, children: [
|
|
1043
|
-
!isAnimating && hasChances && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute top-
|
|
1043
|
+
!isAnimating && hasChances && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute top-4 left-[calc(50%-0px)] transform -translate-x-1/2 z-50 pointer-events-none", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col items-center animate-bounce", children: [
|
|
1044
1044
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1045
1045
|
"p",
|
|
1046
1046
|
{
|
|
@@ -1172,7 +1172,7 @@ function BagAnimation({
|
|
|
1172
1172
|
onClick: () => {
|
|
1173
1173
|
setIsAnimating(true);
|
|
1174
1174
|
},
|
|
1175
|
-
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative mt-
|
|
1175
|
+
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative mt-24 z-10"
|
|
1176
1176
|
}
|
|
1177
1177
|
)
|
|
1178
1178
|
] }) });
|
package/dist/index.mjs
CHANGED
|
@@ -1024,7 +1024,7 @@ function BagAnimation({
|
|
|
1024
1024
|
}
|
|
1025
1025
|
};
|
|
1026
1026
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: `flex w-full relative justify-center items-center ${className}`, children: [
|
|
1027
|
-
!isAnimating && hasChances && /* @__PURE__ */ jsx("div", { className: "absolute top-
|
|
1027
|
+
!isAnimating && hasChances && /* @__PURE__ */ jsx("div", { className: "absolute top-4 left-[calc(50%-0px)] transform -translate-x-1/2 z-50 pointer-events-none", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center animate-bounce", children: [
|
|
1028
1028
|
/* @__PURE__ */ jsx(
|
|
1029
1029
|
"p",
|
|
1030
1030
|
{
|
|
@@ -1156,7 +1156,7 @@ function BagAnimation({
|
|
|
1156
1156
|
onClick: () => {
|
|
1157
1157
|
setIsAnimating(true);
|
|
1158
1158
|
},
|
|
1159
|
-
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative mt-
|
|
1159
|
+
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative mt-24 z-10"
|
|
1160
1160
|
}
|
|
1161
1161
|
)
|
|
1162
1162
|
] }) });
|