@matbea-ui/matbea-ui 0.1.9 → 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.
Files changed (158) hide show
  1. package/dist/matbea-ui.cjs.js +2289 -1
  2. package/dist/matbea-ui.cjs.js.map +1 -0
  3. package/dist/matbea-ui.es.js +2257 -59
  4. package/dist/matbea-ui.es.js.map +1 -0
  5. package/dist/types/index.d.ts +330 -0
  6. package/package.json +23 -13
  7. package/dist/fonts/ProximaNova-Bold.woff2 +0 -0
  8. package/dist/fonts/ProximaNova-RegularIt.woff2 +0 -0
  9. package/dist/fonts/ProximaNova-Semibold.woff2 +0 -0
  10. package/dist/matbea-ui.cjs10.js +0 -1
  11. package/dist/matbea-ui.cjs11.js +0 -1
  12. package/dist/matbea-ui.cjs12.js +0 -1
  13. package/dist/matbea-ui.cjs13.js +0 -1
  14. package/dist/matbea-ui.cjs14.js +0 -1
  15. package/dist/matbea-ui.cjs15.js +0 -1
  16. package/dist/matbea-ui.cjs16.js +0 -1
  17. package/dist/matbea-ui.cjs17.js +0 -1
  18. package/dist/matbea-ui.cjs18.js +0 -1
  19. package/dist/matbea-ui.cjs19.js +0 -1
  20. package/dist/matbea-ui.cjs2.js +0 -1
  21. package/dist/matbea-ui.cjs20.js +0 -1
  22. package/dist/matbea-ui.cjs21.js +0 -1
  23. package/dist/matbea-ui.cjs22.js +0 -1
  24. package/dist/matbea-ui.cjs23.js +0 -1
  25. package/dist/matbea-ui.cjs24.js +0 -1
  26. package/dist/matbea-ui.cjs25.js +0 -1
  27. package/dist/matbea-ui.cjs26.js +0 -1
  28. package/dist/matbea-ui.cjs27.js +0 -1
  29. package/dist/matbea-ui.cjs28.js +0 -1
  30. package/dist/matbea-ui.cjs29.js +0 -1
  31. package/dist/matbea-ui.cjs3.js +0 -1
  32. package/dist/matbea-ui.cjs30.js +0 -1
  33. package/dist/matbea-ui.cjs31.js +0 -1
  34. package/dist/matbea-ui.cjs32.js +0 -63
  35. package/dist/matbea-ui.cjs33.js +0 -34
  36. package/dist/matbea-ui.cjs34.js +0 -44
  37. package/dist/matbea-ui.cjs35.js +0 -1
  38. package/dist/matbea-ui.cjs36.js +0 -11
  39. package/dist/matbea-ui.cjs37.js +0 -71
  40. package/dist/matbea-ui.cjs38.js +0 -14
  41. package/dist/matbea-ui.cjs39.js +0 -11
  42. package/dist/matbea-ui.cjs4.js +0 -1
  43. package/dist/matbea-ui.cjs40.js +0 -1
  44. package/dist/matbea-ui.cjs41.js +0 -1
  45. package/dist/matbea-ui.cjs42.js +0 -37
  46. package/dist/matbea-ui.cjs43.js +0 -62
  47. package/dist/matbea-ui.cjs44.js +0 -102
  48. package/dist/matbea-ui.cjs45.js +0 -103
  49. package/dist/matbea-ui.cjs46.js +0 -7
  50. package/dist/matbea-ui.cjs47.js +0 -1
  51. package/dist/matbea-ui.cjs48.js +0 -1
  52. package/dist/matbea-ui.cjs49.js +0 -55
  53. package/dist/matbea-ui.cjs5.js +0 -1
  54. package/dist/matbea-ui.cjs50.js +0 -23
  55. package/dist/matbea-ui.cjs51.js +0 -38
  56. package/dist/matbea-ui.cjs52.js +0 -51
  57. package/dist/matbea-ui.cjs53.js +0 -1
  58. package/dist/matbea-ui.cjs54.js +0 -1
  59. package/dist/matbea-ui.cjs55.js +0 -27
  60. package/dist/matbea-ui.cjs56.js +0 -48
  61. package/dist/matbea-ui.cjs57.js +0 -1
  62. package/dist/matbea-ui.cjs58.js +0 -1
  63. package/dist/matbea-ui.cjs59.js +0 -1
  64. package/dist/matbea-ui.cjs6.js +0 -1
  65. package/dist/matbea-ui.cjs60.js +0 -34
  66. package/dist/matbea-ui.cjs61.js +0 -11
  67. package/dist/matbea-ui.cjs62.js +0 -24
  68. package/dist/matbea-ui.cjs63.js +0 -27
  69. package/dist/matbea-ui.cjs64.js +0 -29
  70. package/dist/matbea-ui.cjs65.js +0 -1
  71. package/dist/matbea-ui.cjs66.js +0 -20
  72. package/dist/matbea-ui.cjs67.js +0 -1
  73. package/dist/matbea-ui.cjs68.js +0 -1
  74. package/dist/matbea-ui.cjs69.js +0 -1
  75. package/dist/matbea-ui.cjs7.js +0 -1
  76. package/dist/matbea-ui.cjs70.js +0 -6
  77. package/dist/matbea-ui.cjs71.js +0 -6
  78. package/dist/matbea-ui.cjs72.js +0 -1
  79. package/dist/matbea-ui.cjs73.js +0 -1
  80. package/dist/matbea-ui.cjs74.js +0 -1
  81. package/dist/matbea-ui.cjs75.js +0 -1
  82. package/dist/matbea-ui.cjs8.js +0 -1
  83. package/dist/matbea-ui.cjs9.js +0 -1
  84. package/dist/matbea-ui.es10.js +0 -10
  85. package/dist/matbea-ui.es11.js +0 -47
  86. package/dist/matbea-ui.es12.js +0 -178
  87. package/dist/matbea-ui.es13.js +0 -188
  88. package/dist/matbea-ui.es14.js +0 -12
  89. package/dist/matbea-ui.es15.js +0 -31
  90. package/dist/matbea-ui.es16.js +0 -25
  91. package/dist/matbea-ui.es17.js +0 -40
  92. package/dist/matbea-ui.es18.js +0 -43
  93. package/dist/matbea-ui.es19.js +0 -59
  94. package/dist/matbea-ui.es2.js +0 -38
  95. package/dist/matbea-ui.es20.js +0 -25
  96. package/dist/matbea-ui.es21.js +0 -13
  97. package/dist/matbea-ui.es22.js +0 -33
  98. package/dist/matbea-ui.es23.js +0 -16
  99. package/dist/matbea-ui.es24.js +0 -25
  100. package/dist/matbea-ui.es25.js +0 -36
  101. package/dist/matbea-ui.es26.js +0 -29
  102. package/dist/matbea-ui.es27.js +0 -30
  103. package/dist/matbea-ui.es28.js +0 -20
  104. package/dist/matbea-ui.es29.js +0 -13
  105. package/dist/matbea-ui.es3.js +0 -24
  106. package/dist/matbea-ui.es30.js +0 -41
  107. package/dist/matbea-ui.es31.js +0 -5
  108. package/dist/matbea-ui.es32.js +0 -163
  109. package/dist/matbea-ui.es33.js +0 -40
  110. package/dist/matbea-ui.es34.js +0 -330
  111. package/dist/matbea-ui.es35.js +0 -15
  112. package/dist/matbea-ui.es36.js +0 -26
  113. package/dist/matbea-ui.es37.js +0 -85
  114. package/dist/matbea-ui.es38.js +0 -18
  115. package/dist/matbea-ui.es39.js +0 -18
  116. package/dist/matbea-ui.es4.js +0 -31
  117. package/dist/matbea-ui.es40.js +0 -24
  118. package/dist/matbea-ui.es41.js +0 -10
  119. package/dist/matbea-ui.es42.js +0 -42
  120. package/dist/matbea-ui.es43.js +0 -70
  121. package/dist/matbea-ui.es44.js +0 -119
  122. package/dist/matbea-ui.es45.js +0 -131
  123. package/dist/matbea-ui.es46.js +0 -13
  124. package/dist/matbea-ui.es47.js +0 -25
  125. package/dist/matbea-ui.es48.js +0 -34
  126. package/dist/matbea-ui.es49.js +0 -64
  127. package/dist/matbea-ui.es5.js +0 -19
  128. package/dist/matbea-ui.es50.js +0 -39
  129. package/dist/matbea-ui.es51.js +0 -44
  130. package/dist/matbea-ui.es52.js +0 -58
  131. package/dist/matbea-ui.es53.js +0 -17
  132. package/dist/matbea-ui.es54.js +0 -26
  133. package/dist/matbea-ui.es55.js +0 -58
  134. package/dist/matbea-ui.es56.js +0 -62
  135. package/dist/matbea-ui.es57.js +0 -12
  136. package/dist/matbea-ui.es58.js +0 -12
  137. package/dist/matbea-ui.es59.js +0 -15
  138. package/dist/matbea-ui.es6.js +0 -62
  139. package/dist/matbea-ui.es60.js +0 -74
  140. package/dist/matbea-ui.es61.js +0 -17
  141. package/dist/matbea-ui.es62.js +0 -55
  142. package/dist/matbea-ui.es63.js +0 -57
  143. package/dist/matbea-ui.es64.js +0 -59
  144. package/dist/matbea-ui.es65.js +0 -21
  145. package/dist/matbea-ui.es66.js +0 -34
  146. package/dist/matbea-ui.es67.js +0 -10
  147. package/dist/matbea-ui.es68.js +0 -4
  148. package/dist/matbea-ui.es69.js +0 -26
  149. package/dist/matbea-ui.es7.js +0 -5
  150. package/dist/matbea-ui.es70.js +0 -236
  151. package/dist/matbea-ui.es71.js +0 -10
  152. package/dist/matbea-ui.es72.js +0 -9
  153. package/dist/matbea-ui.es73.js +0 -12
  154. package/dist/matbea-ui.es74.js +0 -4
  155. package/dist/matbea-ui.es75.js +0 -4
  156. package/dist/matbea-ui.es8.js +0 -6
  157. package/dist/matbea-ui.es9.js +0 -27
  158. package/dist/vite.svg +0 -1
@@ -1,188 +0,0 @@
1
- import { j as T } from "./matbea-ui.es31.js";
2
- import { useState as q, useRef as d, useId as pt, useMemo as wt, useCallback as I, useLayoutEffect as bt, useEffect as K } from "react";
3
- import { TooltipWrapper as gt, TooltipTrigger as vt, TooltipBubble as Tt, TooltipContentText as Et, TooltipArrow as Lt } from "./matbea-ui.es45.js";
4
- const o = 8, l = 12, V = 12, xt = {
5
- top: ["top", "bottom", "right", "left"],
6
- bottom: ["bottom", "top", "right", "left"],
7
- left: ["left", "right", "top", "bottom"],
8
- right: ["right", "left", "top", "bottom"]
9
- }, M = (p, A, a) => Math.min(Math.max(p, A), a), kt = ({
10
- content: p,
11
- children: A,
12
- position: a = "top",
13
- open: Y,
14
- defaultOpen: Z = !1,
15
- onOpenChange: B,
16
- showDelay: X = 150,
17
- hideDelay: _ = 150,
18
- interactive: j = !1,
19
- disabled: c = !1,
20
- hideOnClick: J = !1,
21
- maxWidth: E
22
- }) => {
23
- const [Q, tt] = q(Z), P = typeof Y == "boolean", i = P ? !!Y : Q, H = d(null), L = d(null), w = d(null), x = d(null), R = d(null), u = d(null), N = pt(), S = wt(
24
- () => ({
25
- top: -9999,
26
- left: -9999,
27
- arrowX: 0,
28
- arrowY: 0,
29
- placement: a
30
- }),
31
- [a]
32
- ), [f, W] = q(S), y = () => {
33
- x.current && (clearTimeout(x.current), x.current = null), R.current && (clearTimeout(R.current), R.current = null);
34
- }, s = I(
35
- (e) => {
36
- P || tt(e), e || W(S), B?.(e);
37
- },
38
- [S, P, B]
39
- ), D = I(() => {
40
- c || (y(), x.current = setTimeout(() => s(!0), X));
41
- }, [c, s, X]), $ = I(() => {
42
- c || (y(), R.current = setTimeout(() => s(!1), _));
43
- }, [c, s, _]), et = () => {
44
- c || D();
45
- }, nt = () => {
46
- c || $();
47
- }, rt = () => {
48
- c || D();
49
- }, ot = () => {
50
- c || $();
51
- }, ct = () => {
52
- J && s(!1);
53
- }, it = () => {
54
- j && y();
55
- }, st = () => {
56
- j && $();
57
- }, G = I(() => {
58
- if (typeof window > "u" || !L.current || !w.current)
59
- return;
60
- const e = L.current.getBoundingClientRect(), t = w.current.getBoundingClientRect(), r = window.innerWidth, h = window.innerHeight, m = e.left + e.width / 2, z = e.top + e.height / 2, lt = (n) => {
61
- switch (n) {
62
- case "top":
63
- return e.top >= t.height + l + o;
64
- case "bottom":
65
- return h - e.bottom >= t.height + l + o;
66
- case "left":
67
- return e.left >= t.width + l + o;
68
- case "right":
69
- return r - e.right >= t.width + l + o;
70
- default:
71
- return !0;
72
- }
73
- }, b = xt[a].find((n) => lt(n)) ?? a;
74
- let g = 0, v = 0;
75
- switch (b) {
76
- case "top":
77
- g = e.top - t.height - l, v = m - t.width / 2;
78
- break;
79
- case "bottom":
80
- g = e.bottom + l, v = m - t.width / 2;
81
- break;
82
- case "left":
83
- g = z - t.height / 2, v = e.left - t.width - l;
84
- break;
85
- case "right":
86
- default:
87
- g = z - t.height / 2, v = e.right + l;
88
- break;
89
- }
90
- const at = Math.max(r - o * 2, 0), ut = Math.max(h - o * 2, 0), ft = o, ht = r - t.width - o, mt = o, dt = h - t.height - o, C = t.width >= at ? o : M(v, ft, ht), F = t.height >= ut ? o : M(g, mt, dt);
91
- let O = 0, k = 0;
92
- if (b === "top" || b === "bottom") {
93
- const n = Math.max(t.width / 2 - V, 0);
94
- O = M(
95
- m - (C + t.width / 2),
96
- -n,
97
- n
98
- ), k = 0;
99
- } else {
100
- const n = Math.max(t.height / 2 - V, 0);
101
- k = M(
102
- z - (F + t.height / 2),
103
- -n,
104
- n
105
- ), O = 0;
106
- }
107
- W((n) => n.top === F && n.left === C && n.arrowX === O && n.arrowY === k && n.placement === b ? n : {
108
- top: F,
109
- left: C,
110
- arrowX: O,
111
- arrowY: k,
112
- placement: b
113
- });
114
- }, [a]);
115
- bt(() => {
116
- if (!i)
117
- return;
118
- const e = w.current, t = L.current;
119
- if (!e || !t) return;
120
- const r = () => {
121
- u.current !== null && cancelAnimationFrame(u.current), u.current = window.requestAnimationFrame(() => {
122
- u.current = null, G();
123
- });
124
- };
125
- r();
126
- const m = typeof window < "u" && "ResizeObserver" in window ? new ResizeObserver(r) : null;
127
- return m?.observe(e), m?.observe(t), window.addEventListener("resize", r), window.addEventListener("scroll", r, !0), () => {
128
- window.removeEventListener("resize", r), window.removeEventListener("scroll", r, !0), m?.disconnect(), u.current !== null && (cancelAnimationFrame(u.current), u.current = null);
129
- };
130
- }, [i, G]), K(() => y, []), K(() => {
131
- if (!i) return;
132
- const e = (r) => {
133
- r.key === "Escape" && s(!1);
134
- }, t = (r) => {
135
- const h = r.target;
136
- H.current?.contains(h) || w.current?.contains(h) || s(!1);
137
- };
138
- return document.addEventListener("keydown", e), document.addEventListener("pointerdown", t), () => {
139
- document.removeEventListener("keydown", e), document.removeEventListener("pointerdown", t);
140
- };
141
- }, [i, s]);
142
- const U = {
143
- top: f.top,
144
- left: f.left,
145
- "--tooltip-arrow-x": `${f.arrowX}px`,
146
- "--tooltip-arrow-y": `${f.arrowY}px`
147
- };
148
- return E !== void 0 && (U.maxWidth = typeof E == "number" ? `${E}px` : E), /* @__PURE__ */ T.jsxs(gt, { ref: H, "data-disabled": c, children: [
149
- /* @__PURE__ */ T.jsx(
150
- vt,
151
- {
152
- ref: L,
153
- tabIndex: c ? -1 : 0,
154
- "aria-describedby": i ? N : void 0,
155
- onMouseEnter: et,
156
- onMouseLeave: nt,
157
- onFocus: rt,
158
- onBlur: ot,
159
- onClick: ct,
160
- "data-open": i,
161
- children: A
162
- }
163
- ),
164
- /* @__PURE__ */ T.jsxs(
165
- Tt,
166
- {
167
- ref: w,
168
- id: N,
169
- role: "tooltip",
170
- "aria-hidden": !i,
171
- $visible: i,
172
- $interactive: j,
173
- $placement: f.placement,
174
- style: U,
175
- "data-placement": f.placement,
176
- onMouseEnter: it,
177
- onMouseLeave: st,
178
- children: [
179
- ["string", "number"].includes(typeof p) ? /* @__PURE__ */ T.jsx(Et, { variant: "body-m", children: p }) : p,
180
- /* @__PURE__ */ T.jsx(Lt, { $placement: f.placement })
181
- ]
182
- }
183
- )
184
- ] });
185
- };
186
- export {
187
- kt as Tooltip
188
- };
@@ -1,12 +0,0 @@
1
- import { j as o } from "./matbea-ui.es31.js";
2
- import { maskEmail as t } from "./matbea-ui.es28.js";
3
- import { UserAccountStyled as m, UserAccountText as s } from "./matbea-ui.es46.js";
4
- import "react";
5
- import { UserIcon as e } from "./matbea-ui.es47.js";
6
- const a = ({ email: r }) => /* @__PURE__ */ o.jsxs(m, { children: [
7
- /* @__PURE__ */ o.jsx(e, {}),
8
- /* @__PURE__ */ o.jsx(s, { variant: "body-m-semibold", children: t(r) })
9
- ] });
10
- export {
11
- a as UserAccount
12
- };
@@ -1,31 +0,0 @@
1
- import { j as t } from "./matbea-ui.es31.js";
2
- import { useCallback as a } from "react";
3
- import { Tab as c } from "./matbea-ui.es48.js";
4
- import { TabRow as p } from "./matbea-ui.es49.js";
5
- const j = ({
6
- size: e = "m",
7
- activeId: i,
8
- items: m,
9
- onChange: r,
10
- className: s
11
- }) => {
12
- const l = a(
13
- (o) => {
14
- r(o);
15
- },
16
- [r]
17
- );
18
- return /* @__PURE__ */ t.jsx(p, { role: "tablist", className: s, children: m.map((o) => /* @__PURE__ */ t.jsx(
19
- c,
20
- {
21
- ...o,
22
- size: e,
23
- active: o.id === i,
24
- onSelect: l
25
- },
26
- o.id
27
- )) });
28
- };
29
- export {
30
- j as TabList
31
- };
@@ -1,25 +0,0 @@
1
- import { j as i } from "./matbea-ui.es31.js";
2
- import { TableStyled as t, TableHead as h, TableRow as r, TableHeader as s, TableBody as x, TableCell as j } from "./matbea-ui.es50.js";
3
- const p = ({ columns: a, data: l }) => /* @__PURE__ */ i.jsxs(t, { children: [
4
- /* @__PURE__ */ i.jsx(h, { children: /* @__PURE__ */ i.jsx(r, { children: a.map((e) => /* @__PURE__ */ i.jsx(
5
- s,
6
- {
7
- width: e.width,
8
- align: e.align || "left",
9
- children: e.name
10
- },
11
- e.id
12
- )) }) }),
13
- /* @__PURE__ */ i.jsx(x, { children: l.map((e) => /* @__PURE__ */ i.jsx(r, { children: a.map((d) => /* @__PURE__ */ i.jsx(
14
- j,
15
- {
16
- width: d.width,
17
- align: d.align || "left",
18
- children: d.render ? d.render(e) : e[d.id]
19
- },
20
- d.id
21
- )) }, e.id)) })
22
- ] });
23
- export {
24
- p as Table
25
- };
@@ -1,40 +0,0 @@
1
- import { j as c } from "./matbea-ui.es31.js";
2
- import { useId as p, useState as j, useCallback as a } from "react";
3
- import { SwitcherRoot as w, Track as I, Thumb as y } from "./matbea-ui.es51.js";
4
- const g = ({
5
- checked: s,
6
- defaultChecked: l = !1,
7
- disabled: e = !1,
8
- onChange: i,
9
- id: u,
10
- className: f
11
- }) => {
12
- const h = p(), m = u ?? h, r = s !== void 0, [x, d] = j(l), o = r ? s : x, n = a(() => {
13
- if (e) return;
14
- const t = !o;
15
- r || d(t), i?.(t);
16
- }, [o, r, e, i]), k = a(
17
- (t) => {
18
- (t.key === "Enter" || t.key === " ") && (t.preventDefault(), n());
19
- },
20
- [n]
21
- );
22
- return /* @__PURE__ */ c.jsx(w, { className: f, children: /* @__PURE__ */ c.jsx(
23
- I,
24
- {
25
- id: m,
26
- role: "switch",
27
- "aria-checked": o,
28
- "aria-disabled": e,
29
- tabIndex: e ? -1 : 0,
30
- onClick: n,
31
- onKeyDown: k,
32
- disabled: e,
33
- $checked: o,
34
- children: /* @__PURE__ */ c.jsx(y, { $checked: o, $disabled: e })
35
- }
36
- ) });
37
- };
38
- export {
39
- g as Switcher
40
- };
@@ -1,43 +0,0 @@
1
- import { j as t } from "./matbea-ui.es31.js";
2
- import { useId as L, useState as m, useCallback as p } from "react";
3
- import { Label as C, HiddenInput as j, Box as u, CheckIcon as I } from "./matbea-ui.es52.js";
4
- const b = ({
5
- checked: n,
6
- defaultChecked: i = !1,
7
- disabled: e = !1,
8
- name: d,
9
- value: x,
10
- onChange: r,
11
- className: f
12
- }) => {
13
- const s = L(), c = n !== void 0, [l, a] = m(i), o = c ? n : l, k = p(
14
- (h) => {
15
- e || (c || a(h.target.checked), r?.(h.target.checked));
16
- },
17
- [e, c, r]
18
- );
19
- return /* @__PURE__ */ t.jsxs(C, { htmlFor: s, disabled: e, className: f, children: [
20
- /* @__PURE__ */ t.jsx(
21
- j,
22
- {
23
- id: s,
24
- type: "checkbox",
25
- checked: o,
26
- disabled: e,
27
- onChange: k,
28
- name: d,
29
- value: x
30
- }
31
- ),
32
- /* @__PURE__ */ t.jsx(u, { $checked: o, $disabled: e, children: o && /* @__PURE__ */ t.jsx(I, { viewBox: "0 0 15 11", children: /* @__PURE__ */ t.jsx(
33
- "path",
34
- {
35
- d: "M5.00034 11L0 6.18738L1.42838 4.81262L5.00185 8.24806L5.00034 8.24951L13.5716 0L15 1.37476L6.42872 9.62524L5.00135 10.999L5.00034 11Z",
36
- fill: "#fff"
37
- }
38
- ) }) })
39
- ] });
40
- };
41
- export {
42
- b as Checkbox
43
- };
@@ -1,59 +0,0 @@
1
- import { j as C } from "./matbea-ui.es31.js";
2
- import { Icon as L } from "./matbea-ui.es53.js";
3
- const i = () => /* @__PURE__ */ C.jsxs(
4
- L,
5
- {
6
- width: "201",
7
- height: "32",
8
- viewBox: "0 0 201 32",
9
- fill: "none",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- children: [
12
- /* @__PURE__ */ C.jsx(
13
- "path",
14
- {
15
- d: "M178.7 1.20835C178.453 1.86745 177.971 3.0758 177.655 3.91341C177.325 4.73728 176.83 6.01429 176.554 6.72832C176.279 7.44234 175.77 8.74681 175.44 9.61188C175.11 10.4769 174.739 11.3969 174.629 11.6441C174.519 11.8913 174.422 12.1659 174.422 12.262C174.409 12.3581 174.298 12.674 174.147 12.976C173.996 13.2781 173.886 13.5939 173.872 13.6901C173.872 13.7862 173.79 14.0608 173.679 14.308C173.281 15.2142 172.496 17.2465 172.496 17.37C172.483 17.4524 172.373 17.7545 172.221 18.0566C172.07 18.3587 171.96 18.6745 171.946 18.7706C171.946 18.9217 171.85 19.1688 171.286 20.4596C171.176 20.7205 171.038 21.1187 170.983 21.3521C170.915 21.5718 170.612 22.4094 170.296 23.2058C169.979 24.0022 169.663 24.8673 169.58 25.1282C169.511 25.3891 169.388 25.6637 169.333 25.7461C169.278 25.8148 169.154 26.1031 169.085 26.364C169.002 26.6249 168.81 27.1879 168.645 27.5998C168.48 28.0118 168.177 28.8219 167.957 29.3986C167.751 29.9891 167.544 30.5246 167.489 30.5932C167.448 30.6756 167.462 30.7717 167.544 30.8267C167.613 30.8679 169.759 30.9091 172.318 30.9091H176.967L177.49 29.1515C177.792 28.1903 178.15 26.9819 178.301 26.4601L178.577 25.5401H184.065H189.54L189.746 25.9383C189.87 26.158 190.241 27.3389 190.572 28.561C190.916 29.7831 191.218 30.8129 191.246 30.8541C191.287 30.8816 193.502 30.9091 196.17 30.9091C199.678 30.9091 201.026 30.8541 200.999 30.7443C200.985 30.6619 200.104 28.3001 199.059 25.4989C198 22.684 196.693 19.1826 196.156 17.7133C195.606 16.2441 195.042 14.7199 194.891 14.3492C194.74 13.9647 194.451 13.1683 194.231 12.5641C194.011 11.9599 193.653 10.9987 193.419 10.4358C193.185 9.87277 192.993 9.35098 192.993 9.29606C192.993 9.2274 192.91 8.98024 192.8 8.74681C192.442 7.89547 192.03 6.79697 192.03 6.65966C192.016 6.57727 191.906 6.27518 191.755 5.9731C191.603 5.67101 191.493 5.32773 191.48 5.20415C191.48 5.0943 191.383 4.8746 191.273 4.72355C191.163 4.58624 191.067 4.36654 191.067 4.25669C191.067 4.02326 190.585 2.73252 190.297 2.16954C190.186 1.9773 190.104 1.68894 190.104 1.55163C190.104 1.41432 190.021 1.18089 189.911 1.02984C189.815 0.878801 189.691 0.590445 189.636 0.370745L189.554 0H184.354H179.168L178.7 1.20835ZM184.602 8.26622C184.767 8.81547 185.482 11.2184 186.184 13.5939C186.885 15.9695 187.559 18.2488 187.683 18.6333L187.889 19.3611H184.244C182.249 19.3611 180.612 19.3061 180.612 19.2512C180.612 19.1963 181.286 16.8345 182.112 14.0059C182.937 11.1772 183.707 8.49965 183.831 8.06025C183.955 7.63458 184.12 7.27757 184.189 7.27757C184.258 7.27757 184.45 7.7307 184.602 8.26622Z",
16
- fill: "white"
17
- }
18
- ),
19
- /* @__PURE__ */ C.jsx(
20
- "path",
21
- {
22
- d: "M0 15.586V31.02L3.48022 31.0611C5.37852 31.0886 7.05673 31.0474 7.19429 30.9925C7.44189 30.8826 7.45565 30.3883 7.42814 19.0463C7.41438 12.5377 7.41438 7.11385 7.41438 7.004C7.45565 6.59206 7.84081 7.31982 7.84081 7.78668C7.84081 8.03384 7.9371 8.47324 8.04715 8.74787C8.1572 9.03623 8.30851 9.54428 8.37729 9.88756C8.44607 10.2308 8.76245 11.4941 9.07883 12.7025C9.39522 13.9108 9.82165 15.5723 10.0417 16.4099C10.2481 17.2338 10.6883 18.8815 10.9909 20.0487C11.2935 21.2158 12.0638 24.1543 12.6966 26.571L13.8521 30.965L17.1397 31.0337C18.9418 31.0749 20.4824 31.0611 20.5374 31.02C20.5924 30.9788 20.8263 30.2647 21.0464 29.4409C21.4591 27.8618 23.9076 18.5108 24.7192 15.3801C24.9806 14.3639 25.4482 12.5926 25.7371 11.4667C26.0397 10.327 26.3561 9.06369 26.4387 8.65175C26.5212 8.23981 26.7 7.64937 26.8376 7.34728C27.0852 6.81176 27.0852 7.11385 27.0989 18.909C27.0989 25.5824 27.1402 31.0337 27.209 31.0337C27.264 31.0337 28.9422 31.0474 30.9506 31.0474L34.5959 31.0611L34.6371 15.5998L34.6646 0.138376H28.5571H22.4357L22.2294 0.852402C22.0643 1.45658 20.2623 8.22608 18.9005 13.4577C18.0201 16.7669 17.4424 18.8953 17.3461 19.06C17.2635 19.1973 17.1948 19.1424 17.0985 18.8541C17.0159 18.6481 15.9155 14.4463 14.6637 9.54428C13.3982 4.6285 12.339 0.509121 12.2977 0.371807C12.2289 0.152107 11.8162 0.138376 6.10758 0.138376H0V15.586Z",
23
- fill: "white"
24
- }
25
- ),
26
- /* @__PURE__ */ C.jsx(
27
- "path",
28
- {
29
- d: "M49.2589 1.34428C49.0113 2.00338 48.5299 3.21173 48.2135 4.04934C47.8833 4.87321 47.3881 6.15022 47.113 6.86424C46.8379 7.57827 46.3289 8.88274 45.9988 9.7478C45.6687 10.6129 45.2972 11.5329 45.1872 11.78C45.0772 12.0272 44.9809 12.3018 44.9809 12.3979C44.9671 12.4941 44.8571 12.8099 44.7057 13.112C44.5544 13.414 44.4444 13.7299 44.4306 13.826C44.4306 13.9221 44.3481 14.1967 44.238 14.4439C43.8391 15.3502 43.055 17.3824 43.055 17.506C43.0413 17.5883 42.9312 17.8904 42.7799 18.1925C42.6286 18.4946 42.5186 18.8104 42.5048 18.9065C42.5048 19.0576 42.4085 19.3047 41.8445 20.5955C41.7345 20.8564 41.5969 21.2546 41.5419 21.488C41.4731 21.7077 41.1705 22.5453 40.8541 23.3417C40.5377 24.1381 40.2213 25.0032 40.1388 25.2641C40.07 25.525 39.9462 25.7996 39.8912 25.882C39.8362 25.9507 39.7124 26.239 39.6436 26.4999C39.5611 26.7608 39.3685 27.3238 39.2034 27.7357C39.0383 28.1477 38.7357 28.9578 38.5156 29.5345C38.3093 30.125 38.1029 30.6605 38.0479 30.7291C38.0067 30.8115 38.0204 30.9077 38.1029 30.9626C38.1717 31.0038 40.3176 31.045 42.8762 31.045H47.5257L48.0484 29.2874C48.351 28.3262 48.7087 27.1178 48.86 26.596L49.1351 25.676H54.6237H60.0985L60.3049 26.0743C60.5249 26.4725 60.8688 27.6533 61.3778 29.5895C61.5291 30.1936 61.6942 30.7703 61.7492 30.8665C61.8868 31.1136 71.6259 31.1274 71.5571 30.8802C71.5434 30.7978 70.663 28.436 69.6175 25.6349C68.5583 22.8199 67.2515 19.3185 66.7151 17.8492C66.1648 16.38 65.6008 14.8558 65.4495 14.4851C65.2982 14.1006 65.0093 13.3042 64.7893 12.7C64.5692 12.0958 64.2115 11.1347 63.9777 10.5717C63.7438 10.0087 63.5512 9.48691 63.5512 9.43199C63.5512 9.36333 63.4687 9.11617 63.3586 8.88274C63.001 8.0314 62.5883 6.9329 62.5883 6.79559C62.5746 6.7132 62.4645 6.41111 62.3132 6.10903C62.1619 5.80694 62.0518 5.46366 62.0381 5.34007C62.0381 5.23022 61.9418 5.01052 61.8317 4.85948C61.7217 4.72217 61.6254 4.50247 61.6254 4.39262C61.6254 4.15919 61.144 2.86845 60.8551 2.30547C60.745 2.11323 60.6625 1.82487 60.6625 1.68756C60.6625 1.55025 60.58 1.31682 60.4699 1.16578C60.3736 1.01473 60.2498 0.726376 60.1948 0.506676L60.1123 0.135933H54.9126H49.7266L49.2589 1.34428ZM55.1602 8.40214C55.3252 8.95139 56.0405 11.3544 56.7421 13.7299C57.4436 16.1054 58.1177 18.3848 58.2415 18.7692L58.4478 19.497H54.8025C52.8079 19.497 51.171 19.4421 51.171 19.3871C51.171 19.3322 51.845 16.9704 52.6704 14.1418C53.4957 11.3132 54.266 8.63557 54.3898 8.19617C54.5136 7.77051 54.6787 7.41349 54.7475 7.41349C54.8163 7.41349 55.0089 7.86662 55.1602 8.40214Z",
30
- fill: "white"
31
- }
32
- ),
33
- /* @__PURE__ */ C.jsx(
34
- "path",
35
- {
36
- d: "M72.5197 3.73433L72.561 7.34565L77.3893 7.38684L82.2313 7.4143L82.3138 7.73012C82.3551 7.8949 82.3964 13.2089 82.3964 19.539V31.032L87.0183 31.0046L91.6265 30.9634V19.4978C91.6128 12.3713 91.6678 7.94982 91.7503 7.82624C91.8604 7.64773 92.6169 7.60654 96.7299 7.55161L101.586 7.48296L101.627 3.80298L101.654 0.136742H87.0733H72.4922L72.5197 3.73433Z",
37
- fill: "white"
38
- }
39
- ),
40
- /* @__PURE__ */ C.jsx(
41
- "path",
42
- {
43
- d: "M107.185 0.302076C106.951 0.535509 106.951 30.909 107.185 31.1425C107.405 31.3622 120.762 31.3759 122.922 31.1562C129.47 30.4971 132.881 27.3252 132.881 21.9013C132.881 18.853 131.767 16.4638 129.745 15.1867L129.153 14.816L129.786 14.102C131.492 12.1521 132.235 9.25485 131.739 6.49487C131.052 2.74624 128.369 0.810133 123.128 0.274614C121.051 0.0686455 107.405 0.0823765 107.185 0.302076ZM122.028 7.14024C123.692 7.45606 124.256 8.0465 124.325 9.52947C124.38 10.5319 124.38 10.5456 123.871 11.0948C123.004 12.0698 122.55 12.1521 118.162 12.1521H114.379L114.338 9.57067L114.311 7.00292H117.791C119.717 7.00292 121.615 7.07158 122.028 7.14024ZM123.183 19.0178C124.132 19.2649 124.573 19.5396 125.013 20.1987C125.302 20.6106 125.329 20.8028 125.288 21.6954C125.233 22.9174 124.944 23.4392 124.036 23.8786C123.059 24.3592 122.138 24.4416 118.149 24.4416H114.311V21.6267V18.8118H118.341C121.505 18.8118 122.55 18.853 123.183 19.0178Z",
44
- fill: "white"
45
- }
46
- ),
47
- /* @__PURE__ */ C.jsx(
48
- "path",
49
- {
50
- d: "M139.002 0.301773C138.96 0.397892 138.946 7.40082 138.96 15.8593L139.002 31.2383L150.955 31.2795C159.676 31.2932 162.95 31.2657 163.088 31.1559C163.239 31.0323 163.28 30.332 163.28 27.8604C163.28 24.9082 163.267 24.7159 163.019 24.5786C162.84 24.4962 159.897 24.4413 154.422 24.4413H146.086V21.6264V18.8115L153.83 18.784L161.561 18.7428V15.516V12.2891L153.83 12.248L146.086 12.2205V9.61156V7.00262L154.38 6.97516L162.661 6.93396V3.56981V0.205654L150.859 0.164461C141.491 0.136997 139.043 0.164461 139.002 0.301773Z",
51
- fill: "white"
52
- }
53
- )
54
- ]
55
- }
56
- );
57
- export {
58
- i as Logo
59
- };
@@ -1,38 +0,0 @@
1
- import { j as e } from "./matbea-ui.es31.js";
2
- import { StyledButton as d, IconSlot as n } from "./matbea-ui.es32.js";
3
- const p = ({
4
- variant: a = "primary",
5
- size: f = "default",
6
- form: h = "default",
7
- fullWidth: u = !1,
8
- icon: t,
9
- iconPosition: s = "left",
10
- children: r,
11
- disabled: y,
12
- ...$
13
- }) => {
14
- const o = !!r, l = !!t && (!o || s === "only"), x = !!t && !l && s === "left", c = !!t && !l && s === "right";
15
- return /* @__PURE__ */ e.jsxs(
16
- d,
17
- {
18
- type: "button",
19
- $variant: a,
20
- $size: f,
21
- $form: h,
22
- $fullWidth: u,
23
- $hasIcon: !!t && o,
24
- $iconOnly: l,
25
- disabled: y,
26
- ...$,
27
- children: [
28
- x && /* @__PURE__ */ e.jsx(n, { $iconOnly: !1, children: t }),
29
- (!l || !t) && r,
30
- l && t && /* @__PURE__ */ e.jsx(n, { $iconOnly: !0, children: t }),
31
- c && /* @__PURE__ */ e.jsx(n, { $iconOnly: !1, children: t })
32
- ]
33
- }
34
- );
35
- };
36
- export {
37
- p as Button
38
- };
@@ -1,25 +0,0 @@
1
- import { j as i } from "./matbea-ui.es31.js";
2
- import "react";
3
- import { InfoIcon as e } from "./matbea-ui.es35.js";
4
- import { WithdrawIcon as c } from "./matbea-ui.es54.js";
5
- import { ApplicationDataStyled as s, ApplicationDataContent as r, ApplicationDataLabel as l, ApplicationDataValue as m } from "./matbea-ui.es55.js";
6
- import { Tooltip as a } from "./matbea-ui.es13.js";
7
- const D = ({
8
- label: t,
9
- statusValue: o,
10
- withdraw: p,
11
- info: n
12
- }) => /* @__PURE__ */ i.jsxs(s, { children: [
13
- /* @__PURE__ */ i.jsxs(r, { children: [
14
- /* @__PURE__ */ i.jsx(l, { children: t }),
15
- n && /* @__PURE__ */ i.jsx(a, { content: n, children: /* @__PURE__ */ i.jsx(e, { size: 18 }) })
16
- ] }),
17
- /* @__PURE__ */ i.jsxs(r, { children: [
18
- ["number", "string"].includes(typeof o) && /* @__PURE__ */ i.jsx(m, { children: o }),
19
- !["number", "string"].includes(typeof o) && o,
20
- p && /* @__PURE__ */ i.jsx(c, { size: 18 })
21
- ] })
22
- ] });
23
- export {
24
- D as ApplicationData
25
- };
@@ -1,13 +0,0 @@
1
- import { j as i } from "./matbea-ui.es31.js";
2
- import { ApplicationInfoStyled as p, ApplicationInfoDataContainer as a, ApplicationDataActions as r } from "./matbea-ui.es56.js";
3
- const l = ({
4
- children: t,
5
- actions: o,
6
- variant: n = "primary"
7
- }) => /* @__PURE__ */ i.jsxs(p, { $variant: n, children: [
8
- /* @__PURE__ */ i.jsx(a, { children: t }),
9
- o && /* @__PURE__ */ i.jsx(r, { children: o })
10
- ] });
11
- export {
12
- l as ApplicationInfo
13
- };
@@ -1,33 +0,0 @@
1
- import { j as t } from "./matbea-ui.es31.js";
2
- import { useMemo as e } from "react";
3
- import { ClockIcon as c } from "./matbea-ui.es57.js";
4
- import { SuccessfullSmallIcon as a } from "./matbea-ui.es58.js";
5
- import { WarningIcon as l } from "./matbea-ui.es59.js";
6
- import { ApplicationStatusStyled as p, ApplicationStatusContent as i, ApplicationStatusLabel as u, ApplicationStatusValue as m } from "./matbea-ui.es60.js";
7
- const A = ({
8
- label: n,
9
- statusValue: r,
10
- type: s
11
- }) => {
12
- const o = e(() => {
13
- switch (s) {
14
- case "success":
15
- return /* @__PURE__ */ t.jsx(a, { size: 18 });
16
- case "warning":
17
- return /* @__PURE__ */ t.jsx(l, { size: 18 });
18
- case "pending":
19
- default:
20
- return /* @__PURE__ */ t.jsx(c, { size: 18 });
21
- }
22
- }, [s]);
23
- return /* @__PURE__ */ t.jsxs(p, { children: [
24
- /* @__PURE__ */ t.jsx(i, { children: /* @__PURE__ */ t.jsx(u, { children: n }) }),
25
- /* @__PURE__ */ t.jsxs(i, { children: [
26
- o,
27
- /* @__PURE__ */ t.jsx(m, { $type: s, children: r })
28
- ] })
29
- ] });
30
- };
31
- export {
32
- A as ApplicationStatus
33
- };
@@ -1,16 +0,0 @@
1
- import { j as e } from "./matbea-ui.es31.js";
2
- import { BalanceRowStyled as o, BalanceCell as l, BalanceCellActions as a } from "./matbea-ui.es61.js";
3
- const x = ({
4
- valueLabel: n,
5
- count: r,
6
- amount: c,
7
- actions: s
8
- }) => /* @__PURE__ */ e.jsxs(o, { children: [
9
- /* @__PURE__ */ e.jsx(l, { children: n }),
10
- /* @__PURE__ */ e.jsx(l, { children: r }),
11
- /* @__PURE__ */ e.jsx(l, { children: c }),
12
- /* @__PURE__ */ e.jsx(a, { children: s })
13
- ] });
14
- export {
15
- x as BalanceRow
16
- };
@@ -1,25 +0,0 @@
1
- import { j as r } from "./matbea-ui.es31.js";
2
- import { CurrencyNameStyled as o, CurrencyNameLongname as s, CurrencyNameShortname as a, CurrencyNameNetwork as i } from "./matbea-ui.es62.js";
3
- const j = ({
4
- icon: m,
5
- network: e,
6
- longName: c,
7
- shortName: n
8
- }) => /* @__PURE__ */ r.jsxs(
9
- o,
10
- {
11
- $icon: !!m,
12
- $longname: !!c,
13
- $shortname: !!n,
14
- $network: !!e,
15
- children: [
16
- m,
17
- /* @__PURE__ */ r.jsx(s, { children: c }),
18
- n && /* @__PURE__ */ r.jsx(a, { children: n }),
19
- e && /* @__PURE__ */ r.jsx(i, { children: e })
20
- ]
21
- }
22
- );
23
- export {
24
- j as CurrencyName
25
- };
@@ -1,36 +0,0 @@
1
- import { j as r } from "./matbea-ui.es31.js";
2
- import { CurrencyRateCard as h, CurrencyRateBody as C, CurrencyRateBox as c, CurrencyRatePriceLabel as s, CurrencyRateAmount as t } from "./matbea-ui.es63.js";
3
- import { CurrencyName as R } from "./matbea-ui.es24.js";
4
- const f = ({
5
- longName: i,
6
- shortName: x,
7
- network: o,
8
- icon: j,
9
- buyLabel: d,
10
- sellLabel: m,
11
- buyValue: e,
12
- sellValue: n
13
- }) => /* @__PURE__ */ r.jsxs(h, { children: [
14
- /* @__PURE__ */ r.jsx(
15
- R,
16
- {
17
- longName: i,
18
- shortName: x,
19
- network: o,
20
- icon: j
21
- }
22
- ),
23
- (e || n) && /* @__PURE__ */ r.jsxs(C, { children: [
24
- e && /* @__PURE__ */ r.jsxs(c, { children: [
25
- /* @__PURE__ */ r.jsx(s, { children: d }),
26
- /* @__PURE__ */ r.jsx(t, { children: e })
27
- ] }),
28
- n && /* @__PURE__ */ r.jsxs(c, { children: [
29
- /* @__PURE__ */ r.jsx(s, { children: m }),
30
- /* @__PURE__ */ r.jsx(t, { children: n })
31
- ] })
32
- ] })
33
- ] });
34
- export {
35
- f as CurrencyRate
36
- };
@@ -1,29 +0,0 @@
1
- import { j as s } from "./matbea-ui.es31.js";
2
- import { formatCardNumber as h } from "./matbea-ui.es28.js";
3
- import { RequisitesStyled as d, RequisitesItemLabel as i, RequisitesItemValue as t } from "./matbea-ui.es64.js";
4
- import { CopyButton as c } from "./matbea-ui.es65.js";
5
- const q = ({
6
- cardHolderLabel: r,
7
- cardHolderName: o,
8
- cardNumberLabel: x,
9
- cardNumber: e,
10
- merchantLabel: n,
11
- merchantName: j,
12
- descriptionLabel: l,
13
- description: m
14
- }) => /* @__PURE__ */ s.jsxs(d, { children: [
15
- /* @__PURE__ */ s.jsx(i, { children: r }),
16
- /* @__PURE__ */ s.jsx(t, { children: o }),
17
- /* @__PURE__ */ s.jsx(i, { children: x }),
18
- /* @__PURE__ */ s.jsxs(t, { children: [
19
- e && h(e),
20
- e && /* @__PURE__ */ s.jsx(c, { text: e.toString() })
21
- ] }),
22
- /* @__PURE__ */ s.jsx(i, { children: n }),
23
- /* @__PURE__ */ s.jsx(t, { children: j }),
24
- /* @__PURE__ */ s.jsx(i, { children: l }),
25
- /* @__PURE__ */ s.jsx(t, { children: m })
26
- ] });
27
- export {
28
- q as Requisites
29
- };
@@ -1,30 +0,0 @@
1
- import { j as s } from "./matbea-ui.es31.js";
2
- import { useMemo as a } from "react";
3
- import { ClockIcon as c } from "./matbea-ui.es57.js";
4
- import { SuccessfullSmallIcon as e } from "./matbea-ui.es58.js";
5
- import { TransactionStatusStyled as i, TransactionStatusLabel as u, TransactionStatusContent as l, TransactionStatusValue as m } from "./matbea-ui.es66.js";
6
- const p = ({
7
- label: n,
8
- statusValue: r,
9
- type: t
10
- }) => {
11
- const o = a(() => {
12
- switch (t) {
13
- case "success":
14
- return /* @__PURE__ */ s.jsx(e, { size: 18 });
15
- case "pending":
16
- default:
17
- return /* @__PURE__ */ s.jsx(c, { size: 18 });
18
- }
19
- }, [t]);
20
- return /* @__PURE__ */ s.jsxs(i, { children: [
21
- /* @__PURE__ */ s.jsx(u, { children: n }),
22
- /* @__PURE__ */ s.jsxs(l, { children: [
23
- o,
24
- /* @__PURE__ */ s.jsx(m, { children: r })
25
- ] })
26
- ] });
27
- };
28
- export {
29
- p as TransactionStatus
30
- };