@matbea-ui/matbea-ui 0.1.9 → 0.2.0-dev.102471

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 +25182 -1
  2. package/dist/matbea-ui.cjs.js.map +1 -0
  3. package/dist/matbea-ui.es.js +24979 -59
  4. package/dist/matbea-ui.es.js.map +1 -0
  5. package/dist/types/index.d.ts +750 -0
  6. package/package.json +28 -10
  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,119 +0,0 @@
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
- };
@@ -1,131 +0,0 @@
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
- };
@@ -1,13 +0,0 @@
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
- };
@@ -1,25 +0,0 @@
1
- import { j as e } from "./matbea-ui.es31.js";
2
- import { Icon as o } from "./matbea-ui.es53.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
- };
@@ -1,34 +0,0 @@
1
- import { j as m } from "./matbea-ui.es31.js";
2
- import { useCallback as l } from "react";
3
- import { TabButton as c } from "./matbea-ui.es49.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
- };
@@ -1,64 +0,0 @@
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
- };
@@ -1,19 +0,0 @@
1
- import { j as o } from "./matbea-ui.es31.js";
2
- import "react";
3
- import { InfoIcon as s } from "./matbea-ui.es35.js";
4
- import { Typography as t } from "./matbea-ui.es4.js";
5
- import { InformerStyled as e } from "./matbea-ui.es36.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
- };
@@ -1,39 +0,0 @@
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
- };
@@ -1,44 +0,0 @@
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
- };
@@ -1,58 +0,0 @@
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
- };
@@ -1,17 +0,0 @@
1
- import { j as n } from "./matbea-ui.es31.js";
2
- import "react";
3
- const w = ({ size: t = 24, children: o, ...r }) => /* @__PURE__ */ n.jsx(
4
- "svg",
5
- {
6
- width: t,
7
- height: t,
8
- viewBox: "0 0 24 24",
9
- fill: "none",
10
- xmlns: "http://www.w3.org/2000/svg",
11
- ...r,
12
- children: o
13
- }
14
- );
15
- export {
16
- w as Icon
17
- };
@@ -1,26 +0,0 @@
1
- import { j as o } from "./matbea-ui.es31.js";
2
- import { Icon as e } from "./matbea-ui.es53.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
- };
@@ -1,58 +0,0 @@
1
- import "./matbea-ui.es31.js";
2
- import "./matbea-ui.es32.js";
3
- import "react";
4
- import "./matbea-ui.es33.js";
5
- import { Typography as i } from "./matbea-ui.es4.js";
6
- import "./matbea-ui.es36.js";
7
- import "./matbea-ui.es6.js";
8
- import "./matbea-ui.es38.js";
9
- import "./matbea-ui.es39.js";
10
- import "./matbea-ui.es42.js";
11
- import "./matbea-ui.es43.js";
12
- import "./matbea-ui.es12.js";
13
- import "./matbea-ui.es45.js";
14
- import "./matbea-ui.es46.js";
15
- import "./matbea-ui.es49.js";
16
- import "./matbea-ui.es50.js";
17
- import "./matbea-ui.es51.js";
18
- import "./matbea-ui.es52.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
- };