mbt-ui-kit 0.1.25 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ai/agent-examples/README.md +9 -0
- package/.ai/agent-reference/README.md +10 -0
- package/.ai/agent-rules/README.md +1 -0
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +173 -156
- package/dist/styles/mbt-ui-kit.css +1 -1
- package/package.json +1 -1
|
@@ -58,9 +58,18 @@ const preloadFonts = [plexSansRegularUrl, plexSansMediumUrl, interVariableUrl];
|
|
|
58
58
|
<SettingsIcon /> Settings
|
|
59
59
|
</Button>
|
|
60
60
|
|
|
61
|
+
<Button>
|
|
62
|
+
<SearchIcon />
|
|
63
|
+
Search
|
|
64
|
+
</Button>
|
|
65
|
+
|
|
61
66
|
<Button>
|
|
62
67
|
Some text <SearchIcon /> Search
|
|
63
68
|
</Button>
|
|
69
|
+
|
|
70
|
+
const buttonRef = useRef<HTMLButtonElement>(null);
|
|
71
|
+
|
|
72
|
+
<Button ref={buttonRef}>Focus me</Button>
|
|
64
73
|
```
|
|
65
74
|
|
|
66
75
|
## Badges
|
|
@@ -34,6 +34,16 @@ This folder holds factual package reference for `mbt-ui-kit`.
|
|
|
34
34
|
- `GraduationCapIcon`
|
|
35
35
|
- `SearchIcon`
|
|
36
36
|
|
|
37
|
+
## Ref Notes
|
|
38
|
+
|
|
39
|
+
- `Button` forwards refs to its underlying native `button` element.
|
|
40
|
+
- `Input` forwards refs to its underlying native `input` element.
|
|
41
|
+
|
|
42
|
+
## Button Notes
|
|
43
|
+
|
|
44
|
+
- `Button` preserves child order for mixed inline content.
|
|
45
|
+
- Package-style icon components and direct `svg` children stay centered within the fixed `37px` button height and may overflow visually when larger than the inner content space.
|
|
46
|
+
|
|
37
47
|
## Typography Notes
|
|
38
48
|
|
|
39
49
|
- `Heading`, `Text`, and `Metric` support a `contentGap` prop for consistent spacing between mixed inline children such as text and icons.
|
|
@@ -26,6 +26,7 @@ These files are the canonical package-owned rules for `mbt-ui-kit`.
|
|
|
26
26
|
## Component Guidance
|
|
27
27
|
|
|
28
28
|
- Use `Button` for shared button behavior instead of recreating button primitives.
|
|
29
|
+
- `Button` supports mixed inline text and icon children and keeps package-style icon components centered within the fixed button height, even when they overflow visually.
|
|
29
30
|
- Use `Badge` for compact pill-style value labels with optional left media and package-owned purchasable or boost affordances.
|
|
30
31
|
- Use `Input` for labeled text inputs and search-style input affordances.
|
|
31
32
|
- Use `Heading`, `Text`, and `Metric` for typography when the consumer wants the package typography primitives.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
fullWidth?: boolean;
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
variant?: 'primary' | 'secondary';
|
|
7
7
|
}
|
|
8
|
-
export declare
|
|
8
|
+
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACnC;AAuDD,eAAO,MAAM,MAAM,2GAwClB,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./tokens-C8rDJFS5.cjs"),t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./tokens-C8rDJFS5.cjs"),t=require("react/jsx-runtime"),u=require("react");function j({size:n="md",className:e,...s}){const o=["mbt-loader",`mbt-loader--${n}`,e].filter(Boolean).join(" ");return t.jsxs("span",{className:o,...s,children:[t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"})]})}function B(n){if(!u.isValidElement(n))return!1;if(n.type==="svg")return!0;if(typeof n.type=="string")return!1;const e=n.type;return(e.displayName??e.name??e.render?.displayName??e.render?.name??e.type?.displayName??e.type?.name??"").endsWith("Icon")}function _(n){return u.Children.toArray(n).map((e,s)=>u.isValidElement(e)?e.type===u.Fragment?_(e.props.children):B(e)?t.jsx("span",{className:"mbt-button__icon",children:e},e.key??`icon-${s}`):e:e)}const g=u.forwardRef(({children:n,fullWidth:e,disabled:s,loading:o,variant:i="primary",className:l,...r},c)=>{const a=s||o,p=_(n),m=["mbt-button",i&&`mbt-button--${i}`,e&&"mbt-button--full-width",s&&"mbt-button--disabled",o&&"mbt-button--loading",l].filter(Boolean).join(" ");return t.jsxs("button",{ref:c,type:"button",className:m,disabled:a,...r,children:[t.jsx("span",{className:"mbt-button__content",children:p}),o&&t.jsx(j,{size:"md",className:"mbt-button__loader"})]})});g.displayName="Button";function C({level:n,children:e,contentGap:s=!1,className:o,...i}){const l=`h${n}`,r=[`mbt-h${n}`,o].filter(Boolean).join(" "),c=s?t.jsx("span",{className:`mbt-h${n}__content`,children:u.Children.toArray(e).map(a=>typeof a=="string"?a.trim():a).filter(a=>a!=="")}):e;return t.jsx(l,{className:r,...i,children:c})}function v({children:n,large:e=!1,muted:s=!1,contentGap:o=!1,as:i="div",className:l,...r}){const c=i,a=["mbt-metric",e&&"mbt-metric--large",s&&"mbt-metric--muted",l].filter(Boolean).join(" "),p=o?t.jsx("span",{className:"mbt-metric__content",children:u.Children.toArray(n).map(m=>typeof m=="string"?m.trim():m).filter(m=>m!=="")}):n;return t.jsx(c,{className:a,...r,children:p})}function N({children:n,strong:e=!1,small:s=!1,label:o=!1,muted:i=!1,disableFontFeatures:l=!1,contentGap:r=!1,as:c="p",className:a,...p}){const m=c,f=["mbt-text",e&&"mbt-text--strong",s&&"mbt-text--small",o&&"mbt-text--label",i&&"mbt-text--muted",l&&"mbt-text--no-features",a].filter(Boolean).join(" "),x=r?t.jsx("span",{className:"mbt-text__content",children:u.Children.toArray(n).map(b=>typeof b=="string"?b.trim():b).filter(b=>b!=="")}):n;return t.jsx(m,{className:f,...p,children:x})}function I(){return t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("path",{d:"M12 4L19 10.5L16.5 12.5L12 8.5L7.5 12.5L5 10.5L12 4Z",fill:"currentColor"}),t.jsx("path",{d:"M12 9L19 15.5L16.5 17.5L12 13.5L7.5 17.5L5 15.5L12 9Z",fill:"currentColor"})]})}function M(){return t.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[t.jsx("path",{d:"M8 3V13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),t.jsx("path",{d:"M3 8H13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}function W({children:n,icon:e,purchasable:s=!1,boost:o=!1,className:i,...l}){const r=!!e,c=r&&s,a=["mbt-badge",r&&"mbt-badge--with-icon",s&&"mbt-badge--purchasable",o&&"mbt-badge--boost",i].filter(Boolean).join(" ");return t.jsxs("div",{className:a,...l,children:[r&&t.jsxs("span",{className:"mbt-badge__media",children:[t.jsx("span",{className:"mbt-badge__icon",children:e}),c&&t.jsx("span",{className:"mbt-badge__purchasable","aria-hidden":"true",children:t.jsx(M,{})})]}),t.jsx(N,{as:"span",disableFontFeatures:!0,strong:!0,className:"mbt-badge__content",children:n}),o&&t.jsx("span",{className:"mbt-badge__boost","aria-hidden":"true",children:t.jsx(I,{})})]})}function w({className:n,title:e="Search"}){return t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,role:"img","aria-label":e,children:[t.jsx("title",{children:e}),t.jsx("circle",{cx:"11",cy:"11",r:"8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"m21 21-4.34-4.34",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}const k=u.forwardRef(({label:n,muted:e=!1,showSearchIcon:s=!1,icon:o,fullWidth:i=!1,className:l,...r},c)=>{const a=u.useId(),p=r.id??a,m=["mbt-input",i&&"mbt-input--full-width",l].filter(Boolean).join(" "),f=["mbt-input__label",e&&"mbt-input__label--muted"].filter(Boolean).join(" "),x=["mbt-input__wrapper",e&&"mbt-input__wrapper--muted"].filter(Boolean).join(" "),b=["mbt-input__field",e&&"mbt-input__field--muted"].filter(Boolean).join(" "),L=["mbt-input__icon",e&&"mbt-input__icon--muted"].filter(Boolean).join(" "),h=o||s&&t.jsx(w,{});return t.jsx("div",{className:m,children:t.jsxs("div",{className:"mbt-input__container",children:[n&&t.jsx("label",{htmlFor:p,className:f,children:n}),t.jsxs("div",{className:x,children:[t.jsx("input",{ref:c,id:p,type:"text",className:b,...r}),h&&t.jsx("div",{className:L,children:h})]})]})})});k.displayName="Input";function y({className:n,title:e="Graduation cap"}){return t.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,role:"img","aria-label":e,children:[t.jsx("title",{children:e}),t.jsx("path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M22 10v6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t.jsx("path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function z({children:n,icon:e,selected:s=!1,small:o=!1,disabled:i,className:l,...r}){const c=["mbt-menu-button",s&&"mbt-menu-button--selected",o&&"mbt-menu-button--small",l].filter(Boolean).join(" "),a=e??t.jsx(y,{});return t.jsxs("button",{type:"button",className:c,disabled:i,"aria-pressed":s,...r,children:[t.jsx("div",{className:"mbt-menu-button__icon",children:a}),t.jsx("span",{className:"mbt-menu-button__text",children:n})]})}exports.colors=d.colors;exports.fontFeatures=d.fontFeatures;exports.fontSizes=d.fontSizes;exports.fontWeights=d.fontWeights;exports.fonts=d.fonts;exports.radius=d.radius;exports.spacing=d.spacing;exports.tokens=d.tokens;exports.transitions=d.transitions;exports.zIndex=d.zIndex;exports.Badge=W;exports.Button=g;exports.GraduationCapIcon=y;exports.Heading=C;exports.Input=k;exports.Loader=j;exports.MenuButton=z;exports.Metric=v;exports.SearchIcon=w;exports.Text=N;
|
package/dist/index.mjs
CHANGED
|
@@ -1,97 +1,114 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { Children as
|
|
4
|
-
function
|
|
5
|
-
const
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
1
|
+
import { c as P, f as Z, a as D, b as E, d as R, r as q, s as J, t as K, e as O, z as Q } from "./tokens-C0g4TAJO.js";
|
|
2
|
+
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as g, Children as b, isValidElement as N, Fragment as y, useId as L } from "react";
|
|
4
|
+
function x({ size: n = "md", className: t, ...a }) {
|
|
5
|
+
const o = ["mbt-loader", `mbt-loader--${n}`, t].filter(Boolean).join(" ");
|
|
6
|
+
return /* @__PURE__ */ d("span", { className: o, ...a, children: [
|
|
7
|
+
/* @__PURE__ */ e("span", { className: "mbt-loader__dot" }),
|
|
8
|
+
/* @__PURE__ */ e("span", { className: "mbt-loader__dot" }),
|
|
9
|
+
/* @__PURE__ */ e("span", { className: "mbt-loader__dot" })
|
|
10
10
|
] });
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
e && "mbt-button--full-width",
|
|
25
|
-
s && "mbt-button--disabled",
|
|
26
|
-
a && "mbt-button--loading",
|
|
27
|
-
l
|
|
28
|
-
].filter(Boolean).join(" ");
|
|
29
|
-
return /* @__PURE__ */ m(
|
|
30
|
-
"button",
|
|
31
|
-
{
|
|
32
|
-
type: "button",
|
|
33
|
-
className: r,
|
|
34
|
-
disabled: c,
|
|
35
|
-
...o,
|
|
36
|
-
children: [
|
|
37
|
-
/* @__PURE__ */ t("span", { className: "mbt-button__content", children: n }),
|
|
38
|
-
a && /* @__PURE__ */ t(k, { size: "md", className: "mbt-button__loader" })
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
);
|
|
12
|
+
function B(n) {
|
|
13
|
+
if (!N(n))
|
|
14
|
+
return !1;
|
|
15
|
+
if (n.type === "svg")
|
|
16
|
+
return !0;
|
|
17
|
+
if (typeof n.type == "string")
|
|
18
|
+
return !1;
|
|
19
|
+
const t = n.type;
|
|
20
|
+
return (t.displayName ?? t.name ?? t.render?.displayName ?? t.render?.name ?? t.type?.displayName ?? t.type?.name ?? "").endsWith("Icon");
|
|
21
|
+
}
|
|
22
|
+
function w(n) {
|
|
23
|
+
return b.toArray(n).map((t, a) => N(t) ? t.type === y ? w(t.props.children) : B(t) ? /* @__PURE__ */ e("span", { className: "mbt-button__icon", children: t }, t.key ?? `icon-${a}`) : t : t);
|
|
42
24
|
}
|
|
43
|
-
|
|
25
|
+
const j = g(
|
|
26
|
+
({
|
|
27
|
+
children: n,
|
|
28
|
+
fullWidth: t,
|
|
29
|
+
disabled: a,
|
|
30
|
+
loading: o,
|
|
31
|
+
variant: i = "primary",
|
|
32
|
+
className: l,
|
|
33
|
+
...s
|
|
34
|
+
}, c) => {
|
|
35
|
+
const r = a || o, u = w(n), m = [
|
|
36
|
+
"mbt-button",
|
|
37
|
+
i && `mbt-button--${i}`,
|
|
38
|
+
t && "mbt-button--full-width",
|
|
39
|
+
a && "mbt-button--disabled",
|
|
40
|
+
o && "mbt-button--loading",
|
|
41
|
+
l
|
|
42
|
+
].filter(Boolean).join(" ");
|
|
43
|
+
return /* @__PURE__ */ d(
|
|
44
|
+
"button",
|
|
45
|
+
{
|
|
46
|
+
ref: c,
|
|
47
|
+
type: "button",
|
|
48
|
+
className: m,
|
|
49
|
+
disabled: r,
|
|
50
|
+
...s,
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ e("span", { className: "mbt-button__content", children: u }),
|
|
53
|
+
o && /* @__PURE__ */ e(x, { size: "md", className: "mbt-button__loader" })
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
j.displayName = "Button";
|
|
60
|
+
function A({
|
|
44
61
|
level: n,
|
|
45
|
-
children:
|
|
46
|
-
contentGap:
|
|
47
|
-
className:
|
|
62
|
+
children: t,
|
|
63
|
+
contentGap: a = !1,
|
|
64
|
+
className: o,
|
|
48
65
|
...i
|
|
49
66
|
}) {
|
|
50
|
-
const l = `h${n}`,
|
|
51
|
-
return /* @__PURE__ */
|
|
67
|
+
const l = `h${n}`, s = [`mbt-h${n}`, o].filter(Boolean).join(" "), c = a ? /* @__PURE__ */ e("span", { className: `mbt-h${n}__content`, children: b.toArray(t).map((r) => typeof r == "string" ? r.trim() : r).filter((r) => r !== "") }) : t;
|
|
68
|
+
return /* @__PURE__ */ e(l, { className: s, ...i, children: c });
|
|
52
69
|
}
|
|
53
|
-
function
|
|
70
|
+
function T({
|
|
54
71
|
children: n,
|
|
55
|
-
large:
|
|
56
|
-
muted:
|
|
57
|
-
contentGap:
|
|
72
|
+
large: t = !1,
|
|
73
|
+
muted: a = !1,
|
|
74
|
+
contentGap: o = !1,
|
|
58
75
|
as: i = "div",
|
|
59
76
|
className: l,
|
|
60
|
-
...
|
|
77
|
+
...s
|
|
61
78
|
}) {
|
|
62
79
|
const c = i, r = [
|
|
63
80
|
"mbt-metric",
|
|
64
|
-
|
|
65
|
-
|
|
81
|
+
t && "mbt-metric--large",
|
|
82
|
+
a && "mbt-metric--muted",
|
|
66
83
|
l
|
|
67
|
-
].filter(Boolean).join(" "),
|
|
68
|
-
return /* @__PURE__ */
|
|
84
|
+
].filter(Boolean).join(" "), u = o ? /* @__PURE__ */ e("span", { className: "mbt-metric__content", children: b.toArray(n).map((m) => typeof m == "string" ? m.trim() : m).filter((m) => m !== "") }) : n;
|
|
85
|
+
return /* @__PURE__ */ e(c, { className: r, ...s, children: u });
|
|
69
86
|
}
|
|
70
|
-
function
|
|
87
|
+
function v({
|
|
71
88
|
children: n,
|
|
72
|
-
strong:
|
|
73
|
-
small:
|
|
74
|
-
label:
|
|
89
|
+
strong: t = !1,
|
|
90
|
+
small: a = !1,
|
|
91
|
+
label: o = !1,
|
|
75
92
|
muted: i = !1,
|
|
76
93
|
disableFontFeatures: l = !1,
|
|
77
|
-
contentGap:
|
|
94
|
+
contentGap: s = !1,
|
|
78
95
|
as: c = "p",
|
|
79
96
|
className: r,
|
|
80
|
-
...
|
|
97
|
+
...u
|
|
81
98
|
}) {
|
|
82
|
-
const
|
|
99
|
+
const m = c, f = [
|
|
83
100
|
"mbt-text",
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
101
|
+
t && "mbt-text--strong",
|
|
102
|
+
a && "mbt-text--small",
|
|
103
|
+
o && "mbt-text--label",
|
|
87
104
|
i && "mbt-text--muted",
|
|
88
105
|
l && "mbt-text--no-features",
|
|
89
106
|
r
|
|
90
|
-
].filter(Boolean).join(" "),
|
|
91
|
-
return /* @__PURE__ */
|
|
107
|
+
].filter(Boolean).join(" "), h = s ? /* @__PURE__ */ e("span", { className: "mbt-text__content", children: b.toArray(n).map((p) => typeof p == "string" ? p.trim() : p).filter((p) => p !== "") }) : n;
|
|
108
|
+
return /* @__PURE__ */ e(m, { className: f, ...u, children: h });
|
|
92
109
|
}
|
|
93
|
-
function
|
|
94
|
-
return /* @__PURE__ */
|
|
110
|
+
function C() {
|
|
111
|
+
return /* @__PURE__ */ d(
|
|
95
112
|
"svg",
|
|
96
113
|
{
|
|
97
114
|
width: "24",
|
|
@@ -101,14 +118,14 @@ function x() {
|
|
|
101
118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
102
119
|
"aria-hidden": "true",
|
|
103
120
|
children: [
|
|
104
|
-
/* @__PURE__ */
|
|
121
|
+
/* @__PURE__ */ e(
|
|
105
122
|
"path",
|
|
106
123
|
{
|
|
107
124
|
d: "M12 4L19 10.5L16.5 12.5L12 8.5L7.5 12.5L5 10.5L12 4Z",
|
|
108
125
|
fill: "currentColor"
|
|
109
126
|
}
|
|
110
127
|
),
|
|
111
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ e(
|
|
112
129
|
"path",
|
|
113
130
|
{
|
|
114
131
|
d: "M12 9L19 15.5L16.5 17.5L12 13.5L7.5 17.5L5 15.5L12 9Z",
|
|
@@ -119,8 +136,8 @@ function x() {
|
|
|
119
136
|
}
|
|
120
137
|
);
|
|
121
138
|
}
|
|
122
|
-
function
|
|
123
|
-
return /* @__PURE__ */
|
|
139
|
+
function I() {
|
|
140
|
+
return /* @__PURE__ */ d(
|
|
124
141
|
"svg",
|
|
125
142
|
{
|
|
126
143
|
width: "16",
|
|
@@ -130,7 +147,7 @@ function B() {
|
|
|
130
147
|
xmlns: "http://www.w3.org/2000/svg",
|
|
131
148
|
"aria-hidden": "true",
|
|
132
149
|
children: [
|
|
133
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ e(
|
|
134
151
|
"path",
|
|
135
152
|
{
|
|
136
153
|
d: "M8 3V13",
|
|
@@ -139,7 +156,7 @@ function B() {
|
|
|
139
156
|
strokeLinecap: "round"
|
|
140
157
|
}
|
|
141
158
|
),
|
|
142
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ e(
|
|
143
160
|
"path",
|
|
144
161
|
{
|
|
145
162
|
d: "M3 8H13",
|
|
@@ -152,32 +169,32 @@ function B() {
|
|
|
152
169
|
}
|
|
153
170
|
);
|
|
154
171
|
}
|
|
155
|
-
function
|
|
172
|
+
function S({
|
|
156
173
|
children: n,
|
|
157
|
-
icon:
|
|
158
|
-
purchasable:
|
|
159
|
-
boost:
|
|
174
|
+
icon: t,
|
|
175
|
+
purchasable: a = !1,
|
|
176
|
+
boost: o = !1,
|
|
160
177
|
className: i,
|
|
161
178
|
...l
|
|
162
179
|
}) {
|
|
163
|
-
const
|
|
180
|
+
const s = !!t, c = s && a, r = [
|
|
164
181
|
"mbt-badge",
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
182
|
+
s && "mbt-badge--with-icon",
|
|
183
|
+
a && "mbt-badge--purchasable",
|
|
184
|
+
o && "mbt-badge--boost",
|
|
168
185
|
i
|
|
169
186
|
].filter(Boolean).join(" ");
|
|
170
|
-
return /* @__PURE__ */
|
|
171
|
-
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
c && /* @__PURE__ */
|
|
187
|
+
return /* @__PURE__ */ d("div", { className: r, ...l, children: [
|
|
188
|
+
s && /* @__PURE__ */ d("span", { className: "mbt-badge__media", children: [
|
|
189
|
+
/* @__PURE__ */ e("span", { className: "mbt-badge__icon", children: t }),
|
|
190
|
+
c && /* @__PURE__ */ e("span", { className: "mbt-badge__purchasable", "aria-hidden": "true", children: /* @__PURE__ */ e(I, {}) })
|
|
174
191
|
] }),
|
|
175
|
-
/* @__PURE__ */
|
|
176
|
-
|
|
192
|
+
/* @__PURE__ */ e(v, { as: "span", disableFontFeatures: !0, strong: !0, className: "mbt-badge__content", children: n }),
|
|
193
|
+
o && /* @__PURE__ */ e("span", { className: "mbt-badge__boost", "aria-hidden": "true", children: /* @__PURE__ */ e(C, {}) })
|
|
177
194
|
] });
|
|
178
195
|
}
|
|
179
|
-
function
|
|
180
|
-
return /* @__PURE__ */
|
|
196
|
+
function M({ className: n, title: t = "Search" }) {
|
|
197
|
+
return /* @__PURE__ */ d(
|
|
181
198
|
"svg",
|
|
182
199
|
{
|
|
183
200
|
width: "24",
|
|
@@ -187,10 +204,10 @@ function j({ className: n, title: e = "Search" }) {
|
|
|
187
204
|
xmlns: "http://www.w3.org/2000/svg",
|
|
188
205
|
className: n,
|
|
189
206
|
role: "img",
|
|
190
|
-
"aria-label":
|
|
207
|
+
"aria-label": t,
|
|
191
208
|
children: [
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
/* @__PURE__ */
|
|
209
|
+
/* @__PURE__ */ e("title", { children: t }),
|
|
210
|
+
/* @__PURE__ */ e(
|
|
194
211
|
"circle",
|
|
195
212
|
{
|
|
196
213
|
cx: "11",
|
|
@@ -202,7 +219,7 @@ function j({ className: n, title: e = "Search" }) {
|
|
|
202
219
|
strokeLinejoin: "round"
|
|
203
220
|
}
|
|
204
221
|
),
|
|
205
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ e(
|
|
206
223
|
"path",
|
|
207
224
|
{
|
|
208
225
|
d: "m21 21-4.34-4.34",
|
|
@@ -216,54 +233,54 @@ function j({ className: n, title: e = "Search" }) {
|
|
|
216
233
|
}
|
|
217
234
|
);
|
|
218
235
|
}
|
|
219
|
-
const
|
|
236
|
+
const W = g(
|
|
220
237
|
({
|
|
221
238
|
label: n,
|
|
222
|
-
muted:
|
|
223
|
-
showSearchIcon:
|
|
224
|
-
icon:
|
|
239
|
+
muted: t = !1,
|
|
240
|
+
showSearchIcon: a = !1,
|
|
241
|
+
icon: o,
|
|
225
242
|
fullWidth: i = !1,
|
|
226
243
|
className: l,
|
|
227
|
-
...
|
|
244
|
+
...s
|
|
228
245
|
}, c) => {
|
|
229
|
-
const r =
|
|
246
|
+
const r = L(), u = s.id ?? r, m = [
|
|
230
247
|
"mbt-input",
|
|
231
248
|
i && "mbt-input--full-width",
|
|
232
249
|
l
|
|
233
|
-
].filter(Boolean).join(" "), p = [
|
|
234
|
-
"mbt-input__label",
|
|
235
|
-
e && "mbt-input__label--muted"
|
|
236
250
|
].filter(Boolean).join(" "), f = [
|
|
251
|
+
"mbt-input__label",
|
|
252
|
+
t && "mbt-input__label--muted"
|
|
253
|
+
].filter(Boolean).join(" "), h = [
|
|
237
254
|
"mbt-input__wrapper",
|
|
238
|
-
|
|
239
|
-
].filter(Boolean).join(" "),
|
|
255
|
+
t && "mbt-input__wrapper--muted"
|
|
256
|
+
].filter(Boolean).join(" "), p = [
|
|
240
257
|
"mbt-input__field",
|
|
241
|
-
|
|
242
|
-
].filter(Boolean).join(" "),
|
|
243
|
-
return /* @__PURE__ */
|
|
244
|
-
n && /* @__PURE__ */
|
|
245
|
-
/* @__PURE__ */
|
|
246
|
-
/* @__PURE__ */
|
|
258
|
+
t && "mbt-input__field--muted"
|
|
259
|
+
].filter(Boolean).join(" "), k = ["mbt-input__icon", t && "mbt-input__icon--muted"].filter(Boolean).join(" "), _ = o || a && /* @__PURE__ */ e(M, {});
|
|
260
|
+
return /* @__PURE__ */ e("div", { className: m, children: /* @__PURE__ */ d("div", { className: "mbt-input__container", children: [
|
|
261
|
+
n && /* @__PURE__ */ e("label", { htmlFor: u, className: f, children: n }),
|
|
262
|
+
/* @__PURE__ */ d("div", { className: h, children: [
|
|
263
|
+
/* @__PURE__ */ e(
|
|
247
264
|
"input",
|
|
248
265
|
{
|
|
249
266
|
ref: c,
|
|
250
|
-
id:
|
|
267
|
+
id: u,
|
|
251
268
|
type: "text",
|
|
252
|
-
className:
|
|
253
|
-
...
|
|
269
|
+
className: p,
|
|
270
|
+
...s
|
|
254
271
|
}
|
|
255
272
|
),
|
|
256
|
-
_ && /* @__PURE__ */
|
|
273
|
+
_ && /* @__PURE__ */ e("div", { className: k, children: _ })
|
|
257
274
|
] })
|
|
258
275
|
] }) });
|
|
259
276
|
}
|
|
260
277
|
);
|
|
261
|
-
|
|
262
|
-
function
|
|
278
|
+
W.displayName = "Input";
|
|
279
|
+
function z({
|
|
263
280
|
className: n,
|
|
264
|
-
title:
|
|
281
|
+
title: t = "Graduation cap"
|
|
265
282
|
}) {
|
|
266
|
-
return /* @__PURE__ */
|
|
283
|
+
return /* @__PURE__ */ d(
|
|
267
284
|
"svg",
|
|
268
285
|
{
|
|
269
286
|
width: "24",
|
|
@@ -273,10 +290,10 @@ function C({
|
|
|
273
290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
274
291
|
className: n,
|
|
275
292
|
role: "img",
|
|
276
|
-
"aria-label":
|
|
293
|
+
"aria-label": t,
|
|
277
294
|
children: [
|
|
278
|
-
/* @__PURE__ */
|
|
279
|
-
/* @__PURE__ */
|
|
295
|
+
/* @__PURE__ */ e("title", { children: t }),
|
|
296
|
+
/* @__PURE__ */ e(
|
|
280
297
|
"path",
|
|
281
298
|
{
|
|
282
299
|
d: "M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",
|
|
@@ -286,7 +303,7 @@ function C({
|
|
|
286
303
|
strokeLinejoin: "round"
|
|
287
304
|
}
|
|
288
305
|
),
|
|
289
|
-
/* @__PURE__ */
|
|
306
|
+
/* @__PURE__ */ e(
|
|
290
307
|
"path",
|
|
291
308
|
{
|
|
292
309
|
d: "M22 10v6",
|
|
@@ -296,7 +313,7 @@ function C({
|
|
|
296
313
|
strokeLinejoin: "round"
|
|
297
314
|
}
|
|
298
315
|
),
|
|
299
|
-
/* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ e(
|
|
300
317
|
"path",
|
|
301
318
|
{
|
|
302
319
|
d: "M6 12.5V16a6 3 0 0 0 12 0v-3.5",
|
|
@@ -310,55 +327,55 @@ function C({
|
|
|
310
327
|
}
|
|
311
328
|
);
|
|
312
329
|
}
|
|
313
|
-
function
|
|
330
|
+
function V({
|
|
314
331
|
children: n,
|
|
315
|
-
icon:
|
|
316
|
-
selected:
|
|
317
|
-
small:
|
|
332
|
+
icon: t,
|
|
333
|
+
selected: a = !1,
|
|
334
|
+
small: o = !1,
|
|
318
335
|
disabled: i,
|
|
319
336
|
className: l,
|
|
320
|
-
...
|
|
337
|
+
...s
|
|
321
338
|
}) {
|
|
322
339
|
const c = [
|
|
323
340
|
"mbt-menu-button",
|
|
324
|
-
|
|
325
|
-
|
|
341
|
+
a && "mbt-menu-button--selected",
|
|
342
|
+
o && "mbt-menu-button--small",
|
|
326
343
|
l
|
|
327
344
|
].filter(Boolean).join(" ");
|
|
328
|
-
return /* @__PURE__ */
|
|
345
|
+
return /* @__PURE__ */ d(
|
|
329
346
|
"button",
|
|
330
347
|
{
|
|
331
348
|
type: "button",
|
|
332
349
|
className: c,
|
|
333
350
|
disabled: i,
|
|
334
|
-
"aria-pressed":
|
|
335
|
-
...
|
|
351
|
+
"aria-pressed": a,
|
|
352
|
+
...s,
|
|
336
353
|
children: [
|
|
337
|
-
/* @__PURE__ */
|
|
338
|
-
/* @__PURE__ */
|
|
354
|
+
/* @__PURE__ */ e("div", { className: "mbt-menu-button__icon", children: t ?? /* @__PURE__ */ e(z, {}) }),
|
|
355
|
+
/* @__PURE__ */ e("span", { className: "mbt-menu-button__text", children: n })
|
|
339
356
|
]
|
|
340
357
|
}
|
|
341
358
|
);
|
|
342
359
|
}
|
|
343
360
|
export {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
S as Badge,
|
|
362
|
+
j as Button,
|
|
363
|
+
z as GraduationCapIcon,
|
|
364
|
+
A as Heading,
|
|
365
|
+
W as Input,
|
|
366
|
+
x as Loader,
|
|
367
|
+
V as MenuButton,
|
|
368
|
+
T as Metric,
|
|
369
|
+
M as SearchIcon,
|
|
370
|
+
v as Text,
|
|
371
|
+
P as colors,
|
|
372
|
+
Z as fontFeatures,
|
|
373
|
+
D as fontSizes,
|
|
374
|
+
E as fontWeights,
|
|
375
|
+
R as fonts,
|
|
376
|
+
q as radius,
|
|
377
|
+
J as spacing,
|
|
378
|
+
K as tokens,
|
|
379
|
+
O as transitions,
|
|
380
|
+
Q as zIndex
|
|
364
381
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-v23-latin-regular.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-v23-latin-500.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-v23-latin-600.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/Inter-VariableFont_opsz,wght.ttf) format("truetype")}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(../fonts/Inter-Italic-VariableFont_opsz,wght.ttf) format("truetype")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-v20-latin-regular.woff2) format("woff2")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-v20-latin-500.woff2) format("woff2")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-mono-v20-latin-600.woff2) format("woff2")}.mbt-button{appearance:none;border:none;background:none;cursor:pointer;outline:none;padding:8px 16px;display:grid;place-items:center;height:37px;max-height:37px;min-height:37px;border-radius:8px;font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:normal;text-transform:uppercase;text-align:center;white-space:nowrap;-webkit-user-select:none;user-select:none;transition:background-color .15s ease,color .15s ease}.mbt-button--primary{background-color:#f2f4fa;color:#0b0e14}.mbt-button--secondary{background-color:#1d2335;color:#f2f4fa}.mbt-button__content,.mbt-button__loader{grid-area:1/1}.mbt-button__content{display:inline-flex;align-items:center;justify-content:center;gap:8px}.mbt-button__content svg{display:block;flex-shrink:0}.mbt-button:hover{color:#6663fd}.mbt-button:active{opacity:.9}.mbt-button:focus-visible{box-shadow:0 0 0 2px #0b0e14,0 0 0 4px #6663fd}.mbt-button--disabled{background-color:#1d2335;color:#8d92a9;cursor:not-allowed;pointer-events:none}.mbt-button--loading{cursor:not-allowed;pointer-events:none}.mbt-button--loading .mbt-button__content{visibility:hidden}.mbt-button--full-width{width:100%}.mbt-badge{position:relative;display:inline-flex;align-items:center;gap:12px;height:24px;max-height:24px;padding:4px 12px;border-radius:999px;background:#1d2335;color:#f2f4fa;overflow:visible;-webkit-user-select:none;user-select:none}.mbt-badge--with-icon{padding-left:12px}.mbt-badge--purchasable{cursor:pointer}.mbt-badge--boost{padding-right:20px}.mbt-badge__media{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;margin-left:-20px}.mbt-badge__icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px}.mbt-badge__icon svg{display:block;max-width:100%;max-height:100%}.mbt-badge__purchasable{position:absolute;right:-8px;bottom:-7px;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:#f2f4fa}.mbt-badge__content{display:inline-flex;align-items:center;min-width:0;line-height:1;color:inherit;white-space:nowrap}.mbt-badge__boost{position:absolute;top:-8px;right:-8px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#0950c2}.mbt-input__container{display:flex;flex-direction:column;gap:10px;width:100%;max-width:296px}.mbt-input__label{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1;color:#f2f4fa;margin:0;font-feature-settings:"ss01" 1,"salt" 1,"ss02" 1}.mbt-input__label--muted{color:#8d92a9}.mbt-input__wrapper{position:relative;display:flex;align-items:center;width:100%;border:1px solid #f2f4fa;border-radius:8px;padding:8px 16px;background-color:transparent;transition:border-color .15s ease}.mbt-input__wrapper--muted{border-color:#8d92a9}.mbt-input__wrapper:focus-within{border-color:#6663fd}.mbt-input__field{flex:1;appearance:none;border:none;background:none;outline:none;font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1;color:#f2f4fa;font-feature-settings:"ss01" 1,"salt" 1,"ss02" 1}.mbt-input__field::placeholder{color:#f2f4fa}.mbt-input__field--muted{color:#8d92a9}.mbt-input__field--muted::placeholder{color:#8d92a9}.mbt-input__icon{flex-shrink:0;width:24px;height:24px;margin-left:8px;color:#f2f4fa}.mbt-input__icon--muted{color:#8d92a9}.mbt-input--full-width .mbt-input__container{max-width:none}.mbt-h1{font-family:IBM Plex Sans,sans-serif;font-size:72px;font-weight:600;line-height:80px;color:#f2f4fa;margin:0}.mbt-h1__content{display:inline-flex;align-items:center;gap:8px}.mbt-h1__content svg{display:block;flex-shrink:0}.mbt-h2{font-family:IBM Plex Sans,sans-serif;font-size:40px;font-weight:600;line-height:48px;color:#f2f4fa;margin:0}.mbt-h2__content{display:inline-flex;align-items:center;gap:8px}.mbt-h2__content svg{display:block;flex-shrink:0}.mbt-h3{font-family:IBM Plex Sans,sans-serif;font-size:28px;font-weight:500;line-height:36px;color:#f2f4fa;margin:0}.mbt-h3__content{display:inline-flex;align-items:center;gap:8px}.mbt-h3__content svg{display:block;flex-shrink:0}.mbt-h4{font-family:IBM Plex Sans,sans-serif;font-size:20px;font-weight:500;line-height:28px;color:#f2f4fa;margin:0}.mbt-h4__content{display:inline-flex;align-items:center;gap:8px}.mbt-h4__content svg{display:block;flex-shrink:0}.mbt-h5{font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:24px;color:#f2f4fa;margin:0}.mbt-h5__content{display:inline-flex;align-items:center;gap:8px}.mbt-h5__content svg{display:block;flex-shrink:0}.mbt-text{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:normal;color:#f2f4fa;margin:0;font-feature-settings:"salt" on,"ss01" on,"ss02" on}.mbt-text svg{display:inline-block;vertical-align:middle}.mbt-text__content{display:inline-flex;align-items:center;gap:8px}.mbt-text__content svg{display:block;flex-shrink:0}.mbt-text--strong{font-weight:500}.mbt-text--small{font-size:12px;line-height:18px}.mbt-text--label{font-size:12px;text-transform:uppercase}.mbt-text--muted{color:#8d92a9}.mbt-text--no-features{font-feature-settings:normal}.mbt-metric{font-family:IBM Plex Mono,monospace;font-size:16px;font-weight:400;line-height:1;color:#f2f4fa;margin:0}.mbt-metric__content{display:inline-flex;align-items:center;gap:8px}.mbt-metric__content svg{display:block;flex-shrink:0}.mbt-metric--large{font-size:24px;font-weight:500;line-height:32px}.mbt-metric--muted{color:#8d92a9}.mbt-menu-button{appearance:none;border:none;background:none;cursor:pointer;outline:none;display:flex;align-items:center;width:248px;height:44px;padding:4px 12px;gap:8px;font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:24px;color:#f2f4fa;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:8px;transition:background-color .15s ease,color .15s ease}.mbt-menu-button__icon{flex-shrink:0;width:24px;height:24px;color:#f2f4fa;transition:color .15s ease}.mbt-menu-button__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.mbt-menu-button:hover:not(:disabled):not(.mbt-menu-button--selected){background-color:#2a3148;color:#0950c2}.mbt-menu-button:hover:not(:disabled):not(.mbt-menu-button--selected) .mbt-menu-button__icon{color:#0950c2}.mbt-menu-button--selected{background-color:#1d2335;color:#6663fd}.mbt-menu-button--selected .mbt-menu-button__icon{color:#6663fd}.mbt-menu-button--small{padding:4px 8px;height:32px;gap:8px;font-family:Inter,sans-serif;font-size:12px;font-weight:400;line-height:18px}.mbt-menu-button--small .mbt-menu-button__icon{width:20px;height:20px}.mbt-menu-button:disabled{color:#8d92a9;cursor:not-allowed;pointer-events:none}.mbt-menu-button:disabled .mbt-menu-button__icon{color:#8d92a9}.mbt-loader{display:inline-flex;align-items:center;gap:4px}.mbt-loader__dot{display:inline-block;background-color:currentColor;border-radius:999px;animation:mbt-loader-bounce 1.4s infinite ease-in-out both}.mbt-loader__dot:nth-child(1){animation-delay:-.32s}.mbt-loader__dot:nth-child(2){animation-delay:-.16s}.mbt-loader--sm .mbt-loader__dot{width:6px;height:6px}.mbt-loader--md .mbt-loader__dot{width:9px;height:9px}.mbt-loader--lg .mbt-loader__dot{width:12px;height:12px}@keyframes mbt-loader-bounce{0%,80%,to{opacity:0;transform:scale(0)}40%{opacity:1;transform:scale(1)}}*,*:before,*:after{box-sizing:border-box}:root{--mbt-color-bg-0: #0b0e14;--mbt-color-bg-1: #111520;--mbt-color-surface: #171c2a;--mbt-color-surface-raised: #1d2335;--mbt-color-border: #2a3148;--mbt-color-gray: #475569;--mbt-color-text-primary: #f2f4fa;--mbt-color-text-muted: #8d92a9;--mbt-color-text-inverse: #0b0e14;--mbt-color-primary: #6663fd;--mbt-color-secondary: #0950c2;--mbt-color-success: #00b279;--mbt-color-error: #f2766a;--mbt-color-warning: #e6c352;--mbt-color-diamond: #e6f3ff;--mbt-color-primary-stop-0: #00a09e;--mbt-color-primary-stop-1: #234dc5;--mbt-color-primary-stop-2: #1945d9;--mbt-color-diamond-stop-0: #beacd3;--mbt-color-diamond-stop-1: #bee3f7;--mbt-color-diamond-stop-2: #efece7;--mbt-color-diamond-stop-3: #f8ddde;--mbt-color-diamond-stop-4: #cfe6f1;--mbt-color-gold: #d1a64a;--mbt-color-silver: #969fa6;--mbt-color-bronze: #956c68;--mbt-font-primary: "IBM Plex Sans", sans-serif;--mbt-font-secondary: "Inter", sans-serif;--mbt-font-mono: "IBM Plex Mono", monospace;--mbt-font-size-1: 12px;--mbt-font-size-2: 14px;--mbt-font-size-3: 16px;--mbt-font-size-4: 20px;--mbt-font-size-5: 24px;--mbt-font-size-6: 28px;--mbt-font-size-7: 40px;--mbt-font-size-8: 48px;--mbt-font-size-9: 72px;--mbt-font-weight-regular: 400;--mbt-font-weight-medium: 500;--mbt-font-weight-semibold: 600;--mbt-font-feature-inter-stylistic: "salt" on, "ss01" on, "ss02" on;--mbt-space-0: 0;--mbt-space-1: 4px;--mbt-space-2: 8px;--mbt-space-3: 12px;--mbt-space-4: 16px;--mbt-space-5: 24px;--mbt-space-6: 32px;--mbt-space-7: 48px;--mbt-space-8: 64px;--mbt-space-9: 96px;--mbt-space-10: 128px;--mbt-radius-0: 0;--mbt-radius-xs: 4px;--mbt-radius-sm: 8px;--mbt-radius-md: 12px;--mbt-radius-lg: 16px;--mbt-radius-xl: 24px;--mbt-radius-full: 999px;--mbt-z-index-0: 0;--mbt-z-index-1: 100;--mbt-z-index-2: 200;--mbt-z-index-3: 300;--mbt-z-index-4: 400;--mbt-z-index-5: 500;--mbt-transition-fast: .15s ease;--mbt-transition-normal: .25s ease;--mbt-transition-slow: .4s ease}
|
|
1
|
+
@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-sans-v23-latin-regular.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-sans-v23-latin-500.woff2) format("woff2")}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-sans-v23-latin-600.woff2) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/Inter-VariableFont_opsz,wght.ttf) format("truetype")}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(../fonts/Inter-Italic-VariableFont_opsz,wght.ttf) format("truetype")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-v20-latin-regular.woff2) format("woff2")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-v20-latin-500.woff2) format("woff2")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/ibm-plex-mono-v20-latin-600.woff2) format("woff2")}.mbt-button{appearance:none;border:none;background:none;cursor:pointer;outline:none;padding:8px 16px;display:grid;place-items:center;height:37px;max-height:37px;min-height:37px;border-radius:8px;font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:normal;text-transform:uppercase;text-align:center;white-space:nowrap;-webkit-user-select:none;user-select:none;transition:background-color .15s ease,color .15s ease}.mbt-button--primary{background-color:#f2f4fa;color:#0b0e14}.mbt-button--secondary{background-color:#1d2335;color:#f2f4fa}.mbt-button__content,.mbt-button__loader{grid-area:1/1}.mbt-button__content{display:inline-flex;align-items:center;justify-content:center;gap:8px}.mbt-button__icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0;overflow:visible}.mbt-button__icon svg{display:block;flex-shrink:0}.mbt-button:hover{color:#6663fd}.mbt-button:active{opacity:.9}.mbt-button:focus-visible{box-shadow:0 0 0 2px #0b0e14,0 0 0 4px #6663fd}.mbt-button--disabled{background-color:#1d2335;color:#8d92a9;cursor:not-allowed;pointer-events:none}.mbt-button--loading{cursor:not-allowed;pointer-events:none}.mbt-button--loading .mbt-button__content{visibility:hidden}.mbt-button--full-width{width:100%}.mbt-badge{position:relative;display:inline-flex;align-items:center;gap:12px;height:24px;max-height:24px;padding:4px 12px;border-radius:999px;background:#1d2335;color:#f2f4fa;overflow:visible;-webkit-user-select:none;user-select:none}.mbt-badge--with-icon{padding-left:12px}.mbt-badge--purchasable{cursor:pointer}.mbt-badge--boost{padding-right:20px}.mbt-badge__media{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;margin-left:-20px}.mbt-badge__icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px}.mbt-badge__icon svg{display:block;max-width:100%;max-height:100%}.mbt-badge__purchasable{position:absolute;right:-8px;bottom:-7px;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;color:#f2f4fa}.mbt-badge__content{display:inline-flex;align-items:center;min-width:0;line-height:1;color:inherit;white-space:nowrap}.mbt-badge__boost{position:absolute;top:-8px;right:-8px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#0950c2}.mbt-input__container{display:flex;flex-direction:column;gap:10px;width:100%;max-width:296px}.mbt-input__label{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1;color:#f2f4fa;margin:0;font-feature-settings:"ss01" 1,"salt" 1,"ss02" 1}.mbt-input__label--muted{color:#8d92a9}.mbt-input__wrapper{position:relative;display:flex;align-items:center;width:100%;border:1px solid #f2f4fa;border-radius:8px;padding:8px 16px;background-color:transparent;transition:border-color .15s ease}.mbt-input__wrapper--muted{border-color:#8d92a9}.mbt-input__wrapper:focus-within{border-color:#6663fd}.mbt-input__field{flex:1;appearance:none;border:none;background:none;outline:none;font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:1;color:#f2f4fa;font-feature-settings:"ss01" 1,"salt" 1,"ss02" 1}.mbt-input__field::placeholder{color:#f2f4fa}.mbt-input__field--muted{color:#8d92a9}.mbt-input__field--muted::placeholder{color:#8d92a9}.mbt-input__icon{flex-shrink:0;width:24px;height:24px;margin-left:8px;color:#f2f4fa}.mbt-input__icon--muted{color:#8d92a9}.mbt-input--full-width .mbt-input__container{max-width:none}.mbt-h1{font-family:IBM Plex Sans,sans-serif;font-size:72px;font-weight:600;line-height:80px;color:#f2f4fa;margin:0}.mbt-h1__content{display:inline-flex;align-items:center;gap:8px}.mbt-h1__content svg{display:block;flex-shrink:0}.mbt-h2{font-family:IBM Plex Sans,sans-serif;font-size:40px;font-weight:600;line-height:48px;color:#f2f4fa;margin:0}.mbt-h2__content{display:inline-flex;align-items:center;gap:8px}.mbt-h2__content svg{display:block;flex-shrink:0}.mbt-h3{font-family:IBM Plex Sans,sans-serif;font-size:28px;font-weight:500;line-height:36px;color:#f2f4fa;margin:0}.mbt-h3__content{display:inline-flex;align-items:center;gap:8px}.mbt-h3__content svg{display:block;flex-shrink:0}.mbt-h4{font-family:IBM Plex Sans,sans-serif;font-size:20px;font-weight:500;line-height:28px;color:#f2f4fa;margin:0}.mbt-h4__content{display:inline-flex;align-items:center;gap:8px}.mbt-h4__content svg{display:block;flex-shrink:0}.mbt-h5{font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:24px;color:#f2f4fa;margin:0}.mbt-h5__content{display:inline-flex;align-items:center;gap:8px}.mbt-h5__content svg{display:block;flex-shrink:0}.mbt-text{font-family:Inter,sans-serif;font-size:16px;font-weight:400;line-height:normal;color:#f2f4fa;margin:0;font-feature-settings:"salt" on,"ss01" on,"ss02" on}.mbt-text svg{display:inline-block;vertical-align:middle}.mbt-text__content{display:inline-flex;align-items:center;gap:8px}.mbt-text__content svg{display:block;flex-shrink:0}.mbt-text--strong{font-weight:500}.mbt-text--small{font-size:12px;line-height:18px}.mbt-text--label{font-size:12px;text-transform:uppercase}.mbt-text--muted{color:#8d92a9}.mbt-text--no-features{font-feature-settings:normal}.mbt-metric{font-family:IBM Plex Mono,monospace;font-size:16px;font-weight:400;line-height:1;color:#f2f4fa;margin:0}.mbt-metric__content{display:inline-flex;align-items:center;gap:8px}.mbt-metric__content svg{display:block;flex-shrink:0}.mbt-metric--large{font-size:24px;font-weight:500;line-height:32px}.mbt-metric--muted{color:#8d92a9}.mbt-menu-button{appearance:none;border:none;background:none;cursor:pointer;outline:none;display:flex;align-items:center;width:248px;height:44px;padding:4px 12px;gap:8px;font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:24px;color:#f2f4fa;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:8px;transition:background-color .15s ease,color .15s ease}.mbt-menu-button__icon{flex-shrink:0;width:24px;height:24px;color:#f2f4fa;transition:color .15s ease}.mbt-menu-button__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.mbt-menu-button:hover:not(:disabled):not(.mbt-menu-button--selected){background-color:#2a3148;color:#0950c2}.mbt-menu-button:hover:not(:disabled):not(.mbt-menu-button--selected) .mbt-menu-button__icon{color:#0950c2}.mbt-menu-button--selected{background-color:#1d2335;color:#6663fd}.mbt-menu-button--selected .mbt-menu-button__icon{color:#6663fd}.mbt-menu-button--small{padding:4px 8px;height:32px;gap:8px;font-family:Inter,sans-serif;font-size:12px;font-weight:400;line-height:18px}.mbt-menu-button--small .mbt-menu-button__icon{width:20px;height:20px}.mbt-menu-button:disabled{color:#8d92a9;cursor:not-allowed;pointer-events:none}.mbt-menu-button:disabled .mbt-menu-button__icon{color:#8d92a9}.mbt-loader{display:inline-flex;align-items:center;gap:4px}.mbt-loader__dot{display:inline-block;background-color:currentColor;border-radius:999px;animation:mbt-loader-bounce 1.4s infinite ease-in-out both}.mbt-loader__dot:nth-child(1){animation-delay:-.32s}.mbt-loader__dot:nth-child(2){animation-delay:-.16s}.mbt-loader--sm .mbt-loader__dot{width:6px;height:6px}.mbt-loader--md .mbt-loader__dot{width:9px;height:9px}.mbt-loader--lg .mbt-loader__dot{width:12px;height:12px}@keyframes mbt-loader-bounce{0%,80%,to{opacity:0;transform:scale(0)}40%{opacity:1;transform:scale(1)}}*,*:before,*:after{box-sizing:border-box}:root{--mbt-color-bg-0: #0b0e14;--mbt-color-bg-1: #111520;--mbt-color-surface: #171c2a;--mbt-color-surface-raised: #1d2335;--mbt-color-border: #2a3148;--mbt-color-gray: #475569;--mbt-color-text-primary: #f2f4fa;--mbt-color-text-muted: #8d92a9;--mbt-color-text-inverse: #0b0e14;--mbt-color-primary: #6663fd;--mbt-color-secondary: #0950c2;--mbt-color-success: #00b279;--mbt-color-error: #f2766a;--mbt-color-warning: #e6c352;--mbt-color-diamond: #e6f3ff;--mbt-color-primary-stop-0: #00a09e;--mbt-color-primary-stop-1: #234dc5;--mbt-color-primary-stop-2: #1945d9;--mbt-color-diamond-stop-0: #beacd3;--mbt-color-diamond-stop-1: #bee3f7;--mbt-color-diamond-stop-2: #efece7;--mbt-color-diamond-stop-3: #f8ddde;--mbt-color-diamond-stop-4: #cfe6f1;--mbt-color-gold: #d1a64a;--mbt-color-silver: #969fa6;--mbt-color-bronze: #956c68;--mbt-font-primary: "IBM Plex Sans", sans-serif;--mbt-font-secondary: "Inter", sans-serif;--mbt-font-mono: "IBM Plex Mono", monospace;--mbt-font-size-1: 12px;--mbt-font-size-2: 14px;--mbt-font-size-3: 16px;--mbt-font-size-4: 20px;--mbt-font-size-5: 24px;--mbt-font-size-6: 28px;--mbt-font-size-7: 40px;--mbt-font-size-8: 48px;--mbt-font-size-9: 72px;--mbt-font-weight-regular: 400;--mbt-font-weight-medium: 500;--mbt-font-weight-semibold: 600;--mbt-font-feature-inter-stylistic: "salt" on, "ss01" on, "ss02" on;--mbt-space-0: 0;--mbt-space-1: 4px;--mbt-space-2: 8px;--mbt-space-3: 12px;--mbt-space-4: 16px;--mbt-space-5: 24px;--mbt-space-6: 32px;--mbt-space-7: 48px;--mbt-space-8: 64px;--mbt-space-9: 96px;--mbt-space-10: 128px;--mbt-radius-0: 0;--mbt-radius-xs: 4px;--mbt-radius-sm: 8px;--mbt-radius-md: 12px;--mbt-radius-lg: 16px;--mbt-radius-xl: 24px;--mbt-radius-full: 999px;--mbt-z-index-0: 0;--mbt-z-index-1: 100;--mbt-z-index-2: 200;--mbt-z-index-3: 300;--mbt-z-index-4: 400;--mbt-z-index-5: 500;--mbt-transition-fast: .15s ease;--mbt-transition-normal: .25s ease;--mbt-transition-slow: .4s ease}
|