@chao-component/bag-animation-ui 1.0.14 → 1.0.15
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
|
@@ -1035,7 +1035,7 @@ function BagAnimation({
|
|
|
1035
1035
|
}
|
|
1036
1036
|
};
|
|
1037
1037
|
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: [
|
|
1038
|
-
!isAnimating && hasChances && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute
|
|
1038
|
+
!isAnimating && hasChances && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute 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: [
|
|
1039
1039
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1040
1040
|
"p",
|
|
1041
1041
|
{
|
|
@@ -1167,7 +1167,7 @@ function BagAnimation({
|
|
|
1167
1167
|
onClick: () => {
|
|
1168
1168
|
setIsAnimating(true);
|
|
1169
1169
|
},
|
|
1170
|
-
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative z-10"
|
|
1170
|
+
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative mt-8 z-10"
|
|
1171
1171
|
}
|
|
1172
1172
|
)
|
|
1173
1173
|
] }) });
|
package/dist/index.mjs
CHANGED
|
@@ -1019,7 +1019,7 @@ function BagAnimation({
|
|
|
1019
1019
|
}
|
|
1020
1020
|
};
|
|
1021
1021
|
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: `flex w-full relative justify-center items-center ${className}`, children: [
|
|
1022
|
-
!isAnimating && hasChances && /* @__PURE__ */ jsx("div", { className: "absolute
|
|
1022
|
+
!isAnimating && hasChances && /* @__PURE__ */ jsx("div", { className: "absolute 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: [
|
|
1023
1023
|
/* @__PURE__ */ jsx(
|
|
1024
1024
|
"p",
|
|
1025
1025
|
{
|
|
@@ -1151,7 +1151,7 @@ function BagAnimation({
|
|
|
1151
1151
|
onClick: () => {
|
|
1152
1152
|
setIsAnimating(true);
|
|
1153
1153
|
},
|
|
1154
|
-
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative z-10"
|
|
1154
|
+
className: "w-36 h-36 md:w-96 md:h-96 object-contain relative mt-8 z-10"
|
|
1155
1155
|
}
|
|
1156
1156
|
)
|
|
1157
1157
|
] }) });
|