@sudobility/gaming-components 2.0.9 → 2.0.12

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.esm.js CHANGED
@@ -1,562 +1,302 @@
1
- import er from "react";
2
- import { cn as b } from "@sudobility/components";
3
- var v = { exports: {} }, y = {};
4
- var I;
5
- function ar() {
6
- if (I) return y;
7
- I = 1;
8
- var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), o = /* @__PURE__ */ Symbol.for("react.fragment");
9
- function a(i, n, l) {
10
- var s = null;
11
- if (l !== void 0 && (s = "" + l), n.key !== void 0 && (s = "" + n.key), "key" in n) {
12
- l = {};
13
- for (var d in n)
14
- d !== "key" && (l[d] = n[d]);
15
- } else l = n;
16
- return n = l.ref, {
17
- $$typeof: t,
18
- type: i,
19
- key: s,
20
- ref: n !== void 0 ? n : null,
21
- props: l
22
- };
23
- }
24
- return y.Fragment = o, y.jsx = a, y.jsxs = a, y;
25
- }
26
- var k = {};
27
- var F;
28
- function tr() {
29
- return F || (F = 1, process.env.NODE_ENV !== "production" && (function() {
30
- function t(r) {
31
- if (r == null) return null;
32
- if (typeof r == "function")
33
- return r.$$typeof === Q ? null : r.displayName || r.name || null;
34
- if (typeof r == "string") return r;
35
- switch (r) {
36
- case _:
37
- return "Fragment";
38
- case J:
39
- return "Profiler";
40
- case q:
41
- return "StrictMode";
42
- case B:
43
- return "Suspense";
44
- case X:
45
- return "SuspenseList";
46
- case Z:
47
- return "Activity";
48
- }
49
- if (typeof r == "object")
50
- switch (typeof r.tag == "number" && console.error(
51
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
52
- ), r.$$typeof) {
53
- case W:
54
- return "Portal";
55
- case z:
56
- return r.displayName || "Context";
57
- case V:
58
- return (r._context.displayName || "Context") + ".Consumer";
59
- case G:
60
- var e = r.render;
61
- return r = r.displayName, r || (r = e.displayName || e.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
62
- case H:
63
- return e = r.displayName || null, e !== null ? e : t(r.type) || "Memo";
64
- case E:
65
- e = r._payload, r = r._init;
66
- try {
67
- return t(r(e));
68
- } catch {
69
- }
70
- }
71
- return null;
72
- }
73
- function o(r) {
74
- return "" + r;
75
- }
76
- function a(r) {
77
- try {
78
- o(r);
79
- var e = !1;
80
- } catch {
81
- e = !0;
82
- }
83
- if (e) {
84
- e = console;
85
- var c = e.error, u = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
86
- return c.call(
87
- e,
88
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
89
- u
90
- ), o(r);
91
- }
92
- }
93
- function i(r) {
94
- if (r === _) return "<>";
95
- if (typeof r == "object" && r !== null && r.$$typeof === E)
96
- return "<...>";
97
- try {
98
- var e = t(r);
99
- return e ? "<" + e + ">" : "<...>";
100
- } catch {
101
- return "<...>";
102
- }
103
- }
104
- function n() {
105
- var r = w.A;
106
- return r === null ? null : r.getOwner();
107
- }
108
- function l() {
109
- return Error("react-stack-top-frame");
110
- }
111
- function s(r) {
112
- if (O.call(r, "key")) {
113
- var e = Object.getOwnPropertyDescriptor(r, "key").get;
114
- if (e && e.isReactWarning) return !1;
115
- }
116
- return r.key !== void 0;
117
- }
118
- function d(r, e) {
119
- function c() {
120
- P || (P = !0, console.error(
121
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
122
- e
123
- ));
124
- }
125
- c.isReactWarning = !0, Object.defineProperty(r, "key", {
126
- get: c,
127
- configurable: !0
128
- });
129
- }
130
- function D() {
131
- var r = t(this.type);
132
- return A[r] || (A[r] = !0, console.error(
133
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
134
- )), r = this.props.ref, r !== void 0 ? r : null;
135
- }
136
- function M(r, e, c, u, h, R) {
137
- var g = c.ref;
138
- return r = {
139
- $$typeof: j,
140
- type: r,
141
- key: e,
142
- props: c,
143
- _owner: u
144
- }, (g !== void 0 ? g : null) !== null ? Object.defineProperty(r, "ref", {
145
- enumerable: !1,
146
- get: D
147
- }) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
148
- configurable: !1,
149
- enumerable: !1,
150
- writable: !0,
151
- value: 0
152
- }), Object.defineProperty(r, "_debugInfo", {
153
- configurable: !1,
154
- enumerable: !1,
155
- writable: !0,
156
- value: null
157
- }), Object.defineProperty(r, "_debugStack", {
158
- configurable: !1,
159
- enumerable: !1,
160
- writable: !0,
161
- value: h
162
- }), Object.defineProperty(r, "_debugTask", {
163
- configurable: !1,
164
- enumerable: !1,
165
- writable: !0,
166
- value: R
167
- }), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
168
- }
169
- function T(r, e, c, u, h, R) {
170
- var g = e.children;
171
- if (g !== void 0)
172
- if (u)
173
- if (K(g)) {
174
- for (u = 0; u < g.length; u++)
175
- S(g[u]);
176
- Object.freeze && Object.freeze(g);
177
- } else
178
- console.error(
179
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
180
- );
181
- else S(g);
182
- if (O.call(e, "key")) {
183
- g = t(r);
184
- var m = Object.keys(e).filter(function(rr) {
185
- return rr !== "key";
186
- });
187
- u = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", $[g + u] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error(
188
- `A props object containing a "key" prop is being spread into JSX:
189
- let props = %s;
190
- <%s {...props} />
191
- React keys must be passed directly to JSX without using spread:
192
- let props = %s;
193
- <%s key={someKey} {...props} />`,
194
- u,
195
- g,
196
- m,
197
- g
198
- ), $[g + u] = !0);
199
- }
200
- if (g = null, c !== void 0 && (a(c), g = "" + c), s(e) && (a(e.key), g = "" + e.key), "key" in e) {
201
- c = {};
202
- for (var U in e)
203
- U !== "key" && (c[U] = e[U]);
204
- } else c = e;
205
- return g && d(
206
- c,
207
- typeof r == "function" ? r.displayName || r.name || "Unknown" : r
208
- ), M(
209
- r,
210
- g,
211
- c,
212
- n(),
213
- h,
214
- R
215
- );
216
- }
217
- function S(r) {
218
- C(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === E && (r._payload.status === "fulfilled" ? C(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
219
- }
220
- function C(r) {
221
- return typeof r == "object" && r !== null && r.$$typeof === j;
222
- }
223
- var p = er, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), _ = /* @__PURE__ */ Symbol.for("react.fragment"), q = /* @__PURE__ */ Symbol.for("react.strict_mode"), J = /* @__PURE__ */ Symbol.for("react.profiler"), V = /* @__PURE__ */ Symbol.for("react.consumer"), z = /* @__PURE__ */ Symbol.for("react.context"), G = /* @__PURE__ */ Symbol.for("react.forward_ref"), B = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), H = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), Z = /* @__PURE__ */ Symbol.for("react.activity"), Q = /* @__PURE__ */ Symbol.for("react.client.reference"), w = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, O = Object.prototype.hasOwnProperty, K = Array.isArray, x = console.createTask ? console.createTask : function() {
224
- return null;
225
- };
226
- p = {
227
- react_stack_bottom_frame: function(r) {
228
- return r();
229
- }
230
- };
231
- var P, A = {}, N = p.react_stack_bottom_frame.bind(
232
- p,
233
- l
234
- )(), Y = x(i(l)), $ = {};
235
- k.Fragment = _, k.jsx = function(r, e, c) {
236
- var u = 1e4 > w.recentlyCreatedOwnerStacks++;
237
- return T(
238
- r,
239
- e,
240
- c,
241
- !1,
242
- u ? Error("react-stack-top-frame") : N,
243
- u ? x(i(r)) : Y
244
- );
245
- }, k.jsxs = function(r, e, c) {
246
- var u = 1e4 > w.recentlyCreatedOwnerStacks++;
247
- return T(
248
- r,
249
- e,
250
- c,
251
- !0,
252
- u ? Error("react-stack-top-frame") : N,
253
- u ? x(i(r)) : Y
254
- );
255
- };
256
- })()), k;
257
- }
258
- var L;
259
- function or() {
260
- return L || (L = 1, process.env.NODE_ENV === "production" ? v.exports = ar() : v.exports = tr()), v.exports;
261
- }
262
- var f = or();
263
- const cr = ({
264
- className: t,
265
- children: o,
266
- disabled: a
267
- }) => /* @__PURE__ */ f.jsx(
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { cn as c } from "@sudobility/components";
3
+ const b = ({
4
+ className: e,
5
+ children: a,
6
+ disabled: r
7
+ }) => /* @__PURE__ */ d(
268
8
  "div",
269
9
  {
270
- className: b(
10
+ className: c(
271
11
  "p-4 rounded-lg border transition-colors",
272
12
  "bg-white dark:bg-gray-900",
273
13
  "border-gray-200 dark:border-gray-700",
274
14
  "text-gray-900 dark:text-white",
275
- a && "opacity-50 cursor-not-allowed",
276
- t
15
+ r && "opacity-50 cursor-not-allowed",
16
+ e
277
17
  ),
278
18
  role: "region",
279
19
  "aria-label": "SustainabilityScore",
280
- children: o || "SustainabilityScore Component"
20
+ children: a || "SustainabilityScore Component"
281
21
  }
282
- ), ir = ({
283
- className: t,
284
- children: o,
285
- disabled: a = !1,
286
- onClick: i,
287
- onTrack: n,
288
- trackingLabel: l,
289
- componentName: s = "UachievementUbadge"
22
+ ), y = ({
23
+ className: e,
24
+ children: a,
25
+ disabled: r = !1,
26
+ onClick: o,
27
+ onTrack: t,
28
+ trackingLabel: n,
29
+ componentName: i = "UachievementUbadge"
290
30
  }) => {
291
- const d = () => {
292
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
31
+ const l = () => {
32
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
293
33
  };
294
- return /* @__PURE__ */ f.jsx(
34
+ return /* @__PURE__ */ d(
295
35
  "div",
296
36
  {
297
- className: b(
37
+ className: c(
298
38
  "p-4 rounded-lg border transition-colors",
299
39
  "bg-white dark:bg-gray-900",
300
40
  "border-gray-200 dark:border-gray-700",
301
41
  "text-gray-900 dark:text-white",
302
- a && "opacity-50 cursor-not-allowed",
42
+ r && "opacity-50 cursor-not-allowed",
303
43
  "hover:bg-gray-50 dark:hover:bg-gray-800",
304
- t
44
+ e
305
45
  ),
306
- onClick: d,
46
+ onClick: l,
307
47
  role: "region",
308
48
  "aria-label": "UachievementUbadge",
309
- children: o || "UachievementUbadge Component"
49
+ children: a || "UachievementUbadge Component"
310
50
  }
311
51
  );
312
- }, sr = ({
313
- className: t,
314
- children: o,
315
- disabled: a = !1,
316
- onClick: i,
317
- onTrack: n,
318
- trackingLabel: l,
319
- componentName: s = "UachievementUunlock"
52
+ }, h = ({
53
+ className: e,
54
+ children: a,
55
+ disabled: r = !1,
56
+ onClick: o,
57
+ onTrack: t,
58
+ trackingLabel: n,
59
+ componentName: i = "UachievementUunlock"
320
60
  }) => {
321
- const d = () => {
322
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
61
+ const l = () => {
62
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
323
63
  };
324
- return /* @__PURE__ */ f.jsx(
64
+ return /* @__PURE__ */ d(
325
65
  "div",
326
66
  {
327
- className: b(
67
+ className: c(
328
68
  "p-4 rounded-lg border transition-colors",
329
69
  "bg-white dark:bg-gray-900",
330
70
  "border-gray-200 dark:border-gray-700",
331
71
  "text-gray-900 dark:text-white",
332
- a && "opacity-50 cursor-not-allowed",
72
+ r && "opacity-50 cursor-not-allowed",
333
73
  "hover:bg-gray-50 dark:hover:bg-gray-800",
334
- t
74
+ e
335
75
  ),
336
- onClick: d,
76
+ onClick: l,
337
77
  role: "region",
338
78
  "aria-label": "UachievementUunlock",
339
- children: o || "UachievementUunlock Component"
79
+ children: a || "UachievementUunlock Component"
340
80
  }
341
81
  );
342
- }, dr = ({
343
- className: t,
344
- children: o,
345
- disabled: a = !1,
346
- onClick: i,
347
- onTrack: n,
348
- trackingLabel: l,
349
- componentName: s = "UgameUcontrols"
82
+ }, k = ({
83
+ className: e,
84
+ children: a,
85
+ disabled: r = !1,
86
+ onClick: o,
87
+ onTrack: t,
88
+ trackingLabel: n,
89
+ componentName: i = "UgameUcontrols"
350
90
  }) => {
351
- const d = () => {
352
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
91
+ const l = () => {
92
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
353
93
  };
354
- return /* @__PURE__ */ f.jsx(
94
+ return /* @__PURE__ */ d(
355
95
  "div",
356
96
  {
357
- className: b(
97
+ className: c(
358
98
  "p-4 rounded-lg border transition-colors",
359
99
  "bg-white dark:bg-gray-900",
360
100
  "border-gray-200 dark:border-gray-700",
361
101
  "text-gray-900 dark:text-white",
362
- a && "opacity-50 cursor-not-allowed",
102
+ r && "opacity-50 cursor-not-allowed",
363
103
  "hover:bg-gray-50 dark:hover:bg-gray-800",
364
- t
104
+ e
365
105
  ),
366
- onClick: d,
106
+ onClick: l,
367
107
  role: "region",
368
108
  "aria-label": "UgameUcontrols",
369
- children: o || "UgameUcontrols Component"
109
+ children: a || "UgameUcontrols Component"
370
110
  }
371
111
  );
372
- }, ur = ({
373
- className: t,
374
- children: o,
375
- disabled: a
376
- }) => /* @__PURE__ */ f.jsx(
112
+ }, U = ({
113
+ className: e,
114
+ children: a,
115
+ disabled: r
116
+ }) => /* @__PURE__ */ d(
377
117
  "div",
378
118
  {
379
- className: b(
119
+ className: c(
380
120
  "p-4 rounded-lg border transition-colors",
381
121
  "bg-white dark:bg-gray-900",
382
122
  "border-gray-200 dark:border-gray-700",
383
123
  "text-gray-900 dark:text-white",
384
- a && "opacity-50 cursor-not-allowed",
385
- t
124
+ r && "opacity-50 cursor-not-allowed",
125
+ e
386
126
  ),
387
127
  role: "region",
388
128
  "aria-label": "LeadScorer",
389
- children: o || "LeadScorer Component"
129
+ children: a || "LeadScorer Component"
390
130
  }
391
- ), gr = ({
392
- className: t,
393
- children: o,
394
- disabled: a = !1,
395
- onClick: i,
396
- onTrack: n,
397
- trackingLabel: l,
398
- componentName: s = "UleaderboardUpodium"
131
+ ), p = ({
132
+ className: e,
133
+ children: a,
134
+ disabled: r = !1,
135
+ onClick: o,
136
+ onTrack: t,
137
+ trackingLabel: n,
138
+ componentName: i = "UleaderboardUpodium"
399
139
  }) => {
400
- const d = () => {
401
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
140
+ const l = () => {
141
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
402
142
  };
403
- return /* @__PURE__ */ f.jsx(
143
+ return /* @__PURE__ */ d(
404
144
  "div",
405
145
  {
406
- className: b(
146
+ className: c(
407
147
  "p-4 rounded-lg border transition-colors",
408
148
  "bg-white dark:bg-gray-900",
409
149
  "border-gray-200 dark:border-gray-700",
410
150
  "text-gray-900 dark:text-white",
411
- a && "opacity-50 cursor-not-allowed",
151
+ r && "opacity-50 cursor-not-allowed",
412
152
  "hover:bg-gray-50 dark:hover:bg-gray-800",
413
- t
153
+ e
414
154
  ),
415
- onClick: d,
155
+ onClick: l,
416
156
  role: "region",
417
157
  "aria-label": "UleaderboardUpodium",
418
- children: o || "UleaderboardUpodium Component"
158
+ children: a || "UleaderboardUpodium Component"
419
159
  }
420
160
  );
421
- }, br = ({
422
- className: t,
423
- children: o,
424
- disabled: a
425
- }) => /* @__PURE__ */ f.jsx(
161
+ }, u = ({
162
+ className: e,
163
+ children: a,
164
+ disabled: r
165
+ }) => /* @__PURE__ */ d(
426
166
  "div",
427
167
  {
428
- className: b(
168
+ className: c(
429
169
  "p-4 rounded-lg border transition-colors",
430
170
  "bg-white dark:bg-gray-900",
431
171
  "border-gray-200 dark:border-gray-700",
432
172
  "text-gray-900 dark:text-white",
433
- a && "opacity-50 cursor-not-allowed",
434
- t
173
+ r && "opacity-50 cursor-not-allowed",
174
+ e
435
175
  ),
436
176
  role: "region",
437
177
  "aria-label": "PlayerStats",
438
- children: o || "PlayerStats Component"
178
+ children: a || "PlayerStats Component"
439
179
  }
440
- ), fr = ({
441
- className: t,
442
- children: o,
443
- disabled: a
444
- }) => /* @__PURE__ */ f.jsx(
180
+ ), m = ({
181
+ className: e,
182
+ children: a,
183
+ disabled: r
184
+ }) => /* @__PURE__ */ d(
445
185
  "div",
446
186
  {
447
- className: b(
187
+ className: c(
448
188
  "p-4 rounded-lg border transition-colors",
449
189
  "bg-white dark:bg-gray-900",
450
190
  "border-gray-200 dark:border-gray-700",
451
191
  "text-gray-900 dark:text-white",
452
- a && "opacity-50 cursor-not-allowed",
453
- t
192
+ r && "opacity-50 cursor-not-allowed",
193
+ e
454
194
  ),
455
195
  role: "region",
456
196
  "aria-label": "ScoreBoard",
457
- children: o || "ScoreBoard Component"
197
+ children: a || "ScoreBoard Component"
458
198
  }
459
- ), mr = ({
460
- className: t,
461
- children: o,
462
- disabled: a = !1,
463
- onClick: i,
464
- onTrack: n,
465
- trackingLabel: l,
466
- componentName: s = "UscoreUdisplay"
199
+ ), w = ({
200
+ className: e,
201
+ children: a,
202
+ disabled: r = !1,
203
+ onClick: o,
204
+ onTrack: t,
205
+ trackingLabel: n,
206
+ componentName: i = "UscoreUdisplay"
467
207
  }) => {
468
- const d = () => {
469
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
208
+ const l = () => {
209
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
470
210
  };
471
- return /* @__PURE__ */ f.jsx(
211
+ return /* @__PURE__ */ d(
472
212
  "div",
473
213
  {
474
- className: b(
214
+ className: c(
475
215
  "p-4 rounded-lg border transition-colors",
476
216
  "bg-white dark:bg-gray-900",
477
217
  "border-gray-200 dark:border-gray-700",
478
218
  "text-gray-900 dark:text-white",
479
- a && "opacity-50 cursor-not-allowed",
219
+ r && "opacity-50 cursor-not-allowed",
480
220
  "hover:bg-gray-50 dark:hover:bg-gray-800",
481
- t
221
+ e
482
222
  ),
483
- onClick: d,
223
+ onClick: l,
484
224
  role: "region",
485
225
  "aria-label": "UscoreUdisplay",
486
- children: o || "UscoreUdisplay Component"
226
+ children: a || "UscoreUdisplay Component"
487
227
  }
488
228
  );
489
- }, yr = ({
490
- className: t,
491
- children: o,
492
- disabled: a = !1,
493
- onClick: i,
494
- onTrack: n,
495
- trackingLabel: l,
496
- componentName: s = "UscratchUcard"
229
+ }, v = ({
230
+ className: e,
231
+ children: a,
232
+ disabled: r = !1,
233
+ onClick: o,
234
+ onTrack: t,
235
+ trackingLabel: n,
236
+ componentName: i = "UscratchUcard"
497
237
  }) => {
498
- const d = () => {
499
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
238
+ const l = () => {
239
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
500
240
  };
501
- return /* @__PURE__ */ f.jsx(
241
+ return /* @__PURE__ */ d(
502
242
  "div",
503
243
  {
504
- className: b(
244
+ className: c(
505
245
  "p-4 rounded-lg border transition-colors",
506
246
  "bg-white dark:bg-gray-900",
507
247
  "border-gray-200 dark:border-gray-700",
508
248
  "text-gray-900 dark:text-white",
509
- a && "opacity-50 cursor-not-allowed",
249
+ r && "opacity-50 cursor-not-allowed",
510
250
  "hover:bg-gray-50 dark:hover:bg-gray-800",
511
- t
251
+ e
512
252
  ),
513
- onClick: d,
253
+ onClick: l,
514
254
  role: "region",
515
255
  "aria-label": "UscratchUcard",
516
- children: o || "UscratchUcard Component"
256
+ children: a || "UscratchUcard Component"
517
257
  }
518
258
  );
519
- }, kr = ({
520
- className: t,
521
- children: o,
522
- disabled: a = !1,
523
- onClick: i,
524
- onTrack: n,
525
- trackingLabel: l,
526
- componentName: s = "UspinUwheel"
259
+ }, C = ({
260
+ className: e,
261
+ children: a,
262
+ disabled: r = !1,
263
+ onClick: o,
264
+ onTrack: t,
265
+ trackingLabel: n,
266
+ componentName: i = "UspinUwheel"
527
267
  }) => {
528
- const d = () => {
529
- a || (n?.({ action: "click", trackingLabel: l, componentName: s }), i?.());
268
+ const l = () => {
269
+ r || (t?.({ action: "click", trackingLabel: n, componentName: i }), o?.());
530
270
  };
531
- return /* @__PURE__ */ f.jsx(
271
+ return /* @__PURE__ */ d(
532
272
  "div",
533
273
  {
534
- className: b(
274
+ className: c(
535
275
  "p-4 rounded-lg border transition-colors",
536
276
  "bg-white dark:bg-gray-900",
537
277
  "border-gray-200 dark:border-gray-700",
538
278
  "text-gray-900 dark:text-white",
539
- a && "opacity-50 cursor-not-allowed",
279
+ r && "opacity-50 cursor-not-allowed",
540
280
  "hover:bg-gray-50 dark:hover:bg-gray-800",
541
- t
281
+ e
542
282
  ),
543
- onClick: d,
283
+ onClick: l,
544
284
  role: "region",
545
285
  "aria-label": "UspinUwheel",
546
- children: o || "UspinUwheel Component"
286
+ children: a || "UspinUwheel Component"
547
287
  }
548
288
  );
549
289
  };
550
290
  export {
551
- ur as LeadScorer,
552
- br as PlayerStats,
553
- fr as ScoreBoard,
554
- cr as SustainabilityScore,
555
- ir as UachievementUbadge,
556
- sr as UachievementUunlock,
557
- dr as UgameUcontrols,
558
- gr as UleaderboardUpodium,
559
- mr as UscoreUdisplay,
560
- yr as UscratchUcard,
561
- kr as UspinUwheel
291
+ U as LeadScorer,
292
+ u as PlayerStats,
293
+ m as ScoreBoard,
294
+ b as SustainabilityScore,
295
+ y as UachievementUbadge,
296
+ h as UachievementUunlock,
297
+ k as UgameUcontrols,
298
+ p as UleaderboardUpodium,
299
+ w as UscoreUdisplay,
300
+ v as UscratchUcard,
301
+ C as UspinUwheel
562
302
  };
package/dist/index.umd.js CHANGED
@@ -1,6 +1 @@
1
- (function(f,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react"),require("@sudobility/components")):typeof define=="function"&&define.amd?define(["exports","react","@sudobility/components"],k):(f=typeof globalThis<"u"?globalThis:f||self,k(f.Components={},f.React,f.components))})(this,(function(f,k,b){"use strict";var p={exports:{}},h={};var C;function W(){if(C)return h;C=1;var t=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function a(c,n,l){var s=null;if(l!==void 0&&(s=""+l),n.key!==void 0&&(s=""+n.key),"key"in n){l={};for(var d in n)d!=="key"&&(l[d]=n[d])}else l=n;return n=l.ref,{$$typeof:t,type:c,key:s,ref:n!==void 0?n:null,props:l}}return h.Fragment=o,h.jsx=a,h.jsxs=a,h}var v={};var j;function q(){return j||(j=1,process.env.NODE_ENV!=="production"&&(function(){function t(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===be?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case E:return"Fragment";case le:return"Profiler";case ne:return"StrictMode";case de:return"Suspense";case ue:return"SuspenseList";case fe:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case oe:return"Portal";case ce:return e.displayName||"Context";case ie:return(e._context.displayName||"Context")+".Consumer";case se:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ge:return r=e.displayName||null,r!==null?r:t(e.type)||"Memo";case w:r=e._payload,e=e._init;try{return t(e(r))}catch{}}return null}function o(e){return""+e}function a(e){try{o(e);var r=!1}catch{r=!0}if(r){r=console;var i=r.error,u=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),o(e)}}function c(e){if(e===E)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===w)return"<...>";try{var r=t(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function n(){var e=R.A;return e===null?null:e.getOwner()}function l(){return Error("react-stack-top-frame")}function s(e){if(I.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function i(){L||(L=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}function ae(){var e=t(this.type);return $[e]||($[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function te(e,r,i,u,_,T){var g=i.ref;return e={$$typeof:Y,type:e,key:r,props:i,_owner:u},(g!==void 0?g:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:ae}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,i,u,_,T){var g=r.children;if(g!==void 0)if(u)if(ye(g)){for(u=0;u<g.length;u++)A(g[u]);Object.freeze&&Object.freeze(g)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else A(g);if(I.call(r,"key")){g=t(e);var m=Object.keys(r).filter(function(me){return me!=="key"});u=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",M[g+u]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
- let props = %s;
3
- <%s {...props} />
4
- React keys must be passed directly to JSX without using spread:
5
- let props = %s;
6
- <%s key={someKey} {...props} />`,u,g,m,g),M[g+u]=!0)}if(g=null,i!==void 0&&(a(i),g=""+i),s(r)&&(a(r.key),g=""+r.key),"key"in r){i={};for(var x in r)x!=="key"&&(i[x]=r[x])}else i=r;return g&&d(i,typeof e=="function"?e.displayName||e.name||"Unknown":e),te(e,g,i,n(),_,T)}function A(e){N(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===w&&(e._payload.status==="fulfilled"?N(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function N(e){return typeof e=="object"&&e!==null&&e.$$typeof===Y}var U=k,Y=Symbol.for("react.transitional.element"),oe=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),ne=Symbol.for("react.strict_mode"),le=Symbol.for("react.profiler"),ie=Symbol.for("react.consumer"),ce=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),de=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),ge=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),fe=Symbol.for("react.activity"),be=Symbol.for("react.client.reference"),R=U.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,ye=Array.isArray,S=console.createTask?console.createTask:function(){return null};U={react_stack_bottom_frame:function(e){return e()}};var L,$={},F=U.react_stack_bottom_frame.bind(U,l)(),D=S(c(l)),M={};v.Fragment=E,v.jsx=function(e,r,i){var u=1e4>R.recentlyCreatedOwnerStacks++;return P(e,r,i,!1,u?Error("react-stack-top-frame"):F,u?S(c(e)):D)},v.jsxs=function(e,r,i){var u=1e4>R.recentlyCreatedOwnerStacks++;return P(e,r,i,!0,u?Error("react-stack-top-frame"):F,u?S(c(e)):D)}})()),v}var O;function J(){return O||(O=1,process.env.NODE_ENV==="production"?p.exports=W():p.exports=q()),p.exports}var y=J();const V=({className:t,children:o,disabled:a})=>y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed",t),role:"region","aria-label":"SustainabilityScore",children:o||"SustainabilityScore Component"}),z=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UachievementUbadge"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UachievementUbadge",children:o||"UachievementUbadge Component"})},B=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UachievementUunlock"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UachievementUunlock",children:o||"UachievementUunlock Component"})},G=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UgameUcontrols"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UgameUcontrols",children:o||"UgameUcontrols Component"})},X=({className:t,children:o,disabled:a})=>y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed",t),role:"region","aria-label":"LeadScorer",children:o||"LeadScorer Component"}),H=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UleaderboardUpodium"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UleaderboardUpodium",children:o||"UleaderboardUpodium Component"})},Z=({className:t,children:o,disabled:a})=>y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed",t),role:"region","aria-label":"PlayerStats",children:o||"PlayerStats Component"}),Q=({className:t,children:o,disabled:a})=>y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed",t),role:"region","aria-label":"ScoreBoard",children:o||"ScoreBoard Component"}),K=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UscoreUdisplay"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UscoreUdisplay",children:o||"UscoreUdisplay Component"})},ee=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UscratchUcard"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UscratchUcard",children:o||"UscratchUcard Component"})},re=({className:t,children:o,disabled:a=!1,onClick:c,onTrack:n,trackingLabel:l,componentName:s="UspinUwheel"})=>{const d=()=>{a||(n?.({action:"click",trackingLabel:l,componentName:s}),c?.())};return y.jsx("div",{className:b.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",a&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",t),onClick:d,role:"region","aria-label":"UspinUwheel",children:o||"UspinUwheel Component"})};f.LeadScorer=X,f.PlayerStats=Z,f.ScoreBoard=Q,f.SustainabilityScore=V,f.UachievementUbadge=z,f.UachievementUunlock=B,f.UgameUcontrols=G,f.UleaderboardUpodium=H,f.UscoreUdisplay=K,f.UscratchUcard=ee,f.UspinUwheel=re,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})}));
1
+ (function(o,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react/jsx-runtime"),require("@sudobility/components")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@sudobility/components"],t):(o=typeof globalThis<"u"?globalThis:o||self,t(o.Components={},o.ReactJSXRuntime,o.SudobilityComponents))})(this,(function(o,t,g){"use strict";const s=({className:e,children:a,disabled:r})=>t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",e),role:"region","aria-label":"SustainabilityScore",children:a||"SustainabilityScore Component"}),b=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UachievementUbadge"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UachievementUbadge",children:a||"UachievementUbadge Component"})},y=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UachievementUunlock"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UachievementUunlock",children:a||"UachievementUunlock Component"})},h=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UgameUcontrols"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UgameUcontrols",children:a||"UgameUcontrols Component"})},U=({className:e,children:a,disabled:r})=>t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",e),role:"region","aria-label":"LeadScorer",children:a||"LeadScorer Component"}),k=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UleaderboardUpodium"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UleaderboardUpodium",children:a||"UleaderboardUpodium Component"})},u=({className:e,children:a,disabled:r})=>t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",e),role:"region","aria-label":"PlayerStats",children:a||"PlayerStats Component"}),p=({className:e,children:a,disabled:r})=>t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",e),role:"region","aria-label":"ScoreBoard",children:a||"ScoreBoard Component"}),w=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UscoreUdisplay"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UscoreUdisplay",children:a||"UscoreUdisplay Component"})},v=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UscratchUcard"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UscratchUcard",children:a||"UscratchUcard Component"})},m=({className:e,children:a,disabled:r=!1,onClick:i,onTrack:n,trackingLabel:d,componentName:c="UspinUwheel"})=>{const l=()=>{r||(n?.({action:"click",trackingLabel:d,componentName:c}),i?.())};return t.jsx("div",{className:g.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",e),onClick:l,role:"region","aria-label":"UspinUwheel",children:a||"UspinUwheel Component"})};o.LeadScorer=U,o.PlayerStats=u,o.ScoreBoard=p,o.SustainabilityScore=s,o.UachievementUbadge=b,o.UachievementUunlock=y,o.UgameUcontrols=h,o.UleaderboardUpodium=k,o.UscoreUdisplay=w,o.UscratchUcard=v,o.UspinUwheel=m,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/gaming-components",
3
- "version": "2.0.9",
3
+ "version": "2.0.12",
4
4
  "description": "gaming UI components for React",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
@@ -31,16 +31,16 @@
31
31
  "typescript"
32
32
  ],
33
33
  "author": "John Q Huang",
34
- "license": "MIT",
34
+ "license": "BUSL-1.1",
35
35
  "peerDependencies": {
36
- "@sudobility/components": "^4.0.160",
36
+ "@sudobility/components": "^5.0.7",
37
37
  "@sudobility/design": "^1.1.18",
38
38
  "react": "^18.0.0 || ^19.0.0",
39
39
  "react-dom": "^18.0.0 || ^19.0.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@eslint/js": "^9.38.0",
43
- "@sudobility/components": "^4.0.160",
43
+ "@sudobility/components": "^5.0.7",
44
44
  "@sudobility/design": "^1.1.18",
45
45
  "@testing-library/dom": "^10.4.1",
46
46
  "@testing-library/react": "^16.3.0",
@@ -59,9 +59,7 @@
59
59
  "eslint-plugin-react-hooks": "^7.0.0",
60
60
  "eslint-plugin-react-refresh": "^0.4.0",
61
61
  "jsdom": "^27.0.1",
62
- "prettier": "^3.6.2",
63
- "react": "^19.2.0",
64
- "react-dom": "^19.2.0",
62
+ "prettier": "^3.8.1",
65
63
  "tailwind-merge": "^3.3.1",
66
64
  "typescript": "^5.9.3",
67
65
  "vite": "^7.1.12",