@drdex0101/water-design-system 1.0.1 → 2.0.0

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.
Files changed (34) hide show
  1. package/README.md +4 -4
  2. package/dist/components/Badge/Badge.d.ts +16 -0
  3. package/dist/components/Badge/index.d.ts +1 -0
  4. package/dist/components/Button/Button.d.ts +20 -2
  5. package/dist/components/Checkbox/Checkbox.d.ts +13 -0
  6. package/dist/components/Checkbox/index.d.ts +1 -0
  7. package/dist/components/Divider/Divider.d.ts +9 -0
  8. package/dist/components/Divider/index.d.ts +1 -0
  9. package/dist/components/Input/Input.d.ts +20 -0
  10. package/dist/components/Input/index.d.ts +1 -0
  11. package/dist/components/Poker/PokerCard.d.ts +28 -0
  12. package/dist/components/Poker/PokerPlayer.d.ts +38 -0
  13. package/dist/components/Poker/PokerStatusIndicator.d.ts +28 -0
  14. package/dist/components/Poker/PokerTable.d.ts +39 -0
  15. package/dist/components/Poker/index.d.ts +4 -0
  16. package/dist/components/Slider/Slider.d.ts +23 -0
  17. package/dist/components/Slider/index.d.ts +1 -0
  18. package/dist/components/Switch/Switch.d.ts +17 -0
  19. package/dist/components/Switch/index.d.ts +1 -0
  20. package/dist/components/Tabs/Tabs.d.ts +26 -0
  21. package/dist/components/Tabs/index.d.ts +1 -0
  22. package/dist/components/Toast/Toast.d.ts +18 -0
  23. package/dist/components/Toast/index.d.ts +1 -0
  24. package/dist/components/Toggle/Toggle.d.ts +34 -0
  25. package/dist/components/Toggle/index.d.ts +1 -0
  26. package/dist/index.d.ts +10 -0
  27. package/dist/pages/SpacingTokens.d.ts +2 -0
  28. package/dist/tokens/colors.d.ts +38 -204
  29. package/dist/tokens/index.d.ts +1 -5
  30. package/dist/tokens/semantic.d.ts +201 -114
  31. package/dist/tokens/spacing.d.ts +54 -0
  32. package/dist/water-design-system.es.js +2336 -582
  33. package/dist/water-design-system.umd.js +15 -4
  34. package/package.json +3 -2
@@ -1,5 +1,5 @@
1
- import ge from "react";
2
- var L = { exports: {} }, x = {};
1
+ import A from "react";
2
+ var me = { exports: {} }, se = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.js
@@ -9,29 +9,29 @@ var L = { exports: {} }, x = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var X;
13
- function he() {
14
- if (X) return x;
15
- X = 1;
16
- var c = Symbol.for("react.transitional.element"), E = Symbol.for("react.fragment");
17
- function _(v, b, g) {
18
- var T = null;
19
- if (g !== void 0 && (T = "" + g), b.key !== void 0 && (T = "" + b.key), "key" in b) {
20
- g = {};
21
- for (var F in b)
22
- F !== "key" && (g[F] = b[F]);
23
- } else g = b;
24
- return b = g.ref, {
25
- $$typeof: c,
26
- type: v,
27
- key: T,
28
- ref: b !== void 0 ? b : null,
29
- props: g
12
+ var xe;
13
+ function Ie() {
14
+ if (xe) return se;
15
+ xe = 1;
16
+ var t = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
17
+ function a(r, i, c) {
18
+ var g = null;
19
+ if (c !== void 0 && (g = "" + c), i.key !== void 0 && (g = "" + i.key), "key" in i) {
20
+ c = {};
21
+ for (var f in i)
22
+ f !== "key" && (c[f] = i[f]);
23
+ } else c = i;
24
+ return i = c.ref, {
25
+ $$typeof: t,
26
+ type: r,
27
+ key: g,
28
+ ref: i !== void 0 ? i : null,
29
+ props: c
30
30
  };
31
31
  }
32
- return x.Fragment = E, x.jsx = _, x.jsxs = _, x;
32
+ return se.Fragment = o, se.jsx = a, se.jsxs = a, se;
33
33
  }
34
- var W = {};
34
+ var ae = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -41,240 +41,240 @@ var W = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var Z;
45
- function ye() {
46
- return Z || (Z = 1, process.env.NODE_ENV !== "production" && function() {
47
- function c(e) {
48
- if (e == null) return null;
49
- if (typeof e == "function")
50
- return e.$$typeof === me ? null : e.displayName || e.name || null;
51
- if (typeof e == "string") return e;
52
- switch (e) {
53
- case P:
44
+ var Se;
45
+ function ze() {
46
+ return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
47
+ function t(n) {
48
+ if (n == null) return null;
49
+ if (typeof n == "function")
50
+ return n.$$typeof === M ? null : n.displayName || n.name || null;
51
+ if (typeof n == "string") return n;
52
+ switch (n) {
53
+ case S:
54
54
  return "Fragment";
55
- case re:
55
+ case O:
56
56
  return "Profiler";
57
- case ne:
57
+ case R:
58
58
  return "StrictMode";
59
- case se:
59
+ case D:
60
60
  return "Suspense";
61
- case fe:
61
+ case U:
62
62
  return "SuspenseList";
63
- case de:
63
+ case J:
64
64
  return "Activity";
65
65
  }
66
- if (typeof e == "object")
67
- switch (typeof e.tag == "number" && console.error(
66
+ if (typeof n == "object")
67
+ switch (typeof n.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
- ), e.$$typeof) {
70
- case oe:
69
+ ), n.$$typeof) {
70
+ case B:
71
71
  return "Portal";
72
- case ae:
73
- return e.displayName || "Context";
74
- case ie:
75
- return (e._context.displayName || "Context") + ".Consumer";
76
- case le:
77
- var t = e.render;
78
- return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case ce:
80
- return t = e.displayName || null, t !== null ? t : c(e.type) || "Memo";
81
- case M:
82
- t = e._payload, e = e._init;
72
+ case F:
73
+ return n.displayName || "Context";
74
+ case L:
75
+ return (n._context.displayName || "Context") + ".Consumer";
76
+ case H:
77
+ var k = n.render;
78
+ return n = n.displayName, n || (n = k.displayName || k.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
79
+ case G:
80
+ return k = n.displayName || null, k !== null ? k : t(n.type) || "Memo";
81
+ case V:
82
+ k = n._payload, n = n._init;
83
83
  try {
84
- return c(e(t));
84
+ return t(n(k));
85
85
  } catch {
86
86
  }
87
87
  }
88
88
  return null;
89
89
  }
90
- function E(e) {
91
- return "" + e;
90
+ function o(n) {
91
+ return "" + n;
92
92
  }
93
- function _(e) {
93
+ function a(n) {
94
94
  try {
95
- E(e);
96
- var t = !1;
95
+ o(n);
96
+ var k = !1;
97
97
  } catch {
98
- t = !0;
98
+ k = !0;
99
99
  }
100
- if (t) {
101
- t = console;
102
- var a = t.error, s = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
103
- return a.call(
104
- t,
100
+ if (k) {
101
+ k = console;
102
+ var z = k.error, T = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
103
+ return z.call(
104
+ k,
105
105
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
- s
107
- ), E(e);
106
+ T
107
+ ), o(n);
108
108
  }
109
109
  }
110
- function v(e) {
111
- if (e === P) return "<>";
112
- if (typeof e == "object" && e !== null && e.$$typeof === M)
110
+ function r(n) {
111
+ if (n === S) return "<>";
112
+ if (typeof n == "object" && n !== null && n.$$typeof === V)
113
113
  return "<...>";
114
114
  try {
115
- var t = c(e);
116
- return t ? "<" + t + ">" : "<...>";
115
+ var k = t(n);
116
+ return k ? "<" + k + ">" : "<...>";
117
117
  } catch {
118
118
  return "<...>";
119
119
  }
120
120
  }
121
- function b() {
122
- var e = H.A;
123
- return e === null ? null : e.getOwner();
121
+ function i() {
122
+ var n = P.A;
123
+ return n === null ? null : n.getOwner();
124
124
  }
125
- function g() {
125
+ function c() {
126
126
  return Error("react-stack-top-frame");
127
127
  }
128
- function T(e) {
129
- if (I.call(e, "key")) {
130
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
131
- if (t && t.isReactWarning) return !1;
128
+ function g(n) {
129
+ if (te.call(n, "key")) {
130
+ var k = Object.getOwnPropertyDescriptor(n, "key").get;
131
+ if (k && k.isReactWarning) return !1;
132
132
  }
133
- return e.key !== void 0;
133
+ return n.key !== void 0;
134
134
  }
135
- function F(e, t) {
136
- function a() {
137
- U || (U = !0, console.error(
135
+ function f(n, k) {
136
+ function z() {
137
+ N || (N = !0, console.error(
138
138
  "%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)",
139
- t
139
+ k
140
140
  ));
141
141
  }
142
- a.isReactWarning = !0, Object.defineProperty(e, "key", {
143
- get: a,
142
+ z.isReactWarning = !0, Object.defineProperty(n, "key", {
143
+ get: z,
144
144
  configurable: !0
145
145
  });
146
146
  }
147
- function ee() {
148
- var e = c(this.type);
149
- return V[e] || (V[e] = !0, console.error(
147
+ function b() {
148
+ var n = t(this.type);
149
+ return le[n] || (le[n] = !0, console.error(
150
150
  "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."
151
- )), e = this.props.ref, e !== void 0 ? e : null;
151
+ )), n = this.props.ref, n !== void 0 ? n : null;
152
152
  }
153
- function te(e, t, a, s, z, C) {
154
- var f = a.ref;
155
- return e = {
156
- $$typeof: D,
157
- type: e,
158
- key: t,
159
- props: a,
160
- _owner: s
161
- }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(e, "ref", {
153
+ function u(n, k, z, T, fe, ue) {
154
+ var E = z.ref;
155
+ return n = {
156
+ $$typeof: I,
157
+ type: n,
158
+ key: k,
159
+ props: z,
160
+ _owner: T
161
+ }, (E !== void 0 ? E : null) !== null ? Object.defineProperty(n, "ref", {
162
162
  enumerable: !1,
163
- get: ee
164
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
163
+ get: b
164
+ }) : Object.defineProperty(n, "ref", { enumerable: !1, value: null }), n._store = {}, Object.defineProperty(n._store, "validated", {
165
165
  configurable: !1,
166
166
  enumerable: !1,
167
167
  writable: !0,
168
168
  value: 0
169
- }), Object.defineProperty(e, "_debugInfo", {
169
+ }), Object.defineProperty(n, "_debugInfo", {
170
170
  configurable: !1,
171
171
  enumerable: !1,
172
172
  writable: !0,
173
173
  value: null
174
- }), Object.defineProperty(e, "_debugStack", {
174
+ }), Object.defineProperty(n, "_debugStack", {
175
175
  configurable: !1,
176
176
  enumerable: !1,
177
177
  writable: !0,
178
- value: z
179
- }), Object.defineProperty(e, "_debugTask", {
178
+ value: fe
179
+ }), Object.defineProperty(n, "_debugTask", {
180
180
  configurable: !1,
181
181
  enumerable: !1,
182
182
  writable: !0,
183
- value: C
184
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
183
+ value: ue
184
+ }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
185
185
  }
186
- function Y(e, t, a, s, z, C) {
187
- var f = t.children;
188
- if (f !== void 0)
189
- if (s)
190
- if (ue(f)) {
191
- for (s = 0; s < f.length; s++)
192
- B(f[s]);
193
- Object.freeze && Object.freeze(f);
186
+ function j(n, k, z, T, fe, ue) {
187
+ var E = k.children;
188
+ if (E !== void 0)
189
+ if (T)
190
+ if (re(E)) {
191
+ for (T = 0; T < E.length; T++)
192
+ C(E[T]);
193
+ Object.freeze && Object.freeze(E);
194
194
  } else
195
195
  console.error(
196
196
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
197
  );
198
- else B(f);
199
- if (I.call(t, "key")) {
200
- f = c(e);
201
- var R = Object.keys(t).filter(function(be) {
202
- return be !== "key";
198
+ else C(E);
199
+ if (te.call(k, "key")) {
200
+ E = t(n);
201
+ var ne = Object.keys(k).filter(function(We) {
202
+ return We !== "key";
203
203
  });
204
- s = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", J[f + s] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ T = 0 < ne.length ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}", be[E + T] || (ne = 0 < ne.length ? "{" + ne.join(": ..., ") + ": ...}" : "{}", console.error(
205
205
  `A props object containing a "key" prop is being spread into JSX:
206
206
  let props = %s;
207
207
  <%s {...props} />
208
208
  React keys must be passed directly to JSX without using spread:
209
209
  let props = %s;
210
210
  <%s key={someKey} {...props} />`,
211
- s,
212
- f,
213
- R,
214
- f
215
- ), J[f + s] = !0);
211
+ T,
212
+ E,
213
+ ne,
214
+ E
215
+ ), be[E + T] = !0);
216
216
  }
217
- if (f = null, a !== void 0 && (_(a), f = "" + a), T(t) && (_(t.key), f = "" + t.key), "key" in t) {
218
- a = {};
219
- for (var N in t)
220
- N !== "key" && (a[N] = t[N]);
221
- } else a = t;
222
- return f && F(
223
- a,
224
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
225
- ), te(
226
- e,
227
- f,
228
- a,
229
- b(),
217
+ if (E = null, z !== void 0 && (a(z), E = "" + z), g(k) && (a(k.key), E = "" + k.key), "key" in k) {
218
+ z = {};
219
+ for (var ge in k)
220
+ ge !== "key" && (z[ge] = k[ge]);
221
+ } else z = k;
222
+ return E && f(
223
+ z,
224
+ typeof n == "function" ? n.displayName || n.name || "Unknown" : n
225
+ ), u(
226
+ n,
227
+ E,
230
228
  z,
231
- C
229
+ i(),
230
+ fe,
231
+ ue
232
232
  );
233
233
  }
234
- function B(e) {
235
- $(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === M && (e._payload.status === "fulfilled" ? $(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
234
+ function C(n) {
235
+ x(n) ? n._store && (n._store.validated = 1) : typeof n == "object" && n !== null && n.$$typeof === V && (n._payload.status === "fulfilled" ? x(n._payload.value) && n._payload.value._store && (n._payload.value._store.validated = 1) : n._store && (n._store.validated = 1));
236
236
  }
237
- function $(e) {
238
- return typeof e == "object" && e !== null && e.$$typeof === D;
237
+ function x(n) {
238
+ return typeof n == "object" && n !== null && n.$$typeof === I;
239
239
  }
240
- var O = ge, D = Symbol.for("react.transitional.element"), oe = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), ne = Symbol.for("react.strict_mode"), re = Symbol.for("react.profiler"), ie = Symbol.for("react.consumer"), ae = Symbol.for("react.context"), le = Symbol.for("react.forward_ref"), se = Symbol.for("react.suspense"), fe = Symbol.for("react.suspense_list"), ce = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), de = Symbol.for("react.activity"), me = Symbol.for("react.client.reference"), H = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, ue = Array.isArray, j = console.createTask ? console.createTask : function() {
240
+ var v = A, I = Symbol.for("react.transitional.element"), B = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), F = Symbol.for("react.context"), H = Symbol.for("react.forward_ref"), D = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), G = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), J = Symbol.for("react.activity"), M = Symbol.for("react.client.reference"), P = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, te = Object.prototype.hasOwnProperty, re = Array.isArray, q = console.createTask ? console.createTask : function() {
241
241
  return null;
242
242
  };
243
- O = {
244
- react_stack_bottom_frame: function(e) {
245
- return e();
243
+ v = {
244
+ react_stack_bottom_frame: function(n) {
245
+ return n();
246
246
  }
247
247
  };
248
- var U, V = {}, q = O.react_stack_bottom_frame.bind(
249
- O,
250
- g
251
- )(), G = j(v(g)), J = {};
252
- W.Fragment = P, W.jsx = function(e, t, a) {
253
- var s = 1e4 > H.recentlyCreatedOwnerStacks++;
254
- return Y(
255
- e,
256
- t,
257
- a,
248
+ var N, le = {}, ce = v.react_stack_bottom_frame.bind(
249
+ v,
250
+ c
251
+ )(), Z = q(r(c)), be = {};
252
+ ae.Fragment = S, ae.jsx = function(n, k, z) {
253
+ var T = 1e4 > P.recentlyCreatedOwnerStacks++;
254
+ return j(
255
+ n,
256
+ k,
257
+ z,
258
258
  !1,
259
- s ? Error("react-stack-top-frame") : q,
260
- s ? j(v(e)) : G
259
+ T ? Error("react-stack-top-frame") : ce,
260
+ T ? q(r(n)) : Z
261
261
  );
262
- }, W.jsxs = function(e, t, a) {
263
- var s = 1e4 > H.recentlyCreatedOwnerStacks++;
264
- return Y(
265
- e,
266
- t,
267
- a,
262
+ }, ae.jsxs = function(n, k, z) {
263
+ var T = 1e4 > P.recentlyCreatedOwnerStacks++;
264
+ return j(
265
+ n,
266
+ k,
267
+ z,
268
268
  !0,
269
- s ? Error("react-stack-top-frame") : q,
270
- s ? j(v(e)) : G
269
+ T ? Error("react-stack-top-frame") : ce,
270
+ T ? q(r(n)) : Z
271
271
  );
272
272
  };
273
- }()), W;
273
+ }()), ae;
274
274
  }
275
- process.env.NODE_ENV === "production" ? L.exports = he() : L.exports = ye();
276
- var pe = L.exports;
277
- const y = {
275
+ process.env.NODE_ENV === "production" ? me.exports = Ie() : me.exports = ze();
276
+ var e = me.exports;
277
+ const _ = {
278
278
  50: "#fdecec",
279
279
  100: "#fac5c5",
280
280
  200: "#f8a9a9",
@@ -285,7 +285,7 @@ const y = {
285
285
  700: "#aa3030",
286
286
  800: "#832525",
287
287
  900: "#641d1d"
288
- }, S = {
288
+ }, Q = {
289
289
  50: "#fdf1e6",
290
290
  100: "#f8d4b0",
291
291
  200: "#f4bf8a",
@@ -296,7 +296,7 @@ const y = {
296
296
  700: "#a45200",
297
297
  800: "#7f3f00",
298
298
  900: "#613000"
299
- }, p = {
299
+ }, Y = {
300
300
  50: "#fef7e6",
301
301
  100: "#fae7b0",
302
302
  200: "#f8db8a",
@@ -307,7 +307,7 @@ const y = {
307
307
  700: "#aa7e00",
308
308
  800: "#846100",
309
309
  900: "#654a00"
310
- }, h = {
310
+ }, X = {
311
311
  50: "#e7f7ed",
312
312
  100: "#b3e6c6",
313
313
  200: "#8fd9aa",
@@ -318,7 +318,7 @@ const y = {
318
318
  700: "#087b32",
319
319
  800: "#065f27",
320
320
  900: "#05491e"
321
- }, Q = {
321
+ }, ye = {
322
322
  50: "#e6fdfe",
323
323
  100: "#b1f7fc",
324
324
  200: "#8bf4fb",
@@ -329,7 +329,7 @@ const y = {
329
329
  700: "#01a3af",
330
330
  800: "#017f87",
331
331
  900: "#016167"
332
- }, Se = {
332
+ }, ee = {
333
333
  50: "#e6f8f6",
334
334
  100: "#b0ebe4",
335
335
  200: "#8ae1d7",
@@ -340,7 +340,7 @@ const y = {
340
340
  700: "#018677",
341
341
  800: "#01685c",
342
342
  900: "#004f46"
343
- }, d = {
343
+ }, y = {
344
344
  50: "#eaf5ff",
345
345
  100: "#bee1ff",
346
346
  200: "#9fd2ff",
@@ -351,7 +351,7 @@ const y = {
351
351
  700: "#216fb5",
352
352
  800: "#19568c",
353
353
  900: "#13426b"
354
- }, l = {
354
+ }, d = {
355
355
  50: "#eff0f2",
356
356
  100: "#cfd1d5",
357
357
  200: "#b7bac1",
@@ -362,7 +362,7 @@ const y = {
362
362
  700: "#464b56",
363
363
  800: "#363a43",
364
364
  900: "#2a2d33"
365
- }, A = {
365
+ }, W = {
366
366
  50: "#fcfdfd",
367
367
  100: "#f7f8f9",
368
368
  200: "#f3f4f6",
@@ -373,206 +373,56 @@ const y = {
373
373
  700: "#a3a4a7",
374
374
  800: "#7e7f81",
375
375
  900: "#606163"
376
- }, ke = {
376
+ }, oe = {
377
377
  50: "#f9fafb",
378
- 100: "#f3f4f6",
379
- 200: "#e5e7eb",
380
- 300: "#d1d5db",
381
- 400: "#9ca3af",
382
- 500: "#6b7280",
383
- 600: "#4b5563",
384
- 700: "#374151",
385
- 800: "#1f2937",
386
- 900: "#111827"
387
- }, Ee = {
388
- 50: "#e8f4f7",
389
- 100: "#c6e4eb",
390
- 200: "#a3d4df",
391
- 300: "#81c4d3",
392
- 400: "#5eb4c7",
393
- 500: "#3ca4bb",
394
- 600: "#358fa3",
395
- 700: "#2d7a8b",
396
- 800: "#256573",
397
- 900: "#1e505b"
398
- }, w = "#ffffff", K = "#000000", Pe = {
399
- red: y,
400
- orange: S,
401
- yellow: p,
402
- green: h,
403
- cyan: Q,
404
- teal: Se,
405
- brandblue: d,
406
- slate: l,
407
- lightgrey: A,
408
- grey: ke,
409
- deepocean: Ee,
410
- white: w,
411
- black: K
412
- }, Re = d, _e = l, ve = h, Te = p, Fe = y, xe = Q, Me = {
413
- primary: Re,
414
- neutral: _e,
415
- success: ve,
416
- warning: Te,
417
- error: Fe,
418
- info: xe
419
- }, m = {
420
- light: {
421
- default: w,
422
- // App main background
423
- secondary: A[100],
424
- // Secondary background, for containers/cards
425
- tertiary: A[200],
426
- // Tertiary, for input backgrounds, card hover states
427
- overlay: l[900],
428
- // Overlay backgrounds, for modals
429
- disabled: A[300],
430
- // Disabled states, for non-interactive elements
431
- success: h[50],
432
- // Success background
433
- error: y[50],
434
- // Error background
435
- warning: p[50],
436
- // Warning background
437
- brand: d[500],
438
- // Brand background, for Primary Button
439
- brandSubtle: d[50],
440
- // Subtle brand background
441
- accent: S[500],
442
- // Accent background
443
- accent2: S[500]
444
- // Accent 2 background
445
- },
446
- dark: {
447
- default: l[900],
448
- // App main background
449
- secondary: l[800],
450
- // Secondary background
451
- tertiary: l[700],
452
- // Tertiary background
453
- overlay: K,
454
- // Overlay backgrounds
455
- disabled: l[700],
456
- // Disabled states
457
- success: h[900],
458
- // Success background
459
- error: y[900],
460
- // Error background
461
- warning: p[900],
462
- // Warning background
463
- brand: d[500],
464
- // Brand background
465
- brandSubtle: d[900],
466
- // Subtle brand background
467
- accent: S[500],
468
- // Accent background
469
- accent2: S[500]
470
- // Accent 2 background
471
- }
472
- }, u = {
473
- light: {
474
- primary: l[900],
475
- // Main text, body content, high contrast
476
- secondary: l[600],
477
- // Secondary text, for supporting info
478
- tertiary: l[500],
479
- // Tertiary text, for metadata
480
- disabled: l[400],
481
- // Disabled text, non-interactive
482
- placeholder: l[400],
483
- // Placeholder text, for input hints
484
- success: h[600],
485
- // Success text
486
- error: y[600],
487
- // Error text, for error messages
488
- warning: p[700],
489
- // Warning text
490
- link: d[500],
491
- // Link text, for navigation
492
- brand: d[500],
493
- // Brand text
494
- onBrand: w,
495
- // Text on brand backgrounds
496
- pokerCall: h[500],
497
- // Poker call text
498
- pokerRaise: S[500]
499
- // Poker raise text
500
- },
501
- dark: {
502
- primary: w,
503
- // Main text
504
- secondary: l[300],
505
- // Secondary text
506
- tertiary: l[400],
507
- // Tertiary text
508
- disabled: l[500],
509
- // Disabled text
510
- placeholder: l[500],
511
- // Placeholder text
512
- success: h[400],
513
- // Success text
514
- error: y[400],
515
- // Error text
516
- warning: p[400],
517
- // Warning text
518
- link: d[400],
519
- // Link text
520
- brand: d[400],
521
- // Brand text
522
- onBrand: w,
523
- // Text on brand backgrounds
524
- pokerCall: h[400],
525
- // Poker call text
526
- pokerRaise: S[400]
527
- // Poker raise text
528
- }
529
- }, k = {
530
- light: {
531
- primary: l[300],
532
- // Main borders
533
- subtle: l[200],
534
- // Subtle borders
535
- focus: d[500],
536
- // Focus ring
537
- success: h[500],
538
- // Success borders
539
- error: y[500],
540
- // Error borders
541
- warning: p[500]
542
- // Warning borders
543
- },
544
- dark: {
545
- primary: l[600],
546
- // Main borders
547
- subtle: l[700],
548
- // Subtle borders
549
- focus: d[400],
550
- // Focus ring
551
- success: h[400],
552
- // Success borders
553
- error: y[400],
554
- // Error borders
555
- warning: p[400]
556
- // Warning borders
557
- }
558
- }, He = {
559
- background: m,
560
- text: u,
561
- border: k
562
- }, je = m.light.default, Ce = m.light.secondary, Ne = m.light.tertiary, Le = m.light.overlay, Ye = m.light.disabled, Be = m.light.success, $e = m.light.error, De = m.light.warning, We = m.light.brand, Ie = m.light.brandSubtle, Ue = m.light.accent, Ve = u.light.primary, qe = u.light.secondary, Ge = u.light.tertiary, Je = u.light.disabled, Xe = u.light.placeholder, Ze = u.light.success, Qe = u.light.error, Ke = u.light.warning, et = u.light.link, tt = u.light.brand, we = u.light.onBrand, ot = k.light.primary, nt = k.light.subtle, rt = k.light.focus, it = k.light.success, at = k.light.error, lt = k.light.warning, o = {
378
+ 100: "#cdcdcd",
379
+ 200: "#b5b5b5",
380
+ 300: "#939393",
381
+ 400: "#7e7e7e",
382
+ 500: "#5e5e5e",
383
+ 600: "#565656",
384
+ 700: "#434343",
385
+ 800: "#343434",
386
+ 900: "#0f0f0f"
387
+ }, K = {
388
+ 50: "#e8ebee",
389
+ 100: "#b9c0cb",
390
+ 200: "#97a2b2",
391
+ 300: "#68788f",
392
+ 400: "#4a5d79",
393
+ 500: "#1d3558",
394
+ 600: "#1a3050",
395
+ 700: "#15263e",
396
+ 800: "#101d30",
397
+ 900: "#071427"
398
+ }, h = "#ffffff", Fe = "#000000", rt = {
399
+ red: _,
400
+ orange: Q,
401
+ yellow: Y,
402
+ green: X,
403
+ cyan: ye,
404
+ teal: ee,
405
+ brandblue: y,
406
+ slate: d,
407
+ lightgrey: W,
408
+ grey: oe,
409
+ deepocean: K,
410
+ white: h,
411
+ black: Fe
412
+ }, l = {
563
413
  main: "'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, Roboto, sans-serif",
564
414
  mono: "'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace"
565
- }, n = {
415
+ }, s = {
566
416
  regular: 400,
567
417
  medium: 500,
568
418
  semibold: 600,
569
419
  bold: 700
570
- }, r = {
420
+ }, p = {
571
421
  tight: 1.2,
572
422
  // 120% - for body text, dense content
573
423
  normal: 1.5
574
424
  // 150% - for headings, readable content
575
- }, i = {
425
+ }, w = {
576
426
  // Mobile Scale
577
427
  mobile: {
578
428
  display: 28,
@@ -595,288 +445,2192 @@ const y = {
595
445
  caption: 12,
596
446
  poker: 10
597
447
  }
598
- }, Oe = {
448
+ }, Te = {
599
449
  display: {
600
- fontSize: i.mobile.display,
601
- fontWeight: n.semibold,
602
- lineHeight: r.normal,
603
- fontFamily: o.main
450
+ fontSize: w.mobile.display,
451
+ fontWeight: s.semibold,
452
+ lineHeight: p.normal,
453
+ fontFamily: l.main
604
454
  },
605
455
  h1: {
606
- fontSize: i.mobile.h1,
607
- fontWeight: n.semibold,
608
- lineHeight: r.normal,
609
- fontFamily: o.main
456
+ fontSize: w.mobile.h1,
457
+ fontWeight: s.semibold,
458
+ lineHeight: p.normal,
459
+ fontFamily: l.main
610
460
  },
611
461
  h2: {
612
- fontSize: i.mobile.h2,
613
- fontWeight: n.semibold,
614
- lineHeight: r.normal,
615
- fontFamily: o.main
462
+ fontSize: w.mobile.h2,
463
+ fontWeight: s.semibold,
464
+ lineHeight: p.normal,
465
+ fontFamily: l.main
616
466
  },
617
467
  bodyLgBold: {
618
- fontSize: i.mobile.bodyLg,
619
- fontWeight: n.bold,
620
- lineHeight: r.tight,
621
- fontFamily: o.main
468
+ fontSize: w.mobile.bodyLg,
469
+ fontWeight: s.bold,
470
+ lineHeight: p.tight,
471
+ fontFamily: l.main
622
472
  },
623
473
  bodyLgMedium: {
624
- fontSize: i.mobile.bodyLg,
625
- fontWeight: n.medium,
626
- lineHeight: r.tight,
627
- fontFamily: o.main
474
+ fontSize: w.mobile.bodyLg,
475
+ fontWeight: s.medium,
476
+ lineHeight: p.tight,
477
+ fontFamily: l.main
628
478
  },
629
479
  bodyLgRegular: {
630
- fontSize: i.mobile.bodyLg,
631
- fontWeight: n.regular,
632
- lineHeight: r.normal,
633
- fontFamily: o.main
480
+ fontSize: w.mobile.bodyLg,
481
+ fontWeight: s.regular,
482
+ lineHeight: p.normal,
483
+ fontFamily: l.main
634
484
  },
635
485
  bodyMdSemiBold: {
636
- fontSize: i.mobile.bodyMd,
637
- fontWeight: n.semibold,
638
- lineHeight: r.tight,
639
- fontFamily: o.main
486
+ fontSize: w.mobile.bodyMd,
487
+ fontWeight: s.semibold,
488
+ lineHeight: p.tight,
489
+ fontFamily: l.main
640
490
  },
641
491
  bodyMdMedium: {
642
- fontSize: i.mobile.bodyMd,
643
- fontWeight: n.medium,
644
- lineHeight: r.tight,
645
- fontFamily: o.main
492
+ fontSize: w.mobile.bodyMd,
493
+ fontWeight: s.medium,
494
+ lineHeight: p.tight,
495
+ fontFamily: l.main
646
496
  },
647
497
  bodyMdRegular: {
648
- fontSize: i.mobile.bodyMd,
649
- fontWeight: n.regular,
650
- lineHeight: r.normal,
651
- fontFamily: o.main
498
+ fontSize: w.mobile.bodyMd,
499
+ fontWeight: s.regular,
500
+ lineHeight: p.normal,
501
+ fontFamily: l.main
652
502
  },
653
503
  bodySmSemiBold: {
654
- fontSize: i.mobile.bodySm,
655
- fontWeight: n.semibold,
656
- lineHeight: r.tight,
657
- fontFamily: o.main
504
+ fontSize: w.mobile.bodySm,
505
+ fontWeight: s.semibold,
506
+ lineHeight: p.tight,
507
+ fontFamily: l.main
658
508
  },
659
509
  bodySmMedium: {
660
- fontSize: i.mobile.bodySm,
661
- fontWeight: n.medium,
662
- lineHeight: r.tight,
663
- fontFamily: o.main
510
+ fontSize: w.mobile.bodySm,
511
+ fontWeight: s.medium,
512
+ lineHeight: p.tight,
513
+ fontFamily: l.main
664
514
  },
665
515
  bodySmRegular: {
666
- fontSize: i.mobile.bodySm,
667
- fontWeight: n.regular,
668
- lineHeight: r.tight,
669
- fontFamily: o.main
516
+ fontSize: w.mobile.bodySm,
517
+ fontWeight: s.regular,
518
+ lineHeight: p.tight,
519
+ fontFamily: l.main
670
520
  },
671
521
  captionSemiBold: {
672
- fontSize: i.mobile.caption,
673
- fontWeight: n.semibold,
674
- lineHeight: r.tight,
675
- fontFamily: o.main
522
+ fontSize: w.mobile.caption,
523
+ fontWeight: s.semibold,
524
+ lineHeight: p.tight,
525
+ fontFamily: l.main
676
526
  },
677
527
  captionMedium: {
678
- fontSize: i.mobile.caption,
679
- fontWeight: n.medium,
680
- lineHeight: r.tight,
681
- fontFamily: o.main
528
+ fontSize: w.mobile.caption,
529
+ fontWeight: s.medium,
530
+ lineHeight: p.tight,
531
+ fontFamily: l.main
682
532
  },
683
533
  captionRegular: {
684
- fontSize: i.mobile.caption,
685
- fontWeight: n.regular,
686
- lineHeight: r.tight,
687
- fontFamily: o.main
534
+ fontSize: w.mobile.caption,
535
+ fontWeight: s.regular,
536
+ lineHeight: p.tight,
537
+ fontFamily: l.main
688
538
  },
689
539
  pokerMedium: {
690
- fontSize: i.mobile.poker,
691
- fontWeight: n.medium,
692
- lineHeight: r.tight,
693
- fontFamily: o.main
540
+ fontSize: w.mobile.poker,
541
+ fontWeight: s.medium,
542
+ lineHeight: p.tight,
543
+ fontFamily: l.main
694
544
  }
695
- }, ze = {
545
+ }, Ee = {
696
546
  display: {
697
- fontSize: i.desktop.display,
698
- fontWeight: n.semibold,
699
- lineHeight: r.normal,
700
- fontFamily: o.main
547
+ fontSize: w.desktop.display,
548
+ fontWeight: s.semibold,
549
+ lineHeight: p.normal,
550
+ fontFamily: l.main
701
551
  },
702
552
  h1: {
703
- fontSize: i.desktop.h1,
704
- fontWeight: n.semibold,
705
- lineHeight: r.normal,
706
- fontFamily: o.main
553
+ fontSize: w.desktop.h1,
554
+ fontWeight: s.semibold,
555
+ lineHeight: p.normal,
556
+ fontFamily: l.main
707
557
  },
708
558
  h2: {
709
- fontSize: i.desktop.h2,
710
- fontWeight: n.semibold,
711
- lineHeight: r.normal,
712
- fontFamily: o.main
559
+ fontSize: w.desktop.h2,
560
+ fontWeight: s.semibold,
561
+ lineHeight: p.normal,
562
+ fontFamily: l.main
713
563
  },
714
564
  bodyLgBold: {
715
- fontSize: i.desktop.bodyLg,
716
- fontWeight: n.bold,
717
- lineHeight: r.tight,
718
- fontFamily: o.main
565
+ fontSize: w.desktop.bodyLg,
566
+ fontWeight: s.bold,
567
+ lineHeight: p.tight,
568
+ fontFamily: l.main
719
569
  },
720
570
  bodyLgMedium: {
721
- fontSize: i.desktop.bodyLg,
722
- fontWeight: n.medium,
723
- lineHeight: r.tight,
724
- fontFamily: o.main
571
+ fontSize: w.desktop.bodyLg,
572
+ fontWeight: s.medium,
573
+ lineHeight: p.tight,
574
+ fontFamily: l.main
725
575
  },
726
576
  bodyLgRegular: {
727
- fontSize: i.desktop.bodyLg,
728
- fontWeight: n.regular,
729
- lineHeight: r.normal,
730
- fontFamily: o.main
577
+ fontSize: w.desktop.bodyLg,
578
+ fontWeight: s.regular,
579
+ lineHeight: p.normal,
580
+ fontFamily: l.main
731
581
  },
732
582
  bodyMdSemiBold: {
733
- fontSize: i.desktop.bodyMd,
734
- fontWeight: n.semibold,
735
- lineHeight: r.tight,
736
- fontFamily: o.main
583
+ fontSize: w.desktop.bodyMd,
584
+ fontWeight: s.semibold,
585
+ lineHeight: p.tight,
586
+ fontFamily: l.main
737
587
  },
738
588
  bodyMdMedium: {
739
- fontSize: i.desktop.bodyMd,
740
- fontWeight: n.medium,
741
- lineHeight: r.tight,
742
- fontFamily: o.main
589
+ fontSize: w.desktop.bodyMd,
590
+ fontWeight: s.medium,
591
+ lineHeight: p.tight,
592
+ fontFamily: l.main
743
593
  },
744
594
  bodyMdRegular: {
745
- fontSize: i.desktop.bodyMd,
746
- fontWeight: n.regular,
747
- lineHeight: r.normal,
748
- fontFamily: o.main
595
+ fontSize: w.desktop.bodyMd,
596
+ fontWeight: s.regular,
597
+ lineHeight: p.normal,
598
+ fontFamily: l.main
749
599
  },
750
600
  bodySmSemiBold: {
751
- fontSize: i.desktop.bodySm,
752
- fontWeight: n.semibold,
753
- lineHeight: r.tight,
754
- fontFamily: o.main
601
+ fontSize: w.desktop.bodySm,
602
+ fontWeight: s.semibold,
603
+ lineHeight: p.tight,
604
+ fontFamily: l.main
755
605
  },
756
606
  bodySmMedium: {
757
- fontSize: i.desktop.bodySm,
758
- fontWeight: n.medium,
759
- lineHeight: r.tight,
760
- fontFamily: o.main
607
+ fontSize: w.desktop.bodySm,
608
+ fontWeight: s.medium,
609
+ lineHeight: p.tight,
610
+ fontFamily: l.main
761
611
  },
762
612
  bodySmRegular: {
763
- fontSize: i.desktop.bodySm,
764
- fontWeight: n.regular,
765
- lineHeight: r.tight,
766
- fontFamily: o.main
613
+ fontSize: w.desktop.bodySm,
614
+ fontWeight: s.regular,
615
+ lineHeight: p.tight,
616
+ fontFamily: l.main
767
617
  },
768
618
  captionSemiBold: {
769
- fontSize: i.desktop.caption,
770
- fontWeight: n.semibold,
771
- lineHeight: r.tight,
772
- fontFamily: o.main
619
+ fontSize: w.desktop.caption,
620
+ fontWeight: s.semibold,
621
+ lineHeight: p.tight,
622
+ fontFamily: l.main
773
623
  },
774
624
  captionMedium: {
775
- fontSize: i.desktop.caption,
776
- fontWeight: n.medium,
777
- lineHeight: r.tight,
778
- fontFamily: o.main
625
+ fontSize: w.desktop.caption,
626
+ fontWeight: s.medium,
627
+ lineHeight: p.tight,
628
+ fontFamily: l.main
779
629
  },
780
630
  captionRegular: {
781
- fontSize: i.desktop.caption,
782
- fontWeight: n.regular,
783
- lineHeight: r.tight,
784
- fontFamily: o.main
631
+ fontSize: w.desktop.caption,
632
+ fontWeight: s.regular,
633
+ lineHeight: p.tight,
634
+ fontFamily: l.main
785
635
  },
786
636
  pokerMedium: {
787
- fontSize: i.desktop.poker,
788
- fontWeight: n.medium,
789
- lineHeight: r.tight,
790
- fontFamily: o.main
637
+ fontSize: w.desktop.poker,
638
+ fontWeight: s.medium,
639
+ lineHeight: p.tight,
640
+ fontFamily: l.main
641
+ }
642
+ }, lt = {
643
+ fontFamily: l,
644
+ fontWeight: s,
645
+ lineHeight: p,
646
+ fontSize: w,
647
+ mobile: Te,
648
+ desktop: Ee
649
+ }, st = (t) => ({
650
+ fontSize: `${t.fontSize}px`,
651
+ fontWeight: t.fontWeight,
652
+ lineHeight: t.lineHeight,
653
+ fontFamily: t.fontFamily
654
+ }), m = {
655
+ p0: "0rem",
656
+ // 0px
657
+ p1: "0.25rem",
658
+ // 4px
659
+ p2: "0.5rem",
660
+ // 8px
661
+ p3: "0.75rem",
662
+ // 12px
663
+ p4: "1rem",
664
+ // 16px
665
+ p5: "1.25rem",
666
+ // 20px
667
+ p6: "1.5rem",
668
+ // 24px
669
+ p7: "1.75rem",
670
+ // 28px
671
+ p8: "2rem",
672
+ // 32px
673
+ p9: "2.25rem",
674
+ // 36px
675
+ p10: "2.5rem",
676
+ // 40px
677
+ p11: "2.75rem",
678
+ // 44px
679
+ p12: "3rem"
680
+ // 48px
681
+ }, $ = {
682
+ xs: "0.25rem",
683
+ // 4px
684
+ sm: "0.5rem",
685
+ // 8px
686
+ md: "0.75rem",
687
+ // 12px
688
+ lg: "1rem",
689
+ // 16px
690
+ xl: "1.75rem",
691
+ // 28px
692
+ rounded: "624.9375rem"
693
+ // Pill
694
+ }, at = {
695
+ spacing: m,
696
+ radius: $
697
+ }, _e = {
698
+ default: {
699
+ background: y[500],
700
+ color: h
701
+ },
702
+ positive: {
703
+ background: X[500],
704
+ color: h
705
+ },
706
+ warning: {
707
+ background: Y[500],
708
+ color: h
709
+ },
710
+ error: {
711
+ background: _[500],
712
+ color: h
713
+ },
714
+ neutral: {
715
+ background: W[300],
716
+ color: d[400]
717
+ },
718
+ outline: {
719
+ background: "transparent",
720
+ color: d[700],
721
+ border: `1px solid ${W[400]}`
791
722
  }
792
- }, st = {
793
- fontFamily: o,
794
- fontWeight: n,
795
- lineHeight: r,
796
- fontSize: i,
797
- mobile: Oe,
798
- desktop: ze
799
- }, ft = (c) => ({
800
- fontSize: `${c.fontSize}px`,
801
- fontWeight: c.fontWeight,
802
- lineHeight: c.lineHeight,
803
- fontFamily: c.fontFamily
804
- }), ct = ({ label: c, ...E }) => /* @__PURE__ */ pe.jsx(
805
- "button",
723
+ }, Be = ({ color: t }) => /* @__PURE__ */ e.jsx(
724
+ "svg",
806
725
  {
726
+ width: "12",
727
+ height: "12",
728
+ viewBox: "0 0 12 12",
729
+ fill: "none",
730
+ xmlns: "http://www.w3.org/2000/svg",
731
+ style: { display: "block" },
732
+ children: /* @__PURE__ */ e.jsx(
733
+ "path",
734
+ {
735
+ d: "M9 3L3 9M3 3L9 9",
736
+ stroke: t,
737
+ strokeWidth: "1.5",
738
+ strokeLinecap: "round",
739
+ strokeLinejoin: "round"
740
+ }
741
+ )
742
+ }
743
+ ), dt = ({
744
+ label: t,
745
+ type: o = "default",
746
+ leftIcon: a,
747
+ rightIcon: r,
748
+ onClose: i,
749
+ style: c,
750
+ ...g
751
+ }) => {
752
+ const f = _e[o], b = o === "outline" ? d[700] : o === "neutral" ? d[400] : h, u = {
753
+ display: "inline-flex",
754
+ alignItems: "center",
755
+ gap: "4px",
756
+ padding: "4px 8px",
757
+ borderRadius: $.rounded,
758
+ backgroundColor: f.background,
759
+ color: f.color,
760
+ border: f.border || "none",
761
+ fontFamily: l.main,
762
+ fontSize: "10px",
763
+ fontWeight: s.medium,
764
+ lineHeight: p.tight,
765
+ whiteSpace: "nowrap",
766
+ ...c
767
+ };
768
+ return /* @__PURE__ */ e.jsxs("span", { style: u, ...g, children: [
769
+ a && /* @__PURE__ */ e.jsx("span", { style: { display: "flex", alignItems: "center", flexShrink: 0 }, children: a }),
770
+ /* @__PURE__ */ e.jsx("span", { style: { textAlign: "center" }, children: t }),
771
+ (r || i) && /* @__PURE__ */ e.jsx(
772
+ "span",
773
+ {
774
+ style: {
775
+ display: "flex",
776
+ alignItems: "center",
777
+ flexShrink: 0,
778
+ cursor: i ? "pointer" : "default"
779
+ },
780
+ onClick: i,
781
+ children: i ? /* @__PURE__ */ e.jsx(Be, { color: b }) : r
782
+ }
783
+ )
784
+ ] });
785
+ }, Oe = {
786
+ primary: {
787
+ background: y[500],
788
+ color: h,
789
+ hoverOverlay: "rgba(0, 0, 0, 0.1)",
790
+ pressedOverlay: "rgba(0, 0, 0, 0.2)"
791
+ },
792
+ secondary: {
793
+ background: W[300],
794
+ color: d[700],
795
+ hoverOverlay: "rgba(0, 0, 0, 0.05)",
796
+ pressedOverlay: "rgba(0, 0, 0, 0.1)"
797
+ },
798
+ outline: {
799
+ background: h,
800
+ color: d[700],
801
+ border: `1px solid ${W[400]}`,
802
+ hoverOverlay: "rgba(0, 0, 0, 0.03)",
803
+ pressedOverlay: "rgba(0, 0, 0, 0.08)"
804
+ },
805
+ warning: {
806
+ background: _[500],
807
+ color: h,
808
+ hoverOverlay: "rgba(0, 0, 0, 0.1)",
809
+ pressedOverlay: "rgba(0, 0, 0, 0.2)"
810
+ },
811
+ call: {
812
+ background: ee[500],
813
+ color: h,
814
+ hoverOverlay: "rgba(0, 0, 0, 0.1)",
815
+ pressedOverlay: "rgba(0, 0, 0, 0.2)"
816
+ },
817
+ raise: {
818
+ background: Q[500],
819
+ color: h,
820
+ hoverOverlay: "rgba(0, 0, 0, 0.1)",
821
+ pressedOverlay: "rgba(0, 0, 0, 0.2)"
822
+ },
823
+ disabled: {
824
+ background: d[100],
825
+ color: d[200],
826
+ hoverOverlay: "transparent",
827
+ pressedOverlay: "transparent"
828
+ }
829
+ }, Le = {
830
+ L: {
831
+ height: 48,
832
+ paddingX: m.p7,
833
+ // 28px
834
+ paddingY: m.p3,
835
+ // 12px
836
+ fontSize: 16,
837
+ iconSize: 24,
838
+ gap: m.p2
839
+ // 8px
840
+ },
841
+ M: {
842
+ height: 36,
843
+ paddingX: m.p5,
844
+ // 20px
845
+ paddingY: m.p2,
846
+ // 8px
847
+ fontSize: 14,
848
+ iconSize: 20,
849
+ gap: m.p1
850
+ // 4px
851
+ },
852
+ S: {
853
+ height: 24,
854
+ paddingX: m.p2,
855
+ // 8px
856
+ paddingY: m.p1,
857
+ // 4px
858
+ fontSize: 12,
859
+ iconSize: 16,
860
+ gap: m.p1
861
+ // 4px
862
+ }
863
+ }, He = ({ size: t, color: o }) => /* @__PURE__ */ e.jsxs(
864
+ "svg",
865
+ {
866
+ width: t,
867
+ height: t,
868
+ viewBox: "0 0 24 24",
869
+ fill: "none",
870
+ xmlns: "http://www.w3.org/2000/svg",
807
871
  style: {
808
- padding: "10px 20px",
809
- backgroundColor: We,
810
- color: we,
811
- border: "none",
812
- borderRadius: "4px",
813
- cursor: "pointer"
872
+ animation: "spin 1s linear infinite"
873
+ },
874
+ children: [
875
+ /* @__PURE__ */ e.jsx("style", { children: "@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }" }),
876
+ /* @__PURE__ */ e.jsx(
877
+ "circle",
878
+ {
879
+ cx: "12",
880
+ cy: "12",
881
+ r: "10",
882
+ stroke: o,
883
+ strokeWidth: "2",
884
+ strokeLinecap: "round",
885
+ strokeDasharray: "31.4 31.4",
886
+ opacity: "0.3"
887
+ }
888
+ ),
889
+ /* @__PURE__ */ e.jsx(
890
+ "path",
891
+ {
892
+ d: "M12 2a10 10 0 0 1 10 10",
893
+ stroke: o,
894
+ strokeWidth: "2",
895
+ strokeLinecap: "round"
896
+ }
897
+ )
898
+ ]
899
+ }
900
+ ), ct = ({
901
+ label: t,
902
+ variant: o = "primary",
903
+ size: a = "L",
904
+ shape: r = "rounded",
905
+ loading: i = !1,
906
+ leftIcon: c,
907
+ rightIcon: g,
908
+ children: f,
909
+ disabled: b,
910
+ style: u,
911
+ onMouseEnter: j,
912
+ onMouseLeave: C,
913
+ onMouseDown: x,
914
+ onMouseUp: v,
915
+ ...I
916
+ }) => {
917
+ const [B, S] = A.useState(!1), [R, O] = A.useState(!1), L = b ? "disabled" : o, F = Oe[L], H = Le[a], D = r === "full-rounded" && !t && !f, U = (N) => {
918
+ S(!0), j == null || j(N);
919
+ }, G = (N) => {
920
+ S(!1), O(!1), C == null || C(N);
921
+ }, V = (N) => {
922
+ O(!0), x == null || x(N);
923
+ }, J = (N) => {
924
+ O(!1), v == null || v(N);
925
+ }, M = () => L === "disabled" ? "transparent" : R ? F.pressedOverlay : B ? F.hoverOverlay : "transparent", P = {
926
+ display: "inline-flex",
927
+ alignItems: "center",
928
+ justifyContent: "center",
929
+ gap: H.gap,
930
+ height: H.height,
931
+ padding: D ? `${H.paddingY}` : `${H.paddingY} ${H.paddingX}`,
932
+ minWidth: D ? H.height : void 0,
933
+ backgroundColor: F.background,
934
+ color: F.color,
935
+ border: F.border || "none",
936
+ borderRadius: r === "full-rounded" ? $.rounded : $.sm,
937
+ fontFamily: l.main,
938
+ fontSize: `${H.fontSize}px`,
939
+ fontWeight: s.medium,
940
+ lineHeight: p.tight,
941
+ cursor: L === "disabled" ? "not-allowed" : "pointer",
942
+ position: "relative",
943
+ overflow: "hidden",
944
+ outline: "none",
945
+ transition: "background-color 0.15s ease",
946
+ boxSizing: "border-box",
947
+ ...u
948
+ }, te = {
949
+ position: "absolute",
950
+ top: 0,
951
+ left: 0,
952
+ right: 0,
953
+ bottom: 0,
954
+ backgroundColor: M(),
955
+ pointerEvents: "none",
956
+ transition: "background-color 0.15s ease"
957
+ }, re = {
958
+ display: "flex",
959
+ alignItems: "center",
960
+ justifyContent: "center",
961
+ gap: H.gap,
962
+ position: "relative",
963
+ zIndex: 1
964
+ }, q = t || f;
965
+ return /* @__PURE__ */ e.jsxs(
966
+ "button",
967
+ {
968
+ style: P,
969
+ disabled: b || L === "disabled",
970
+ onMouseEnter: U,
971
+ onMouseLeave: G,
972
+ onMouseDown: V,
973
+ onMouseUp: J,
974
+ ...I,
975
+ children: [
976
+ /* @__PURE__ */ e.jsx("span", { style: te }),
977
+ /* @__PURE__ */ e.jsx("span", { style: re, children: i ? /* @__PURE__ */ e.jsx(He, { size: H.iconSize, color: F.color }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
978
+ c && /* @__PURE__ */ e.jsx("span", { style: { display: "flex", alignItems: "center", flexShrink: 0 }, children: c }),
979
+ q && /* @__PURE__ */ e.jsx("span", { children: q }),
980
+ g && /* @__PURE__ */ e.jsx("span", { style: { display: "flex", alignItems: "center", flexShrink: 0 }, children: g })
981
+ ] }) })
982
+ ]
983
+ }
984
+ );
985
+ }, Pe = ({ color: t }) => /* @__PURE__ */ e.jsx(
986
+ "svg",
987
+ {
988
+ width: "20",
989
+ height: "20",
990
+ viewBox: "0 0 20 20",
991
+ fill: "none",
992
+ xmlns: "http://www.w3.org/2000/svg",
993
+ style: { display: "block" },
994
+ children: /* @__PURE__ */ e.jsx(
995
+ "rect",
996
+ {
997
+ x: "2.5",
998
+ y: "2.5",
999
+ width: "15",
1000
+ height: "15",
1001
+ rx: "3",
1002
+ stroke: t,
1003
+ strokeWidth: "1.5",
1004
+ fill: "none"
1005
+ }
1006
+ )
1007
+ }
1008
+ ), $e = ({ bgColor: t, checkColor: o }) => /* @__PURE__ */ e.jsxs(
1009
+ "svg",
1010
+ {
1011
+ width: "20",
1012
+ height: "20",
1013
+ viewBox: "0 0 20 20",
1014
+ fill: "none",
1015
+ xmlns: "http://www.w3.org/2000/svg",
1016
+ style: { display: "block" },
1017
+ children: [
1018
+ /* @__PURE__ */ e.jsx(
1019
+ "rect",
1020
+ {
1021
+ x: "2",
1022
+ y: "2",
1023
+ width: "16",
1024
+ height: "16",
1025
+ rx: "3.5",
1026
+ fill: t
1027
+ }
1028
+ ),
1029
+ /* @__PURE__ */ e.jsx(
1030
+ "path",
1031
+ {
1032
+ d: "M6 10L9 13L14 7",
1033
+ stroke: o,
1034
+ strokeWidth: "2",
1035
+ strokeLinecap: "round",
1036
+ strokeLinejoin: "round"
1037
+ }
1038
+ )
1039
+ ]
1040
+ }
1041
+ ), ft = ({
1042
+ label: t,
1043
+ checked: o,
1044
+ defaultChecked: a,
1045
+ disabled: r,
1046
+ onChange: i,
1047
+ id: c,
1048
+ style: g,
1049
+ ...f
1050
+ }) => {
1051
+ const [b, u] = A.useState(a ?? !1), j = o !== void 0 ? o : b, C = c || A.useId(), x = (L) => {
1052
+ o === void 0 && u(L.target.checked), i == null || i(L);
1053
+ }, I = r ? {
1054
+ uncheckedBorder: d[200],
1055
+ checkedBg: d[200],
1056
+ checkmark: h
1057
+ } : {
1058
+ uncheckedBorder: d[700],
1059
+ checkedBg: y[500],
1060
+ checkmark: h
1061
+ }, B = {
1062
+ display: "inline-flex",
1063
+ alignItems: "center",
1064
+ gap: m.p2,
1065
+ cursor: r ? "not-allowed" : "pointer",
1066
+ opacity: r ? 0.6 : 1,
1067
+ ...g
1068
+ }, S = {
1069
+ position: "absolute",
1070
+ opacity: 0,
1071
+ width: 0,
1072
+ height: 0,
1073
+ margin: 0,
1074
+ padding: 0
1075
+ }, R = {
1076
+ display: "flex",
1077
+ alignItems: "center",
1078
+ justifyContent: "center",
1079
+ flexShrink: 0,
1080
+ position: "relative"
1081
+ }, O = {
1082
+ fontFamily: l.main,
1083
+ fontSize: "14px",
1084
+ fontWeight: s.medium,
1085
+ lineHeight: p.tight,
1086
+ color: r ? d[200] : d[700],
1087
+ userSelect: "none"
1088
+ };
1089
+ return /* @__PURE__ */ e.jsxs("label", { style: B, htmlFor: C, children: [
1090
+ /* @__PURE__ */ e.jsxs("span", { style: R, children: [
1091
+ /* @__PURE__ */ e.jsx(
1092
+ "input",
1093
+ {
1094
+ type: "checkbox",
1095
+ id: C,
1096
+ checked: j,
1097
+ disabled: r,
1098
+ onChange: x,
1099
+ style: S,
1100
+ ...f
1101
+ }
1102
+ ),
1103
+ j ? /* @__PURE__ */ e.jsx($e, { bgColor: I.checkedBg, checkColor: I.checkmark }) : /* @__PURE__ */ e.jsx(Pe, { color: I.uncheckedBorder })
1104
+ ] }),
1105
+ t && /* @__PURE__ */ e.jsx("span", { style: O, children: t })
1106
+ ] });
1107
+ }, pt = ({
1108
+ orientation: t = "horizontal",
1109
+ color: o = W[400],
1110
+ style: a,
1111
+ ...r
1112
+ }) => {
1113
+ const i = {
1114
+ border: "none",
1115
+ margin: 0,
1116
+ flexShrink: 0,
1117
+ ...t === "horizontal" ? {
1118
+ width: "100%",
1119
+ height: "1px",
1120
+ backgroundColor: o
1121
+ } : {
1122
+ width: "1px",
1123
+ height: "100%",
1124
+ backgroundColor: o
814
1125
  },
815
- ...E,
816
- children: c
1126
+ ...a
1127
+ };
1128
+ return /* @__PURE__ */ e.jsx("hr", { style: i, ...r });
1129
+ }, Me = A.forwardRef(
1130
+ ({
1131
+ label: t,
1132
+ helperText: o,
1133
+ error: a,
1134
+ leftIcon: r,
1135
+ rightIcon: i,
1136
+ shape: c = "rounded",
1137
+ fullWidth: g = !1,
1138
+ disabled: f,
1139
+ value: b,
1140
+ defaultValue: u,
1141
+ onFocus: j,
1142
+ onBlur: C,
1143
+ onChange: x,
1144
+ style: v,
1145
+ ...I
1146
+ }, B) => {
1147
+ const [S, R] = A.useState(!1), [O, L] = A.useState(u ?? ""), F = b !== void 0 ? b : O, H = F !== "" && F !== void 0, D = !!a, U = (Z) => {
1148
+ R(!0), j == null || j(Z);
1149
+ }, G = (Z) => {
1150
+ R(!1), C == null || C(Z);
1151
+ }, V = (Z) => {
1152
+ b === void 0 && L(Z.target.value), x == null || x(Z);
1153
+ }, J = () => f ? W[400] : D ? _[500] : S ? y[500] : W[400], M = () => f ? d[50] : h, P = () => f ? d[200] : H ? oe[900] : d[300], te = {
1154
+ display: "flex",
1155
+ flexDirection: "column",
1156
+ gap: m.p1,
1157
+ width: g ? "100%" : "auto",
1158
+ ...v
1159
+ }, re = {
1160
+ fontFamily: l.main,
1161
+ fontSize: "12px",
1162
+ fontWeight: s.medium,
1163
+ lineHeight: p.tight,
1164
+ color: d[700]
1165
+ }, q = {
1166
+ display: "flex",
1167
+ alignItems: "center",
1168
+ gap: m.p2,
1169
+ padding: m.p3,
1170
+ backgroundColor: M(),
1171
+ border: `1px solid ${J()}`,
1172
+ borderRadius: c === "pill" ? $.rounded : $.sm,
1173
+ transition: "border-color 0.15s ease"
1174
+ }, N = {
1175
+ flex: 1,
1176
+ border: "none",
1177
+ outline: "none",
1178
+ backgroundColor: "transparent",
1179
+ fontFamily: l.main,
1180
+ fontSize: "14px",
1181
+ fontWeight: s.medium,
1182
+ lineHeight: p.tight,
1183
+ color: P(),
1184
+ width: "100%"
1185
+ }, le = {
1186
+ display: "flex",
1187
+ alignItems: "center",
1188
+ justifyContent: "center",
1189
+ flexShrink: 0,
1190
+ color: f ? d[200] : d[300]
1191
+ }, ce = {
1192
+ fontFamily: l.main,
1193
+ fontSize: "10px",
1194
+ fontWeight: s.medium,
1195
+ lineHeight: p.tight,
1196
+ color: D ? _[500] : d[300]
1197
+ };
1198
+ return /* @__PURE__ */ e.jsxs("div", { style: te, children: [
1199
+ t && /* @__PURE__ */ e.jsx("label", { style: re, children: t }),
1200
+ /* @__PURE__ */ e.jsxs("div", { style: q, children: [
1201
+ r && /* @__PURE__ */ e.jsx("span", { style: le, children: r }),
1202
+ /* @__PURE__ */ e.jsx(
1203
+ "input",
1204
+ {
1205
+ ref: B,
1206
+ style: N,
1207
+ disabled: f,
1208
+ value: F,
1209
+ onFocus: U,
1210
+ onBlur: G,
1211
+ onChange: V,
1212
+ ...I
1213
+ }
1214
+ ),
1215
+ i && /* @__PURE__ */ e.jsx("span", { style: le, children: i })
1216
+ ] }),
1217
+ (o || a) && /* @__PURE__ */ e.jsx("span", { style: ce, children: a || o })
1218
+ ] });
817
1219
  }
818
1220
  );
1221
+ Me.displayName = "Input";
1222
+ const ht = ({
1223
+ min: t = 0,
1224
+ max: o = 100,
1225
+ step: a = 1,
1226
+ value: r,
1227
+ defaultValue: i,
1228
+ onChange: c,
1229
+ showLabels: g = !1,
1230
+ formatLabel: f = (x) => String(x),
1231
+ showInputs: b = !1,
1232
+ disabled: u,
1233
+ style: j,
1234
+ ...C
1235
+ }) => {
1236
+ const [x, v] = A.useState(i ?? t), I = r !== void 0 ? r : x, B = (M) => {
1237
+ const P = Number(M.target.value);
1238
+ r === void 0 && v(P), c == null || c(P);
1239
+ }, S = (M) => {
1240
+ const P = Math.min(o, Math.max(t, M));
1241
+ r === void 0 && v(P), c == null || c(P);
1242
+ }, R = (I - t) / (o - t) * 100, O = {
1243
+ display: "flex",
1244
+ flexDirection: "column",
1245
+ gap: m.p2,
1246
+ width: "100%",
1247
+ ...j
1248
+ }, L = {
1249
+ display: "flex",
1250
+ justifyContent: "space-between",
1251
+ alignItems: "center"
1252
+ }, F = {
1253
+ display: "flex",
1254
+ alignItems: "center",
1255
+ padding: `${m.p2} ${m.p3}`,
1256
+ border: `1px solid ${W[400]}`,
1257
+ borderRadius: "8px",
1258
+ backgroundColor: h,
1259
+ fontFamily: l.main,
1260
+ fontSize: "12px",
1261
+ fontWeight: s.medium,
1262
+ lineHeight: p.tight,
1263
+ color: "#0f0f0f",
1264
+ minWidth: "60px",
1265
+ textAlign: "center"
1266
+ }, H = {
1267
+ position: "relative",
1268
+ width: "100%",
1269
+ height: "20px",
1270
+ display: "flex",
1271
+ alignItems: "center"
1272
+ }, D = {
1273
+ position: "absolute",
1274
+ width: "100%",
1275
+ height: "4px",
1276
+ backgroundColor: W[300],
1277
+ borderRadius: "2px"
1278
+ }, U = {
1279
+ position: "absolute",
1280
+ width: `${R}%`,
1281
+ height: "4px",
1282
+ backgroundColor: u ? W[400] : y[500],
1283
+ borderRadius: "2px"
1284
+ }, G = {
1285
+ position: "absolute",
1286
+ width: "100%",
1287
+ height: "20px",
1288
+ opacity: 0,
1289
+ cursor: u ? "not-allowed" : "pointer",
1290
+ margin: 0,
1291
+ zIndex: 2
1292
+ }, J = {
1293
+ position: "absolute",
1294
+ left: `calc(${R}% - 10px)`,
1295
+ width: "20px",
1296
+ height: "20px",
1297
+ backgroundColor: h,
1298
+ border: `2px solid ${u ? W[400] : y[500]}`,
1299
+ borderRadius: "50%",
1300
+ pointerEvents: "none",
1301
+ transition: "transform 0.1s ease",
1302
+ boxShadow: "0 2px 4px rgba(0,0,0,0.1)"
1303
+ };
1304
+ return /* @__PURE__ */ e.jsxs("div", { style: O, children: [
1305
+ (g || b) && /* @__PURE__ */ e.jsxs("div", { style: L, children: [
1306
+ b ? /* @__PURE__ */ e.jsx(
1307
+ "input",
1308
+ {
1309
+ type: "text",
1310
+ value: f(t),
1311
+ readOnly: !0,
1312
+ style: F
1313
+ }
1314
+ ) : /* @__PURE__ */ e.jsx("span", { style: { ...F, border: "none", padding: 0, minWidth: "auto" }, children: f(t) }),
1315
+ b ? /* @__PURE__ */ e.jsx(
1316
+ "input",
1317
+ {
1318
+ type: "text",
1319
+ value: f(I),
1320
+ onChange: (M) => {
1321
+ const P = parseFloat(M.target.value.replace(/[^0-9.-]/g, ""));
1322
+ isNaN(P) || S(P);
1323
+ },
1324
+ style: F,
1325
+ disabled: u
1326
+ }
1327
+ ) : null,
1328
+ b ? /* @__PURE__ */ e.jsx(
1329
+ "input",
1330
+ {
1331
+ type: "text",
1332
+ value: f(o),
1333
+ readOnly: !0,
1334
+ style: F
1335
+ }
1336
+ ) : /* @__PURE__ */ e.jsx("span", { style: { ...F, border: "none", padding: 0, minWidth: "auto" }, children: f(o) })
1337
+ ] }),
1338
+ /* @__PURE__ */ e.jsxs("div", { style: H, children: [
1339
+ /* @__PURE__ */ e.jsx("div", { style: D }),
1340
+ /* @__PURE__ */ e.jsx("div", { style: U }),
1341
+ /* @__PURE__ */ e.jsx(
1342
+ "input",
1343
+ {
1344
+ type: "range",
1345
+ min: t,
1346
+ max: o,
1347
+ step: a,
1348
+ value: I,
1349
+ onChange: B,
1350
+ disabled: u,
1351
+ style: G,
1352
+ ...C
1353
+ }
1354
+ ),
1355
+ /* @__PURE__ */ e.jsx("div", { style: J })
1356
+ ] })
1357
+ ] });
1358
+ }, ut = ({
1359
+ checked: t,
1360
+ defaultChecked: o = !1,
1361
+ onChange: a,
1362
+ leftLabel: r,
1363
+ rightLabel: i,
1364
+ size: c = "md",
1365
+ disabled: g,
1366
+ style: f,
1367
+ id: b,
1368
+ ...u
1369
+ }) => {
1370
+ const [j, C] = A.useState(o), x = t !== void 0 ? t : j, v = b || A.useId(), I = (J) => {
1371
+ const M = J.target.checked;
1372
+ t === void 0 && C(M), a == null || a(M);
1373
+ }, B = {
1374
+ sm: { width: 36, height: 20, thumbSize: 16 },
1375
+ md: { width: 44, height: 24, thumbSize: 20 }
1376
+ }, { width: S, height: R, thumbSize: O } = B[c], L = 2, F = S - O - L * 2, H = {
1377
+ display: "inline-flex",
1378
+ alignItems: "center",
1379
+ gap: m.p2,
1380
+ cursor: g ? "not-allowed" : "pointer",
1381
+ opacity: g ? 0.6 : 1,
1382
+ ...f
1383
+ }, D = {
1384
+ fontFamily: l.main,
1385
+ fontSize: "14px",
1386
+ fontWeight: s.medium,
1387
+ lineHeight: p.tight,
1388
+ color: d[700],
1389
+ userSelect: "none"
1390
+ }, U = {
1391
+ position: "relative",
1392
+ width: `${S}px`,
1393
+ height: `${R}px`,
1394
+ backgroundColor: x ? y[500] : W[300],
1395
+ borderRadius: `${R / 2}px`,
1396
+ transition: "background-color 0.2s ease",
1397
+ flexShrink: 0
1398
+ }, G = {
1399
+ position: "absolute",
1400
+ top: `${L}px`,
1401
+ left: `${L}px`,
1402
+ width: `${O}px`,
1403
+ height: `${O}px`,
1404
+ backgroundColor: h,
1405
+ borderRadius: "50%",
1406
+ boxShadow: "0 2px 4px rgba(0, 0, 0, 0.2)",
1407
+ transform: x ? `translateX(${F}px)` : "translateX(0)",
1408
+ transition: "transform 0.2s ease"
1409
+ }, V = {
1410
+ position: "absolute",
1411
+ opacity: 0,
1412
+ width: 0,
1413
+ height: 0
1414
+ };
1415
+ return /* @__PURE__ */ e.jsxs("label", { style: H, htmlFor: v, children: [
1416
+ r && /* @__PURE__ */ e.jsx("span", { style: D, children: r }),
1417
+ /* @__PURE__ */ e.jsxs("div", { style: U, children: [
1418
+ /* @__PURE__ */ e.jsx(
1419
+ "input",
1420
+ {
1421
+ type: "checkbox",
1422
+ id: v,
1423
+ checked: x,
1424
+ onChange: I,
1425
+ disabled: g,
1426
+ style: V,
1427
+ ...u
1428
+ }
1429
+ ),
1430
+ /* @__PURE__ */ e.jsx("div", { style: G })
1431
+ ] }),
1432
+ i && /* @__PURE__ */ e.jsx("span", { style: D, children: i })
1433
+ ] });
1434
+ }, gt = ({
1435
+ items: t,
1436
+ activeTab: o,
1437
+ defaultActiveTab: a,
1438
+ onChange: r,
1439
+ variant: i = "default",
1440
+ tool: c,
1441
+ style: g,
1442
+ ...f
1443
+ }) => {
1444
+ const [b, u] = A.useState(
1445
+ a || (t.length > 0 ? t[0].id : "")
1446
+ ), j = o !== void 0 ? o : b, C = (S, R) => {
1447
+ R || (o === void 0 && u(S), r == null || r(S));
1448
+ }, x = {
1449
+ display: "flex",
1450
+ alignItems: "center",
1451
+ justifyContent: i === "text" && c ? "space-between" : "flex-start",
1452
+ gap: i === "text" ? m.p2 : m.p1,
1453
+ backgroundColor: i === "default" ? W[100] : "transparent",
1454
+ borderRadius: i === "default" ? $.sm : 0,
1455
+ padding: i === "default" ? m.p1 : 0,
1456
+ ...g
1457
+ }, v = {
1458
+ display: "flex",
1459
+ alignItems: "center",
1460
+ gap: i === "text" ? m.p2 : m.p1,
1461
+ flex: i === "default" ? 1 : "none"
1462
+ }, I = (S, R) => i === "text" ? {
1463
+ display: "flex",
1464
+ alignItems: "center",
1465
+ justifyContent: "center",
1466
+ padding: `${m.p3} ${m.p2}`,
1467
+ backgroundColor: "transparent",
1468
+ border: "none",
1469
+ borderBottom: S ? `2px solid ${y[500]}` : "2px solid transparent",
1470
+ fontFamily: l.main,
1471
+ fontSize: "14px",
1472
+ fontWeight: s.medium,
1473
+ lineHeight: p.tight,
1474
+ color: S ? y[600] : d[400],
1475
+ cursor: R ? "not-allowed" : "pointer",
1476
+ opacity: R ? 0.5 : 1,
1477
+ transition: "color 0.15s ease, border-color 0.15s ease",
1478
+ whiteSpace: "nowrap"
1479
+ } : {
1480
+ display: "flex",
1481
+ alignItems: "center",
1482
+ justifyContent: "center",
1483
+ flex: 1,
1484
+ padding: `${m.p3} ${m.p2}`,
1485
+ backgroundColor: S ? y[500] : "transparent",
1486
+ border: "none",
1487
+ borderRadius: $.sm,
1488
+ fontFamily: l.main,
1489
+ fontSize: "14px",
1490
+ fontWeight: s.medium,
1491
+ lineHeight: p.tight,
1492
+ color: S ? h : d[400],
1493
+ cursor: R ? "not-allowed" : "pointer",
1494
+ opacity: R ? 0.5 : 1,
1495
+ transition: "background-color 0.15s ease, color 0.15s ease",
1496
+ whiteSpace: "nowrap"
1497
+ }, B = {
1498
+ fontFamily: l.main,
1499
+ fontSize: "10px",
1500
+ fontWeight: s.medium,
1501
+ lineHeight: p.tight,
1502
+ color: d[300]
1503
+ };
1504
+ return /* @__PURE__ */ e.jsxs("div", { style: x, ...f, children: [
1505
+ /* @__PURE__ */ e.jsx("div", { style: v, children: t.map((S) => /* @__PURE__ */ e.jsx(
1506
+ "button",
1507
+ {
1508
+ style: I(j === S.id, S.disabled),
1509
+ onClick: () => C(S.id, S.disabled),
1510
+ disabled: S.disabled,
1511
+ type: "button",
1512
+ children: S.label
1513
+ },
1514
+ S.id
1515
+ )) }),
1516
+ c && /* @__PURE__ */ e.jsx("div", { style: B, children: c })
1517
+ ] });
1518
+ }, Ae = ({ color: t }) => /* @__PURE__ */ e.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1519
+ /* @__PURE__ */ e.jsx(
1520
+ "path",
1521
+ {
1522
+ d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
1523
+ stroke: t,
1524
+ strokeWidth: "2",
1525
+ strokeLinecap: "round",
1526
+ strokeLinejoin: "round"
1527
+ }
1528
+ ),
1529
+ /* @__PURE__ */ e.jsx("path", { d: "M12 16V12", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1530
+ /* @__PURE__ */ e.jsx("path", { d: "M12 8H12.01", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
1531
+ ] }), De = ({ color: t }) => /* @__PURE__ */ e.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1532
+ /* @__PURE__ */ e.jsx(
1533
+ "path",
1534
+ {
1535
+ d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
1536
+ stroke: t,
1537
+ strokeWidth: "2",
1538
+ strokeLinecap: "round",
1539
+ strokeLinejoin: "round"
1540
+ }
1541
+ ),
1542
+ /* @__PURE__ */ e.jsx("path", { d: "M9 12L11 14L15 10", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
1543
+ ] }), Ne = ({ color: t }) => /* @__PURE__ */ e.jsxs("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1544
+ /* @__PURE__ */ e.jsx(
1545
+ "path",
1546
+ {
1547
+ d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",
1548
+ stroke: t,
1549
+ strokeWidth: "2",
1550
+ strokeLinecap: "round",
1551
+ strokeLinejoin: "round"
1552
+ }
1553
+ ),
1554
+ /* @__PURE__ */ e.jsx("path", { d: "M15 9L9 15", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1555
+ /* @__PURE__ */ e.jsx("path", { d: "M9 9L15 15", stroke: t, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
1556
+ ] }), Xe = {
1557
+ neutral: {
1558
+ iconColor: oe[900],
1559
+ textColor: oe[900],
1560
+ buttonBg: W[300],
1561
+ buttonText: d[700],
1562
+ Icon: null
1563
+ },
1564
+ info: {
1565
+ iconColor: y[500],
1566
+ textColor: y[500],
1567
+ buttonBg: y[500],
1568
+ buttonText: h,
1569
+ Icon: Ae
1570
+ },
1571
+ success: {
1572
+ iconColor: X[600],
1573
+ textColor: X[600],
1574
+ buttonBg: X[500],
1575
+ buttonText: h,
1576
+ Icon: De
1577
+ },
1578
+ alert: {
1579
+ iconColor: _[500],
1580
+ textColor: _[500],
1581
+ buttonBg: _[500],
1582
+ buttonText: h,
1583
+ Icon: Ne
1584
+ }
1585
+ }, mt = ({
1586
+ title: t,
1587
+ description: o,
1588
+ type: a = "neutral",
1589
+ actionLabel: r,
1590
+ onAction: i,
1591
+ onClose: c,
1592
+ style: g,
1593
+ ...f
1594
+ }) => {
1595
+ const b = Xe[a], u = b.Icon, j = {
1596
+ display: "flex",
1597
+ alignItems: "center",
1598
+ justifyContent: "space-between",
1599
+ gap: m.p3,
1600
+ padding: m.p4,
1601
+ backgroundColor: h,
1602
+ borderRadius: $.sm,
1603
+ boxShadow: "0 4px 12px rgba(13, 10, 44, 0.06)",
1604
+ minWidth: "300px",
1605
+ ...g
1606
+ }, C = {
1607
+ display: "flex",
1608
+ alignItems: "center",
1609
+ gap: m.p2
1610
+ }, x = {
1611
+ display: "flex",
1612
+ flexDirection: "column",
1613
+ gap: "4px"
1614
+ }, v = {
1615
+ fontFamily: l.main,
1616
+ fontSize: "14px",
1617
+ fontWeight: s.semibold,
1618
+ lineHeight: p.tight,
1619
+ color: a === "neutral" ? oe[900] : b.textColor,
1620
+ margin: 0
1621
+ }, I = {
1622
+ fontFamily: l.main,
1623
+ fontSize: "12px",
1624
+ fontWeight: s.regular,
1625
+ lineHeight: p.tight,
1626
+ color: a === "neutral" ? d[400] : b.textColor,
1627
+ margin: 0
1628
+ }, B = {
1629
+ display: "flex",
1630
+ alignItems: "center",
1631
+ gap: m.p2
1632
+ }, S = {
1633
+ padding: `${m.p1} ${m.p2}`,
1634
+ backgroundColor: b.buttonBg,
1635
+ color: b.buttonText,
1636
+ border: "none",
1637
+ borderRadius: $.xs,
1638
+ fontFamily: l.main,
1639
+ fontSize: "12px",
1640
+ fontWeight: s.medium,
1641
+ lineHeight: p.tight,
1642
+ cursor: "pointer"
1643
+ };
1644
+ return /* @__PURE__ */ e.jsxs("div", { style: j, ...f, children: [
1645
+ /* @__PURE__ */ e.jsxs("div", { style: C, children: [
1646
+ u && /* @__PURE__ */ e.jsx(u, { color: b.iconColor }),
1647
+ /* @__PURE__ */ e.jsxs("div", { style: x, children: [
1648
+ /* @__PURE__ */ e.jsx("p", { style: v, children: t }),
1649
+ o && /* @__PURE__ */ e.jsx("p", { style: I, children: o })
1650
+ ] })
1651
+ ] }),
1652
+ (r || c) && /* @__PURE__ */ e.jsx("div", { style: B, children: r && i && /* @__PURE__ */ e.jsx("button", { style: S, onClick: i, children: r }) })
1653
+ ] });
1654
+ }, Ve = ({
1655
+ label: t,
1656
+ selected: o,
1657
+ defaultSelected: a = !1,
1658
+ onChange: r,
1659
+ rightIcon: i,
1660
+ disabled: c,
1661
+ style: g,
1662
+ ...f
1663
+ }) => {
1664
+ const [b, u] = A.useState(a), j = o !== void 0 ? o : b, C = () => {
1665
+ if (c) return;
1666
+ const I = !j;
1667
+ o === void 0 && u(I), r == null || r(I);
1668
+ }, x = {
1669
+ display: "inline-flex",
1670
+ alignItems: "center",
1671
+ gap: m.p1,
1672
+ padding: `${m.p2} ${m.p3}`,
1673
+ backgroundColor: j ? y[50] : W[100],
1674
+ border: `1px solid ${j ? y[100] : W[300]}`,
1675
+ borderRadius: $.sm,
1676
+ fontFamily: l.main,
1677
+ fontSize: "12px",
1678
+ fontWeight: s.medium,
1679
+ lineHeight: p.tight,
1680
+ color: j ? y[500] : d[700],
1681
+ cursor: c ? "not-allowed" : "pointer",
1682
+ opacity: c ? 0.5 : 1,
1683
+ transition: "background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease",
1684
+ outline: "none",
1685
+ ...g
1686
+ }, v = {
1687
+ display: "flex",
1688
+ alignItems: "center",
1689
+ justifyContent: "center",
1690
+ flexShrink: 0,
1691
+ color: j ? y[500] : d[700]
1692
+ };
1693
+ return /* @__PURE__ */ e.jsxs(
1694
+ "button",
1695
+ {
1696
+ type: "button",
1697
+ style: x,
1698
+ onClick: C,
1699
+ disabled: c,
1700
+ ...f,
1701
+ children: [
1702
+ /* @__PURE__ */ e.jsx("span", { children: t }),
1703
+ i && /* @__PURE__ */ e.jsx("span", { style: v, children: i })
1704
+ ]
1705
+ }
1706
+ );
1707
+ }, yt = ({
1708
+ items: t,
1709
+ value: o,
1710
+ defaultValue: a,
1711
+ onChange: r,
1712
+ allowDeselect: i = !1,
1713
+ style: c,
1714
+ ...g
1715
+ }) => {
1716
+ const [f, b] = A.useState(a || ""), u = o !== void 0 ? o : f, j = (x) => {
1717
+ let v;
1718
+ u === x && i ? v = "" : v = x, o === void 0 && b(v), r == null || r(v);
1719
+ }, C = {
1720
+ display: "flex",
1721
+ alignItems: "center",
1722
+ gap: m.p2,
1723
+ flexWrap: "wrap",
1724
+ ...c
1725
+ };
1726
+ return /* @__PURE__ */ e.jsx("div", { style: C, ...g, children: t.map((x) => /* @__PURE__ */ e.jsx(
1727
+ Ve,
1728
+ {
1729
+ label: x.label,
1730
+ selected: u === x.id,
1731
+ onChange: () => j(x.id),
1732
+ rightIcon: x.rightIcon,
1733
+ disabled: x.disabled
1734
+ },
1735
+ x.id
1736
+ )) });
1737
+ }, ie = {
1738
+ heart: "#ef4444",
1739
+ spade: "#464b56",
1740
+ diamond: "#2e9dff",
1741
+ club: "#01bda7"
1742
+ }, ke = ({ color: t = ie.heart, size: o = 18 }) => /* @__PURE__ */ e.jsx("svg", { width: o, height: o, viewBox: "0 0 24 24", fill: t, children: /* @__PURE__ */ e.jsx("path", { d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z" }) }), je = ({ color: t = ie.spade, size: o = 18 }) => /* @__PURE__ */ e.jsx("svg", { width: o, height: o, viewBox: "0 0 24 24", fill: t, children: /* @__PURE__ */ e.jsx("path", { d: "M12 2C9 7 4 9 4 14c0 2.5 2 4.5 4.5 4.5.83 0 1.61-.21 2.28-.58L10 22h4l-.78-4.08c.67.37 1.45.58 2.28.58C18 18.5 20 16.5 20 14c0-5-5-7-8-12z" }) }), ve = ({ color: t = ie.diamond, size: o = 18 }) => /* @__PURE__ */ e.jsx("svg", { width: o, height: o, viewBox: "0 0 24 24", fill: t, children: /* @__PURE__ */ e.jsx("path", { d: "M12 2L4 12l8 10 8-10L12 2z" }) }), we = ({ color: t = ie.club, size: o = 18 }) => /* @__PURE__ */ e.jsx("svg", { width: o, height: o, viewBox: "0 0 24 24", fill: t, children: /* @__PURE__ */ e.jsx("path", { d: "M12 2c-1.66 0-3 1.34-3 3 0 .93.42 1.76 1.08 2.31C8.3 8.06 7 9.88 7 12c0 2.21 1.79 4 4 4h.5l-.5 4h2l-.5-4h.5c2.21 0 4-1.79 4-4 0-2.12-1.3-3.94-3.08-4.69C14.58 6.76 15 5.93 15 5c0-1.66-1.34-3-3-3z" }) }), Ye = ({ color: t = h[100], size: o = 16 }) => /* @__PURE__ */ e.jsx("svg", { width: o, height: o, viewBox: "0 0 16 16", fill: t, children: /* @__PURE__ */ e.jsx("path", { d: "M8 2v12M2 8h12", stroke: t, strokeWidth: "2", strokeLinecap: "round" }) }), Re = ({
1743
+ state: t = "default",
1744
+ suit: o = "heart",
1745
+ value: a = "7",
1746
+ selected: r = !1,
1747
+ onClick: i,
1748
+ style: c
1749
+ }) => {
1750
+ const g = {
1751
+ width: 30,
1752
+ height: 42,
1753
+ borderRadius: $.xs,
1754
+ border: `1px solid ${r ? y[500] : W[300]}`,
1755
+ backgroundColor: h[100],
1756
+ overflow: "hidden",
1757
+ position: "relative",
1758
+ cursor: i ? "pointer" : "default",
1759
+ display: "flex",
1760
+ flexDirection: "column",
1761
+ alignItems: "center",
1762
+ justifyContent: "center",
1763
+ fontFamily: l.main,
1764
+ fontWeight: s.semibold,
1765
+ transition: "border-color 0.15s ease",
1766
+ ...c
1767
+ };
1768
+ if (t === "add")
1769
+ return /* @__PURE__ */ e.jsx(
1770
+ "div",
1771
+ {
1772
+ style: {
1773
+ ...g,
1774
+ backgroundColor: "rgba(110, 179, 220, 0.5)"
1775
+ },
1776
+ onClick: i,
1777
+ children: /* @__PURE__ */ e.jsx(Ye, {})
1778
+ }
1779
+ );
1780
+ if (t === "back")
1781
+ return /* @__PURE__ */ e.jsx(
1782
+ "div",
1783
+ {
1784
+ style: {
1785
+ ...g,
1786
+ background: "linear-gradient(180deg, #4D91CC 0%, #1D3558 100%)"
1787
+ },
1788
+ onClick: i,
1789
+ children: /* @__PURE__ */ e.jsx(
1790
+ "div",
1791
+ {
1792
+ style: {
1793
+ width: "100%",
1794
+ height: "100%",
1795
+ backgroundImage: `repeating-linear-gradient(
1796
+ 45deg,
1797
+ transparent,
1798
+ transparent 3px,
1799
+ rgba(255, 255, 255, 0.1) 3px,
1800
+ rgba(255, 255, 255, 0.1) 6px
1801
+ )`
1802
+ }
1803
+ }
1804
+ )
1805
+ }
1806
+ );
1807
+ if (t === "pending") {
1808
+ const u = o === "both";
1809
+ return /* @__PURE__ */ e.jsxs("div", { style: g, onClick: i, children: [
1810
+ u && /* @__PURE__ */ e.jsx(
1811
+ "span",
1812
+ {
1813
+ style: {
1814
+ fontSize: 10,
1815
+ color: d[700],
1816
+ position: "absolute",
1817
+ top: 2,
1818
+ right: 4
1819
+ },
1820
+ children: "x"
1821
+ }
1822
+ ),
1823
+ /* @__PURE__ */ e.jsx(
1824
+ "span",
1825
+ {
1826
+ style: {
1827
+ fontSize: 20,
1828
+ color: d[700],
1829
+ marginTop: u ? 4 : 0
1830
+ },
1831
+ children: "X"
1832
+ }
1833
+ )
1834
+ ] });
1835
+ }
1836
+ if (t === "option") {
1837
+ const u = o === "heart" ? ke : o === "spade" ? je : o === "diamond" ? ve : we, j = ie[o] || d[700];
1838
+ return /* @__PURE__ */ e.jsx("div", { style: g, onClick: i, children: /* @__PURE__ */ e.jsx(u, { color: j, size: 20 }) });
1839
+ }
1840
+ const f = o === "heart" ? ke : o === "spade" ? je : o === "diamond" ? ve : we, b = ie[o] || d[700];
1841
+ return /* @__PURE__ */ e.jsxs("div", { style: g, onClick: i, children: [
1842
+ /* @__PURE__ */ e.jsx(
1843
+ "div",
1844
+ {
1845
+ style: {
1846
+ position: "absolute",
1847
+ top: 2,
1848
+ left: "50%",
1849
+ transform: "translateX(-50%)"
1850
+ },
1851
+ children: /* @__PURE__ */ e.jsx(f, { color: b, size: 14 })
1852
+ }
1853
+ ),
1854
+ /* @__PURE__ */ e.jsx(
1855
+ "span",
1856
+ {
1857
+ style: {
1858
+ fontSize: 20,
1859
+ color: b,
1860
+ marginTop: 8,
1861
+ lineHeight: 1.5
1862
+ },
1863
+ children: a
1864
+ }
1865
+ )
1866
+ ] });
1867
+ }, bt = ({ cards: t, gap: o = 2, style: a }) => {
1868
+ const r = {
1869
+ display: "flex",
1870
+ alignItems: "center",
1871
+ gap: o,
1872
+ padding: 4,
1873
+ borderRadius: $.xs,
1874
+ ...a
1875
+ };
1876
+ return /* @__PURE__ */ e.jsx("div", { style: r, children: t.map((i, c) => /* @__PURE__ */ e.jsx(Re, { ...i }, c)) });
1877
+ }, pe = ({ rotation: t = 0 }) => /* @__PURE__ */ e.jsx(
1878
+ "div",
1879
+ {
1880
+ style: {
1881
+ width: 19,
1882
+ height: 27,
1883
+ borderRadius: 3,
1884
+ background: "linear-gradient(180deg, #4D91CC 0%, #1D3558 100%)",
1885
+ border: "1px solid #eaecef",
1886
+ transform: `rotate(${t}deg)`,
1887
+ position: "absolute"
1888
+ }
1889
+ }
1890
+ ), Ce = ({
1891
+ state: t = "default",
1892
+ isHero: o = !1,
1893
+ playerName: a,
1894
+ selected: r = !1,
1895
+ position: i = "BTN",
1896
+ stack: c = "2,000",
1897
+ cards: g,
1898
+ onClick: f,
1899
+ style: b
1900
+ }) => {
1901
+ const u = {
1902
+ display: "flex",
1903
+ flexDirection: "column",
1904
+ alignItems: "center",
1905
+ gap: 3,
1906
+ cursor: f ? "pointer" : "default",
1907
+ ...b
1908
+ }, j = {
1909
+ width: 54,
1910
+ height: 54,
1911
+ borderRadius: "50%",
1912
+ backgroundColor: "#eaf5ff",
1913
+ border: `1px solid ${r ? y[500] : "#bee1ff"}`,
1914
+ display: "flex",
1915
+ alignItems: "center",
1916
+ justifyContent: "center",
1917
+ position: "relative",
1918
+ overflow: "visible"
1919
+ }, C = {
1920
+ backgroundColor: "#eaf5ff",
1921
+ border: "1px solid #bee1ff",
1922
+ borderRadius: $.xs,
1923
+ padding: m.p1,
1924
+ display: "flex",
1925
+ flexDirection: "column",
1926
+ alignItems: "center",
1927
+ minWidth: 50
1928
+ }, x = {
1929
+ fontFamily: l.main,
1930
+ fontWeight: s.semibold,
1931
+ fontSize: 10,
1932
+ lineHeight: 1.2,
1933
+ color: o ? y[500] : d[700]
1934
+ }, v = {
1935
+ fontFamily: l.main,
1936
+ fontWeight: s.medium,
1937
+ fontSize: 8,
1938
+ lineHeight: 1.2,
1939
+ color: "#828894"
1940
+ };
1941
+ return t === "start" ? /* @__PURE__ */ e.jsxs("div", { style: u, onClick: f, children: [
1942
+ /* @__PURE__ */ e.jsx(
1943
+ "div",
1944
+ {
1945
+ style: {
1946
+ ...j,
1947
+ border: `1px solid ${o ? y[500] : "#bee1ff"}`
1948
+ },
1949
+ children: /* @__PURE__ */ e.jsxs(
1950
+ "span",
1951
+ {
1952
+ style: {
1953
+ fontFamily: l.main,
1954
+ fontWeight: s.semibold,
1955
+ fontSize: 10,
1956
+ lineHeight: 1.2,
1957
+ color: "#0f0f0f",
1958
+ textAlign: "center"
1959
+ },
1960
+ children: [
1961
+ "選擇",
1962
+ /* @__PURE__ */ e.jsx("br", {}),
1963
+ "位置"
1964
+ ]
1965
+ }
1966
+ )
1967
+ }
1968
+ ),
1969
+ o && /* @__PURE__ */ e.jsx(
1970
+ "div",
1971
+ {
1972
+ style: {
1973
+ backgroundColor: y[500],
1974
+ borderRadius: 9999,
1975
+ padding: "4px 8px",
1976
+ display: "flex",
1977
+ alignItems: "center",
1978
+ justifyContent: "center"
1979
+ },
1980
+ children: /* @__PURE__ */ e.jsx(
1981
+ "span",
1982
+ {
1983
+ style: {
1984
+ fontFamily: l.main,
1985
+ fontWeight: s.medium,
1986
+ fontSize: 10,
1987
+ color: h[100]
1988
+ },
1989
+ children: "Hero"
1990
+ }
1991
+ )
1992
+ }
1993
+ )
1994
+ ] }) : t === "fold" ? /* @__PURE__ */ e.jsxs("div", { style: { ...u, opacity: 0.5 }, onClick: f, children: [
1995
+ /* @__PURE__ */ e.jsx("div", { style: j, children: /* @__PURE__ */ e.jsxs("div", { style: { position: "relative", width: 48, height: 30 }, children: [
1996
+ /* @__PURE__ */ e.jsx("div", { style: { position: "absolute", left: 0, top: 5 }, children: /* @__PURE__ */ e.jsx(pe, { rotation: -10 }) }),
1997
+ /* @__PURE__ */ e.jsx("div", { style: { position: "absolute", left: 24, top: 6 }, children: /* @__PURE__ */ e.jsx(pe, { rotation: 10 }) })
1998
+ ] }) }),
1999
+ /* @__PURE__ */ e.jsxs("div", { style: C, children: [
2000
+ /* @__PURE__ */ e.jsx("span", { style: x, children: o ? "Hero" : i }),
2001
+ a && /* @__PURE__ */ e.jsx(
2002
+ "span",
2003
+ {
2004
+ style: {
2005
+ ...v,
2006
+ fontSize: 8,
2007
+ color: d[700],
2008
+ marginBottom: 2
2009
+ },
2010
+ children: a
2011
+ }
2012
+ ),
2013
+ /* @__PURE__ */ e.jsx("span", { style: v, children: c })
2014
+ ] })
2015
+ ] }) : /* @__PURE__ */ e.jsxs("div", { style: u, onClick: f, children: [
2016
+ /* @__PURE__ */ e.jsxs("div", { style: { position: "relative" }, children: [
2017
+ /* @__PURE__ */ e.jsx("div", { style: j }),
2018
+ /* @__PURE__ */ e.jsxs(
2019
+ "div",
2020
+ {
2021
+ style: {
2022
+ position: "absolute",
2023
+ top: 5,
2024
+ left: 0,
2025
+ width: 54,
2026
+ height: 30
2027
+ },
2028
+ children: [
2029
+ /* @__PURE__ */ e.jsx("div", { style: { position: "absolute", left: 0, top: 0 }, children: /* @__PURE__ */ e.jsx(pe, { rotation: -10 }) }),
2030
+ /* @__PURE__ */ e.jsx("div", { style: { position: "absolute", left: 24, top: 1 }, children: /* @__PURE__ */ e.jsx(pe, { rotation: 10 }) })
2031
+ ]
2032
+ }
2033
+ )
2034
+ ] }),
2035
+ /* @__PURE__ */ e.jsxs("div", { style: { ...C, marginTop: -16, position: "relative", zIndex: 1 }, children: [
2036
+ /* @__PURE__ */ e.jsx("span", { style: x, children: o ? "Hero" : i }),
2037
+ a && /* @__PURE__ */ e.jsx(
2038
+ "span",
2039
+ {
2040
+ style: {
2041
+ ...v,
2042
+ fontSize: 8,
2043
+ color: d[700],
2044
+ marginBottom: 2
2045
+ },
2046
+ children: a
2047
+ }
2048
+ ),
2049
+ /* @__PURE__ */ e.jsx("span", { style: v, children: c })
2050
+ ] })
2051
+ ] });
2052
+ }, xt = ({
2053
+ isHero: t = !1,
2054
+ selected: o = !1,
2055
+ onClick: a,
2056
+ style: r
2057
+ }) => /* @__PURE__ */ e.jsx(
2058
+ "div",
2059
+ {
2060
+ style: {
2061
+ width: 54,
2062
+ height: 54,
2063
+ borderRadius: "50%",
2064
+ backgroundColor: "#eaf5ff",
2065
+ border: `1px solid ${o ? y[500] : "#bee1ff"}`,
2066
+ cursor: a ? "pointer" : "default",
2067
+ ...r
2068
+ },
2069
+ onClick: a
2070
+ }
2071
+ ), Ue = {
2072
+ bet: "#e77300",
2073
+ raise: "#e77300",
2074
+ call: "#01bda7",
2075
+ fold: "#969ba5",
2076
+ allin: "#ef4444",
2077
+ waiting: h[100]
2078
+ }, Ge = {
2079
+ bet: "Bet",
2080
+ raise: "Raise",
2081
+ call: "Call",
2082
+ fold: "Fold",
2083
+ allin: "All-in",
2084
+ waiting: ""
2085
+ }, St = ({
2086
+ action: t,
2087
+ position: o = "SB",
2088
+ amount: a,
2089
+ style: r
2090
+ }) => {
2091
+ const i = t === "waiting", c = {
2092
+ display: "flex",
2093
+ flexDirection: "column",
2094
+ alignItems: "flex-start",
2095
+ justifyContent: "center",
2096
+ gap: m.p1,
2097
+ padding: `${m.p2} ${m.p3}`,
2098
+ backgroundColor: i ? y[500] : h[100],
2099
+ border: i ? "none" : "0.5px solid #eaecef",
2100
+ borderRadius: $.sm,
2101
+ ...r
2102
+ }, g = {
2103
+ display: "flex",
2104
+ alignItems: "center",
2105
+ gap: 6
2106
+ }, f = {
2107
+ fontFamily: l.main,
2108
+ fontWeight: s.medium,
2109
+ fontSize: 10,
2110
+ lineHeight: 1.2,
2111
+ color: i ? h[100] : d[700]
2112
+ }, b = {
2113
+ fontFamily: l.main,
2114
+ fontWeight: s.medium,
2115
+ fontSize: 10,
2116
+ lineHeight: 1.2,
2117
+ color: Ue[t]
2118
+ }, u = {
2119
+ fontFamily: l.main,
2120
+ fontWeight: s.medium,
2121
+ fontSize: 10,
2122
+ lineHeight: 1.2,
2123
+ color: y[500]
2124
+ };
2125
+ return i ? /* @__PURE__ */ e.jsx("div", { style: c, children: /* @__PURE__ */ e.jsxs("div", { style: g, children: [
2126
+ /* @__PURE__ */ e.jsx("span", { style: f, children: o }),
2127
+ /* @__PURE__ */ e.jsx(Je, {})
2128
+ ] }) }) : /* @__PURE__ */ e.jsxs("div", { style: c, children: [
2129
+ /* @__PURE__ */ e.jsxs("div", { style: g, children: [
2130
+ /* @__PURE__ */ e.jsx("span", { style: f, children: o }),
2131
+ /* @__PURE__ */ e.jsx("span", { style: b, children: Ge[t] })
2132
+ ] }),
2133
+ a && t !== "fold" && /* @__PURE__ */ e.jsx("span", { style: u, children: a })
2134
+ ] });
2135
+ }, Je = () => /* @__PURE__ */ e.jsxs(
2136
+ "div",
2137
+ {
2138
+ style: {
2139
+ display: "flex",
2140
+ alignItems: "center",
2141
+ gap: 2
2142
+ },
2143
+ children: [
2144
+ [0, 1, 2].map((t) => /* @__PURE__ */ e.jsx(
2145
+ "div",
2146
+ {
2147
+ style: {
2148
+ width: 4,
2149
+ height: 4,
2150
+ borderRadius: "50%",
2151
+ backgroundColor: h[100],
2152
+ opacity: 0.6,
2153
+ animation: `pulse 1.5s ease-in-out ${t * 0.2}s infinite`
2154
+ }
2155
+ },
2156
+ t
2157
+ )),
2158
+ /* @__PURE__ */ e.jsx("style", { children: `
2159
+ @keyframes pulse {
2160
+ 0%, 100% { opacity: 0.3; }
2161
+ 50% { opacity: 1; }
2162
+ }
2163
+ ` })
2164
+ ]
2165
+ }
2166
+ ), kt = ({ amount: t, variant: o = "negative", style: a }) => {
2167
+ const r = {
2168
+ display: "flex",
2169
+ alignItems: "center",
2170
+ gap: 4,
2171
+ ...a
2172
+ }, i = {
2173
+ fontFamily: l.main,
2174
+ fontWeight: s.semibold,
2175
+ fontSize: 10,
2176
+ lineHeight: 1.2,
2177
+ color: o === "negative" ? "#ef4444" : "#01bda7"
2178
+ };
2179
+ return /* @__PURE__ */ e.jsxs("div", { style: r, children: [
2180
+ /* @__PURE__ */ e.jsx(Ze, {}),
2181
+ /* @__PURE__ */ e.jsx("span", { style: i, children: t })
2182
+ ] });
2183
+ }, Ze = () => /* @__PURE__ */ e.jsxs("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: [
2184
+ /* @__PURE__ */ e.jsx("circle", { cx: "6", cy: "6", r: "5.5", fill: "#FFD700", stroke: "#FFA500" }),
2185
+ /* @__PURE__ */ e.jsx("circle", { cx: "6", cy: "6", r: "3", fill: "#FFA500" })
2186
+ ] }), qe = ({ style: t }) => /* @__PURE__ */ e.jsx(
2187
+ "div",
2188
+ {
2189
+ style: {
2190
+ width: 14,
2191
+ height: 14,
2192
+ borderRadius: "50%",
2193
+ backgroundColor: y[500],
2194
+ display: "flex",
2195
+ alignItems: "center",
2196
+ justifyContent: "center",
2197
+ ...t
2198
+ },
2199
+ children: /* @__PURE__ */ e.jsx(
2200
+ "span",
2201
+ {
2202
+ style: {
2203
+ fontFamily: l.main,
2204
+ fontWeight: s.medium,
2205
+ fontSize: 8,
2206
+ color: h[100],
2207
+ lineHeight: 1
2208
+ },
2209
+ children: "D"
2210
+ }
2211
+ )
2212
+ }
2213
+ ), Qe = ({ size: t = 114 }) => /* @__PURE__ */ e.jsx(
2214
+ "div",
2215
+ {
2216
+ style: {
2217
+ width: t,
2218
+ height: t * 1.6,
2219
+ display: "flex",
2220
+ alignItems: "center",
2221
+ justifyContent: "center",
2222
+ opacity: 0.3
2223
+ },
2224
+ children: /* @__PURE__ */ e.jsx("svg", { width: t, height: t, viewBox: "0 0 100 100", fill: "#2e9dff", children: /* @__PURE__ */ e.jsx("path", { d: "M50 10 C30 35, 20 55, 20 70 C20 85, 33 95, 50 95 C67 95, 80 85, 80 70 C80 55, 70 35, 50 10Z" }) })
2225
+ }
2226
+ ), Ke = [
2227
+ { left: "50%", top: "83%", transform: "translateX(-50%)" },
2228
+ // 0 - bottom center (hero)
2229
+ { left: "15%", top: "73%", transform: "translateX(-50%)" },
2230
+ // 1 - bottom left
2231
+ { left: "85%", top: "73%", transform: "translateX(-50%)" },
2232
+ // 2 - bottom right
2233
+ { left: "95%", top: "47%", transform: "translate(-50%, -50%)" },
2234
+ // 3 - right
2235
+ { left: "5%", top: "47%", transform: "translate(-50%, -50%)" },
2236
+ // 4 - left
2237
+ { left: "10%", top: "20%", transform: "translateX(-50%)" },
2238
+ // 5 - top left
2239
+ { left: "90%", top: "20%", transform: "translateX(-50%)" },
2240
+ // 6 - top right
2241
+ { left: "30%", top: "4%", transform: "translateX(-50%)" },
2242
+ // 7 - top left center
2243
+ { left: "70%", top: "4%", transform: "translateX(-50%)" }
2244
+ // 8 - top right center
2245
+ ], et = [
2246
+ { left: "50%", top: "7%", transform: "translateX(-50%)" },
2247
+ // 0 - top center
2248
+ { left: "80%", top: "19%", transform: "translateX(-50%)" },
2249
+ // 1 - top right
2250
+ { left: "20%", top: "19%", transform: "translateX(-50%)" },
2251
+ // 2 - top left
2252
+ { left: "5%", top: "55%", transform: "translate(-50%, -50%)" },
2253
+ // 3 - left
2254
+ { left: "95%", top: "55%", transform: "translate(-50%, -50%)" },
2255
+ // 4 - right
2256
+ { left: "15%", top: "90%", transform: "translateX(-50%)" },
2257
+ // 5 - bottom left
2258
+ { left: "85%", top: "90%", transform: "translateX(-50%)" },
2259
+ // 6 - bottom right
2260
+ { left: "35%", top: "112%", transform: "translateX(-50%)" },
2261
+ // 7 - bottom left center
2262
+ { left: "65%", top: "112%", transform: "translateX(-50%)" }
2263
+ // 8 - bottom right center
2264
+ ], tt = ({
2265
+ orientation: t = "vertical",
2266
+ players: o = [],
2267
+ communityCards: a = [],
2268
+ pot: r = "0 BB",
2269
+ blinds: i = "100 / 200 / 100",
2270
+ dealerSeat: c,
2271
+ onSeatClick: g,
2272
+ onCardClick: f,
2273
+ style: b
2274
+ }) => {
2275
+ const u = t === "vertical", j = u ? Ke : et, C = {
2276
+ position: "relative",
2277
+ width: u ? 335 : 447,
2278
+ height: u ? 447 : 335,
2279
+ ...b
2280
+ }, x = {
2281
+ position: "absolute",
2282
+ left: "50%",
2283
+ top: u ? 37 : "50%",
2284
+ transform: u ? "translateX(-50%)" : "translate(-50%, -50%)",
2285
+ width: 260,
2286
+ height: 362,
2287
+ borderRadius: 9999,
2288
+ backgroundColor: h[100]
2289
+ }, v = {
2290
+ position: "absolute",
2291
+ left: 8,
2292
+ top: 9,
2293
+ width: 244,
2294
+ height: 344,
2295
+ borderRadius: 9999,
2296
+ backgroundColor: "#bee1ff",
2297
+ display: "flex",
2298
+ flexDirection: "column",
2299
+ alignItems: "center",
2300
+ justifyContent: "center",
2301
+ overflow: "hidden"
2302
+ }, I = [
2303
+ ...a,
2304
+ ...Array(5 - a.length).fill({ state: "add", suit: "empty" })
2305
+ ].slice(0, 5), B = /* @__PURE__ */ new Map();
2306
+ return o.forEach((S) => {
2307
+ B.set(S.seat, S);
2308
+ }), /* @__PURE__ */ e.jsxs("div", { style: C, children: [
2309
+ /* @__PURE__ */ e.jsx("div", { style: x, children: /* @__PURE__ */ e.jsxs("div", { style: v, children: [
2310
+ /* @__PURE__ */ e.jsx("div", { style: { position: "absolute", top: "20%" }, children: /* @__PURE__ */ e.jsx(Qe, { size: 80 }) }),
2311
+ /* @__PURE__ */ e.jsx(
2312
+ "div",
2313
+ {
2314
+ style: {
2315
+ position: "absolute",
2316
+ top: "30%",
2317
+ display: "flex",
2318
+ alignItems: "center",
2319
+ gap: 2,
2320
+ padding: m.p1,
2321
+ borderRadius: $.xs
2322
+ },
2323
+ children: I.map((S, R) => /* @__PURE__ */ e.jsx(
2324
+ Re,
2325
+ {
2326
+ ...S,
2327
+ onClick: f ? () => f(R) : void 0
2328
+ },
2329
+ R
2330
+ ))
2331
+ }
2332
+ ),
2333
+ /* @__PURE__ */ e.jsxs(
2334
+ "div",
2335
+ {
2336
+ style: {
2337
+ position: "absolute",
2338
+ top: "55%",
2339
+ display: "flex",
2340
+ flexDirection: "column",
2341
+ alignItems: "center",
2342
+ gap: m.p1
2343
+ },
2344
+ children: [
2345
+ /* @__PURE__ */ e.jsxs(
2346
+ "span",
2347
+ {
2348
+ style: {
2349
+ fontFamily: l.main,
2350
+ fontWeight: s.semibold,
2351
+ fontSize: 14,
2352
+ lineHeight: 1.2,
2353
+ color: "#0f0f0f"
2354
+ },
2355
+ children: [
2356
+ "Pot: ",
2357
+ r
2358
+ ]
2359
+ }
2360
+ ),
2361
+ /* @__PURE__ */ e.jsx(
2362
+ "span",
2363
+ {
2364
+ style: {
2365
+ fontFamily: l.main,
2366
+ fontWeight: s.medium,
2367
+ fontSize: 10,
2368
+ lineHeight: 1.2,
2369
+ color: h[100]
2370
+ },
2371
+ children: i
2372
+ }
2373
+ )
2374
+ ]
2375
+ }
2376
+ ),
2377
+ c !== void 0 && /* @__PURE__ */ e.jsx(
2378
+ "div",
2379
+ {
2380
+ style: {
2381
+ position: "absolute",
2382
+ bottom: "10%",
2383
+ left: "35%"
2384
+ },
2385
+ children: /* @__PURE__ */ e.jsx(qe, {})
2386
+ }
2387
+ )
2388
+ ] }) }),
2389
+ j.map((S, R) => {
2390
+ const O = B.get(R);
2391
+ return /* @__PURE__ */ e.jsx(
2392
+ "div",
2393
+ {
2394
+ style: {
2395
+ position: "absolute",
2396
+ ...S,
2397
+ zIndex: 10
2398
+ },
2399
+ children: O ? /* @__PURE__ */ e.jsx(
2400
+ Ce,
2401
+ {
2402
+ ...O,
2403
+ onClick: g ? () => g(R) : void 0
2404
+ }
2405
+ ) : /* @__PURE__ */ e.jsx(
2406
+ Ce,
2407
+ {
2408
+ state: "start",
2409
+ isHero: R === 0,
2410
+ onClick: g ? () => g(R) : void 0
2411
+ }
2412
+ )
2413
+ },
2414
+ R
2415
+ );
2416
+ })
2417
+ ] });
2418
+ }, jt = ({
2419
+ orientation: t = "vertical",
2420
+ scale: o = 0.5,
2421
+ style: a
2422
+ }) => {
2423
+ const r = t === "vertical";
2424
+ return /* @__PURE__ */ e.jsx(
2425
+ "div",
2426
+ {
2427
+ style: {
2428
+ width: r ? 335 * o : 447 * o,
2429
+ height: r ? 447 * o : 335 * o,
2430
+ transform: `scale(${o})`,
2431
+ transformOrigin: "top left",
2432
+ ...a
2433
+ },
2434
+ children: /* @__PURE__ */ e.jsx(tt, { orientation: t })
2435
+ }
2436
+ );
2437
+ }, de = {
2438
+ light: {
2439
+ default: h,
2440
+ secondary: W[100],
2441
+ tertiary: W[300],
2442
+ overlay: "#2a2d3380",
2443
+ disabled: d[100],
2444
+ success: X[50],
2445
+ error: _[50],
2446
+ warning: Y[50],
2447
+ brand: y[500],
2448
+ brandSubtle: y[50],
2449
+ accent: ee[500],
2450
+ accent2: Q[500],
2451
+ accent3: _[500],
2452
+ inputfield: h
2453
+ },
2454
+ dark: {
2455
+ default: K[900],
2456
+ secondary: K[800],
2457
+ tertiary: K[600],
2458
+ overlay: "#2a2d33cc",
2459
+ disabled: d[400],
2460
+ success: X[50],
2461
+ error: _[50],
2462
+ warning: Y[50],
2463
+ brand: y[500],
2464
+ brandSubtle: y[50],
2465
+ accent: ye[700],
2466
+ accent2: Q[500],
2467
+ accent3: _[500],
2468
+ inputfield: K[900]
2469
+ }
2470
+ }, he = {
2471
+ light: {
2472
+ primary: oe[900],
2473
+ secondary: d[700],
2474
+ tertiary: d[400],
2475
+ disabled: d[200],
2476
+ placeholder: d[300],
2477
+ success: X[600],
2478
+ error: _[500],
2479
+ warning: Y[500],
2480
+ link: y[600],
2481
+ brand: y[500],
2482
+ onBrand: h,
2483
+ accent: Y[200],
2484
+ pokerCall: ee[500],
2485
+ pokerRaise: Q[500]
2486
+ },
2487
+ dark: {
2488
+ primary: h,
2489
+ secondary: W[400],
2490
+ tertiary: W[600],
2491
+ disabled: d[600],
2492
+ placeholder: d[100],
2493
+ success: X[500],
2494
+ error: _[500],
2495
+ warning: Y[500],
2496
+ link: y[600],
2497
+ brand: y[500],
2498
+ onBrand: h,
2499
+ accent: Y[200],
2500
+ pokerCall: ee[400],
2501
+ pokerRaise: Q[400]
2502
+ }
2503
+ }, nt = {
2504
+ light: {
2505
+ primary: W[400],
2506
+ subtle: W[100],
2507
+ focus: y[500],
2508
+ success: X[500],
2509
+ error: _[500],
2510
+ warning: Y[500],
2511
+ brandSubtle: y[100]
2512
+ },
2513
+ dark: {
2514
+ primary: d[600],
2515
+ subtle: d[800],
2516
+ focus: y[500],
2517
+ success: X[500],
2518
+ error: _[500],
2519
+ warning: Y[500],
2520
+ brandSubtle: y[500]
2521
+ }
2522
+ }, ot = {
2523
+ button: {
2524
+ light: {
2525
+ primaryBg: y[500],
2526
+ primaryLabel: h,
2527
+ secondaryBg: W[300],
2528
+ secondaryLabel: d[700],
2529
+ outlineBg: h,
2530
+ outlineBorder: W[400],
2531
+ outlineLabel: d[700],
2532
+ disabledBg: d[100],
2533
+ disabledLabel: d[200],
2534
+ pokerCallBg: ee[500],
2535
+ pokerCallLabel: h,
2536
+ pokerRaiseBg: Q[500],
2537
+ pokerRaiseLabel: h,
2538
+ warningBg: _[500],
2539
+ warningLabel: h,
2540
+ hoverOverlay: "#0000001a",
2541
+ pressedOverlay: "#00000033"
2542
+ },
2543
+ dark: {
2544
+ primaryBg: y[500],
2545
+ primaryLabel: h,
2546
+ secondaryBg: K[600],
2547
+ secondaryLabel: W[400],
2548
+ outlineBg: K[900],
2549
+ outlineBorder: d[600],
2550
+ outlineLabel: W[400],
2551
+ disabledBg: d[400],
2552
+ disabledLabel: d[600],
2553
+ pokerCallBg: ye[700],
2554
+ pokerCallLabel: h,
2555
+ pokerRaiseBg: Q[500],
2556
+ pokerRaiseLabel: h,
2557
+ warningBg: _[500],
2558
+ warningLabel: h,
2559
+ hoverOverlay: "#ffffff1a",
2560
+ pressedOverlay: "#00000033"
2561
+ }
2562
+ },
2563
+ pokerCard: {
2564
+ bg: h,
2565
+ bgEmpty: "#6eb3dc80",
2566
+ border: W[400],
2567
+ club: ee[500],
2568
+ diamond: y[500],
2569
+ heart: _[500],
2570
+ spade: d[700]
2571
+ }
2572
+ }, vt = {
2573
+ background: de,
2574
+ text: he,
2575
+ border: nt,
2576
+ components: ot
2577
+ }, wt = de.light.default, Ct = de.light.secondary, Rt = de.light.tertiary, Wt = de.light.brand, It = he.light.primary, zt = he.light.secondary, Ft = he.light.onBrand;
819
2578
  export {
2579
+ dt as Badge,
820
2580
  ct as Button,
821
- m as background,
822
- Ue as bgAccent,
823
- We as bgBrand,
824
- Ie as bgBrandSubtle,
825
- je as bgDefault,
826
- Ye as bgDisabled,
827
- $e as bgError,
828
- Le as bgOverlay,
829
- Ce as bgSecondary,
830
- Be as bgSuccess,
831
- Ne as bgTertiary,
832
- De as bgWarning,
833
- K as black,
834
- k as border,
835
- at as borderError,
836
- rt as borderFocus,
837
- ot as borderPrimary,
838
- nt as borderSubtle,
839
- it as borderSuccess,
840
- lt as borderWarning,
841
- d as brandblue,
842
- Me as colors,
843
- Q as cyan,
844
- Ee as deepocean,
845
- Fe as error,
846
- o as fontFamily,
847
- i as fontSize,
848
- n as fontWeight,
849
- ft as getTypographyStyles,
850
- h as green,
851
- ke as grey,
852
- xe as info,
853
- A as lightgrey,
854
- r as lineHeight,
855
- _e as neutral,
856
- S as orange,
857
- Re as primary,
858
- Pe as primitiveColors,
859
- y as red,
860
- He as semanticColors,
861
- l as slate,
862
- ve as success,
863
- Se as teal,
864
- u as text,
865
- tt as textBrand,
866
- Je as textDisabled,
867
- Qe as textError,
868
- et as textLink,
869
- we as textOnBrand,
870
- Xe as textPlaceholder,
871
- Ve as textPrimary,
872
- qe as textSecondary,
873
- Ze as textSuccess,
874
- Ge as textTertiary,
875
- Ke as textWarning,
876
- st as typography,
877
- ze as typographyDesktop,
878
- Oe as typographyMobile,
879
- Te as warning,
880
- w as white,
881
- p as yellow
2581
+ ft as Checkbox,
2582
+ qe as DealerButton,
2583
+ pt as Divider,
2584
+ Me as Input,
2585
+ Re as PokerCard,
2586
+ bt as PokerCardGroup,
2587
+ kt as PokerChip,
2588
+ Ce as PokerPlayer,
2589
+ xt as PokerPlayerCircle,
2590
+ St as PokerStatusIndicator,
2591
+ tt as PokerTable,
2592
+ jt as PokerTablePreview,
2593
+ ht as Slider,
2594
+ ut as Switch,
2595
+ gt as Tabs,
2596
+ mt as Toast,
2597
+ Ve as Toggle,
2598
+ yt as ToggleGroup,
2599
+ de as background,
2600
+ Wt as bgBrand,
2601
+ wt as bgDefault,
2602
+ Ct as bgSecondary,
2603
+ Rt as bgTertiary,
2604
+ Fe as black,
2605
+ nt as border,
2606
+ y as brandblue,
2607
+ ot as components,
2608
+ ye as cyan,
2609
+ K as deepocean,
2610
+ l as fontFamily,
2611
+ w as fontSize,
2612
+ s as fontWeight,
2613
+ st as getTypographyStyles,
2614
+ X as green,
2615
+ oe as grey,
2616
+ W as lightgrey,
2617
+ p as lineHeight,
2618
+ Q as orange,
2619
+ rt as primitiveColors,
2620
+ $ as radius,
2621
+ _ as red,
2622
+ vt as semanticColors,
2623
+ d as slate,
2624
+ m as spacing,
2625
+ at as spacingTokens,
2626
+ ee as teal,
2627
+ he as text,
2628
+ Ft as textOnBrand,
2629
+ It as textPrimary,
2630
+ zt as textSecondary,
2631
+ lt as typography,
2632
+ Ee as typographyDesktop,
2633
+ Te as typographyMobile,
2634
+ h as white,
2635
+ Y as yellow
882
2636
  };