jaml-ui 0.14.0 → 0.14.2
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/assets/Balatro Seed Curator (DesignsV2)/Assets/Decks/playing_cards_metadata.json +230 -55
- package/dist/components/AnalyzerExplorer.js +75 -90
- package/dist/components/CardFan.js +2 -2
- package/dist/components/GameCard.js +9 -9
- package/dist/components/JamlIde.d.ts +2 -1
- package/dist/components/JamlIde.js +6 -4
- package/dist/components/JamlIdeToolbar.js +1 -0
- package/dist/components/{PlayingCard.d.ts → Standardcard.d.ts} +2 -2
- package/dist/components/{PlayingCard.js → Standardcard.js} +1 -1
- package/dist/decode/motelyItemDecoder.d.ts +3 -3
- package/dist/decode/motelyItemDecoder.js +12 -12
- package/dist/decode/packedBalatroItem.d.ts +1 -1
- package/dist/decode/packedBalatroItem.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/motely.d.ts +1 -1
- package/dist/motely.js +1 -1
- package/dist/ui/jimboTabs.js +1 -1
- package/dist/utils/itemUtils.d.ts +1 -1
- package/dist/utils/itemUtils.js +3 -3
- package/package.json +4 -4
- package/dist/data/balatro-jokers.json +0 -1241
- package/dist/r3f/BalatroJokerMesh3D.d.ts +0 -8
- package/dist/r3f/BalatroJokerMesh3D.js +0 -98
- package/dist/r3f/BalatroJokerPreview3D.d.ts +0 -14
- package/dist/r3f/BalatroJokerPreview3D.js +0 -30
- package/dist/r3f/BalatroPlayingCard3D.d.ts +0 -22
- package/dist/r3f/BalatroPlayingCard3D.js +0 -62
- package/dist/r3f/cardConstants.d.ts +0 -16
- package/dist/r3f/cardConstants.js +0 -14
- package/dist/r3f/compositedAtlas.d.ts +0 -5
- package/dist/r3f/compositedAtlas.js +0 -56
- package/dist/r3f/gridUV.d.ts +0 -22
- package/dist/r3f/gridUV.js +0 -30
- package/dist/r3f/index.d.ts +0 -12
- package/dist/r3f/index.js +0 -13
- package/dist/r3f/jokerRegistry.d.ts +0 -28
- package/dist/r3f/jokerRegistry.js +0 -40
- package/dist/r3f/jokerTilt.d.ts +0 -8
- package/dist/r3f/jokerTilt.js +0 -41
- package/dist/r3f/magneticTilt.d.ts +0 -18
- package/dist/r3f/magneticTilt.js +0 -34
- package/dist/r3f/playingCardTypes.d.ts +0 -24
- package/dist/r3f/playingCardTypes.js +0 -32
- package/dist/r3f/playingCardVisuals.d.ts +0 -7
- package/dist/r3f/playingCardVisuals.js +0 -45
- package/dist/r3f/usePlayingCardTexture.d.ts +0 -7
- package/dist/r3f/usePlayingCardTexture.js +0 -92
|
@@ -4,71 +4,246 @@
|
|
|
4
4
|
"spriteHeight": 190,
|
|
5
5
|
"columns": 13,
|
|
6
6
|
"rows": 4,
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "Standard card face patterns to overlay on enhancement cards",
|
|
8
8
|
"layout": {
|
|
9
|
-
"suits": [
|
|
10
|
-
|
|
9
|
+
"suits": [
|
|
10
|
+
"Hearts",
|
|
11
|
+
"Clubs",
|
|
12
|
+
"Diamonds",
|
|
13
|
+
"Spades"
|
|
14
|
+
],
|
|
15
|
+
"ranks": [
|
|
16
|
+
"2",
|
|
17
|
+
"3",
|
|
18
|
+
"4",
|
|
19
|
+
"5",
|
|
20
|
+
"6",
|
|
21
|
+
"7",
|
|
22
|
+
"8",
|
|
23
|
+
"9",
|
|
24
|
+
"10",
|
|
25
|
+
"Jack",
|
|
26
|
+
"Queen",
|
|
27
|
+
"King",
|
|
28
|
+
"Ace"
|
|
29
|
+
]
|
|
11
30
|
},
|
|
12
31
|
"sprites": {
|
|
13
32
|
"Hearts": {
|
|
14
|
-
"2": {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
33
|
+
"2": {
|
|
34
|
+
"x": 0,
|
|
35
|
+
"y": 0
|
|
36
|
+
},
|
|
37
|
+
"3": {
|
|
38
|
+
"x": 1,
|
|
39
|
+
"y": 0
|
|
40
|
+
},
|
|
41
|
+
"4": {
|
|
42
|
+
"x": 2,
|
|
43
|
+
"y": 0
|
|
44
|
+
},
|
|
45
|
+
"5": {
|
|
46
|
+
"x": 3,
|
|
47
|
+
"y": 0
|
|
48
|
+
},
|
|
49
|
+
"6": {
|
|
50
|
+
"x": 4,
|
|
51
|
+
"y": 0
|
|
52
|
+
},
|
|
53
|
+
"7": {
|
|
54
|
+
"x": 5,
|
|
55
|
+
"y": 0
|
|
56
|
+
},
|
|
57
|
+
"8": {
|
|
58
|
+
"x": 6,
|
|
59
|
+
"y": 0
|
|
60
|
+
},
|
|
61
|
+
"9": {
|
|
62
|
+
"x": 7,
|
|
63
|
+
"y": 0
|
|
64
|
+
},
|
|
65
|
+
"10": {
|
|
66
|
+
"x": 8,
|
|
67
|
+
"y": 0
|
|
68
|
+
},
|
|
69
|
+
"Jack": {
|
|
70
|
+
"x": 9,
|
|
71
|
+
"y": 0
|
|
72
|
+
},
|
|
73
|
+
"Queen": {
|
|
74
|
+
"x": 10,
|
|
75
|
+
"y": 0
|
|
76
|
+
},
|
|
77
|
+
"King": {
|
|
78
|
+
"x": 11,
|
|
79
|
+
"y": 0
|
|
80
|
+
},
|
|
81
|
+
"Ace": {
|
|
82
|
+
"x": 12,
|
|
83
|
+
"y": 0
|
|
84
|
+
}
|
|
27
85
|
},
|
|
28
86
|
"Clubs": {
|
|
29
|
-
"2": {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
87
|
+
"2": {
|
|
88
|
+
"x": 0,
|
|
89
|
+
"y": 1
|
|
90
|
+
},
|
|
91
|
+
"3": {
|
|
92
|
+
"x": 1,
|
|
93
|
+
"y": 1
|
|
94
|
+
},
|
|
95
|
+
"4": {
|
|
96
|
+
"x": 2,
|
|
97
|
+
"y": 1
|
|
98
|
+
},
|
|
99
|
+
"5": {
|
|
100
|
+
"x": 3,
|
|
101
|
+
"y": 1
|
|
102
|
+
},
|
|
103
|
+
"6": {
|
|
104
|
+
"x": 4,
|
|
105
|
+
"y": 1
|
|
106
|
+
},
|
|
107
|
+
"7": {
|
|
108
|
+
"x": 5,
|
|
109
|
+
"y": 1
|
|
110
|
+
},
|
|
111
|
+
"8": {
|
|
112
|
+
"x": 6,
|
|
113
|
+
"y": 1
|
|
114
|
+
},
|
|
115
|
+
"9": {
|
|
116
|
+
"x": 7,
|
|
117
|
+
"y": 1
|
|
118
|
+
},
|
|
119
|
+
"10": {
|
|
120
|
+
"x": 8,
|
|
121
|
+
"y": 1
|
|
122
|
+
},
|
|
123
|
+
"Jack": {
|
|
124
|
+
"x": 9,
|
|
125
|
+
"y": 1
|
|
126
|
+
},
|
|
127
|
+
"Queen": {
|
|
128
|
+
"x": 10,
|
|
129
|
+
"y": 1
|
|
130
|
+
},
|
|
131
|
+
"King": {
|
|
132
|
+
"x": 11,
|
|
133
|
+
"y": 1
|
|
134
|
+
},
|
|
135
|
+
"Ace": {
|
|
136
|
+
"x": 12,
|
|
137
|
+
"y": 1
|
|
138
|
+
}
|
|
42
139
|
},
|
|
43
140
|
"Diamonds": {
|
|
44
|
-
"2": {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
141
|
+
"2": {
|
|
142
|
+
"x": 0,
|
|
143
|
+
"y": 2
|
|
144
|
+
},
|
|
145
|
+
"3": {
|
|
146
|
+
"x": 1,
|
|
147
|
+
"y": 2
|
|
148
|
+
},
|
|
149
|
+
"4": {
|
|
150
|
+
"x": 2,
|
|
151
|
+
"y": 2
|
|
152
|
+
},
|
|
153
|
+
"5": {
|
|
154
|
+
"x": 3,
|
|
155
|
+
"y": 2
|
|
156
|
+
},
|
|
157
|
+
"6": {
|
|
158
|
+
"x": 4,
|
|
159
|
+
"y": 2
|
|
160
|
+
},
|
|
161
|
+
"7": {
|
|
162
|
+
"x": 5,
|
|
163
|
+
"y": 2
|
|
164
|
+
},
|
|
165
|
+
"8": {
|
|
166
|
+
"x": 6,
|
|
167
|
+
"y": 2
|
|
168
|
+
},
|
|
169
|
+
"9": {
|
|
170
|
+
"x": 7,
|
|
171
|
+
"y": 2
|
|
172
|
+
},
|
|
173
|
+
"10": {
|
|
174
|
+
"x": 8,
|
|
175
|
+
"y": 2
|
|
176
|
+
},
|
|
177
|
+
"Jack": {
|
|
178
|
+
"x": 9,
|
|
179
|
+
"y": 2
|
|
180
|
+
},
|
|
181
|
+
"Queen": {
|
|
182
|
+
"x": 10,
|
|
183
|
+
"y": 2
|
|
184
|
+
},
|
|
185
|
+
"King": {
|
|
186
|
+
"x": 11,
|
|
187
|
+
"y": 2
|
|
188
|
+
},
|
|
189
|
+
"Ace": {
|
|
190
|
+
"x": 12,
|
|
191
|
+
"y": 2
|
|
192
|
+
}
|
|
57
193
|
},
|
|
58
194
|
"Spades": {
|
|
59
|
-
"2": {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
195
|
+
"2": {
|
|
196
|
+
"x": 0,
|
|
197
|
+
"y": 3
|
|
198
|
+
},
|
|
199
|
+
"3": {
|
|
200
|
+
"x": 1,
|
|
201
|
+
"y": 3
|
|
202
|
+
},
|
|
203
|
+
"4": {
|
|
204
|
+
"x": 2,
|
|
205
|
+
"y": 3
|
|
206
|
+
},
|
|
207
|
+
"5": {
|
|
208
|
+
"x": 3,
|
|
209
|
+
"y": 3
|
|
210
|
+
},
|
|
211
|
+
"6": {
|
|
212
|
+
"x": 4,
|
|
213
|
+
"y": 3
|
|
214
|
+
},
|
|
215
|
+
"7": {
|
|
216
|
+
"x": 5,
|
|
217
|
+
"y": 3
|
|
218
|
+
},
|
|
219
|
+
"8": {
|
|
220
|
+
"x": 6,
|
|
221
|
+
"y": 3
|
|
222
|
+
},
|
|
223
|
+
"9": {
|
|
224
|
+
"x": 7,
|
|
225
|
+
"y": 3
|
|
226
|
+
},
|
|
227
|
+
"10": {
|
|
228
|
+
"x": 8,
|
|
229
|
+
"y": 3
|
|
230
|
+
},
|
|
231
|
+
"Jack": {
|
|
232
|
+
"x": 9,
|
|
233
|
+
"y": 3
|
|
234
|
+
},
|
|
235
|
+
"Queen": {
|
|
236
|
+
"x": 10,
|
|
237
|
+
"y": 3
|
|
238
|
+
},
|
|
239
|
+
"King": {
|
|
240
|
+
"x": 11,
|
|
241
|
+
"y": 3
|
|
242
|
+
},
|
|
243
|
+
"Ace": {
|
|
244
|
+
"x": 12,
|
|
245
|
+
"y": 3
|
|
246
|
+
}
|
|
72
247
|
}
|
|
73
248
|
}
|
|
74
249
|
}
|
|
@@ -140,9 +140,10 @@ const styles = {
|
|
|
140
140
|
flexDirection: "column",
|
|
141
141
|
height: "100%",
|
|
142
142
|
minHeight: 0,
|
|
143
|
+
fontFamily: "m6x11plus, monospace",
|
|
143
144
|
},
|
|
144
145
|
highlightSection: {
|
|
145
|
-
padding: "
|
|
146
|
+
padding: "6px 8px",
|
|
146
147
|
borderBottom: "1px solid #1a1a34",
|
|
147
148
|
background: "#0f0f22",
|
|
148
149
|
},
|
|
@@ -150,14 +151,14 @@ const styles = {
|
|
|
150
151
|
display: "flex",
|
|
151
152
|
alignItems: "center",
|
|
152
153
|
justifyContent: "space-between",
|
|
153
|
-
gap:
|
|
154
|
-
marginBottom:
|
|
154
|
+
gap: 8,
|
|
155
|
+
marginBottom: 4,
|
|
155
156
|
},
|
|
156
157
|
highlightTitle: {
|
|
157
|
-
fontSize:
|
|
158
|
+
fontSize: 12,
|
|
158
159
|
color: "#6f6fa1",
|
|
159
160
|
textTransform: "uppercase",
|
|
160
|
-
letterSpacing: "0.
|
|
161
|
+
letterSpacing: "0.05em",
|
|
161
162
|
},
|
|
162
163
|
highlightSubtitle: {
|
|
163
164
|
fontSize: 11,
|
|
@@ -165,32 +166,32 @@ const styles = {
|
|
|
165
166
|
},
|
|
166
167
|
highlightRail: {
|
|
167
168
|
display: "flex",
|
|
168
|
-
gap:
|
|
169
|
+
gap: 6,
|
|
169
170
|
overflowX: "auto",
|
|
170
|
-
paddingBottom:
|
|
171
|
+
paddingBottom: 2,
|
|
171
172
|
scrollSnapType: "x mandatory",
|
|
172
173
|
},
|
|
173
174
|
highlightCard: {
|
|
174
|
-
minWidth:
|
|
175
|
-
maxWidth:
|
|
175
|
+
minWidth: 120,
|
|
176
|
+
maxWidth: 120,
|
|
176
177
|
display: "flex",
|
|
177
178
|
flexDirection: "column",
|
|
178
|
-
gap:
|
|
179
|
-
padding:
|
|
180
|
-
borderRadius:
|
|
179
|
+
gap: 4,
|
|
180
|
+
padding: 4,
|
|
181
|
+
borderRadius: 8,
|
|
181
182
|
border: "1px solid #2a2a55",
|
|
182
183
|
background: "#131326",
|
|
183
184
|
scrollSnapAlign: "center",
|
|
184
185
|
cursor: "pointer",
|
|
185
186
|
},
|
|
186
187
|
highlightCardActive: {
|
|
187
|
-
minWidth:
|
|
188
|
-
maxWidth:
|
|
188
|
+
minWidth: 120,
|
|
189
|
+
maxWidth: 120,
|
|
189
190
|
display: "flex",
|
|
190
191
|
flexDirection: "column",
|
|
191
|
-
gap:
|
|
192
|
-
padding:
|
|
193
|
-
borderRadius:
|
|
192
|
+
gap: 4,
|
|
193
|
+
padding: 4,
|
|
194
|
+
borderRadius: 8,
|
|
194
195
|
border: "1px solid rgba(245,200,66,0.45)",
|
|
195
196
|
background: "rgba(245,200,66,0.08)",
|
|
196
197
|
scrollSnapAlign: "center",
|
|
@@ -200,25 +201,23 @@ const styles = {
|
|
|
200
201
|
display: "flex",
|
|
201
202
|
justifyContent: "center",
|
|
202
203
|
alignItems: "flex-start",
|
|
203
|
-
minHeight:
|
|
204
|
+
minHeight: 80,
|
|
204
205
|
},
|
|
205
206
|
highlightMeta: {
|
|
206
207
|
display: "flex",
|
|
207
208
|
flexDirection: "column",
|
|
208
|
-
gap:
|
|
209
|
+
gap: 2,
|
|
209
210
|
alignItems: "flex-start",
|
|
210
211
|
},
|
|
211
212
|
highlightAnte: {
|
|
212
|
-
fontSize:
|
|
213
|
+
fontSize: 11,
|
|
213
214
|
color: "#a855f7",
|
|
214
|
-
fontWeight: 700,
|
|
215
215
|
textTransform: "uppercase",
|
|
216
|
-
letterSpacing: "0.
|
|
216
|
+
letterSpacing: "0.05em",
|
|
217
217
|
},
|
|
218
218
|
highlightLabel: {
|
|
219
|
-
fontSize:
|
|
219
|
+
fontSize: 13,
|
|
220
220
|
color: "#ececff",
|
|
221
|
-
fontWeight: 700,
|
|
222
221
|
lineHeight: 1.2,
|
|
223
222
|
textAlign: "left",
|
|
224
223
|
},
|
|
@@ -232,32 +231,30 @@ const styles = {
|
|
|
232
231
|
display: "flex",
|
|
233
232
|
alignItems: "center",
|
|
234
233
|
justifyContent: "center",
|
|
235
|
-
gap:
|
|
236
|
-
padding: "8px
|
|
234
|
+
gap: 8,
|
|
235
|
+
padding: "4px 8px",
|
|
237
236
|
background: "#0f0f22",
|
|
238
237
|
borderBottom: "1px solid #1a1a34",
|
|
239
238
|
},
|
|
240
239
|
navButton: {
|
|
241
240
|
background: "none",
|
|
242
241
|
border: "1px solid #2a2a55",
|
|
243
|
-
borderRadius:
|
|
242
|
+
borderRadius: 4,
|
|
244
243
|
color: "#9898c0",
|
|
245
244
|
fontSize: 14,
|
|
246
|
-
padding: "
|
|
245
|
+
padding: "2px 8px",
|
|
247
246
|
cursor: "pointer",
|
|
248
247
|
},
|
|
249
248
|
navLabel: {
|
|
250
|
-
fontSize:
|
|
251
|
-
fontWeight: 700,
|
|
249
|
+
fontSize: 13,
|
|
252
250
|
color: "#a855f7",
|
|
253
251
|
textTransform: "uppercase",
|
|
254
|
-
letterSpacing: "0.
|
|
255
|
-
minWidth:
|
|
252
|
+
letterSpacing: "0.05em",
|
|
253
|
+
minWidth: 110,
|
|
256
254
|
textAlign: "center",
|
|
257
255
|
},
|
|
258
256
|
navSubLabel: {
|
|
259
257
|
color: "#5a5a88",
|
|
260
|
-
fontWeight: 500,
|
|
261
258
|
textTransform: "none",
|
|
262
259
|
letterSpacing: "normal",
|
|
263
260
|
fontSize: 11,
|
|
@@ -275,80 +272,76 @@ const styles = {
|
|
|
275
272
|
scrollSnapStop: "always",
|
|
276
273
|
minHeight: "100%",
|
|
277
274
|
boxSizing: "border-box",
|
|
278
|
-
paddingBottom:
|
|
275
|
+
paddingBottom: 8,
|
|
279
276
|
borderBottom: "1px solid #1a1a34",
|
|
280
277
|
},
|
|
281
278
|
anteSection: {
|
|
282
|
-
paddingBottom:
|
|
279
|
+
paddingBottom: 4,
|
|
283
280
|
},
|
|
284
281
|
anteHeader: {
|
|
285
282
|
display: "flex",
|
|
286
283
|
alignItems: "center",
|
|
287
|
-
gap:
|
|
288
|
-
padding: "8px
|
|
284
|
+
gap: 8,
|
|
285
|
+
padding: "6px 8px",
|
|
289
286
|
},
|
|
290
287
|
anteHeading: {
|
|
291
|
-
fontSize:
|
|
292
|
-
fontWeight: 700,
|
|
288
|
+
fontSize: 14,
|
|
293
289
|
color: "#a855f7",
|
|
294
290
|
textTransform: "uppercase",
|
|
295
|
-
letterSpacing: "0.
|
|
291
|
+
letterSpacing: "0.05em",
|
|
296
292
|
},
|
|
297
293
|
bossRow: {
|
|
298
294
|
display: "flex",
|
|
299
295
|
alignItems: "center",
|
|
300
|
-
gap:
|
|
296
|
+
gap: 4,
|
|
301
297
|
},
|
|
302
298
|
bossName: {
|
|
303
|
-
fontSize:
|
|
299
|
+
fontSize: 14,
|
|
304
300
|
color: "#e84040",
|
|
305
|
-
fontWeight: 600,
|
|
306
301
|
},
|
|
307
302
|
row: {
|
|
308
|
-
padding: "
|
|
303
|
+
padding: "2px 8px 4px",
|
|
309
304
|
},
|
|
310
305
|
rowLabel: {
|
|
311
|
-
fontSize:
|
|
306
|
+
fontSize: 11,
|
|
312
307
|
color: "#5a5a88",
|
|
313
308
|
textTransform: "uppercase",
|
|
314
|
-
letterSpacing: "0.
|
|
315
|
-
marginBottom:
|
|
309
|
+
letterSpacing: "0.05em",
|
|
310
|
+
marginBottom: 4,
|
|
316
311
|
},
|
|
317
312
|
cardFlow: {
|
|
318
313
|
display: "flex",
|
|
319
314
|
flexWrap: "wrap",
|
|
320
|
-
gap:
|
|
315
|
+
gap: 6,
|
|
321
316
|
alignItems: "flex-start",
|
|
322
317
|
},
|
|
323
318
|
denseGrid: {
|
|
324
319
|
display: "grid",
|
|
325
|
-
gridTemplateColumns: "repeat(auto-fit, minmax(
|
|
326
|
-
gap:
|
|
320
|
+
gridTemplateColumns: "repeat(auto-fit, minmax(70px, 1fr))",
|
|
321
|
+
gap: 6,
|
|
327
322
|
alignItems: "start",
|
|
328
323
|
},
|
|
329
324
|
compactCard: {
|
|
330
325
|
display: "flex",
|
|
331
326
|
flexDirection: "column",
|
|
332
327
|
alignItems: "center",
|
|
333
|
-
gap:
|
|
334
|
-
minWidth:
|
|
328
|
+
gap: 2,
|
|
329
|
+
minWidth: 50,
|
|
335
330
|
},
|
|
336
331
|
compactLabel: {
|
|
337
|
-
padding: "
|
|
332
|
+
padding: "1px 4px",
|
|
338
333
|
borderRadius: 999,
|
|
339
334
|
background: "#18182e",
|
|
340
335
|
color: "#7f7fa7",
|
|
341
336
|
border: "1px solid #2a2a55",
|
|
342
|
-
fontSize:
|
|
343
|
-
fontWeight: 700,
|
|
337
|
+
fontSize: 11,
|
|
344
338
|
textTransform: "uppercase",
|
|
345
|
-
letterSpacing: "0.05em",
|
|
346
339
|
},
|
|
347
340
|
itemCard: {
|
|
348
341
|
display: "flex",
|
|
349
342
|
flexDirection: "column",
|
|
350
343
|
alignItems: "center",
|
|
351
|
-
gap:
|
|
344
|
+
gap: 2,
|
|
352
345
|
width: "100%",
|
|
353
346
|
minWidth: 0,
|
|
354
347
|
},
|
|
@@ -356,96 +349,88 @@ const styles = {
|
|
|
356
349
|
display: "flex",
|
|
357
350
|
flexDirection: "column",
|
|
358
351
|
alignItems: "center",
|
|
359
|
-
gap:
|
|
352
|
+
gap: 2,
|
|
360
353
|
width: "100%",
|
|
361
354
|
minWidth: 0,
|
|
362
|
-
padding: "
|
|
363
|
-
borderRadius:
|
|
364
|
-
border: "1px solid rgba(245,200,66,0.
|
|
365
|
-
background: "rgba(245,200,66,0.
|
|
355
|
+
padding: "2px",
|
|
356
|
+
borderRadius: 8,
|
|
357
|
+
border: "1px solid rgba(245,200,66,0.6)",
|
|
358
|
+
background: "rgba(245,200,66,0.15)",
|
|
366
359
|
},
|
|
367
360
|
itemText: {
|
|
368
|
-
fontSize:
|
|
361
|
+
fontSize: 11,
|
|
369
362
|
color: "#8e8eb6",
|
|
370
363
|
textAlign: "center",
|
|
371
|
-
lineHeight: 1.
|
|
364
|
+
lineHeight: 1.1,
|
|
372
365
|
maxWidth: 84,
|
|
373
366
|
overflow: "hidden",
|
|
374
367
|
textOverflow: "ellipsis",
|
|
375
368
|
whiteSpace: "nowrap",
|
|
376
369
|
},
|
|
377
370
|
itemDetail: {
|
|
378
|
-
fontSize:
|
|
371
|
+
fontSize: 11,
|
|
379
372
|
color: "#d8d8ea",
|
|
380
373
|
textAlign: "center",
|
|
381
|
-
lineHeight: 1.
|
|
374
|
+
lineHeight: 1.1,
|
|
382
375
|
},
|
|
383
376
|
badgeRow: {
|
|
384
377
|
display: "flex",
|
|
385
378
|
flexWrap: "wrap",
|
|
386
|
-
gap:
|
|
379
|
+
gap: 2,
|
|
387
380
|
justifyContent: "center",
|
|
388
381
|
},
|
|
389
382
|
badge: {
|
|
390
|
-
padding: "
|
|
383
|
+
padding: "1px 4px",
|
|
391
384
|
borderRadius: 999,
|
|
392
385
|
background: "#202043",
|
|
393
386
|
color: "#c7c7ef",
|
|
394
387
|
border: "1px solid #35356d",
|
|
395
|
-
fontSize:
|
|
396
|
-
fontWeight: 700,
|
|
388
|
+
fontSize: 11,
|
|
397
389
|
textTransform: "uppercase",
|
|
398
|
-
letterSpacing: "0.05em",
|
|
399
390
|
},
|
|
400
391
|
badgeAccent: {
|
|
401
|
-
padding: "
|
|
392
|
+
padding: "1px 4px",
|
|
402
393
|
borderRadius: 999,
|
|
403
394
|
background: "rgba(245,200,66,0.2)",
|
|
404
395
|
color: "#f5c842",
|
|
405
396
|
border: "1px solid rgba(245,200,66,0.35)",
|
|
406
|
-
fontSize:
|
|
407
|
-
fontWeight: 700,
|
|
397
|
+
fontSize: 11,
|
|
408
398
|
textTransform: "uppercase",
|
|
409
|
-
letterSpacing: "0.05em",
|
|
410
399
|
},
|
|
411
400
|
badgeMuted: {
|
|
412
|
-
padding: "
|
|
401
|
+
padding: "1px 4px",
|
|
413
402
|
borderRadius: 999,
|
|
414
403
|
background: "#18182e",
|
|
415
404
|
color: "#7f7fa7",
|
|
416
405
|
border: "1px solid #2a2a55",
|
|
417
|
-
fontSize:
|
|
418
|
-
fontWeight: 700,
|
|
406
|
+
fontSize: 11,
|
|
419
407
|
textTransform: "uppercase",
|
|
420
|
-
letterSpacing: "0.05em",
|
|
421
408
|
},
|
|
422
409
|
packChip: {
|
|
423
|
-
fontSize:
|
|
410
|
+
fontSize: 13,
|
|
424
411
|
color: "#5a5a88",
|
|
425
412
|
background: "#131326",
|
|
426
413
|
border: "1px solid #2a2a55",
|
|
427
|
-
borderRadius:
|
|
428
|
-
padding: "
|
|
414
|
+
borderRadius: 4,
|
|
415
|
+
padding: "2px 6px",
|
|
429
416
|
},
|
|
430
417
|
factCard: {
|
|
431
418
|
display: "flex",
|
|
432
419
|
flexDirection: "column",
|
|
433
|
-
gap:
|
|
434
|
-
minWidth:
|
|
435
|
-
padding: "
|
|
436
|
-
borderRadius:
|
|
420
|
+
gap: 1,
|
|
421
|
+
minWidth: 90,
|
|
422
|
+
padding: "4px 6px",
|
|
423
|
+
borderRadius: 6,
|
|
437
424
|
background: "#131326",
|
|
438
425
|
border: "1px solid #2a2a55",
|
|
439
426
|
},
|
|
440
427
|
factLabel: {
|
|
441
|
-
fontSize:
|
|
428
|
+
fontSize: 11,
|
|
442
429
|
color: "#7f7fa7",
|
|
443
430
|
textTransform: "uppercase",
|
|
444
|
-
letterSpacing: "0.07em",
|
|
445
431
|
},
|
|
446
432
|
factValue: {
|
|
447
|
-
fontSize:
|
|
433
|
+
fontSize: 13,
|
|
448
434
|
color: "#ececff",
|
|
449
|
-
fontWeight: 700,
|
|
450
435
|
},
|
|
451
436
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { RealStandardcard } from './Standardcard.js';
|
|
4
4
|
import { JimboColorOption } from '../ui/tokens.js';
|
|
5
5
|
import { JimboText } from '../ui/jimboText.js';
|
|
6
6
|
const RANK_MAP = {
|
|
@@ -66,7 +66,7 @@ export function CardFan({ count = 0, cards, className = '', style, label, showLa
|
|
|
66
66
|
transform: `translateX(calc(-50% + ${xPos}px)) translateY(${yOffset}px) rotate(${rotation}deg)`,
|
|
67
67
|
transformOrigin: 'bottom center',
|
|
68
68
|
zIndex: i,
|
|
69
|
-
}, children: _jsx(
|
|
69
|
+
}, children: _jsx(RealStandardcard, { rank: parsed.rank, suit: parsed.suit, size: cardSize, style: { filter: `drop-shadow(0 2px 3px ${JimboColorOption.BLACK}66)` } }) }, i));
|
|
70
70
|
})) : (_jsx("div", { style: {
|
|
71
71
|
display: 'flex',
|
|
72
72
|
alignItems: 'center',
|