@devrongx/games 0.4.20 → 0.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devrongx/games",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.22",
|
|
4
4
|
"description": "Game UI components for sports prediction markets",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"
|
|
20
|
-
"react-dom": ">=18",
|
|
21
|
-
"next": ">=14",
|
|
19
|
+
"clsx": ">=2",
|
|
22
20
|
"framer-motion": ">=10",
|
|
23
|
-
"zustand": ">=4",
|
|
24
21
|
"lucide-react": ">=0.300",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
22
|
+
"next": ">=14",
|
|
23
|
+
"react": ">=18",
|
|
24
|
+
"react-dom": ">=18",
|
|
25
|
+
"seedrandom": ">=3",
|
|
26
|
+
"zustand": ">=4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/react": "^19",
|
|
@@ -619,10 +619,10 @@ export const PreMatchGame = ({ config, bets, onBetsChange, onOptionClick, onAmou
|
|
|
619
619
|
|
|
620
620
|
return (
|
|
621
621
|
<motion.button
|
|
622
|
-
onClick={onSubmit
|
|
623
|
-
disabled={submitting
|
|
624
|
-
className="relative w-[65px] rounded-xl overflow-hidden flex-shrink-0 flex items-center justify-center"
|
|
625
|
-
style={{ background: bgColor, cursor:
|
|
622
|
+
onClick={onSubmit ? onSubmit : undefined}
|
|
623
|
+
disabled={submitting}
|
|
624
|
+
className="relative w-[65px] min-h-[54px] rounded-xl overflow-hidden flex-shrink-0 flex items-center justify-center py-3"
|
|
625
|
+
style={{ background: bgColor, cursor: "pointer" }}
|
|
626
626
|
initial={{ opacity: 0, width: 0 }}
|
|
627
627
|
animate={{ opacity: 1, width: 65 }}
|
|
628
628
|
exit={{ opacity: 0, width: 0 }}
|