tguikit 0.1.0 → 0.2.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.
package/dist/index.js CHANGED
@@ -1,89 +1,214 @@
1
1
  "use client";
2
- import { clsx as e } from "clsx";
3
- import { cva as t } from "class-variance-authority";
4
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
- import { Children as i, Fragment as a, createContext as o, isValidElement as s, useCallback as c, useContext as l, useEffect as u, useMemo as d, useRef as f, useState as p, useSyncExternalStore as m } from "react";
2
+ import { Children as e, Fragment as t, createContext as n, isValidElement as r, useCallback as i, useContext as a, useEffect as o, useMemo as s, useRef as c, useState as l, useSyncExternalStore as u } from "react";
3
+ import { clsx as d } from "clsx";
4
+ import { cva as f } from "class-variance-authority";
5
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
6
6
  //#region src/shared/lib/cn.ts
7
- function h(...t) {
8
- return e(t);
7
+ function h(...e) {
8
+ return d(e);
9
9
  }
10
10
  var g = {
11
+ avatar: "_avatar_lii18_1",
12
+ s20: "_s20_lii18_18",
13
+ s24: "_s24_lii18_24",
14
+ s28: "_s28_lii18_30",
15
+ s40: "_s40_lii18_36",
16
+ s48: "_s48_lii18_42",
17
+ s96: "_s96_lii18_48",
18
+ img: "_img_lii18_54",
19
+ acronym: "_acronym_lii18_61",
20
+ icon: "_icon_lii18_65"
21
+ }, _ = f(g.avatar, {
22
+ variants: { size: {
23
+ 20: g.s20,
24
+ 24: g.s24,
25
+ 28: g.s28,
26
+ 40: g.s40,
27
+ 48: g.s48,
28
+ 96: g.s96
29
+ } },
30
+ defaultVariants: { size: 40 }
31
+ });
32
+ //#endregion
33
+ //#region src/components/Avatar/Avatar.tsx
34
+ function v() {
35
+ return /* @__PURE__ */ p("svg", {
36
+ viewBox: "0 0 24 24",
37
+ fill: "currentColor",
38
+ "aria-hidden": !0,
39
+ children: /* @__PURE__ */ p("path", { d: "M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0 2c-4.2 0-7 2.4-7 4.5V20h14v-1.5c0-2.1-2.8-4.5-7-4.5Z" })
40
+ });
41
+ }
42
+ function y({ ref: e, size: t = 40, src: n, alt: r = "", acronym: i, fallbackIcon: a, className: o, children: s, ...c }) {
43
+ let [u, d] = l(null), f = n != null && n !== "" && n !== u;
44
+ return /* @__PURE__ */ m("span", {
45
+ ref: e,
46
+ className: h(_({ size: t }), o),
47
+ ...c,
48
+ children: [f ? /* @__PURE__ */ p("img", {
49
+ className: g.img,
50
+ src: n,
51
+ alt: r,
52
+ loading: "lazy",
53
+ onError: () => d(n)
54
+ }) : i ? /* @__PURE__ */ p("span", {
55
+ className: g.acronym,
56
+ children: i
57
+ }) : /* @__PURE__ */ p("span", {
58
+ className: g.icon,
59
+ children: a ?? /* @__PURE__ */ p(v, {})
60
+ }), s]
61
+ });
62
+ }
63
+ y.displayName = "Avatar";
64
+ var b = {
65
+ badge: "_badge_76m5w_1",
66
+ number: "_number_76m5w_11",
67
+ large: "_large_76m5w_20",
68
+ dot: "_dot_76m5w_28",
69
+ "mode-primary": "_mode-primary_76m5w_39",
70
+ "mode-critical": "_mode-critical_76m5w_44",
71
+ "mode-secondary": "_mode-secondary_76m5w_49",
72
+ "mode-gray": "_mode-gray_76m5w_54",
73
+ "mode-white": "_mode-white_76m5w_59"
74
+ }, ee = f(b.badge, {
75
+ variants: {
76
+ type: {
77
+ number: b.number,
78
+ dot: b.dot
79
+ },
80
+ mode: {
81
+ primary: b["mode-primary"],
82
+ critical: b["mode-critical"],
83
+ secondary: b["mode-secondary"],
84
+ gray: b["mode-gray"],
85
+ white: b["mode-white"]
86
+ },
87
+ large: { true: b.large }
88
+ },
89
+ defaultVariants: {
90
+ type: "number",
91
+ mode: "primary"
92
+ }
93
+ });
94
+ //#endregion
95
+ //#region src/components/Badge/Badge.tsx
96
+ function x({ ref: e, type: t = "number", mode: n = "primary", large: r = !1, className: i, children: a, ...o }) {
97
+ return /* @__PURE__ */ p("span", {
98
+ ref: e,
99
+ className: h(ee({
100
+ type: t,
101
+ mode: n,
102
+ large: r
103
+ }), i),
104
+ ...o,
105
+ children: t === "number" ? a : null
106
+ });
107
+ }
108
+ x.displayName = "Badge";
109
+ var S = {
110
+ spinner: "_spinner_1kqa4_1",
111
+ "tgui-spinner": "_tgui-spinner_1kqa4_1",
112
+ s: "_s_1kqa4_1",
113
+ m: "_m_1kqa4_17",
114
+ l: "_l_1kqa4_23"
115
+ }, te = f(S.spinner, {
116
+ variants: { size: {
117
+ s: S.s,
118
+ m: S.m,
119
+ l: S.l
120
+ } },
121
+ defaultVariants: { size: "m" }
122
+ });
123
+ //#endregion
124
+ //#region src/components/Spinner/Spinner.tsx
125
+ function C({ ref: e, size: t = "m", className: n, ...r }) {
126
+ return /* @__PURE__ */ p("span", {
127
+ ref: e,
128
+ role: "status",
129
+ "aria-label": "Loading",
130
+ className: h(te({ size: t }), n),
131
+ ...r
132
+ });
133
+ }
134
+ C.displayName = "Spinner";
135
+ var w = {
11
136
  typography: "_typography_1uxpm_1",
12
137
  "weight-1": "_weight-1_1uxpm_6",
13
138
  "weight-2": "_weight-2_1uxpm_10",
14
139
  "weight-3": "_weight-3_1uxpm_14",
15
140
  caps: "_caps_1uxpm_18"
16
- }, _ = t(g.typography, {
141
+ }, T = f(w.typography, {
17
142
  variants: {
18
143
  weight: {
19
- 1: g["weight-1"],
20
- 2: g["weight-2"],
21
- 3: g["weight-3"]
144
+ 1: w["weight-1"],
145
+ 2: w["weight-2"],
146
+ 3: w["weight-3"]
22
147
  },
23
- caps: { true: g.caps }
148
+ caps: { true: w.caps }
24
149
  },
25
150
  defaultVariants: { weight: "3" }
26
151
  });
27
152
  //#endregion
28
153
  //#region src/components/Typography/Typography.tsx
29
- function v({ ref: e, weight: t, caps: r, Component: i = "span", className: a, ...o }) {
30
- return /* @__PURE__ */ n(i, {
154
+ function E({ ref: e, weight: t, caps: n, Component: r = "span", className: i, ...a }) {
155
+ return /* @__PURE__ */ p(r, {
31
156
  ref: e,
32
- className: h(_({
157
+ className: h(T({
33
158
  weight: t,
34
- caps: r
35
- }), a),
36
- ...o
159
+ caps: n
160
+ }), i),
161
+ ...a
37
162
  });
38
163
  }
39
- v.displayName = "Typography";
164
+ E.displayName = "Typography";
40
165
  //#endregion
41
166
  //#region src/components/Subheadline/Subheadline.module.css
42
- var y = {
167
+ var ne = {
43
168
  "level-1": "_level-1_1azf3_1",
44
169
  "level-2": "_level-2_1azf3_6"
45
- }, b = t("", {
170
+ }, re = f("", {
46
171
  variants: { level: {
47
- 1: y["level-1"],
48
- 2: y["level-2"]
172
+ 1: ne["level-1"],
173
+ 2: ne["level-2"]
49
174
  } },
50
175
  defaultVariants: { level: "1" }
51
176
  });
52
177
  //#endregion
53
178
  //#region src/components/Subheadline/Subheadline.tsx
54
- function x({ ref: e, level: t, Component: r = "h6", className: i, ...a }) {
55
- return /* @__PURE__ */ n(v, {
179
+ function D({ ref: e, level: t, Component: n = "h6", className: r, ...i }) {
180
+ return /* @__PURE__ */ p(E, {
56
181
  ref: e,
57
- Component: r,
58
- className: h(b({ level: t }), i),
59
- ...a
182
+ Component: n,
183
+ className: h(re({ level: t }), r),
184
+ ...i
60
185
  });
61
186
  }
62
- x.displayName = "Subheadline";
187
+ D.displayName = "Subheadline";
63
188
  //#endregion
64
189
  //#region src/components/TguiProvider/context.ts
65
- var S = o(null);
66
- S.displayName = "TguiContext";
190
+ var ie = n(null);
191
+ ie.displayName = "TguiContext";
67
192
  //#endregion
68
193
  //#region src/components/TguiProvider/useTgui.ts
69
- function C() {
70
- let e = l(S);
194
+ function O() {
195
+ let e = a(ie);
71
196
  if (e === null) throw Error("useTgui must be used within a <TguiProvider>.");
72
197
  return e;
73
198
  }
74
- var ee = {
199
+ var ae = {
75
200
  ripple: "_ripple_1cc3x_1",
76
201
  wave: "_wave_1cc3x_9",
77
202
  "wave-rise": "_wave-rise_1cc3x_1"
78
203
  };
79
204
  //#endregion
80
205
  //#region src/components/Tappable/Ripple.tsx
81
- function te({ waves: e, onWaveEnd: t }) {
82
- return /* @__PURE__ */ n("span", {
206
+ function oe({ waves: e, onWaveEnd: t }) {
207
+ return /* @__PURE__ */ p("span", {
83
208
  "aria-hidden": !0,
84
- className: ee.ripple,
85
- children: e.map((e) => /* @__PURE__ */ n("span", {
86
- className: ee.wave,
209
+ className: ae.ripple,
210
+ children: e.map((e) => /* @__PURE__ */ p("span", {
211
+ className: ae.wave,
87
212
  style: {
88
213
  top: e.y,
89
214
  left: e.x
@@ -92,27 +217,27 @@ function te({ waves: e, onWaveEnd: t }) {
92
217
  }, e.id))
93
218
  });
94
219
  }
95
- var w = {
220
+ var k = {
96
221
  tappable: "_tappable_10au7_1",
97
222
  "tappable--ios": "_tappable--ios_10au7_17",
98
223
  "tappable--opacity": "_tappable--opacity_10au7_18"
99
- }, ne = 70, re = 600;
100
- function ie() {
101
- let [e, t] = p([]), n = f(0), r = f(/* @__PURE__ */ new Map()), i = f(/* @__PURE__ */ new Set());
102
- u(() => {
103
- let e = r.current, t = i.current;
224
+ }, se = 70, ce = 600;
225
+ function le() {
226
+ let [e, t] = l([]), n = c(0), r = c(/* @__PURE__ */ new Map()), a = c(/* @__PURE__ */ new Set());
227
+ o(() => {
228
+ let e = r.current, t = a.current;
104
229
  return () => {
105
230
  for (let t of e.values()) clearTimeout(t);
106
231
  for (let e of t) clearTimeout(e);
107
232
  };
108
233
  }, []);
109
- let a = c((e) => {
234
+ let s = i((e) => {
110
235
  t((t) => t.filter((t) => t.id !== e));
111
236
  }, []);
112
237
  return {
113
238
  waves: e,
114
- onPointerDown: c((e) => {
115
- let { top: o, left: s } = e.currentTarget.getBoundingClientRect(), c = e.clientX - s, l = e.clientY - o, { pointerId: u } = e, d = setTimeout(() => {
239
+ onPointerDown: i((e) => {
240
+ let { top: i, left: o } = e.currentTarget.getBoundingClientRect(), c = e.clientX - o, l = e.clientY - i, { pointerId: u } = e, d = setTimeout(() => {
116
241
  r.current.delete(u);
117
242
  let e = n.current++;
118
243
  t((t) => [...t, {
@@ -120,155 +245,154 @@ function ie() {
120
245
  x: c,
121
246
  y: l
122
247
  }]);
123
- let o = setTimeout(() => {
124
- i.current.delete(o), a(e);
125
- }, re);
126
- i.current.add(o);
127
- }, ne);
248
+ let i = setTimeout(() => {
249
+ a.current.delete(i), s(e);
250
+ }, ce);
251
+ a.current.add(i);
252
+ }, se);
128
253
  r.current.set(u, d);
129
- }, [a]),
130
- onPointerCancel: c((e) => {
254
+ }, [s]),
255
+ onPointerCancel: i((e) => {
131
256
  let t = r.current.get(e.pointerId);
132
257
  t && (clearTimeout(t), r.current.delete(e.pointerId));
133
258
  }, []),
134
- removeWave: a
259
+ removeWave: s
135
260
  };
136
261
  }
137
262
  //#endregion
138
263
  //#region src/components/Tappable/Tappable.tsx
139
- function T({ ref: e, Component: t = "div", interactiveAnimation: i = "background", className: a, children: o, onPointerDown: s, onPointerCancel: c, ...l }) {
140
- let { platform: u } = C(), d = ie(), f = !!l.disabled, p = !!l.readOnly, m = u === "base" && i === "background" && !p && !f && (t !== "div" && t !== "span" || l.onClick != null);
141
- return /* @__PURE__ */ r(t, {
264
+ function A({ ref: e, Component: t = "div", interactiveAnimation: n = "background", className: r, children: i, onPointerDown: a, onPointerCancel: o, ...s }) {
265
+ let { platform: c } = O(), l = le(), u = !!s.disabled, d = !!s.readOnly, f = c === "base" && n === "background" && !d && !u && (t !== "div" && t !== "span" || s.onClick != null);
266
+ return /* @__PURE__ */ m(t, {
142
267
  ref: e,
143
- className: h(w.tappable, u === "ios" && w["tappable--ios"], i === "opacity" && w["tappable--opacity"], a),
144
- "data-readonly": p || void 0,
145
- "data-disabled": f || void 0,
146
- "aria-disabled": f || void 0,
268
+ className: h(k.tappable, c === "ios" && k["tappable--ios"], n === "opacity" && k["tappable--opacity"], r),
269
+ "data-readonly": d || void 0,
270
+ "data-disabled": u || void 0,
271
+ "aria-disabled": u || void 0,
147
272
  onPointerDown: (e) => {
148
- m && d.onPointerDown(e), s?.(e);
273
+ f && l.onPointerDown(e), a?.(e);
149
274
  },
150
275
  onPointerCancel: (e) => {
151
- m && d.onPointerCancel(e), c?.(e);
276
+ f && l.onPointerCancel(e), o?.(e);
152
277
  },
153
- ...l,
154
- children: [m && /* @__PURE__ */ n(te, {
155
- waves: d.waves,
156
- onWaveEnd: d.removeWave
157
- }), o]
278
+ ...s,
279
+ children: [f && /* @__PURE__ */ p(oe, {
280
+ waves: l.waves,
281
+ onWaveEnd: l.removeWave
282
+ }), i]
158
283
  });
159
284
  }
160
- T.displayName = "Tappable";
161
- var ae = { text: "_text_5v0x0_1" };
285
+ A.displayName = "Tappable";
286
+ var ue = { text: "_text_5v0x0_1" };
162
287
  //#endregion
163
288
  //#region src/components/Text/Text.tsx
164
- function E({ ref: e, className: t, Component: r = "span", ...i }) {
165
- return /* @__PURE__ */ n(v, {
289
+ function j({ ref: e, className: t, Component: n = "span", ...r }) {
290
+ return /* @__PURE__ */ p(E, {
166
291
  ref: e,
167
- Component: r,
168
- className: h(ae.text, t),
169
- ...i
292
+ Component: n,
293
+ className: h(ue.text, t),
294
+ ...r
170
295
  });
171
296
  }
172
- E.displayName = "Text";
297
+ j.displayName = "Text";
173
298
  //#endregion
174
299
  //#region src/shared/lib/telegram.ts
175
- function D() {
300
+ function de() {
176
301
  if (!(typeof window > "u")) return window.Telegram?.WebApp;
177
302
  }
178
303
  //#endregion
179
304
  //#region src/shared/lib/appearance.ts
180
- var O = "(prefers-color-scheme: dark)";
181
- function oe() {
305
+ var fe = "(prefers-color-scheme: dark)";
306
+ function pe() {
182
307
  return typeof window < "u" && typeof window.matchMedia == "function";
183
308
  }
184
- function se() {
185
- let e = D();
186
- return e ? e.colorScheme === "dark" ? "dark" : "light" : oe() && window.matchMedia(O).matches ? "dark" : "light";
309
+ function me() {
310
+ let e = de();
311
+ return e ? e.colorScheme === "dark" ? "dark" : "light" : pe() && window.matchMedia(fe).matches ? "dark" : "light";
187
312
  }
188
- function ce(e) {
189
- let t = D();
313
+ function he(e) {
314
+ let t = de();
190
315
  if (t) return t.onEvent("themeChanged", e), () => t.offEvent("themeChanged", e);
191
- if (!oe()) return () => {};
192
- let n = window.matchMedia(O);
316
+ if (!pe()) return () => {};
317
+ let n = window.matchMedia(fe);
193
318
  return n.addEventListener("change", e), () => n.removeEventListener("change", e);
194
319
  }
195
320
  //#endregion
196
321
  //#region src/shared/lib/platform.ts
197
- var le = /* @__PURE__ */ new Set(["ios", "macos"]);
198
- function ue() {
199
- let e = D();
200
- if (e) return le.has(e.platform) ? "ios" : "base";
322
+ var ge = /* @__PURE__ */ new Set(["ios", "macos"]);
323
+ function _e() {
324
+ let e = de();
325
+ if (e) return ge.has(e.platform) ? "ios" : "base";
201
326
  if (typeof navigator > "u") return "base";
202
327
  let t = navigator.userAgent, n = t.includes("Macintosh") && navigator.maxTouchPoints > 1;
203
328
  return /iphone|ipad|ipod/i.test(t) || n ? "ios" : "base";
204
329
  }
205
- var k = {
206
- wrapper: "_wrapper_1jphr_1",
207
- "wrapper--ios": "_wrapper--ios_1jphr_89",
208
- "wrapper--dark": "_wrapper--dark_1jphr_102"
209
- }, de = () => "light";
210
- function fe({ ref: e, platform: t, appearance: r, portalContainer: i, className: a, children: o, ...s }) {
211
- let l = d(() => t ?? ue(), [t]), u = m(ce, se, de), f = r ?? u, [g, _] = p(null), v = c((t) => {
330
+ var M = {
331
+ wrapper: "_wrapper_zs68y_1",
332
+ "wrapper--ios": "_wrapper--ios_zs68y_89",
333
+ "wrapper--dark": "_wrapper--dark_zs68y_102"
334
+ }, ve = () => "light";
335
+ function ye({ ref: e, platform: t, appearance: n, portalContainer: r, className: a, children: o, ...c }) {
336
+ let d = s(() => t ?? _e(), [t]), f = u(he, me, ve), m = n ?? f, [g, _] = l(null), v = i((t) => {
212
337
  _(t), typeof e == "function" ? e(t) : e && (e.current = t);
213
- }, [e]), y = d(() => ({
214
- platform: l,
215
- appearance: f,
216
- portalContainer: i ?? g
338
+ }, [e]), y = s(() => ({
339
+ platform: d,
340
+ appearance: m,
341
+ portalContainer: r ?? g
217
342
  }), [
218
- l,
219
- f,
220
- i,
343
+ d,
344
+ m,
345
+ r,
221
346
  g
222
347
  ]);
223
- return /* @__PURE__ */ n("div", {
348
+ return /* @__PURE__ */ p("div", {
224
349
  ref: v,
225
- className: h(k.wrapper, l === "ios" && k["wrapper--ios"], f === "dark" && k["wrapper--dark"], a),
226
- ...s,
227
- children: /* @__PURE__ */ n(S.Provider, {
350
+ className: h(M.wrapper, d === "ios" && M["wrapper--ios"], m === "dark" && M["wrapper--dark"], a),
351
+ ...c,
352
+ children: /* @__PURE__ */ p(ie.Provider, {
228
353
  value: y,
229
354
  children: o
230
355
  })
231
356
  });
232
357
  }
233
- fe.displayName = "TguiProvider";
234
- var A = {
235
- button: "_button_17mwm_1",
236
- stretched: "_stretched_17mwm_13",
237
- before: "_before_17mwm_33",
238
- after: "_after_17mwm_34",
239
- content: "_content_17mwm_40",
240
- label: "_label_17mwm_49",
241
- loading: "_loading_17mwm_60",
242
- spinner: "_spinner_17mwm_70",
243
- "button-spinner": "_button-spinner_17mwm_1",
244
- "size-s": "_size-s_17mwm_93",
245
- "size-m": "_size-m_17mwm_101",
246
- "size-l": "_size-l_17mwm_108",
247
- ios: "_ios_17mwm_114",
248
- "mode-filled": "_mode-filled_17mwm_122",
249
- "mode-bezeled": "_mode-bezeled_17mwm_129",
250
- "mode-plain": "_mode-plain_17mwm_136",
251
- "mode-gray": "_mode-gray_17mwm_143",
252
- "mode-outline": "_mode-outline_17mwm_150",
253
- "mode-white": "_mode-white_17mwm_158"
254
- }, pe = t(A.button, {
358
+ ye.displayName = "TguiProvider";
359
+ var N = {
360
+ button: "_button_1fqnm_1",
361
+ stretched: "_stretched_1fqnm_13",
362
+ before: "_before_1fqnm_33",
363
+ after: "_after_1fqnm_34",
364
+ content: "_content_1fqnm_40",
365
+ label: "_label_1fqnm_49",
366
+ loading: "_loading_1fqnm_60",
367
+ spinner: "_spinner_1fqnm_70",
368
+ "size-s": "_size-s_1fqnm_75",
369
+ "size-m": "_size-m_1fqnm_83",
370
+ "size-l": "_size-l_1fqnm_90",
371
+ ios: "_ios_1fqnm_96",
372
+ "mode-filled": "_mode-filled_1fqnm_104",
373
+ "mode-bezeled": "_mode-bezeled_1fqnm_111",
374
+ "mode-plain": "_mode-plain_1fqnm_118",
375
+ "mode-gray": "_mode-gray_1fqnm_125",
376
+ "mode-outline": "_mode-outline_1fqnm_132",
377
+ "mode-white": "_mode-white_1fqnm_140"
378
+ }, be = f(N.button, {
255
379
  variants: {
256
380
  mode: {
257
- filled: A["mode-filled"],
258
- bezeled: A["mode-bezeled"],
259
- plain: A["mode-plain"],
260
- gray: A["mode-gray"],
261
- outline: A["mode-outline"],
262
- white: A["mode-white"]
381
+ filled: N["mode-filled"],
382
+ bezeled: N["mode-bezeled"],
383
+ plain: N["mode-plain"],
384
+ gray: N["mode-gray"],
385
+ outline: N["mode-outline"],
386
+ white: N["mode-white"]
263
387
  },
264
388
  size: {
265
- s: A["size-s"],
266
- m: A["size-m"],
267
- l: A["size-l"]
389
+ s: N["size-s"],
390
+ m: N["size-m"],
391
+ l: N["size-l"]
268
392
  },
269
- stretched: { true: A.stretched },
393
+ stretched: { true: N.stretched },
270
394
  platform: {
271
- ios: A.ios,
395
+ ios: N.ios,
272
396
  base: null
273
397
  }
274
398
  },
@@ -279,91 +403,92 @@ var A = {
279
403
  });
280
404
  //#endregion
281
405
  //#region src/components/Button/Button.tsx
282
- function me({ size: e, children: t }) {
283
- let r = {
406
+ function xe({ size: e, children: t }) {
407
+ let n = {
284
408
  weight: "2",
285
- className: A.content
286
- }, i = /* @__PURE__ */ n("span", {
287
- className: A.label,
409
+ className: N.content
410
+ }, r = /* @__PURE__ */ p("span", {
411
+ className: N.label,
288
412
  children: t
289
413
  });
290
- return e === "l" ? /* @__PURE__ */ n(E, {
291
- ...r,
292
- children: i
293
- }) : /* @__PURE__ */ n(x, {
414
+ return e === "l" ? /* @__PURE__ */ p(j, {
415
+ ...n,
416
+ children: r
417
+ }) : /* @__PURE__ */ p(D, {
294
418
  level: "2",
295
- ...r,
296
- children: i
419
+ ...n,
420
+ children: r
297
421
  });
298
422
  }
299
- function he({ ref: e, Component: t = "button", mode: i = "filled", size: a = "m", stretched: o = !1, loading: s = !1, type: c, before: l, after: u, children: d, className: f, ...p }) {
300
- let { platform: m } = C();
301
- return /* @__PURE__ */ r(T, {
423
+ function Se({ ref: e, Component: t = "button", mode: n = "filled", size: r = "m", stretched: i = !1, loading: a = !1, type: o, before: s, after: c, children: l, className: u, ...d }) {
424
+ let { platform: f } = O();
425
+ return /* @__PURE__ */ m(A, {
302
426
  ref: e,
303
427
  Component: t,
304
- type: t === "button" ? c ?? "button" : c,
305
- "aria-busy": s || void 0,
306
- className: h(pe({
307
- mode: i,
308
- size: a,
309
- stretched: o,
310
- platform: m
311
- }), s && A.loading, f),
312
- ...p,
428
+ type: t === "button" ? o ?? "button" : o,
429
+ "aria-busy": a || void 0,
430
+ className: h(be({
431
+ mode: n,
432
+ size: r,
433
+ stretched: i,
434
+ platform: f
435
+ }), a && N.loading, u),
436
+ ...d,
313
437
  children: [
314
- s ? /* @__PURE__ */ n("span", {
315
- className: A.spinner,
438
+ a ? /* @__PURE__ */ p(C, {
439
+ size: "s",
440
+ className: N.spinner,
316
441
  "aria-hidden": !0
317
442
  }) : null,
318
- l ? /* @__PURE__ */ n("span", {
319
- className: A.before,
320
- children: l
443
+ s ? /* @__PURE__ */ p("span", {
444
+ className: N.before,
445
+ children: s
321
446
  }) : null,
322
- /* @__PURE__ */ n(me, {
323
- size: a,
324
- children: d
447
+ /* @__PURE__ */ p(xe, {
448
+ size: r,
449
+ children: l
325
450
  }),
326
- u ? /* @__PURE__ */ n("span", {
327
- className: A.after,
328
- children: u
451
+ c ? /* @__PURE__ */ p("span", {
452
+ className: N.after,
453
+ children: c
329
454
  }) : null
330
455
  ]
331
456
  });
332
457
  }
333
- he.displayName = "Button";
458
+ Se.displayName = "Button";
334
459
  //#endregion
335
460
  //#region src/components/Caption/Caption.module.css
336
- var ge = {
461
+ var Ce = {
337
462
  "level-1": "_level-1_1fkm7_1",
338
463
  "level-2": "_level-2_1fkm7_6"
339
- }, _e = t("", {
464
+ }, we = f("", {
340
465
  variants: { level: {
341
- 1: ge["level-1"],
342
- 2: ge["level-2"]
466
+ 1: Ce["level-1"],
467
+ 2: Ce["level-2"]
343
468
  } },
344
469
  defaultVariants: { level: "1" }
345
470
  });
346
471
  //#endregion
347
472
  //#region src/components/Caption/Caption.tsx
348
- function j({ ref: e, level: t, Component: r = "span", className: i, ...a }) {
349
- return /* @__PURE__ */ n(v, {
473
+ function P({ ref: e, level: t, Component: n = "span", className: r, ...i }) {
474
+ return /* @__PURE__ */ p(E, {
350
475
  ref: e,
351
- Component: r,
352
- className: h(_e({ level: t }), i),
353
- ...a
476
+ Component: n,
477
+ className: h(we({ level: t }), r),
478
+ ...i
354
479
  });
355
480
  }
356
- j.displayName = "Caption";
481
+ P.displayName = "Caption";
357
482
  //#endregion
358
483
  //#region src/components/Card/Card.context.ts
359
- var M = o({ type: "plain" }), N = {
360
- card: "_card_tdyqh_1",
361
- cardAmbient: "_cardAmbient_tdyqh_17",
362
- cell: "_cell_tdyqh_21",
363
- cellAmbient: "_cellAmbient_tdyqh_26",
364
- cellHeader: "_cellHeader_tdyqh_43",
365
- cellSubtitle: "_cellSubtitle_tdyqh_47"
366
- }, P = {
484
+ var Te = n({ type: "plain" }), F = {
485
+ card: "_card_1maup_1",
486
+ cardAmbient: "_cardAmbient_1maup_17",
487
+ cell: "_cell_1maup_21",
488
+ cellAmbient: "_cellAmbient_1maup_26",
489
+ cellHeader: "_cellHeader_1maup_43",
490
+ cellSubtitle: "_cellSubtitle_1maup_47"
491
+ }, I = {
367
492
  cell: "_cell_1w7p5_1",
368
493
  before: "_before_1w7p5_10",
369
494
  after: "_after_1w7p5_11",
@@ -378,331 +503,508 @@ var M = o({ type: "plain" }), N = {
378
503
  hovered: "_hovered_1w7p5_56",
379
504
  ios: "_ios_1w7p5_60",
380
505
  interactive: "_interactive_1w7p5_67"
381
- }, ve = t(P.cell, { variants: {
506
+ }, Ee = f(I.cell, { variants: {
382
507
  platform: {
383
- ios: P.ios,
508
+ ios: I.ios,
384
509
  base: null
385
510
  },
386
- hovered: { true: P.hovered },
387
- interactive: { true: P.interactive },
388
- multiline: { true: P.multiline }
511
+ hovered: { true: I.hovered },
512
+ interactive: { true: I.interactive },
513
+ multiline: { true: I.multiline }
389
514
  } });
390
515
  //#endregion
391
516
  //#region src/components/Cell/Cell.tsx
392
- function ye({ ios: e, children: t }) {
393
- return e ? /* @__PURE__ */ n(E, {
394
- className: P.head,
517
+ function De({ ios: e, children: t }) {
518
+ return e ? /* @__PURE__ */ p(j, {
519
+ className: I.head,
395
520
  children: t
396
- }) : /* @__PURE__ */ n(x, {
521
+ }) : /* @__PURE__ */ p(D, {
397
522
  level: "1",
398
- className: P.head,
523
+ className: I.head,
399
524
  children: t
400
525
  });
401
526
  }
402
- function be({ ios: e, children: t }) {
403
- return e ? /* @__PURE__ */ n(j, {
404
- className: P.description,
527
+ function Oe({ ios: e, children: t }) {
528
+ return e ? /* @__PURE__ */ p(P, {
529
+ className: I.description,
405
530
  children: t
406
- }) : /* @__PURE__ */ n(x, {
531
+ }) : /* @__PURE__ */ p(D, {
407
532
  level: "2",
408
- className: P.description,
533
+ className: I.description,
409
534
  children: t
410
535
  });
411
536
  }
412
- function F({ ref: e, Component: t = "div", subhead: i, children: a, hint: o, titleBadge: s, subtitle: c, description: l, before: u, after: d, hovered: f, multiline: p, className: m, ...g }) {
413
- let { platform: _ } = C(), v = _ === "ios", y = a != null || o != null || s != null, b = g.onClick != null || g.href != null || t === "a" || t === "button" || t === "label";
414
- return /* @__PURE__ */ r(T, {
537
+ function ke({ ref: e, Component: t = "div", subhead: n, children: r, hint: i, titleBadge: a, subtitle: o, description: s, before: c, after: l, hovered: u, multiline: d, className: f, ...g }) {
538
+ let { platform: _ } = O(), v = _ === "ios", y = r != null || i != null || a != null, b = g.onClick != null || g.href != null || t === "a" || t === "button" || t === "label";
539
+ return /* @__PURE__ */ m(A, {
415
540
  ref: e,
416
541
  Component: t,
417
- className: h(ve({
542
+ className: h(Ee({
418
543
  platform: _,
419
- hovered: f,
420
- multiline: p,
544
+ hovered: u,
545
+ multiline: d,
421
546
  interactive: b
422
- }), m),
547
+ }), f),
423
548
  ...g,
424
549
  children: [
425
- u == null ? null : /* @__PURE__ */ n("div", {
426
- className: P.before,
427
- children: u
550
+ c == null ? null : /* @__PURE__ */ p("div", {
551
+ className: I.before,
552
+ children: c
428
553
  }),
429
- /* @__PURE__ */ r("div", {
430
- className: P.middle,
554
+ /* @__PURE__ */ m("div", {
555
+ className: I.middle,
431
556
  children: [
432
- i == null ? null : /* @__PURE__ */ n(x, {
557
+ n == null ? null : /* @__PURE__ */ p(D, {
433
558
  level: "2",
434
- className: P.subhead,
435
- children: i
559
+ className: I.subhead,
560
+ children: n
436
561
  }),
437
- y ? /* @__PURE__ */ r(ye, {
562
+ y ? /* @__PURE__ */ m(De, {
438
563
  ios: v,
439
564
  children: [
440
- a == null ? null : /* @__PURE__ */ n("span", {
441
- className: P.title,
442
- children: a
565
+ r == null ? null : /* @__PURE__ */ p("span", {
566
+ className: I.title,
567
+ children: r
443
568
  }),
444
- o == null ? null : /* @__PURE__ */ n("span", {
445
- className: P.hint,
446
- children: o
569
+ i == null ? null : /* @__PURE__ */ p("span", {
570
+ className: I.hint,
571
+ children: i
447
572
  }),
448
- s
573
+ a
449
574
  ]
450
575
  }) : null,
451
- c == null ? null : /* @__PURE__ */ n(x, {
576
+ o == null ? null : /* @__PURE__ */ p(D, {
452
577
  level: "2",
453
- className: P.subtitle,
454
- children: c
578
+ className: I.subtitle,
579
+ children: o
455
580
  }),
456
- l == null ? null : /* @__PURE__ */ n(be, {
581
+ s == null ? null : /* @__PURE__ */ p(Oe, {
457
582
  ios: v,
458
- children: l
583
+ children: s
459
584
  })
460
585
  ]
461
586
  }),
462
- d == null ? null : /* @__PURE__ */ n("div", {
463
- className: P.after,
464
- children: d
587
+ l == null ? null : /* @__PURE__ */ p("div", {
588
+ className: I.after,
589
+ children: l
465
590
  })
466
591
  ]
467
592
  });
468
593
  }
469
- F.displayName = "Cell";
594
+ ke.displayName = "Cell";
470
595
  //#endregion
471
596
  //#region src/components/Card/CardCell.tsx
472
- function I({ ref: e, children: t, subtitle: r, className: i, ...a }) {
473
- let { type: o } = l(M), s = o === "ambient";
474
- return /* @__PURE__ */ n(F, {
597
+ function Ae({ ref: e, children: t, subtitle: n, className: r, ...i }) {
598
+ let { type: o } = a(Te), s = o === "ambient";
599
+ return /* @__PURE__ */ p(ke, {
475
600
  ref: e,
476
- className: h(N.cell, s && N.cellAmbient, i),
477
- subtitle: r == null ? void 0 : /* @__PURE__ */ n("span", {
478
- className: N.cellSubtitle,
479
- children: r
601
+ className: h(F.cell, s && F.cellAmbient, r),
602
+ subtitle: n == null ? void 0 : /* @__PURE__ */ p("span", {
603
+ className: F.cellSubtitle,
604
+ children: n
480
605
  }),
481
- ...a,
482
- children: t == null ? null : /* @__PURE__ */ n("span", {
483
- className: N.cellHeader,
606
+ ...i,
607
+ children: t == null ? null : /* @__PURE__ */ p("span", {
608
+ className: F.cellHeader,
484
609
  children: t
485
610
  })
486
611
  });
487
612
  }
488
- I.displayName = "CardCell";
613
+ Ae.displayName = "CardCell";
489
614
  //#endregion
490
615
  //#region src/components/Card/Card.tsx
491
- function L({ ref: e, type: t = "plain", className: r, children: i, ...a }) {
492
- let o = d(() => ({ type: t }), [t]);
493
- return /* @__PURE__ */ n(M.Provider, {
494
- value: o,
495
- children: /* @__PURE__ */ n("article", {
616
+ function je({ ref: e, type: t = "plain", className: n, children: r, ...i }) {
617
+ let a = s(() => ({ type: t }), [t]);
618
+ return /* @__PURE__ */ p(Te.Provider, {
619
+ value: a,
620
+ children: /* @__PURE__ */ p("article", {
496
621
  ref: e,
497
- className: h(N.card, t === "ambient" && N.cardAmbient, r),
498
- ...a,
499
- children: i
622
+ className: h(F.card, t === "ambient" && F.cardAmbient, n),
623
+ ...i,
624
+ children: r
500
625
  })
501
626
  });
502
627
  }
503
- L.displayName = "Card", L.Cell = I;
504
- var R = {
505
- checkbox: "_checkbox_3wbt9_1",
506
- input: "_input_3wbt9_12",
507
- box: "_box_3wbt9_22"
628
+ je.displayName = "Card", je.Cell = Ae;
629
+ var L = {
630
+ checkbox: "_checkbox_yjw6v_1",
631
+ input: "_input_yjw6v_12",
632
+ box: "_box_yjw6v_22"
508
633
  };
509
634
  //#endregion
510
635
  //#region src/components/Checkbox/Checkbox.tsx
511
- function xe({ ref: e, indeterminate: t = !1, disabled: i, className: a, style: o, ...s }) {
512
- let c = f(null);
513
- return u(() => {
514
- c.current && (c.current.indeterminate = t);
515
- }, [t]), /* @__PURE__ */ r("span", {
516
- className: h(R.checkbox, a),
517
- style: o,
518
- "data-disabled": i || void 0,
519
- children: [/* @__PURE__ */ n("input", {
636
+ function Me({ ref: e, indeterminate: t = !1, disabled: n, className: r, style: i, ...a }) {
637
+ let s = c(null);
638
+ return o(() => {
639
+ s.current && (s.current.indeterminate = t);
640
+ }, [t]), /* @__PURE__ */ m("span", {
641
+ className: h(L.checkbox, r),
642
+ style: i,
643
+ "data-disabled": n || void 0,
644
+ children: [/* @__PURE__ */ p("input", {
520
645
  ref: (t) => {
521
- c.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
646
+ s.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
522
647
  },
523
648
  type: "checkbox",
524
- className: R.input,
525
- disabled: i,
526
- ...s
527
- }), /* @__PURE__ */ n("span", {
528
- className: R.box,
649
+ className: L.input,
650
+ disabled: n,
651
+ ...a
652
+ }), /* @__PURE__ */ p("span", {
653
+ className: L.box,
529
654
  "aria-hidden": !0
530
655
  })]
531
656
  });
532
657
  }
533
- xe.displayName = "Checkbox";
534
- var Se = { divider: "_divider_fq1ux_1" };
658
+ Me.displayName = "Checkbox";
659
+ var R = {
660
+ root: "_root_hheo5_1",
661
+ svg: "_svg_hheo5_6",
662
+ track: "_track_hheo5_10",
663
+ indicator: "_indicator_hheo5_14"
664
+ }, Ne = {
665
+ s: 20,
666
+ m: 28,
667
+ l: 36
668
+ }, Pe = {
669
+ s: 2,
670
+ m: 2.5,
671
+ l: 3
672
+ };
673
+ //#endregion
674
+ //#region src/components/CircularProgress/CircularProgress.tsx
675
+ function Fe({ ref: e, value: t = 0, size: n = "m", className: r, ...i }) {
676
+ let a = Math.max(0, Math.min(100, t)), o = Ne[n], s = Pe[n], c = (o - s) / 2, l = 2 * Math.PI * c, u = o / 2;
677
+ return /* @__PURE__ */ p("span", {
678
+ ref: e,
679
+ role: "progressbar",
680
+ "aria-valuemin": 0,
681
+ "aria-valuemax": 100,
682
+ "aria-valuenow": Math.round(a),
683
+ className: h(R.root, r),
684
+ ...i,
685
+ children: /* @__PURE__ */ m("svg", {
686
+ className: R.svg,
687
+ width: o,
688
+ height: o,
689
+ viewBox: `0 0 ${o} ${o}`,
690
+ "aria-hidden": !0,
691
+ children: [/* @__PURE__ */ p("circle", {
692
+ className: R.track,
693
+ cx: u,
694
+ cy: u,
695
+ r: c,
696
+ strokeWidth: s,
697
+ fill: "none"
698
+ }), /* @__PURE__ */ p("circle", {
699
+ className: R.indicator,
700
+ cx: u,
701
+ cy: u,
702
+ r: c,
703
+ strokeWidth: s,
704
+ strokeLinecap: "round",
705
+ strokeDasharray: l,
706
+ strokeDashoffset: l * (1 - a / 100),
707
+ fill: "none"
708
+ })]
709
+ })
710
+ });
711
+ }
712
+ Fe.displayName = "CircularProgress";
713
+ var Ie = { divider: "_divider_fq1ux_1" };
535
714
  //#endregion
536
715
  //#region src/components/Divider/Divider.tsx
537
- function z({ ref: e, className: t, ...r }) {
538
- return /* @__PURE__ */ n("hr", {
716
+ function z({ ref: e, className: t, ...n }) {
717
+ return /* @__PURE__ */ p("hr", {
539
718
  ref: e,
540
- className: h(Se.divider, t),
541
- ...r
719
+ className: h(Ie.divider, t),
720
+ ...n
542
721
  });
543
722
  }
544
723
  z.displayName = "Divider";
545
- var Ce = { headline: "_headline_17ihj_1" };
724
+ var Le = { headline: "_headline_17ihj_1" };
546
725
  //#endregion
547
726
  //#region src/components/Headline/Headline.tsx
548
- function we({ ref: e, weight: t = "2", className: r, Component: i = "h5", ...a }) {
549
- return /* @__PURE__ */ n(v, {
727
+ function Re({ ref: e, weight: t = "2", className: n, Component: r = "h5", ...i }) {
728
+ return /* @__PURE__ */ p(E, {
550
729
  ref: e,
551
730
  weight: t,
552
- Component: i,
553
- className: h(Ce.headline, r),
554
- ...a
731
+ Component: r,
732
+ className: h(Le.headline, n),
733
+ ...i
555
734
  });
556
735
  }
557
- we.displayName = "Headline";
736
+ Re.displayName = "Headline";
558
737
  var B = {
559
- base: "_base_ja3pv_1",
560
- body: "_body_ja3pv_7",
561
- ios: "_ios_ja3pv_23",
562
- before: "_before_ja3pv_29",
563
- after: "_after_ja3pv_30",
564
- field: "_field_ja3pv_35",
565
- header: "_header_ja3pv_56",
566
- focused: "_focused_ja3pv_70",
567
- error: "_error_ja3pv_78",
568
- disabled: "_disabled_ja3pv_90"
738
+ iconButton: "_iconButton_1ifh1_1",
739
+ circle: "_circle_1ifh1_15",
740
+ s: "_s_1ifh1_19",
741
+ m: "_m_1ifh1_24",
742
+ l: "_l_1ifh1_29",
743
+ ios: "_ios_1ifh1_42",
744
+ icon: "_icon_1ifh1_1",
745
+ "mode-bezeled": "_mode-bezeled_1ifh1_67",
746
+ "mode-plain": "_mode-plain_1ifh1_72",
747
+ "mode-gray": "_mode-gray_1ifh1_76",
748
+ "mode-outline": "_mode-outline_1ifh1_81"
749
+ }, ze = f(B.iconButton, {
750
+ variants: {
751
+ mode: {
752
+ bezeled: B["mode-bezeled"],
753
+ plain: B["mode-plain"],
754
+ gray: B["mode-gray"],
755
+ outline: B["mode-outline"]
756
+ },
757
+ size: {
758
+ s: B.s,
759
+ m: B.m,
760
+ l: B.l
761
+ },
762
+ circle: { true: B.circle },
763
+ platform: {
764
+ ios: B.ios,
765
+ base: null
766
+ }
767
+ },
768
+ defaultVariants: {
769
+ mode: "plain",
770
+ size: "m"
771
+ }
772
+ });
773
+ //#endregion
774
+ //#region src/components/IconButton/IconButton.tsx
775
+ function Be({ ref: e, Component: t = "button", mode: n = "plain", size: r = "m", circle: i = !1, type: a, className: o, children: s, ...c }) {
776
+ let { platform: l } = O();
777
+ return /* @__PURE__ */ p(A, {
778
+ ref: e,
779
+ Component: t,
780
+ type: t === "button" ? a ?? "button" : a,
781
+ className: h(ze({
782
+ mode: n,
783
+ size: r,
784
+ circle: i,
785
+ platform: l
786
+ }), o),
787
+ ...c,
788
+ children: /* @__PURE__ */ p("span", {
789
+ className: B.icon,
790
+ children: s
791
+ })
792
+ });
793
+ }
794
+ Be.displayName = "IconButton";
795
+ var V = {
796
+ base: "_base_1k0ze_1",
797
+ body: "_body_1k0ze_7",
798
+ ios: "_ios_1k0ze_23",
799
+ "align-start": "_align-start_1k0ze_29",
800
+ before: "_before_1k0ze_33",
801
+ after: "_after_1k0ze_34",
802
+ header: "_header_1k0ze_39",
803
+ focused: "_focused_1k0ze_53",
804
+ error: "_error_1k0ze_61",
805
+ disabled: "_disabled_1k0ze_73"
569
806
  };
570
807
  //#endregion
571
- //#region src/components/Input/Input.tsx
572
- function Te({ ref: e, type: t = "text", header: i, before: a, after: o, status: s, disabled: c, className: l, onFocus: u, onBlur: d, ...f }) {
573
- let { platform: m } = C(), g = m === "ios", [_, v] = p(!1), y = s ?? (_ ? "focused" : "default"), b = g ? E : x;
574
- return /* @__PURE__ */ r("div", {
575
- className: h(g ? B.ios : B.base, y === "error" && B.error, y === "focused" && B.focused, c && B.disabled, l),
576
- "aria-disabled": c || void 0,
577
- children: [/* @__PURE__ */ r("label", {
578
- className: B.body,
808
+ //#region src/components/FormField/FormField.tsx
809
+ function H({ ref: e, ios: t = !1, status: n = "default", disabled: r = !1, alignStart: i = !1, header: a, before: o, after: s, className: c, children: l }) {
810
+ return /* @__PURE__ */ m("div", {
811
+ ref: e,
812
+ className: h(t ? V.ios : V.base, n === "error" && V.error, n === "focused" && V.focused, r && V.disabled, i && V["align-start"], c),
813
+ "aria-disabled": r || void 0,
814
+ children: [/* @__PURE__ */ m("label", {
815
+ className: V.body,
579
816
  children: [
580
- a == null ? null : /* @__PURE__ */ n("span", {
581
- className: B.before,
582
- children: a
583
- }),
584
- /* @__PURE__ */ n(b, {
585
- ref: e,
586
- Component: "input",
587
- className: B.field,
588
- type: t,
589
- disabled: c,
590
- onFocus: (e) => {
591
- c || v(!0), u?.(e);
592
- },
593
- onBlur: (e) => {
594
- v(!1), d?.(e);
595
- },
596
- ...f
597
- }),
598
- o == null ? null : /* @__PURE__ */ n("span", {
599
- className: B.after,
817
+ o == null ? null : /* @__PURE__ */ p("span", {
818
+ className: V.before,
600
819
  children: o
820
+ }),
821
+ l,
822
+ s == null ? null : /* @__PURE__ */ p("span", {
823
+ className: V.after,
824
+ children: s
601
825
  })
602
826
  ]
603
- }), i != null && !g ? /* @__PURE__ */ n("span", {
604
- className: B.header,
605
- children: i
827
+ }), a != null && !t ? /* @__PURE__ */ p("span", {
828
+ className: V.header,
829
+ children: a
606
830
  }) : null]
607
831
  });
608
832
  }
609
- Te.displayName = "Input";
833
+ H.displayName = "FormField";
834
+ var Ve = { field: "_field_11zrf_1" };
835
+ //#endregion
836
+ //#region src/components/Input/Input.tsx
837
+ function He({ ref: e, type: t = "text", header: n, before: r, after: i, status: a, disabled: o, className: s, onFocus: c, onBlur: u, ...d }) {
838
+ let { platform: f } = O(), m = f === "ios", [h, g] = l(!1);
839
+ return /* @__PURE__ */ p(H, {
840
+ ios: m,
841
+ status: a ?? (h ? "focused" : "default"),
842
+ disabled: o,
843
+ header: n,
844
+ before: r,
845
+ after: i,
846
+ className: s,
847
+ children: /* @__PURE__ */ p(m ? j : D, {
848
+ ref: e,
849
+ Component: "input",
850
+ className: Ve.field,
851
+ type: t,
852
+ disabled: o,
853
+ onFocus: (e) => {
854
+ o || g(!0), c?.(e);
855
+ },
856
+ onBlur: (e) => {
857
+ g(!1), u?.(e);
858
+ },
859
+ ...d
860
+ })
861
+ });
862
+ }
863
+ He.displayName = "Input";
610
864
  //#endregion
611
865
  //#region src/components/LargeTitle/LargeTitle.module.css
612
- var Ee = { "large-title": "_large-title_15hug_1" };
866
+ var Ue = { "large-title": "_large-title_15hug_1" };
613
867
  //#endregion
614
868
  //#region src/components/LargeTitle/LargeTitle.tsx
615
- function De({ ref: e, weight: t = "1", className: r, Component: i = "h1", ...a }) {
616
- return /* @__PURE__ */ n(v, {
869
+ function We({ ref: e, weight: t = "1", className: n, Component: r = "h1", ...i }) {
870
+ return /* @__PURE__ */ p(E, {
617
871
  ref: e,
618
872
  weight: t,
619
- Component: i,
620
- className: h(Ee["large-title"], r),
621
- ...a
873
+ Component: r,
874
+ className: h(Ue["large-title"], n),
875
+ ...i
622
876
  });
623
877
  }
624
- De.displayName = "LargeTitle";
625
- var Oe = {
878
+ We.displayName = "LargeTitle";
879
+ var Ge = {
626
880
  list: "_list_1rhgw_1",
627
881
  ios: "_ios_1rhgw_5"
628
882
  };
629
883
  //#endregion
630
884
  //#region src/components/List/List.tsx
631
- function ke({ ref: e, Component: t = "div", className: r, children: i, ...a }) {
632
- let { platform: o } = C();
633
- return /* @__PURE__ */ n(t, {
885
+ function Ke({ ref: e, Component: t = "div", className: n, children: r, ...i }) {
886
+ let { platform: a } = O();
887
+ return /* @__PURE__ */ p(t, {
634
888
  ref: e,
635
- className: h(Oe.list, o === "ios" && Oe.ios, r),
636
- ...a,
637
- children: i
889
+ className: h(Ge.list, a === "ios" && Ge.ios, n),
890
+ ...i,
891
+ children: r
638
892
  });
639
893
  }
640
- ke.displayName = "List";
894
+ Ke.displayName = "List";
641
895
  //#endregion
642
896
  //#region src/components/Title/Title.module.css
643
- var V = {
897
+ var U = {
644
898
  "level-1": "_level-1_rosk9_1",
645
899
  "level-2": "_level-2_rosk9_6",
646
900
  "level-3": "_level-3_rosk9_11"
647
- }, Ae = {
901
+ }, qe = {
648
902
  1: {
649
903
  tag: "h2",
650
- className: V["level-1"]
904
+ className: U["level-1"]
651
905
  },
652
906
  2: {
653
907
  tag: "h3",
654
- className: V["level-2"]
908
+ className: U["level-2"]
655
909
  },
656
910
  3: {
657
911
  tag: "h4",
658
- className: V["level-3"]
912
+ className: U["level-3"]
659
913
  }
660
914
  };
661
915
  //#endregion
662
916
  //#region src/components/Title/Title.tsx
663
- function H({ ref: e, level: t = "2", Component: r, className: i, ...a }) {
664
- let { tag: o, className: s } = Ae[t];
665
- return /* @__PURE__ */ n(v, {
917
+ function W({ ref: e, level: t = "2", Component: n, className: r, ...i }) {
918
+ let { tag: a, className: o } = qe[t];
919
+ return /* @__PURE__ */ p(E, {
666
920
  ref: e,
667
- Component: r ?? o,
668
- className: h(s, i),
669
- ...a
921
+ Component: n ?? a,
922
+ className: h(o, r),
923
+ ...i
670
924
  });
671
925
  }
672
- H.displayName = "Title";
673
- var U = {
926
+ W.displayName = "Title";
927
+ var G = {
674
928
  placeholder: "_placeholder_4t5fq_1",
675
929
  fields: "_fields_4t5fq_13",
676
930
  description: "_description_4t5fq_19"
677
931
  };
678
932
  //#endregion
679
933
  //#region src/components/Placeholder/Placeholder.tsx
680
- function je({ ref: e, children: t, header: i, description: a, action: o, className: s, ...c }) {
681
- return /* @__PURE__ */ r("section", {
934
+ function Je({ ref: e, children: t, header: n, description: r, action: i, className: a, ...o }) {
935
+ return /* @__PURE__ */ m("section", {
682
936
  ref: e,
683
- className: h(U.placeholder, s),
684
- ...c,
937
+ className: h(G.placeholder, a),
938
+ ...o,
685
939
  children: [
686
940
  t,
687
- i != null || a != null ? /* @__PURE__ */ r("dl", {
688
- className: U.fields,
689
- children: [i == null ? null : /* @__PURE__ */ n(H, {
941
+ n != null || r != null ? /* @__PURE__ */ m("dl", {
942
+ className: G.fields,
943
+ children: [n == null ? null : /* @__PURE__ */ p(W, {
690
944
  Component: "dt",
691
945
  level: "3",
692
946
  weight: "2",
693
- children: i
694
- }), a == null ? null : /* @__PURE__ */ n(E, {
947
+ children: n
948
+ }), r == null ? null : /* @__PURE__ */ p(j, {
695
949
  Component: "dd",
696
- className: U.description,
697
- children: a
950
+ className: G.description,
951
+ children: r
698
952
  })]
699
953
  }) : null,
700
- o
954
+ i
701
955
  ]
702
956
  });
703
957
  }
704
- je.displayName = "Placeholder";
705
- var W = {
958
+ Je.displayName = "Placeholder";
959
+ var Ye = {
960
+ track: "_track_5w1vs_1",
961
+ bar: "_bar_5w1vs_9"
962
+ };
963
+ //#endregion
964
+ //#region src/components/Progress/Progress.tsx
965
+ function Xe({ ref: e, value: t = 0, className: n, ...r }) {
966
+ let i = Math.max(0, Math.min(100, t));
967
+ return /* @__PURE__ */ p("div", {
968
+ ref: e,
969
+ role: "progressbar",
970
+ "aria-valuemin": 0,
971
+ "aria-valuemax": 100,
972
+ "aria-valuenow": Math.round(i),
973
+ className: h(Ye.track, n),
974
+ ...r,
975
+ children: /* @__PURE__ */ p("div", {
976
+ className: Ye.bar,
977
+ style: { width: `${i}%` }
978
+ })
979
+ });
980
+ }
981
+ Xe.displayName = "Progress";
982
+ var K = {
983
+ radio: "_radio_czv9z_1",
984
+ input: "_input_czv9z_12",
985
+ dot: "_dot_czv9z_22"
986
+ };
987
+ //#endregion
988
+ //#region src/components/Radio/Radio.tsx
989
+ function Ze({ ref: e, disabled: t, className: n, style: r, ...i }) {
990
+ return /* @__PURE__ */ m("span", {
991
+ className: h(K.radio, n),
992
+ style: r,
993
+ "data-disabled": t || void 0,
994
+ children: [/* @__PURE__ */ p("input", {
995
+ ref: e,
996
+ type: "radio",
997
+ className: K.input,
998
+ disabled: t,
999
+ ...i
1000
+ }), /* @__PURE__ */ p("span", {
1001
+ className: K.dot,
1002
+ "aria-hidden": !0
1003
+ })]
1004
+ });
1005
+ }
1006
+ Ze.displayName = "Radio";
1007
+ var q = {
706
1008
  body: "_body_1o4ef_1",
707
1009
  sectionBase: "_sectionBase_1o4ef_6",
708
1010
  bodyWithHeader: "_bodyWithHeader_1o4ef_6",
@@ -717,130 +1019,147 @@ var W = {
717
1019
  };
718
1020
  //#endregion
719
1021
  //#region src/components/Section/SectionFooter.tsx
720
- function Me({ ios: e, children: t }) {
721
- return e ? /* @__PURE__ */ n(j, {
722
- className: W.footerText,
1022
+ function Qe({ ios: e, children: t }) {
1023
+ return e ? /* @__PURE__ */ p(P, {
1024
+ className: q.footerText,
723
1025
  children: t
724
- }) : /* @__PURE__ */ n(x, {
1026
+ }) : /* @__PURE__ */ p(D, {
725
1027
  level: "2",
726
- className: W.footerText,
1028
+ className: q.footerText,
727
1029
  children: t
728
1030
  });
729
1031
  }
730
- function G({ ref: e, centered: t = !1, className: r, children: i, ...a }) {
731
- let { platform: o } = C(), s = o === "ios";
732
- return /* @__PURE__ */ n("footer", {
1032
+ function J({ ref: e, centered: t = !1, className: n, children: r, ...i }) {
1033
+ let { platform: a } = O(), o = a === "ios";
1034
+ return /* @__PURE__ */ p("footer", {
733
1035
  ref: e,
734
- className: h(W.footer, s && W.footerIos, t && W.footerCentered, r),
735
- ...a,
736
- children: /* @__PURE__ */ n(Me, {
737
- ios: s,
738
- children: i
1036
+ className: h(q.footer, o && q.footerIos, t && q.footerCentered, n),
1037
+ ...i,
1038
+ children: /* @__PURE__ */ p(Qe, {
1039
+ ios: o,
1040
+ children: r
739
1041
  })
740
1042
  });
741
1043
  }
742
- G.displayName = "SectionFooter";
1044
+ J.displayName = "SectionFooter";
743
1045
  //#endregion
744
1046
  //#region src/components/Section/SectionHeader.tsx
745
- function Ne({ ios: e, large: t, children: r }) {
746
- return t ? e ? /* @__PURE__ */ n(x, {
1047
+ function $e({ ios: e, large: t, children: n }) {
1048
+ return t ? e ? /* @__PURE__ */ p(D, {
747
1049
  Component: "h2",
748
1050
  level: "1",
749
1051
  weight: "2",
750
- children: r
751
- }) : /* @__PURE__ */ n(E, {
1052
+ children: n
1053
+ }) : /* @__PURE__ */ p(j, {
752
1054
  Component: "h2",
753
1055
  weight: "2",
754
- children: r
755
- }) : e ? /* @__PURE__ */ n(j, {
1056
+ children: n
1057
+ }) : e ? /* @__PURE__ */ p(P, {
756
1058
  Component: "h2",
757
1059
  caps: !0,
758
- children: r
759
- }) : /* @__PURE__ */ n(x, {
1060
+ children: n
1061
+ }) : /* @__PURE__ */ p(D, {
760
1062
  Component: "h2",
761
1063
  level: "2",
762
1064
  weight: "2",
763
- children: r
1065
+ children: n
764
1066
  });
765
1067
  }
766
- function K({ ref: e, large: t = !1, className: r, children: i, ...a }) {
767
- let { platform: o } = C(), s = o === "ios";
768
- return /* @__PURE__ */ n("header", {
1068
+ function Y({ ref: e, large: t = !1, className: n, children: r, ...i }) {
1069
+ let { platform: a } = O(), o = a === "ios";
1070
+ return /* @__PURE__ */ p("header", {
769
1071
  ref: e,
770
- className: h(W.header, s && W.headerIos, t && W.headerLarge, r),
771
- ...a,
772
- children: /* @__PURE__ */ n(Ne, {
773
- ios: s,
1072
+ className: h(q.header, o && q.headerIos, t && q.headerLarge, n),
1073
+ ...i,
1074
+ children: /* @__PURE__ */ p($e, {
1075
+ ios: o,
774
1076
  large: t,
775
- children: i
1077
+ children: r
776
1078
  })
777
1079
  });
778
1080
  }
779
- K.displayName = "SectionHeader";
1081
+ Y.displayName = "SectionHeader";
780
1082
  //#endregion
781
1083
  //#region src/components/Section/Section.tsx
782
- var q = (e) => typeof e == "string" || typeof e == "number";
783
- function J({ ref: e, header: t, footer: o, className: c, children: l, ...u }) {
784
- let { platform: d } = C(), f = i.toArray(l);
785
- return /* @__PURE__ */ r("section", {
786
- ref: e,
787
- className: h(d === "ios" ? W.sectionIos : W.sectionBase, c),
788
- ...u,
789
- children: [/* @__PURE__ */ r("div", {
790
- className: W.bodyWithHeader,
791
- children: [q(t) ? /* @__PURE__ */ n(K, { children: t }) : t, /* @__PURE__ */ n("div", {
792
- className: W.body,
793
- children: f.map((e, t) => /* @__PURE__ */ r(a, { children: [e, t < f.length - 1 ? /* @__PURE__ */ n(z, {}) : null] }, s(e) ? e.key : t))
1084
+ var et = (e) => typeof e == "string" || typeof e == "number";
1085
+ function X({ ref: n, header: i, footer: a, className: o, children: s, ...c }) {
1086
+ let { platform: l } = O(), u = e.toArray(s);
1087
+ return /* @__PURE__ */ m("section", {
1088
+ ref: n,
1089
+ className: h(l === "ios" ? q.sectionIos : q.sectionBase, o),
1090
+ ...c,
1091
+ children: [/* @__PURE__ */ m("div", {
1092
+ className: q.bodyWithHeader,
1093
+ children: [et(i) ? /* @__PURE__ */ p(Y, { children: i }) : i, /* @__PURE__ */ p("div", {
1094
+ className: q.body,
1095
+ children: u.map((e, n) => /* @__PURE__ */ m(t, { children: [e, n < u.length - 1 ? /* @__PURE__ */ p(z, {}) : null] }, r(e) ? e.key : n))
794
1096
  })]
795
- }), q(o) ? /* @__PURE__ */ n(G, { children: o }) : o]
796
- });
797
- }
798
- J.displayName = "Section", J.Header = K, J.Footer = G;
799
- var Y = {
800
- base: "_base_9dgop_1",
801
- row: "_row_9dgop_7",
802
- ios: "_ios_9dgop_14",
803
- select: "_select_9dgop_19",
804
- chevron: "_chevron_9dgop_33",
805
- header: "_header_9dgop_45",
806
- focused: "_focused_9dgop_59",
807
- error: "_error_9dgop_67",
808
- disabled: "_disabled_9dgop_79"
1097
+ }), et(a) ? /* @__PURE__ */ p(J, { children: a }) : a]
1098
+ });
1099
+ }
1100
+ X.displayName = "Section", X.Header = Y, X.Footer = J;
1101
+ var Z = {
1102
+ base: "_base_yxki5_1",
1103
+ row: "_row_yxki5_7",
1104
+ ios: "_ios_yxki5_17",
1105
+ select: "_select_yxki5_22",
1106
+ chevron: "_chevron_yxki5_36",
1107
+ header: "_header_yxki5_48",
1108
+ focused: "_focused_yxki5_62",
1109
+ error: "_error_yxki5_70",
1110
+ disabled: "_disabled_yxki5_82"
809
1111
  };
810
1112
  //#endregion
811
1113
  //#region src/components/Select/Select.tsx
812
- function Pe({ ref: e, header: t, status: i, disabled: a, className: o, onFocus: s, onBlur: c, children: l, ...u }) {
813
- let { platform: d } = C(), f = d === "ios", [m, g] = p(!1), _ = i ?? (m ? "focused" : "default"), v = f ? E : x;
814
- return /* @__PURE__ */ r("div", {
815
- className: h(f ? Y.ios : Y.base, _ === "error" && Y.error, _ === "focused" && Y.focused, a && Y.disabled, o),
816
- "aria-disabled": a || void 0,
817
- children: [/* @__PURE__ */ r("div", {
818
- className: Y.row,
819
- children: [/* @__PURE__ */ n(v, {
1114
+ function tt({ ref: e, header: t, status: n, disabled: r, className: i, onFocus: a, onBlur: o, children: s, ...c }) {
1115
+ let { platform: u } = O(), d = u === "ios", [f, g] = l(!1), _ = n ?? (f ? "focused" : "default"), v = d ? j : D;
1116
+ return /* @__PURE__ */ m("div", {
1117
+ className: h(d ? Z.ios : Z.base, _ === "error" && Z.error, _ === "focused" && Z.focused, r && Z.disabled, i),
1118
+ "aria-disabled": r || void 0,
1119
+ children: [/* @__PURE__ */ m("div", {
1120
+ className: Z.row,
1121
+ children: [/* @__PURE__ */ p(v, {
820
1122
  ref: e,
821
1123
  Component: "select",
822
- className: Y.select,
823
- disabled: a,
1124
+ className: Z.select,
1125
+ disabled: r,
824
1126
  onFocus: (e) => {
825
- a || g(!0), s?.(e);
1127
+ r || g(!0), a?.(e);
826
1128
  },
827
1129
  onBlur: (e) => {
828
- g(!1), c?.(e);
1130
+ g(!1), o?.(e);
829
1131
  },
830
- ...u,
831
- children: l
832
- }), /* @__PURE__ */ n("span", {
1132
+ ...c,
1133
+ children: s
1134
+ }), /* @__PURE__ */ p("span", {
833
1135
  "aria-hidden": !0,
834
- className: Y.chevron
1136
+ className: Z.chevron
835
1137
  })]
836
- }), t != null && !f ? /* @__PURE__ */ n("span", {
837
- className: Y.header,
1138
+ }), t != null && !d ? /* @__PURE__ */ p("span", {
1139
+ className: Z.header,
838
1140
  children: t
839
1141
  }) : null]
840
1142
  });
841
1143
  }
842
- Pe.displayName = "Select";
843
- var X = {
1144
+ tt.displayName = "Select";
1145
+ var nt = {
1146
+ skeleton: "_skeleton_197j4_1",
1147
+ visible: "_visible_197j4_5",
1148
+ "tgui-skeleton": "_tgui-skeleton_197j4_1"
1149
+ };
1150
+ //#endregion
1151
+ //#region src/components/Skeleton/Skeleton.tsx
1152
+ function rt({ ref: e, visible: t = !0, className: n, children: r, ...i }) {
1153
+ return /* @__PURE__ */ p("div", {
1154
+ ref: e,
1155
+ "aria-hidden": t || void 0,
1156
+ className: h(nt.skeleton, t && nt.visible, n),
1157
+ ...i,
1158
+ children: r
1159
+ });
1160
+ }
1161
+ rt.displayName = "Skeleton";
1162
+ var Q = {
844
1163
  switch: "_switch_s4zd1_1",
845
1164
  input: "_input_s4zd1_18",
846
1165
  control: "_control_s4zd1_28",
@@ -849,70 +1168,116 @@ var X = {
849
1168
  };
850
1169
  //#endregion
851
1170
  //#region src/components/Switch/Switch.tsx
852
- function Fe({ ref: e, disabled: t, className: i, style: a, ...o }) {
853
- let { platform: s } = C();
854
- return /* @__PURE__ */ r("label", {
855
- className: h(X.switch, s === "ios" ? X.ios : X.base, i),
856
- style: a,
1171
+ function it({ ref: e, disabled: t, className: n, style: r, ...i }) {
1172
+ let { platform: a } = O();
1173
+ return /* @__PURE__ */ m("label", {
1174
+ className: h(Q.switch, a === "ios" ? Q.ios : Q.base, n),
1175
+ style: r,
857
1176
  "data-disabled": t || void 0,
858
- children: [/* @__PURE__ */ n("input", {
1177
+ children: [/* @__PURE__ */ p("input", {
859
1178
  ref: e,
860
1179
  type: "checkbox",
861
- className: X.input,
1180
+ className: Q.input,
862
1181
  disabled: t,
863
- ...o
864
- }), /* @__PURE__ */ n("span", {
1182
+ ...i
1183
+ }), /* @__PURE__ */ p("span", {
865
1184
  "aria-hidden": !0,
866
- className: X.control
1185
+ className: Q.control
867
1186
  })]
868
1187
  });
869
1188
  }
870
- Fe.displayName = "Switch";
871
- var Z = {
872
- bar: "_bar_y3gvr_1",
873
- barIos: "_barIos_y3gvr_10",
874
- item: "_item_y3gvr_15",
875
- itemIos: "_itemIos_y3gvr_34",
876
- itemSelected: "_itemSelected_y3gvr_39",
877
- icon: "_icon_y3gvr_43",
878
- text: "_text_y3gvr_64"
1189
+ it.displayName = "Switch";
1190
+ var $ = {
1191
+ bar: "_bar_muj3n_1",
1192
+ barIos: "_barIos_muj3n_10",
1193
+ item: "_item_muj3n_15",
1194
+ itemIos: "_itemIos_muj3n_33",
1195
+ itemSelected: "_itemSelected_muj3n_38",
1196
+ icon: "_icon_muj3n_42",
1197
+ text: "_text_muj3n_62"
879
1198
  };
880
1199
  //#endregion
881
1200
  //#region src/components/TabBar/TabBarItem.tsx
882
- function Q({ ref: e, selected: t, text: i, children: a, className: o, ...s }) {
883
- let { platform: c } = C(), l = c === "ios";
884
- return /* @__PURE__ */ r(T, {
1201
+ function at({ ref: e, selected: t, text: n, children: r, className: i, ...a }) {
1202
+ let { platform: o } = O(), s = o === "ios";
1203
+ return /* @__PURE__ */ m(A, {
885
1204
  ref: e,
886
1205
  Component: "button",
887
1206
  interactiveAnimation: "opacity",
888
1207
  "aria-current": t ? "page" : void 0,
889
- className: h(Z.item, l && Z.itemIos, t && Z.itemSelected, o),
890
- ...s,
891
- children: [a == null ? null : /* @__PURE__ */ n("span", {
892
- className: Z.icon,
893
- children: a
894
- }), i == null ? null : /* @__PURE__ */ n(j, {
895
- className: Z.text,
1208
+ className: h($.item, s && $.itemIos, t && $.itemSelected, i),
1209
+ ...a,
1210
+ children: [r == null ? null : /* @__PURE__ */ p("span", {
1211
+ className: $.icon,
1212
+ children: r
1213
+ }), n == null ? null : /* @__PURE__ */ p(P, {
1214
+ className: $.text,
896
1215
  weight: "2",
897
- level: l ? "2" : "1",
898
- children: i
1216
+ level: s ? "2" : "1",
1217
+ children: n
899
1218
  })]
900
1219
  });
901
1220
  }
902
- Q.displayName = "TabBarItem";
1221
+ at.displayName = "TabBarItem";
903
1222
  //#endregion
904
1223
  //#region src/components/TabBar/TabBar.tsx
905
- function $({ ref: e, className: t, children: r, ...i }) {
906
- let { platform: a } = C();
907
- return /* @__PURE__ */ n("nav", {
1224
+ function ot({ ref: e, className: t, children: n, ...r }) {
1225
+ let { platform: i } = O();
1226
+ return /* @__PURE__ */ p("nav", {
908
1227
  ref: e,
909
- className: h(Z.bar, a === "ios" && Z.barIos, t),
910
- ...i,
911
- children: r
1228
+ className: h($.bar, i === "ios" && $.barIos, t),
1229
+ ...r,
1230
+ children: n
1231
+ });
1232
+ }
1233
+ ot.displayName = "TabBar", ot.Item = at;
1234
+ var st = { field: "_field_1crg0_1" };
1235
+ //#endregion
1236
+ //#region src/components/Textarea/Textarea.tsx
1237
+ function ct({ ref: e, header: t, status: n, autoGrow: r = !1, maxRows: a, rows: s = 3, disabled: u, className: d, value: f, defaultValue: m, onFocus: h, onBlur: g, onChange: _, ...v }) {
1238
+ let { platform: y } = O(), b = y === "ios", [ee, x] = l(!1), S = n ?? (ee ? "focused" : "default"), te = b ? j : D, C = c(null), w = i((t) => {
1239
+ C.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
1240
+ }, [e]), T = i(() => {
1241
+ let e = C.current;
1242
+ if (!e || !r) return;
1243
+ e.style.height = "auto";
1244
+ let t = getComputedStyle(e), n = Number.parseFloat(t.lineHeight) || 20, i = a ? n * a : Infinity;
1245
+ e.style.height = `${Math.min(e.scrollHeight, i)}px`, e.style.overflowY = e.scrollHeight > i ? "auto" : "hidden";
1246
+ }, [r, a]);
1247
+ return o(T, [
1248
+ T,
1249
+ f,
1250
+ m
1251
+ ]), /* @__PURE__ */ p(H, {
1252
+ ios: b,
1253
+ status: S,
1254
+ disabled: u,
1255
+ alignStart: !0,
1256
+ header: t,
1257
+ className: d,
1258
+ children: /* @__PURE__ */ p(te, {
1259
+ ref: w,
1260
+ Component: "textarea",
1261
+ className: st.field,
1262
+ rows: s,
1263
+ disabled: u,
1264
+ value: f,
1265
+ defaultValue: m,
1266
+ onFocus: (e) => {
1267
+ u || x(!0), h?.(e);
1268
+ },
1269
+ onBlur: (e) => {
1270
+ x(!1), g?.(e);
1271
+ },
1272
+ onChange: (e) => {
1273
+ T(), _?.(e);
1274
+ },
1275
+ ...v
1276
+ })
912
1277
  });
913
1278
  }
914
- $.displayName = "TabBar", $.Item = Q;
1279
+ ct.displayName = "Textarea";
915
1280
  //#endregion
916
- export { he as Button, j as Caption, L as Card, I as CardCell, F as Cell, xe as Checkbox, z as Divider, we as Headline, Te as Input, De as LargeTitle, ke as List, je as Placeholder, J as Section, G as SectionFooter, K as SectionHeader, Pe as Select, x as Subheadline, Fe as Switch, $ as TabBar, Q as TabBarItem, T as Tappable, E as Text, fe as TguiProvider, H as Title, v as Typography, C as useTgui };
1281
+ export { y as Avatar, x as Badge, Se as Button, P as Caption, je as Card, Ae as CardCell, ke as Cell, Me as Checkbox, Fe as CircularProgress, z as Divider, Re as Headline, Be as IconButton, He as Input, We as LargeTitle, Ke as List, Je as Placeholder, Xe as Progress, Ze as Radio, X as Section, J as SectionFooter, Y as SectionHeader, tt as Select, rt as Skeleton, C as Spinner, D as Subheadline, it as Switch, ot as TabBar, at as TabBarItem, A as Tappable, j as Text, ct as Textarea, ye as TguiProvider, W as Title, E as Typography, O as useTgui };
917
1282
 
918
1283
  //# sourceMappingURL=index.js.map