@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,85 +0,0 @@
1
- import { styled as r, css as i } from "styled-components";
2
- import { Typography as t } from "./matbea-ui.es4.js";
3
- const l = r.div`
4
- display: flex;
5
- flex-direction: column;
6
- gap: 4px;
7
- width: 100%;
8
- `, s = r(t).attrs({
9
- variant: "form-input",
10
- forwardedAs: "label"
11
- })`
12
- color: ${({ theme: o }) => o.colors.primary.darkBlue};
13
- `, c = r.div`
14
- display: flex;
15
- align-items: center;
16
- gap: 8px;
17
- overflow: hidden;
18
- height: 48px;
19
- padding-left: 12px;
20
- border-radius: 5px;
21
- outline: 1px solid ${({ theme: o }) => o.colors.gray.lightGray2};
22
- outline-offset: -1px;
23
- background: ${({ theme: o }) => o.colors.primary.white};
24
- width: 100%;
25
- box-sizing: border-box;
26
- transition: border-color 140ms ease;
27
-
28
- ${({ $disabled: o }) => o && i`
29
- opacity: 0.6;
30
- cursor: not-allowed;
31
- `}
32
-
33
- ${({ $hasError: o, theme: e }) => o && i`
34
- outline-color: ${e.colors.accent.red};
35
- `}
36
-
37
- &:hover {
38
- outline-color: ${({ theme: o, $hasError: e }) => e ? o.colors.accent.red : o.colors.primary.lightBlue2};
39
- }
40
-
41
- &[data-state="active"] {
42
- outline-color: ${({ theme: o, $hasError: e }) => e ? o.colors.accent.red : o.colors.primary.primaryBlue};
43
- }
44
- `, p = r.span`
45
- display: inline-flex;
46
- width: 24px;
47
- height: 24px;
48
- `, d = r.span`
49
- display: inline-flex;
50
- align-items: center;
51
- justify-content: center;
52
- min-width: 48px;
53
- & > button {
54
- border-radius: 0px;
55
- }
56
- `, x = r.input`
57
- flex: 1;
58
- border: none;
59
- outline: none;
60
- background: transparent;
61
- font-family: "Proxima Nova", sans-serif;
62
- padding-right: 12px;
63
- height: 100%;
64
- font-size: 15px;
65
- line-height: 18px;
66
- color: ${({ theme: o }) => o.colors.primary.darkBlue};
67
-
68
- &::placeholder {
69
- color: ${({ theme: o }) => o.colors.gray.darkGray};
70
- }
71
- `, f = r.span`
72
- font-family: "Proxima Nova", sans-serif;
73
- font-size: 15px;
74
- line-height: 18px;
75
- color: ${({ theme: o }) => o.colors.accent.red};
76
- `;
77
- export {
78
- d as ActionSlot,
79
- f as ErrorText,
80
- c as FieldContainer,
81
- x as Input,
82
- s as Label,
83
- p as LeadingIcon,
84
- l as Wrapper
85
- };
@@ -1,18 +0,0 @@
1
- import { styled as i } from "styled-components";
2
- const a = i.div`
3
- display: flex;
4
- flex-direction: column;
5
- width: 100%;
6
- padding: 24px 28px;
7
- background-color: ${({ theme: d }) => d.colors.primary.white};
8
- border-radius: 10px;
9
- ${({ theme: d }) => d.media.maxWidth.tablet} {
10
- padding: 24px 20px;
11
- }
12
- ${({ theme: d }) => d.media.maxWidth.mobile} {
13
- padding: 16px;
14
- }
15
- `;
16
- export {
17
- a as ContainerStyled
18
- };
@@ -1,18 +0,0 @@
1
- import { styled as o } from "styled-components";
2
- import { Typography as t } from "./matbea-ui.es4.js";
3
- const d = o(t).attrs({
4
- forwardedAs: "div"
5
- })`
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- padding: 0px;
10
- width: 22px;
11
- height: 22px;
12
- border-radius: 50%;
13
- color: #fff;
14
- background-color: ${({ theme: r }) => r.colors.primary.primaryBlue};
15
- `;
16
- export {
17
- d as CounterStyled
18
- };
@@ -1,31 +0,0 @@
1
- import { j as m } from "./matbea-ui.es31.js";
2
- import { StyledTypography as y } from "./matbea-ui.es34.js";
3
- const c = ({
4
- as: o = "span",
5
- forwardedAs: a,
6
- variant: r = "body-m-semibold",
7
- color: e,
8
- align: p,
9
- uppercase: s = !1,
10
- truncate: t = !1,
11
- inline: i = !1,
12
- children: l,
13
- ...n
14
- }) => /* @__PURE__ */ m.jsx(
15
- y,
16
- {
17
- as: o,
18
- forwardedAs: a,
19
- $variant: r,
20
- $color: e,
21
- $align: p,
22
- $uppercase: s,
23
- $truncate: t,
24
- $inline: i,
25
- ...n,
26
- children: l
27
- }
28
- );
29
- export {
30
- c as Typography
31
- };
@@ -1,24 +0,0 @@
1
- import { j as i } from "./matbea-ui.es31.js";
2
- import { Icon as s } from "./matbea-ui.es53.js";
3
- const h = (l) => /* @__PURE__ */ i.jsxs(s, { ...l, children: [
4
- /* @__PURE__ */ i.jsxs("g", { "clip-path": "url(#clip0_487_8651)", children: [
5
- /* @__PURE__ */ i.jsx(
6
- "path",
7
- {
8
- d: "M4.99543 4.85076C5.38596 4.46024 6.01912 4.46024 6.40965 4.85076L19.265 17.7061C19.6555 18.0966 19.6555 18.7298 19.265 19.1203L19.0937 19.2916C18.7032 19.6821 18.07 19.6821 17.6795 19.2916L4.82414 6.43627C4.43362 6.04574 4.43362 5.41258 4.82414 5.02206L4.99543 4.85076Z",
9
- fill: "#9296A5"
10
- }
11
- ),
12
- /* @__PURE__ */ i.jsx(
13
- "path",
14
- {
15
- d: "M4.85129 19.1203C4.46077 18.7298 4.46077 18.0966 4.85129 17.7061L17.7066 4.85075C18.0971 4.46023 18.7303 4.46023 19.1208 4.85075L19.2921 5.02205C19.6827 5.41257 19.6827 6.04574 19.2921 6.43626L6.4368 19.2916C6.04627 19.6821 5.41311 19.6821 5.02258 19.2916L4.85129 19.1203Z",
16
- fill: "#9296A5"
17
- }
18
- )
19
- ] }),
20
- /* @__PURE__ */ i.jsx("defs", { children: /* @__PURE__ */ i.jsx("clipPath", { id: "clip0_487_8651", children: /* @__PURE__ */ i.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
21
- ] });
22
- export {
23
- h as CloseIcon
24
- };
@@ -1,10 +0,0 @@
1
- import { j as r } from "./matbea-ui.es31.js";
2
- import { Icon as i } from "./matbea-ui.es53.js";
3
- const h = (t) => /* @__PURE__ */ r.jsxs(i, { ...t, children: [
4
- /* @__PURE__ */ r.jsx("rect", { x: "3", y: "5", width: "18", height: "2", rx: "1", fill: "#9296A5" }),
5
- /* @__PURE__ */ r.jsx("rect", { x: "3", y: "11", width: "18", height: "2", rx: "1", fill: "#9296A5" }),
6
- /* @__PURE__ */ r.jsx("rect", { x: "3", y: "17", width: "18", height: "2", rx: "1", fill: "#9296A5" })
7
- ] });
8
- export {
9
- h as HamburgerIcon
10
- };
@@ -1,42 +0,0 @@
1
- import { keyframes as t, styled as a } from "styled-components";
2
- const e = t`
3
- 0% {
4
- transform: scale(0.5);
5
- }
6
- 25% {
7
- transform: scale(1);
8
- }
9
- 75% {
10
- transform: scale(0.5);
11
- }
12
- 100% {
13
- transform: scale(0.5);
14
- }
15
- `, n = a.div`
16
- display: flex;
17
- `, s = a.div`
18
- margin: 2px;
19
- width: 6px;
20
- height: 6px;
21
- border-radius: 50%;
22
- background-color: ${({ theme: o }) => o.colors.primary.primaryBlue};
23
- transform: scale(0.5);
24
- animation: ${e} 1.2s ease-out infinite;
25
-
26
- &:nth-of-type(2) {
27
- animation-delay: 0.2s;
28
- }
29
- &:nth-of-type(3) {
30
- animation-delay: 0.3s;
31
- }
32
- &:nth-of-type(4) {
33
- animation-delay: 0.4s;
34
- }
35
- &:nth-of-type(5) {
36
- animation-delay: 0.5s;
37
- }
38
- `;
39
- export {
40
- s as LoaderDot,
41
- n as LoaderDots
42
- };
@@ -1,70 +0,0 @@
1
- import { styled as a, css as e } from "styled-components";
2
- import { Typography as n } from "./matbea-ui.es4.js";
3
- const t = a.label`
4
- display: inline-flex;
5
- align-items: center;
6
- gap: 8px;
7
- cursor: ${({ disabled: o }) => o ? "not-allowed" : "pointer"};
8
- `, s = a.input`
9
- position: absolute;
10
- opacity: 0;
11
- pointer-events: none;
12
- `, d = a.span`
13
- width: 16px;
14
- height: 16px;
15
- border-radius: 50%;
16
- border: 2px solid ${({ theme: o }) => o.colors.gray.darkGray2};
17
- background-color: transparent;
18
- transition: border-color 160ms ease, background-color 160ms ease;
19
- position: relative;
20
- display: inline-flex;
21
- justify-content: center;
22
- align-items: center;
23
-
24
- ${({ $checked: o, theme: r }) => o && e`
25
- border-color: ${r.colors.primary.primaryBlue};
26
- &::after {
27
- content: "";
28
- width: 8px;
29
- height: 8px;
30
- border-radius: 50%;
31
- background-color: ${r.colors.primary.primaryBlue};
32
- transition: background-color 160ms ease;
33
- }
34
- `}
35
-
36
- ${({ $checked: o, theme: r }) => !o && e`
37
- &:hover {
38
- border-color: ${r.colors.primary.hoverBlue};
39
- }
40
- `}
41
-
42
- ${({ $checked: o, $disabled: r, theme: i }) => !r && o && e`
43
- &:hover {
44
- border-color: ${i.colors.primary.hoverBlue};
45
- &::after {
46
- background-color: ${i.colors.primary.hoverBlue};
47
- }
48
- }
49
- `}
50
-
51
- ${({ $disabled: o, theme: r }) => o && e`
52
- border-color: ${r.colors.icon.iconSecondary};
53
- background-color: ${r.colors.gray.lightGray2};
54
- &::after {
55
- content: "";
56
- width: 8px;
57
- height: 8px;
58
- border-radius: 50%;
59
- background-color: ${r.colors.icon.iconSecondary};
60
- }
61
- `}
62
- `, p = a(n)`
63
- color: ${({ theme: o }) => o.colors.primary.darkBlue};
64
- `;
65
- export {
66
- s as HiddenInput,
67
- p as LabelText,
68
- t as RadioLabel,
69
- d as VisualRadio
70
- };
@@ -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
- };