@matbea-ui/matbea-ui 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/dist/matbea-ui.cjs.js +1 -933
  2. package/dist/matbea-ui.cjs10.js +1 -0
  3. package/dist/matbea-ui.cjs11.js +1 -0
  4. package/dist/matbea-ui.cjs12.js +1 -0
  5. package/dist/matbea-ui.cjs13.js +1 -0
  6. package/dist/matbea-ui.cjs14.js +1 -0
  7. package/dist/matbea-ui.cjs15.js +1 -0
  8. package/dist/matbea-ui.cjs16.js +1 -0
  9. package/dist/matbea-ui.cjs17.js +1 -0
  10. package/dist/matbea-ui.cjs18.js +1 -0
  11. package/dist/matbea-ui.cjs19.js +1 -0
  12. package/dist/matbea-ui.cjs2.js +1 -0
  13. package/dist/matbea-ui.cjs20.js +1 -0
  14. package/dist/matbea-ui.cjs21.js +1 -0
  15. package/dist/matbea-ui.cjs22.js +1 -0
  16. package/dist/matbea-ui.cjs23.js +1 -0
  17. package/dist/matbea-ui.cjs24.js +1 -0
  18. package/dist/matbea-ui.cjs25.js +1 -0
  19. package/dist/matbea-ui.cjs26.js +1 -0
  20. package/dist/matbea-ui.cjs27.js +1 -0
  21. package/dist/matbea-ui.cjs28.js +1 -0
  22. package/dist/matbea-ui.cjs29.js +63 -0
  23. package/dist/matbea-ui.cjs3.js +1 -0
  24. package/dist/matbea-ui.cjs30.js +34 -0
  25. package/dist/matbea-ui.cjs31.js +44 -0
  26. package/dist/matbea-ui.cjs32.js +1 -0
  27. package/dist/matbea-ui.cjs33.js +11 -0
  28. package/dist/matbea-ui.cjs34.js +71 -0
  29. package/dist/matbea-ui.cjs35.js +14 -0
  30. package/dist/matbea-ui.cjs36.js +11 -0
  31. package/dist/matbea-ui.cjs37.js +1 -0
  32. package/dist/matbea-ui.cjs38.js +1 -0
  33. package/dist/matbea-ui.cjs39.js +37 -0
  34. package/dist/matbea-ui.cjs4.js +1 -0
  35. package/dist/matbea-ui.cjs40.js +62 -0
  36. package/dist/matbea-ui.cjs41.js +102 -0
  37. package/dist/matbea-ui.cjs42.js +103 -0
  38. package/dist/matbea-ui.cjs43.js +7 -0
  39. package/dist/matbea-ui.cjs44.js +1 -0
  40. package/dist/matbea-ui.cjs45.js +1 -0
  41. package/dist/matbea-ui.cjs46.js +55 -0
  42. package/dist/matbea-ui.cjs47.js +23 -0
  43. package/dist/matbea-ui.cjs48.js +38 -0
  44. package/dist/matbea-ui.cjs49.js +51 -0
  45. package/dist/matbea-ui.cjs5.js +1 -0
  46. package/dist/matbea-ui.cjs50.js +1 -0
  47. package/dist/matbea-ui.cjs51.js +27 -0
  48. package/dist/matbea-ui.cjs52.js +48 -0
  49. package/dist/matbea-ui.cjs53.js +1 -0
  50. package/dist/matbea-ui.cjs54.js +1 -0
  51. package/dist/matbea-ui.cjs55.js +1 -0
  52. package/dist/matbea-ui.cjs56.js +34 -0
  53. package/dist/matbea-ui.cjs57.js +11 -0
  54. package/dist/matbea-ui.cjs58.js +24 -0
  55. package/dist/matbea-ui.cjs59.js +27 -0
  56. package/dist/matbea-ui.cjs6.js +1 -0
  57. package/dist/matbea-ui.cjs60.js +29 -0
  58. package/dist/matbea-ui.cjs61.js +1 -0
  59. package/dist/matbea-ui.cjs62.js +20 -0
  60. package/dist/matbea-ui.cjs63.js +1 -0
  61. package/dist/matbea-ui.cjs64.js +1 -0
  62. package/dist/matbea-ui.cjs65.js +1 -0
  63. package/dist/matbea-ui.cjs66.js +6 -0
  64. package/dist/matbea-ui.cjs67.js +6 -0
  65. package/dist/matbea-ui.cjs68.js +1 -0
  66. package/dist/matbea-ui.cjs69.js +1 -0
  67. package/dist/matbea-ui.cjs7.js +1 -0
  68. package/dist/matbea-ui.cjs70.js +1 -0
  69. package/dist/matbea-ui.cjs71.js +1 -0
  70. package/dist/matbea-ui.cjs72.js +1 -0
  71. package/dist/matbea-ui.cjs8.js +1 -0
  72. package/dist/matbea-ui.cjs9.js +1 -0
  73. package/dist/matbea-ui.es.js +54 -2670
  74. package/dist/matbea-ui.es10.js +10 -0
  75. package/dist/matbea-ui.es11.js +47 -0
  76. package/dist/matbea-ui.es12.js +178 -0
  77. package/dist/matbea-ui.es13.js +188 -0
  78. package/dist/matbea-ui.es14.js +12 -0
  79. package/dist/matbea-ui.es15.js +31 -0
  80. package/dist/matbea-ui.es16.js +25 -0
  81. package/dist/matbea-ui.es17.js +40 -0
  82. package/dist/matbea-ui.es18.js +43 -0
  83. package/dist/matbea-ui.es19.js +25 -0
  84. package/dist/matbea-ui.es2.js +38 -0
  85. package/dist/matbea-ui.es20.js +13 -0
  86. package/dist/matbea-ui.es21.js +33 -0
  87. package/dist/matbea-ui.es22.js +16 -0
  88. package/dist/matbea-ui.es23.js +25 -0
  89. package/dist/matbea-ui.es24.js +36 -0
  90. package/dist/matbea-ui.es25.js +29 -0
  91. package/dist/matbea-ui.es26.js +30 -0
  92. package/dist/matbea-ui.es27.js +20 -0
  93. package/dist/matbea-ui.es28.js +5 -0
  94. package/dist/matbea-ui.es29.js +163 -0
  95. package/dist/matbea-ui.es3.js +24 -0
  96. package/dist/matbea-ui.es30.js +40 -0
  97. package/dist/matbea-ui.es31.js +330 -0
  98. package/dist/matbea-ui.es32.js +15 -0
  99. package/dist/matbea-ui.es33.js +26 -0
  100. package/dist/matbea-ui.es34.js +85 -0
  101. package/dist/matbea-ui.es35.js +18 -0
  102. package/dist/matbea-ui.es36.js +18 -0
  103. package/dist/matbea-ui.es37.js +24 -0
  104. package/dist/matbea-ui.es38.js +10 -0
  105. package/dist/matbea-ui.es39.js +42 -0
  106. package/dist/matbea-ui.es4.js +31 -0
  107. package/dist/matbea-ui.es40.js +70 -0
  108. package/dist/matbea-ui.es41.js +119 -0
  109. package/dist/matbea-ui.es42.js +131 -0
  110. package/dist/matbea-ui.es43.js +13 -0
  111. package/dist/matbea-ui.es44.js +25 -0
  112. package/dist/matbea-ui.es45.js +34 -0
  113. package/dist/matbea-ui.es46.js +64 -0
  114. package/dist/matbea-ui.es47.js +39 -0
  115. package/dist/matbea-ui.es48.js +44 -0
  116. package/dist/matbea-ui.es49.js +58 -0
  117. package/dist/matbea-ui.es5.js +19 -0
  118. package/dist/matbea-ui.es50.js +26 -0
  119. package/dist/matbea-ui.es51.js +58 -0
  120. package/dist/matbea-ui.es52.js +62 -0
  121. package/dist/matbea-ui.es53.js +12 -0
  122. package/dist/matbea-ui.es54.js +12 -0
  123. package/dist/matbea-ui.es55.js +15 -0
  124. package/dist/matbea-ui.es56.js +74 -0
  125. package/dist/matbea-ui.es57.js +17 -0
  126. package/dist/matbea-ui.es58.js +55 -0
  127. package/dist/matbea-ui.es59.js +57 -0
  128. package/dist/matbea-ui.es6.js +62 -0
  129. package/dist/matbea-ui.es60.js +59 -0
  130. package/dist/matbea-ui.es61.js +21 -0
  131. package/dist/matbea-ui.es62.js +34 -0
  132. package/dist/matbea-ui.es63.js +10 -0
  133. package/dist/matbea-ui.es64.js +4 -0
  134. package/dist/matbea-ui.es65.js +26 -0
  135. package/dist/matbea-ui.es66.js +236 -0
  136. package/dist/matbea-ui.es67.js +10 -0
  137. package/dist/matbea-ui.es68.js +9 -0
  138. package/dist/matbea-ui.es69.js +12 -0
  139. package/dist/matbea-ui.es7.js +5 -0
  140. package/dist/matbea-ui.es70.js +4 -0
  141. package/dist/matbea-ui.es71.js +4 -0
  142. package/dist/matbea-ui.es72.js +17 -0
  143. package/dist/matbea-ui.es8.js +6 -0
  144. package/dist/matbea-ui.es9.js +27 -0
  145. package/package.json +1 -1
@@ -0,0 +1,119 @@
1
+ import { styled as r, css as e } from "styled-components";
2
+ import { Typography as t } from "./matbea-ui.es4.js";
3
+ const l = r.div`
4
+ position: relative;
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: 12px;
8
+ width: 100%;
9
+ `, s = r(t).attrs({
10
+ variant: "form-input",
11
+ forwardedAs: "label"
12
+ })`
13
+ color: ${({ theme: o }) => o.colors.primary.darkBlue};
14
+ `, p = r.div`
15
+ display: flex;
16
+ align-items: center;
17
+ gap: 8px;
18
+ overflow: hidden;
19
+ height: 48px;
20
+ padding: 0 12px;
21
+ border-radius: 5px;
22
+ outline: 1px solid ${({ theme: o }) => o.colors.gray.lightGray2};
23
+ outline-offset: -1px;
24
+ background: ${({ theme: o }) => o.colors.primary.white};
25
+ width: 100%;
26
+ box-sizing: border-box;
27
+ transition: outline-color 140ms ease;
28
+ cursor: pointer;
29
+
30
+ ${({ $disabled: o }) => o && e`
31
+ opacity: 0.6;
32
+ cursor: not-allowed;
33
+ `}
34
+
35
+ ${({ $hasError: o, theme: i }) => o && e`
36
+ outline-color: ${i.colors.accent.red};
37
+ `}
38
+
39
+ &:hover {
40
+ outline-color: ${({ theme: o, $hasError: i }) => i ? o.colors.accent.red : o.colors.primary.lightBlue2};
41
+ }
42
+
43
+ &[data-state="active"] {
44
+ outline-color: ${({ theme: o, $hasError: i }) => i ? o.colors.accent.red : o.colors.primary.primaryBlue};
45
+ }
46
+ `, c = r.span`
47
+ display: inline-flex;
48
+ width: 24px;
49
+ height: 24px;
50
+ color: ${({ theme: o }) => o.colors.primary.primaryBlue};
51
+ `, d = r.span`
52
+ flex: 1;
53
+ font-family: "Proxima Nova", sans-serif;
54
+ font-size: 15px;
55
+ line-height: 18px;
56
+ color: ${({ theme: o, $placeholder: i }) => i ? o.colors.gray.darkGray : o.colors.primary.darkBlue};
57
+ user-select: none;
58
+ `, x = r.input`
59
+ position: absolute;
60
+ opacity: 0;
61
+ pointer-events: none;
62
+ `, u = r.span`
63
+ font-family: "Proxima Nova", sans-serif;
64
+ font-size: 13px;
65
+ line-height: 16px;
66
+ color: ${({ theme: o }) => o.colors.accent.red};
67
+ `, g = r.div`
68
+ position: fixed;
69
+ top: ${({ $top: o }) => `${o}px`};
70
+ left: ${({ $left: o }) => `${o}px`};
71
+ width: ${({ $width: o }) => `${o}px`};
72
+ z-index: 999;
73
+ border-radius: 5px;
74
+ border: 1px solid ${({ theme: o }) => o.colors.gray.lightGray2};
75
+ background: ${({ theme: o }) => o.colors.primary.white};
76
+ box-shadow: 0px 8px 24px rgba(15, 23, 42, 0.12);
77
+ display: flex;
78
+ flex-direction: column;
79
+ max-height: 260px;
80
+ overflow-y: auto;
81
+ `, y = r.button`
82
+ display: flex;
83
+ align-items: center;
84
+ gap: 10px;
85
+ padding: 0 13px;
86
+ height: 40px;
87
+ border: none;
88
+ background: transparent;
89
+ width: 100%;
90
+ text-align: left;
91
+ color: ${({ theme: o }) => o.colors.primary.darkBlue};
92
+ cursor: pointer;
93
+ transition: background 140ms ease;
94
+
95
+ &[data-hovered="true"],
96
+ &:hover {
97
+ background: ${({ theme: o }) => o.colors.gray.lightBlueGray};
98
+ }
99
+
100
+ &[data-active="true"] {
101
+ background: ${({ theme: o }) => o.colors.gray.lightGray};
102
+ }
103
+ `, h = r.span`
104
+ display: inline-flex;
105
+ width: 24px;
106
+ height: 24px;
107
+ `;
108
+ export {
109
+ u as ErrorText,
110
+ p as FieldContainer,
111
+ x as HiddenInput,
112
+ s as Label,
113
+ c as LeadingIcon,
114
+ g as List,
115
+ y as Option,
116
+ h as OptionIcon,
117
+ d as Value,
118
+ l as Wrapper
119
+ };
@@ -0,0 +1,131 @@
1
+ import o, { css as r } from "styled-components";
2
+ import { Typography as a } from "./matbea-ui.es4.js";
3
+ const i = {
4
+ top: "translate3d(0, 6px, 0)",
5
+ bottom: "translate3d(0, -6px, 0)",
6
+ left: "translate3d(6px, 0, 0)",
7
+ right: "translate3d(-6px, 0, 0)"
8
+ }, s = o.div`
9
+ display: inline-flex;
10
+ position: relative;
11
+ `, l = o.div`
12
+ display: inline-flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ cursor: pointer;
16
+ outline: none;
17
+
18
+ &:focus-visible {
19
+ box-shadow: inset 0 0 0 2px rgba(84, 132, 255, 0.65);
20
+ border-radius: 6px;
21
+ }
22
+
23
+ &[data-open="true"] {
24
+ cursor: default;
25
+ }
26
+
27
+ &[data-disabled="true"] {
28
+ cursor: not-allowed;
29
+ }
30
+ `, d = o.div`
31
+ position: fixed;
32
+ top: -9999px;
33
+ left: -9999px;
34
+ padding: 10px 14px;
35
+ border-radius: 8px;
36
+ font-size: 13px;
37
+ line-height: 1.35;
38
+ max-width: min(320px, calc(100vw - 16px));
39
+ box-shadow: 0px 8px 24px 0px #0000001f;
40
+ filter: drop-shadow(0px 8px 24px 0px #0000001f);
41
+ background: ${({ theme: t }) => t.colors.primary.white};
42
+ z-index: 9999;
43
+ opacity: ${({ $visible: t }) => t ? 1 : 0};
44
+ visibility: ${({ $visible: t }) => t ? "visible" : "hidden"};
45
+ transform: ${({ $visible: t, $placement: e }) => t ? "translate3d(0, 0, 0)" : i[e]};
46
+ transition: opacity 0.18s ease, transform 0.18s ease;
47
+
48
+ pointer-events: ${({ $visible: t, $interactive: e }) => t && e ? "auto" : "none"};
49
+
50
+ @media (prefers-reduced-motion: reduce) {
51
+ transition: none;
52
+ }
53
+
54
+ &::after {
55
+ content: "";
56
+ position: absolute;
57
+ inset: 0;
58
+ border-radius: inherit;
59
+ pointer-events: none;
60
+ }
61
+
62
+ &[data-placement="top"] {
63
+ --tooltip-arrow-x: 0px;
64
+ }
65
+
66
+ &[data-placement="bottom"] {
67
+ --tooltip-arrow-x: 0px;
68
+ }
69
+
70
+ &[data-placement="left"] {
71
+ --tooltip-arrow-y: 0px;
72
+ }
73
+
74
+ &[data-placement="right"] {
75
+ --tooltip-arrow-y: 0px;
76
+ }
77
+ `, x = o.span`
78
+ position: absolute;
79
+ width: 10px;
80
+ height: 10px;
81
+ background: inherit;
82
+ border: inherit;
83
+ border-radius: 2px;
84
+ transform: rotate(45deg);
85
+ pointer-events: none;
86
+
87
+ ${({ $placement: t }) => {
88
+ switch (t) {
89
+ case "top":
90
+ return r`
91
+ bottom: -5px;
92
+ left: 50%;
93
+ transform: translateX(-50%) translateX(var(--tooltip-arrow-x, 0px))
94
+ rotate(45deg);
95
+ `;
96
+ case "bottom":
97
+ return r`
98
+ top: -5px;
99
+ left: 50%;
100
+ transform: translateX(-50%) translateX(var(--tooltip-arrow-x, 0px))
101
+ rotate(45deg);
102
+ `;
103
+ case "left":
104
+ return r`
105
+ right: -5px;
106
+ top: 50%;
107
+ transform: translateY(-50%) translateY(var(--tooltip-arrow-y, 0px))
108
+ rotate(45deg);
109
+ `;
110
+ case "right":
111
+ default:
112
+ return r`
113
+ left: -5px;
114
+ top: 50%;
115
+ transform: translateY(-50%) translateY(var(--tooltip-arrow-y, 0px))
116
+ rotate(45deg);
117
+ `;
118
+ }
119
+ }}
120
+ `, c = o(a).attrs({
121
+ variant: "body-s"
122
+ })`
123
+ color: ${({ theme: t }) => t.colors.primary.darkBlue};
124
+ `;
125
+ export {
126
+ x as TooltipArrow,
127
+ d as TooltipBubble,
128
+ c as TooltipContentText,
129
+ l as TooltipTrigger,
130
+ s as TooltipWrapper
131
+ };
@@ -0,0 +1,13 @@
1
+ import { styled as o } from "styled-components";
2
+ import { Typography as t } from "./matbea-ui.es4.js";
3
+ const p = o.div`
4
+ display: flex;
5
+ gap: 10px;
6
+ align-items: center;
7
+ `, l = o(t)`
8
+ color: ${({ theme: r }) => r.colors.primary.darkBlue};
9
+ `;
10
+ export {
11
+ p as UserAccountStyled,
12
+ l as UserAccountText
13
+ };
@@ -0,0 +1,25 @@
1
+ import { j as e } from "./matbea-ui.es28.js";
2
+ import { Icon as o } from "./matbea-ui.es72.js";
3
+ const d = (l) => /* @__PURE__ */ e.jsxs(o, { ...l, children: [
4
+ /* @__PURE__ */ e.jsx(
5
+ "path",
6
+ {
7
+ "fill-rule": "evenodd",
8
+ "clip-rule": "evenodd",
9
+ d: "M12 13C14.2091 13 16 11.2091 16 9C16 6.79086 14.2091 5 12 5C9.79086 5 8 6.79086 8 9C8 11.2091 9.79086 13 12 13ZM12 15C15.3137 15 18 12.3137 18 9C18 5.68629 15.3137 3 12 3C8.68629 3 6 5.68629 6 9C6 12.3137 8.68629 15 12 15Z",
10
+ fill: "#202D52"
11
+ }
12
+ ),
13
+ /* @__PURE__ */ e.jsx(
14
+ "path",
15
+ {
16
+ "fill-rule": "evenodd",
17
+ "clip-rule": "evenodd",
18
+ d: "M12 15C8.13401 15 5 18.134 5 22H3C3 17.0294 7.02944 13 12 13C16.9706 13 21 17.0294 21 22H19C19 18.134 15.866 15 12 15Z",
19
+ fill: "#202D52"
20
+ }
21
+ )
22
+ ] });
23
+ export {
24
+ d as UserIcon
25
+ };
@@ -0,0 +1,34 @@
1
+ import { j as m } from "./matbea-ui.es28.js";
2
+ import { useCallback as l } from "react";
3
+ import { TabButton as c } from "./matbea-ui.es46.js";
4
+ const x = ({
5
+ id: t,
6
+ label: e,
7
+ active: o = !1,
8
+ disabled: r = !1,
9
+ size: n = "m",
10
+ onSelect: a,
11
+ className: s
12
+ }) => {
13
+ const i = l(() => {
14
+ r || a?.(t);
15
+ }, [r, t, a]);
16
+ return /* @__PURE__ */ m.jsx(
17
+ c,
18
+ {
19
+ type: "button",
20
+ role: "tab",
21
+ "aria-selected": o,
22
+ "aria-disabled": r,
23
+ disabled: r,
24
+ $size: n,
25
+ $active: o,
26
+ className: s,
27
+ onClick: i,
28
+ children: e
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ x as Tab
34
+ };
@@ -0,0 +1,64 @@
1
+ import r, { css as e } from "styled-components";
2
+ const i = {
3
+ m: { minWidth: 55, height: 46, fontSize: 16, lineHeight: 20, paddingX: 14 },
4
+ l: { minWidth: 58, height: 48, fontSize: 18, lineHeight: 22, paddingX: 14 },
5
+ xl: { minWidth: 68, height: 56, fontSize: 24, lineHeight: 30, paddingX: 14 }
6
+ }, a = r.button`
7
+ ${({ $size: o }) => e`
8
+ min-width: ${i[o].minWidth}px;
9
+ height: ${i[o].height}px;
10
+ padding: 0 ${i[o].paddingX}px;
11
+ font-size: ${i[o].fontSize}px;
12
+ line-height: ${i[o].lineHeight}px;
13
+ `}
14
+ position: relative;
15
+ background: transparent;
16
+ border: none;
17
+ display: inline-flex;
18
+ align-items: flex-end;
19
+ justify-content: center;
20
+ font-weight: 700;
21
+ cursor: pointer;
22
+ text-transform: none;
23
+ color: ${({ theme: o, $active: t }) => t ? o.colors.primary.darkBlue : o.colors.gray.darkGray};
24
+ transition: color 120ms ease;
25
+ padding-bottom: 25px;
26
+ &::after {
27
+ content: "";
28
+ position: absolute;
29
+ inset-inline: 0;
30
+ bottom: 0;
31
+ height: ${({ $active: o }) => o ? 2 : 1}px;
32
+ background: ${({ theme: o, $active: t }) => t ? o.colors.primary.primaryBlue : o.colors.gray.lightGray2};
33
+ transition: height 120ms ease, background 120ms ease;
34
+ }
35
+
36
+ &:hover:not(:disabled) {
37
+ color: ${({ theme: o }) => o.colors.primary.darkBlue2};
38
+
39
+ &::after {
40
+ height: 2px;
41
+ background: ${({ theme: o }) => o.colors.primary.hoverBlue};
42
+ }
43
+ }
44
+
45
+ &:focus-visible {
46
+ outline: none;
47
+ box-shadow: inset 0 -2px 0 ${({ theme: o }) => o.colors.primary.hoverBlue};
48
+ }
49
+
50
+ &:disabled {
51
+ cursor: not-allowed;
52
+ color: ${({ theme: o }) => o.colors.gray.darkGray + "80"};
53
+ &::after {
54
+ background: ${({ theme: o }) => o.colors.gray.lightGray2};
55
+ }
56
+ }
57
+ `, l = r.div`
58
+ display: flex;
59
+ box-shadow: inset 0 -1px 0 ${({ theme: o }) => o.colors.gray.lightGray2};
60
+ `;
61
+ export {
62
+ a as TabButton,
63
+ l as TabRow
64
+ };
@@ -0,0 +1,39 @@
1
+ import r from "styled-components";
2
+ import { Typography as o } from "./matbea-ui.es4.js";
3
+ const e = r.table`
4
+ width: 100%;
5
+ border-collapse: collapse;
6
+ overflow: hidden;
7
+ `, t = r.tr`
8
+ &:nth-child(2n) {
9
+ background: ${({ theme: a }) => a.colors.gray.lightBlueGray};
10
+ }
11
+ `, s = r(o).attrs({
12
+ forwardedAs: "td",
13
+ variant: "body-m"
14
+ })`
15
+ display: table-cell;
16
+ color: ${({ theme: a }) => a.colors.primary.darkBlue};
17
+ padding: 16px 14px;
18
+ &:first-child {
19
+ border-radius: 10px 0 0 10px;
20
+ }
21
+ &:last-child {
22
+ border-radius: 0 10px 10px 0;
23
+ }
24
+ `, p = r(o).attrs({
25
+ forwardedAs: "th",
26
+ variant: "body-s"
27
+ })`
28
+ display: table-cell;
29
+ color: ${({ theme: a }) => a.colors.gray.darkGray2};
30
+ padding: 16px 14px;
31
+ `, c = r.tbody``, i = r.thead``;
32
+ export {
33
+ c as TableBody,
34
+ s as TableCell,
35
+ i as TableHead,
36
+ p as TableHeader,
37
+ t as TableRow,
38
+ e as TableStyled
39
+ };
@@ -0,0 +1,44 @@
1
+ import { styled as a } from "styled-components";
2
+ const e = a.div`
3
+ display: inline-flex;
4
+ `, n = a.button`
5
+ position: relative;
6
+ width: 56px;
7
+ height: 26px;
8
+ padding: 4px;
9
+ border: none;
10
+ border-radius: 22px;
11
+ background: ${({ $checked: r, theme: o }) => r ? o.colors.primary.primaryBlue : o.colors.gray.darkGray2};
12
+ cursor: pointer;
13
+ transition: background 150ms ease;
14
+ outline: none;
15
+
16
+ &:focus-visible {
17
+ box-shadow: 0 0 0 2px rgba(49, 99, 240, 0.4);
18
+ }
19
+
20
+ &:hover {
21
+ background: ${({ $checked: r, theme: o }) => r ? o.colors.primary.hoverBlue : o.colors.gray.darkGray};
22
+ }
23
+
24
+ &:disabled {
25
+ cursor: not-allowed;
26
+ background: ${({ theme: r }) => r.colors.gray.darkGray};
27
+ }
28
+ `, i = a.span`
29
+ position: absolute;
30
+ top: 50%;
31
+ left: 4px;
32
+ width: 18px;
33
+ height: 18px;
34
+ border-radius: 50%;
35
+ background: ${({ $disabled: r, theme: o }) => r ? o.colors.primary.darkBlue2 : "#ffffff"};
36
+ box-shadow: ${({ $disabled: r }) => r ? "none" : "0 3px 6px rgba(0, 0, 0, 0.25)"};
37
+ transform: translate(${({ $checked: r }) => r ? "30px" : "0"}, -50%);
38
+ transition: transform 180ms ease, background 150ms ease, box-shadow 150ms ease;
39
+ `;
40
+ export {
41
+ e as SwitcherRoot,
42
+ i as Thumb,
43
+ n as Track
44
+ };
@@ -0,0 +1,58 @@
1
+ import l, { css as i } from "styled-components";
2
+ const s = l.label`
3
+ display: inline-flex;
4
+ align-items: center;
5
+ gap: 12px;
6
+ cursor: ${({ disabled: o }) => o ? "not-allowed" : "pointer"};
7
+ `, c = l.input`
8
+ position: absolute;
9
+ opacity: 0;
10
+ pointer-events: none;
11
+ `, a = l.span`
12
+ width: 24px;
13
+ height: 24px;
14
+ border-radius: 3px;
15
+ border: 1px solid ${({ theme: o }) => o.colors.gray.lightGray3};
16
+ background-color: ${({ theme: o }) => o.colors.primary.white};
17
+ display: inline-flex;
18
+ align-items: center;
19
+ justify-content: center;
20
+ transition: background-color 140ms ease, border-color 140ms ease;
21
+
22
+ ${({ $checked: o, theme: r }) => o && i`
23
+ border-color: ${r.colors.primary.primaryBlue};
24
+ background-color: ${r.colors.primary.primaryBlue};
25
+ `}
26
+
27
+ ${({ $checked: o, $disabled: r, theme: e }) => !r && !o && i`
28
+ &:hover {
29
+ border-color: ${e.colors.primary.hoverBlue};
30
+ }
31
+ `}
32
+
33
+ ${({ $checked: o, $disabled: r, theme: e }) => !r && o && i`
34
+ &:hover {
35
+ border-color: ${e.colors.primary.hoverBlue};
36
+ background-color: ${e.colors.primary.hoverBlue};
37
+ }
38
+ `}
39
+
40
+ ${({ $disabled: o, theme: r }) => o && i`
41
+ border-color: ${r.colors.gray.lightGray2};
42
+ background-color: ${r.colors.gray.lightGray};
43
+ `}
44
+ `, t = l.svg`
45
+ width: 12px;
46
+ height: 9px;
47
+ fill: none;
48
+ stroke-linecap: round;
49
+ stroke-linejoin: round;
50
+ transition: opacity 120ms ease;
51
+ stroke: ${({ theme: o }) => o.colors.primary.white};
52
+ `;
53
+ export {
54
+ a as Box,
55
+ t as CheckIcon,
56
+ c as HiddenInput,
57
+ s as Label
58
+ };
@@ -0,0 +1,19 @@
1
+ import { j as o } from "./matbea-ui.es28.js";
2
+ import "react";
3
+ import { InfoIcon as s } from "./matbea-ui.es32.js";
4
+ import { Typography as t } from "./matbea-ui.es4.js";
5
+ import { InformerStyled as e } from "./matbea-ui.es33.js";
6
+ const j = ({
7
+ label: f,
8
+ description: m,
9
+ type: i,
10
+ icon: r
11
+ }) => /* @__PURE__ */ o.jsxs(e, { $icon: r, $type: i, children: [
12
+ r && /* @__PURE__ */ o.jsx(s, { size: 18, color: "#fff" }),
13
+ f && /* @__PURE__ */ o.jsx(t, { color: "#fff", variant: "body-l-semibold", children: f }),
14
+ r && /* @__PURE__ */ o.jsx("div", {}),
15
+ m && /* @__PURE__ */ o.jsx(t, { color: "#fff", variant: "body-m-semibold", children: m })
16
+ ] });
17
+ export {
18
+ j as Informer
19
+ };
@@ -0,0 +1,26 @@
1
+ import { j as o } from "./matbea-ui.es28.js";
2
+ import { Icon as e } from "./matbea-ui.es72.js";
3
+ const t = (r) => /* @__PURE__ */ o.jsxs(e, { ...r, viewBox: "0 0 18 18", children: [
4
+ /* @__PURE__ */ o.jsx("circle", { cx: "9", cy: "9", r: "9", fill: "#EFF2FB" }),
5
+ /* @__PURE__ */ o.jsx(
6
+ "path",
7
+ {
8
+ d: "M13 9L9 12L5 9",
9
+ stroke: "#5E6F8D",
10
+ "stroke-linecap": "round",
11
+ "stroke-linejoin": "round"
12
+ }
13
+ ),
14
+ /* @__PURE__ */ o.jsx(
15
+ "path",
16
+ {
17
+ d: "M13 6L9 9L5 6",
18
+ stroke: "#5E6F8D",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round"
21
+ }
22
+ )
23
+ ] });
24
+ export {
25
+ t as WithdrawIcon
26
+ };
@@ -0,0 +1,58 @@
1
+ import "./matbea-ui.es28.js";
2
+ import "./matbea-ui.es29.js";
3
+ import "react";
4
+ import "./matbea-ui.es30.js";
5
+ import { Typography as i } from "./matbea-ui.es4.js";
6
+ import "./matbea-ui.es33.js";
7
+ import "./matbea-ui.es6.js";
8
+ import "./matbea-ui.es35.js";
9
+ import "./matbea-ui.es36.js";
10
+ import "./matbea-ui.es39.js";
11
+ import "./matbea-ui.es40.js";
12
+ import "./matbea-ui.es12.js";
13
+ import "./matbea-ui.es42.js";
14
+ import "./matbea-ui.es43.js";
15
+ import "./matbea-ui.es46.js";
16
+ import "./matbea-ui.es47.js";
17
+ import "./matbea-ui.es48.js";
18
+ import "./matbea-ui.es49.js";
19
+ import { styled as o } from "styled-components";
20
+ const $ = o.div`
21
+ display: flex;
22
+ column-gap: 10px;
23
+ row-gap: 12px;
24
+ width: 100%;
25
+ flex: 1;
26
+ flex-direction: column;
27
+ ${({ theme: t }) => t.media.maxWidth.tablet} {
28
+ flex-direction: row;
29
+ justify-content: space-between;
30
+ }
31
+ ${({ theme: t }) => t.media.maxWidth.mobile} {
32
+ flex-direction: column;
33
+ }
34
+ `, v = o(i).attrs({
35
+ forwardedAs: "p",
36
+ variant: "body-s-semibold"
37
+ })`
38
+ white-space: nowrap;
39
+ color: ${({ theme: t }) => t.colors.gray.darkGray};
40
+ `, D = o.div`
41
+ display: flex;
42
+ align-items: center;
43
+ gap: 8px;
44
+ height: 100%;
45
+ `, k = o(i).attrs({
46
+ forwardedAs: "p",
47
+ variant: "body-m-semibold"
48
+ })`
49
+ margin: 0;
50
+ white-space: nowrap;
51
+ color: ${({ theme: t }) => `${t.colors.primary.darkBlue}`};
52
+ `;
53
+ export {
54
+ D as ApplicationDataContent,
55
+ v as ApplicationDataLabel,
56
+ $ as ApplicationDataStyled,
57
+ k as ApplicationDataValue
58
+ };
@@ -0,0 +1,62 @@
1
+ import { css as d, styled as a } from "styled-components";
2
+ const e = a.div`
3
+ display: flex;
4
+ width: fit-content;
5
+ align-items: center;
6
+ gap: 22px;
7
+ ${({ $variant: i }) => {
8
+ switch (i) {
9
+ case "secondary":
10
+ return d`
11
+ padding: 24px;
12
+ background: #f5f5f5;
13
+ `;
14
+ case "primary":
15
+ default:
16
+ return d`
17
+ padding: 24px 20px;
18
+ background: ${({ theme: t }) => t.colors.primary.white};
19
+ border: 1px solid ${({ theme: t }) => t.colors.gray.lightGray2};
20
+ `;
21
+ }
22
+ }}
23
+
24
+ border-radius: 6px;
25
+ ${({ theme: i }) => i.media.maxWidth.tablet} {
26
+ width: 100%;
27
+ flex-direction: column;
28
+ gap: 18px;
29
+ padding: 18px 20px;
30
+ }
31
+ ${({ theme: i }) => i.media.maxWidth.mobile} {
32
+ flex-direction: column;
33
+ gap: 16px;
34
+ padding: 16px 20px;
35
+ }
36
+ `, n = a.div`
37
+ display: flex;
38
+ gap: 56px;
39
+ width: fit-content;
40
+ ${({ theme: i }) => i.media.maxWidth.tablet} {
41
+ width: 100%;
42
+ flex-direction: column;
43
+ gap: 12px;
44
+ }
45
+ ${({ theme: i }) => i.media.maxWidth.mobile} {
46
+ flex-direction: column;
47
+ gap: 8px;
48
+ }
49
+ `, o = a.div`
50
+ display: flex;
51
+ gap: 22px;
52
+ width: fit-content;
53
+ ${({ theme: i }) => i.media.maxWidth.tablet} {
54
+ width: 100%;
55
+ gap: 20px;
56
+ }
57
+ `;
58
+ export {
59
+ o as ApplicationDataActions,
60
+ n as ApplicationInfoDataContainer,
61
+ e as ApplicationInfoStyled
62
+ };