mbt-ui-kit 0.1.23 → 0.1.25

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.
@@ -96,6 +96,7 @@ const preloadFonts = [plexSansRegularUrl, plexSansMediumUrl, interVariableUrl];
96
96
  ```tsx
97
97
  <Heading level={1}>Dashboard</Heading>
98
98
  <Heading level={3}>Recent Matches</Heading>
99
+ <Heading level={4} contentGap>{'Recent'}<SearchIcon />{'Matches'}</Heading>
99
100
 
100
101
  <Text>Regular body copy.</Text>
101
102
  <Text strong>Highlighted text.</Text>
@@ -106,6 +107,7 @@ const preloadFonts = [plexSansRegularUrl, plexSansMediumUrl, interVariableUrl];
106
107
 
107
108
  <Metric>1,234</Metric>
108
109
  <Metric large>42,500</Metric>
110
+ <Metric contentGap>{'42'}<SearchIcon />{'500'}</Metric>
109
111
  <Metric as="span" muted>
110
112
  99
111
113
  </Metric>
@@ -34,6 +34,10 @@ This folder holds factual package reference for `mbt-ui-kit`.
34
34
  - `GraduationCapIcon`
35
35
  - `SearchIcon`
36
36
 
37
+ ## Typography Notes
38
+
39
+ - `Heading`, `Text`, and `Metric` support a `contentGap` prop for consistent spacing between mixed inline children such as text and icons.
40
+
37
41
  ## Primary Token Families
38
42
 
39
43
  - `tokens`
@@ -29,6 +29,7 @@ These files are the canonical package-owned rules for `mbt-ui-kit`.
29
29
  - Use `Badge` for compact pill-style value labels with optional left media and package-owned purchasable or boost affordances.
30
30
  - Use `Input` for labeled text inputs and search-style input affordances.
31
31
  - Use `Heading`, `Text`, and `Metric` for typography when the consumer wants the package typography primitives.
32
+ - Use `contentGap` on `Heading`, `Text`, or `Metric` when inline icons or mixed content need consistent spacing.
32
33
  - Use `MenuButton` for sidebar or navigation-style button treatments, not as a generic replacement for every button.
33
34
  - Use `Loader` for package-consistent loading states.
34
35
 
@@ -1,7 +1,8 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  export interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
3
3
  level: 1 | 2 | 3 | 4 | 5;
4
4
  children?: ReactNode;
5
+ contentGap?: boolean;
5
6
  }
6
- export declare function Heading({ level, children, className, ...props }: HeadingProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Heading({ level, children, contentGap, className, ...props }: HeadingProps): import("react/jsx-runtime").JSX.Element;
7
8
  //# sourceMappingURL=heading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/components/typography/heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IACtE,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,2CASd"}
1
+ {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/components/typography/heading.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IACtE,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,QAAQ,EACR,UAAkB,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,2CAkBd"}
@@ -1,9 +1,10 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
2
  export interface MetricProps extends HTMLAttributes<HTMLDivElement> {
3
3
  children?: ReactNode;
4
4
  large?: boolean;
5
5
  muted?: boolean;
6
+ contentGap?: boolean;
6
7
  as?: 'div' | 'span' | 'p';
7
8
  }
8
- export declare function Metric({ children, large, muted, as, className, ...props }: MetricProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function Metric({ children, large, muted, contentGap, as, className, ...props }: MetricProps): import("react/jsx-runtime").JSX.Element;
9
10
  //# sourceMappingURL=metric.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metric.d.ts","sourceRoot":"","sources":["../../../src/components/typography/metric.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,EAAE,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,GAAG,CAAC;CAC3B;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAa,EACb,KAAa,EACb,EAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,2CAgBb"}
1
+ {"version":3,"file":"metric.d.ts","sourceRoot":"","sources":["../../../src/components/typography/metric.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,EAAE,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,GAAG,CAAC;CAC3B;AAED,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,KAAa,EACb,KAAa,EACb,UAAkB,EAClB,EAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,2CAyBb"}
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./tokens-C8rDJFS5.cjs"),t=require("react/jsx-runtime"),x=require("react");function f({size:s="md",className:e,...n}){const o=["mbt-loader",`mbt-loader--${s}`,e].filter(Boolean).join(" ");return t.jsxs("span",{className:o,...n,children:[t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"})]})}function L({children:s,fullWidth:e,disabled:n,loading:o,variant:a="primary",className:i,...r}){const l=n||o,d=["mbt-button",a&&`mbt-button--${a}`,e&&"mbt-button--full-width",n&&"mbt-button--disabled",o&&"mbt-button--loading",i].filter(Boolean).join(" ");return t.jsxs("button",{type:"button",className:d,disabled:l,...r,children:[t.jsx("span",{className:"mbt-button__content",children:s}),o&&t.jsx(f,{size:"md",className:"mbt-button__loader"})]})}function B({level:s,children:e,className:n,...o}){const a=`h${s}`,i=[`mbt-h${s}`,n].filter(Boolean).join(" ");return t.jsx(a,{className:i,...o,children:e})}function v({children:s,large:e=!1,muted:n=!1,as:o="div",className:a,...i}){const r=o,l=["mbt-metric",e&&"mbt-metric--large",n&&"mbt-metric--muted",a].filter(Boolean).join(" ");return t.jsx(r,{className:l,...i,children:s})}function g({children:s,strong:e=!1,small:n=!1,label:o=!1,muted:a=!1,disableFontFeatures:i=!1,contentGap:r=!1,as:l="p",className:d,...m}){const b=l,h=["mbt-text",e&&"mbt-text--strong",n&&"mbt-text--small",o&&"mbt-text--label",a&&"mbt-text--muted",i&&"mbt-text--no-features",d].filter(Boolean).join(" "),p=r?t.jsx("span",{className:"mbt-text__content",children:x.Children.toArray(s).map(u=>typeof u=="string"?u.trim():u).filter(u=>u!=="")}):s;return t.jsx(b,{className:h,...m,children:p})}function C(){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 I(){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 y({children:s,icon:e,purchasable:n=!1,boost:o=!1,className:a,...i}){const r=!!e,l=r&&n,d=["mbt-badge",r&&"mbt-badge--with-icon",n&&"mbt-badge--purchasable",o&&"mbt-badge--boost",a].filter(Boolean).join(" ");return t.jsxs("div",{className:d,...i,children:[r&&t.jsxs("span",{className:"mbt-badge__media",children:[t.jsx("span",{className:"mbt-badge__icon",children:e}),l&&t.jsx("span",{className:"mbt-badge__purchasable","aria-hidden":"true",children:t.jsx(I,{})})]}),t.jsx(g,{as:"span",disableFontFeatures:!0,strong:!0,className:"mbt-badge__content",children:s}),o&&t.jsx("span",{className:"mbt-badge__boost","aria-hidden":"true",children:t.jsx(C,{})})]})}function _({className:s,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:s,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 N=x.forwardRef(({label:s,muted:e=!1,showSearchIcon:n=!1,icon:o,fullWidth:a=!1,className:i,...r},l)=>{const d=x.useId(),m=r.id??d,b=["mbt-input",a&&"mbt-input--full-width",i].filter(Boolean).join(" "),h=["mbt-input__label",e&&"mbt-input__label--muted"].filter(Boolean).join(" "),p=["mbt-input__wrapper",e&&"mbt-input__wrapper--muted"].filter(Boolean).join(" "),u=["mbt-input__field",e&&"mbt-input__field--muted"].filter(Boolean).join(" "),k=["mbt-input__icon",e&&"mbt-input__icon--muted"].filter(Boolean).join(" "),j=o||n&&t.jsx(_,{});return t.jsx("div",{className:b,children:t.jsxs("div",{className:"mbt-input__container",children:[s&&t.jsx("label",{htmlFor:m,className:h,children:s}),t.jsxs("div",{className:p,children:[t.jsx("input",{ref:l,id:m,type:"text",className:u,...r}),j&&t.jsx("div",{className:k,children:j})]})]})})});N.displayName="Input";function w({className:s,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:s,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 M({children:s,icon:e,selected:n=!1,small:o=!1,disabled:a,className:i,...r}){const l=["mbt-menu-button",n&&"mbt-menu-button--selected",o&&"mbt-menu-button--small",i].filter(Boolean).join(" "),d=e??t.jsx(w,{});return t.jsxs("button",{type:"button",className:l,disabled:a,"aria-pressed":n,...r,children:[t.jsx("div",{className:"mbt-menu-button__icon",children:d}),t.jsx("span",{className:"mbt-menu-button__text",children:s})]})}exports.colors=c.colors;exports.fontFeatures=c.fontFeatures;exports.fontSizes=c.fontSizes;exports.fontWeights=c.fontWeights;exports.fonts=c.fonts;exports.radius=c.radius;exports.spacing=c.spacing;exports.tokens=c.tokens;exports.transitions=c.transitions;exports.zIndex=c.zIndex;exports.Badge=y;exports.Button=L;exports.GraduationCapIcon=w;exports.Heading=B;exports.Input=N;exports.Loader=f;exports.MenuButton=M;exports.Metric=v;exports.SearchIcon=_;exports.Text=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./tokens-C8rDJFS5.cjs"),t=require("react/jsx-runtime"),p=require("react");function j({size:s="md",className:e,...n}){const o=["mbt-loader",`mbt-loader--${s}`,e].filter(Boolean).join(" ");return t.jsxs("span",{className:o,...n,children:[t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"})]})}function L({children:s,fullWidth:e,disabled:n,loading:o,variant:i="primary",className:l,...r}){const c=n||o,a=["mbt-button",i&&`mbt-button--${i}`,e&&"mbt-button--full-width",n&&"mbt-button--disabled",o&&"mbt-button--loading",l].filter(Boolean).join(" ");return t.jsxs("button",{type:"button",className:a,disabled:c,...r,children:[t.jsx("span",{className:"mbt-button__content",children:s}),o&&t.jsx(j,{size:"md",className:"mbt-button__loader"})]})}function B({level:s,children:e,contentGap:n=!1,className:o,...i}){const l=`h${s}`,r=[`mbt-h${s}`,o].filter(Boolean).join(" "),c=n?t.jsx("span",{className:`mbt-h${s}__content`,children:p.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:s,large:e=!1,muted:n=!1,contentGap:o=!1,as:i="div",className:l,...r}){const c=i,a=["mbt-metric",e&&"mbt-metric--large",n&&"mbt-metric--muted",l].filter(Boolean).join(" "),b=o?t.jsx("span",{className:"mbt-metric__content",children:p.Children.toArray(s).map(m=>typeof m=="string"?m.trim():m).filter(m=>m!=="")}):s;return t.jsx(c,{className:a,...r,children:b})}function _({children:s,strong:e=!1,small:n=!1,label:o=!1,muted:i=!1,disableFontFeatures:l=!1,contentGap:r=!1,as:c="p",className:a,...b}){const m=c,h=["mbt-text",e&&"mbt-text--strong",n&&"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:p.Children.toArray(s).map(u=>typeof u=="string"?u.trim():u).filter(u=>u!=="")}):s;return t.jsx(m,{className:h,...b,children:x})}function C(){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 I(){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 y({children:s,icon:e,purchasable:n=!1,boost:o=!1,className:i,...l}){const r=!!e,c=r&&n,a=["mbt-badge",r&&"mbt-badge--with-icon",n&&"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(I,{})})]}),t.jsx(_,{as:"span",disableFontFeatures:!0,strong:!0,className:"mbt-badge__content",children:s}),o&&t.jsx("span",{className:"mbt-badge__boost","aria-hidden":"true",children:t.jsx(C,{})})]})}function g({className:s,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:s,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 N=p.forwardRef(({label:s,muted:e=!1,showSearchIcon:n=!1,icon:o,fullWidth:i=!1,className:l,...r},c)=>{const a=p.useId(),b=r.id??a,m=["mbt-input",i&&"mbt-input--full-width",l].filter(Boolean).join(" "),h=["mbt-input__label",e&&"mbt-input__label--muted"].filter(Boolean).join(" "),x=["mbt-input__wrapper",e&&"mbt-input__wrapper--muted"].filter(Boolean).join(" "),u=["mbt-input__field",e&&"mbt-input__field--muted"].filter(Boolean).join(" "),k=["mbt-input__icon",e&&"mbt-input__icon--muted"].filter(Boolean).join(" "),f=o||n&&t.jsx(g,{});return t.jsx("div",{className:m,children:t.jsxs("div",{className:"mbt-input__container",children:[s&&t.jsx("label",{htmlFor:b,className:h,children:s}),t.jsxs("div",{className:x,children:[t.jsx("input",{ref:c,id:b,type:"text",className:u,...r}),f&&t.jsx("div",{className:k,children:f})]})]})})});N.displayName="Input";function w({className:s,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:s,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 M({children:s,icon:e,selected:n=!1,small:o=!1,disabled:i,className:l,...r}){const c=["mbt-menu-button",n&&"mbt-menu-button--selected",o&&"mbt-menu-button--small",l].filter(Boolean).join(" "),a=e??t.jsx(w,{});return t.jsxs("button",{type:"button",className:c,disabled:i,"aria-pressed":n,...r,children:[t.jsx("div",{className:"mbt-menu-button__icon",children:a}),t.jsx("span",{className:"mbt-menu-button__text",children:s})]})}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=y;exports.Button=L;exports.GraduationCapIcon=w;exports.Heading=B;exports.Input=N;exports.Loader=j;exports.MenuButton=M;exports.Metric=v;exports.SearchIcon=g;exports.Text=_;
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { c as G, f as H, a as P, b as V, d as Z, r as A, s as D, t as R, e as q, z as E } from "./tokens-C0g4TAJO.js";
2
- import { jsxs as c, jsx as t } from "react/jsx-runtime";
3
- import { Children as g, forwardRef as N, useId as w } from "react";
1
+ import { c as S, f as G, a as H, b as P, d as V, r as Z, s as D, t as R, e as q, z as E } from "./tokens-C0g4TAJO.js";
2
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
3
+ import { Children as h, forwardRef as N, useId as w } from "react";
4
4
  function k({ size: n = "md", className: e, ...s }) {
5
- const o = ["mbt-loader", `mbt-loader--${n}`, e].filter(Boolean).join(" ");
6
- return /* @__PURE__ */ c("span", { className: o, ...s, children: [
5
+ const a = ["mbt-loader", `mbt-loader--${n}`, e].filter(Boolean).join(" ");
6
+ return /* @__PURE__ */ m("span", { className: a, ...s, children: [
7
7
  /* @__PURE__ */ t("span", { className: "mbt-loader__dot" }),
8
8
  /* @__PURE__ */ t("span", { className: "mbt-loader__dot" }),
9
9
  /* @__PURE__ */ t("span", { className: "mbt-loader__dot" })
@@ -13,29 +13,29 @@ function M({
13
13
  children: n,
14
14
  fullWidth: e,
15
15
  disabled: s,
16
- loading: o,
17
- variant: a = "primary",
18
- className: i,
19
- ...r
16
+ loading: a,
17
+ variant: i = "primary",
18
+ className: l,
19
+ ...o
20
20
  }) {
21
- const l = s || o, d = [
21
+ const c = s || a, r = [
22
22
  "mbt-button",
23
- a && `mbt-button--${a}`,
23
+ i && `mbt-button--${i}`,
24
24
  e && "mbt-button--full-width",
25
25
  s && "mbt-button--disabled",
26
- o && "mbt-button--loading",
27
- i
26
+ a && "mbt-button--loading",
27
+ l
28
28
  ].filter(Boolean).join(" ");
29
- return /* @__PURE__ */ c(
29
+ return /* @__PURE__ */ m(
30
30
  "button",
31
31
  {
32
32
  type: "button",
33
- className: d,
34
- disabled: l,
35
- ...r,
33
+ className: r,
34
+ disabled: c,
35
+ ...o,
36
36
  children: [
37
37
  /* @__PURE__ */ t("span", { className: "mbt-button__content", children: n }),
38
- o && /* @__PURE__ */ t(k, { size: "md", className: "mbt-button__loader" })
38
+ a && /* @__PURE__ */ t(k, { size: "md", className: "mbt-button__loader" })
39
39
  ]
40
40
  }
41
41
  );
@@ -43,53 +43,55 @@ function M({
43
43
  function W({
44
44
  level: n,
45
45
  children: e,
46
- className: s,
47
- ...o
46
+ contentGap: s = !1,
47
+ className: a,
48
+ ...i
48
49
  }) {
49
- const a = `h${n}`, i = [`mbt-h${n}`, s].filter(Boolean).join(" ");
50
- return /* @__PURE__ */ t(a, { className: i, ...o, children: e });
50
+ const l = `h${n}`, o = [`mbt-h${n}`, a].filter(Boolean).join(" "), c = s ? /* @__PURE__ */ t("span", { className: `mbt-h${n}__content`, children: h.toArray(e).map((r) => typeof r == "string" ? r.trim() : r).filter((r) => r !== "") }) : e;
51
+ return /* @__PURE__ */ t(l, { className: o, ...i, children: c });
51
52
  }
52
53
  function z({
53
54
  children: n,
54
55
  large: e = !1,
55
56
  muted: s = !1,
56
- as: o = "div",
57
- className: a,
58
- ...i
57
+ contentGap: a = !1,
58
+ as: i = "div",
59
+ className: l,
60
+ ...o
59
61
  }) {
60
- const r = o, l = [
62
+ const c = i, r = [
61
63
  "mbt-metric",
62
64
  e && "mbt-metric--large",
63
65
  s && "mbt-metric--muted",
64
- a
65
- ].filter(Boolean).join(" ");
66
- return /* @__PURE__ */ t(r, { className: l, ...i, children: n });
66
+ l
67
+ ].filter(Boolean).join(" "), b = a ? /* @__PURE__ */ t("span", { className: "mbt-metric__content", children: h.toArray(n).map((d) => typeof d == "string" ? d.trim() : d).filter((d) => d !== "") }) : n;
68
+ return /* @__PURE__ */ t(c, { className: r, ...o, children: b });
67
69
  }
68
70
  function L({
69
71
  children: n,
70
72
  strong: e = !1,
71
73
  small: s = !1,
72
- label: o = !1,
73
- muted: a = !1,
74
- disableFontFeatures: i = !1,
75
- contentGap: r = !1,
76
- as: l = "p",
77
- className: d,
78
- ...u
74
+ label: a = !1,
75
+ muted: i = !1,
76
+ disableFontFeatures: l = !1,
77
+ contentGap: o = !1,
78
+ as: c = "p",
79
+ className: r,
80
+ ...b
79
81
  }) {
80
- const b = l, p = [
82
+ const d = c, p = [
81
83
  "mbt-text",
82
84
  e && "mbt-text--strong",
83
85
  s && "mbt-text--small",
84
- o && "mbt-text--label",
85
- a && "mbt-text--muted",
86
- i && "mbt-text--no-features",
87
- d
88
- ].filter(Boolean).join(" "), h = r ? /* @__PURE__ */ t("span", { className: "mbt-text__content", children: g.toArray(n).map((m) => typeof m == "string" ? m.trim() : m).filter((m) => m !== "") }) : n;
89
- return /* @__PURE__ */ t(b, { className: p, ...u, children: h });
86
+ a && "mbt-text--label",
87
+ i && "mbt-text--muted",
88
+ l && "mbt-text--no-features",
89
+ r
90
+ ].filter(Boolean).join(" "), f = o ? /* @__PURE__ */ t("span", { className: "mbt-text__content", children: h.toArray(n).map((u) => typeof u == "string" ? u.trim() : u).filter((u) => u !== "") }) : n;
91
+ return /* @__PURE__ */ t(d, { className: p, ...b, children: f });
90
92
  }
91
93
  function x() {
92
- return /* @__PURE__ */ c(
94
+ return /* @__PURE__ */ m(
93
95
  "svg",
94
96
  {
95
97
  width: "24",
@@ -118,7 +120,7 @@ function x() {
118
120
  );
119
121
  }
120
122
  function B() {
121
- return /* @__PURE__ */ c(
123
+ return /* @__PURE__ */ m(
122
124
  "svg",
123
125
  {
124
126
  width: "16",
@@ -150,32 +152,32 @@ function B() {
150
152
  }
151
153
  );
152
154
  }
153
- function F({
155
+ function $({
154
156
  children: n,
155
157
  icon: e,
156
158
  purchasable: s = !1,
157
- boost: o = !1,
158
- className: a,
159
- ...i
159
+ boost: a = !1,
160
+ className: i,
161
+ ...l
160
162
  }) {
161
- const r = !!e, l = r && s, d = [
163
+ const o = !!e, c = o && s, r = [
162
164
  "mbt-badge",
163
- r && "mbt-badge--with-icon",
165
+ o && "mbt-badge--with-icon",
164
166
  s && "mbt-badge--purchasable",
165
- o && "mbt-badge--boost",
166
- a
167
+ a && "mbt-badge--boost",
168
+ i
167
169
  ].filter(Boolean).join(" ");
168
- return /* @__PURE__ */ c("div", { className: d, ...i, children: [
169
- r && /* @__PURE__ */ c("span", { className: "mbt-badge__media", children: [
170
+ return /* @__PURE__ */ m("div", { className: r, ...l, children: [
171
+ o && /* @__PURE__ */ m("span", { className: "mbt-badge__media", children: [
170
172
  /* @__PURE__ */ t("span", { className: "mbt-badge__icon", children: e }),
171
- l && /* @__PURE__ */ t("span", { className: "mbt-badge__purchasable", "aria-hidden": "true", children: /* @__PURE__ */ t(B, {}) })
173
+ c && /* @__PURE__ */ t("span", { className: "mbt-badge__purchasable", "aria-hidden": "true", children: /* @__PURE__ */ t(B, {}) })
172
174
  ] }),
173
175
  /* @__PURE__ */ t(L, { as: "span", disableFontFeatures: !0, strong: !0, className: "mbt-badge__content", children: n }),
174
- o && /* @__PURE__ */ t("span", { className: "mbt-badge__boost", "aria-hidden": "true", children: /* @__PURE__ */ t(x, {}) })
176
+ a && /* @__PURE__ */ t("span", { className: "mbt-badge__boost", "aria-hidden": "true", children: /* @__PURE__ */ t(x, {}) })
175
177
  ] });
176
178
  }
177
179
  function j({ className: n, title: e = "Search" }) {
178
- return /* @__PURE__ */ c(
180
+ return /* @__PURE__ */ m(
179
181
  "svg",
180
182
  {
181
183
  width: "24",
@@ -219,39 +221,39 @@ const v = N(
219
221
  label: n,
220
222
  muted: e = !1,
221
223
  showSearchIcon: s = !1,
222
- icon: o,
223
- fullWidth: a = !1,
224
- className: i,
225
- ...r
226
- }, l) => {
227
- const d = w(), u = r.id ?? d, b = [
224
+ icon: a,
225
+ fullWidth: i = !1,
226
+ className: l,
227
+ ...o
228
+ }, c) => {
229
+ const r = w(), b = o.id ?? r, d = [
228
230
  "mbt-input",
229
- a && "mbt-input--full-width",
230
- i
231
+ i && "mbt-input--full-width",
232
+ l
231
233
  ].filter(Boolean).join(" "), p = [
232
234
  "mbt-input__label",
233
235
  e && "mbt-input__label--muted"
234
- ].filter(Boolean).join(" "), h = [
236
+ ].filter(Boolean).join(" "), f = [
235
237
  "mbt-input__wrapper",
236
238
  e && "mbt-input__wrapper--muted"
237
- ].filter(Boolean).join(" "), m = [
239
+ ].filter(Boolean).join(" "), u = [
238
240
  "mbt-input__field",
239
241
  e && "mbt-input__field--muted"
240
- ].filter(Boolean).join(" "), _ = ["mbt-input__icon", e && "mbt-input__icon--muted"].filter(Boolean).join(" "), f = o || s && /* @__PURE__ */ t(j, {});
241
- return /* @__PURE__ */ t("div", { className: b, children: /* @__PURE__ */ c("div", { className: "mbt-input__container", children: [
242
- n && /* @__PURE__ */ t("label", { htmlFor: u, className: p, children: n }),
243
- /* @__PURE__ */ c("div", { className: h, children: [
242
+ ].filter(Boolean).join(" "), g = ["mbt-input__icon", e && "mbt-input__icon--muted"].filter(Boolean).join(" "), _ = a || s && /* @__PURE__ */ t(j, {});
243
+ return /* @__PURE__ */ t("div", { className: d, children: /* @__PURE__ */ m("div", { className: "mbt-input__container", children: [
244
+ n && /* @__PURE__ */ t("label", { htmlFor: b, className: p, children: n }),
245
+ /* @__PURE__ */ m("div", { className: f, children: [
244
246
  /* @__PURE__ */ t(
245
247
  "input",
246
248
  {
247
- ref: l,
248
- id: u,
249
+ ref: c,
250
+ id: b,
249
251
  type: "text",
250
- className: m,
251
- ...r
252
+ className: u,
253
+ ...o
252
254
  }
253
255
  ),
254
- f && /* @__PURE__ */ t("div", { className: _, children: f })
256
+ _ && /* @__PURE__ */ t("div", { className: g, children: _ })
255
257
  ] })
256
258
  ] }) });
257
259
  }
@@ -261,7 +263,7 @@ function C({
261
263
  className: n,
262
264
  title: e = "Graduation cap"
263
265
  }) {
264
- return /* @__PURE__ */ c(
266
+ return /* @__PURE__ */ m(
265
267
  "svg",
266
268
  {
267
269
  width: "24",
@@ -308,29 +310,29 @@ function C({
308
310
  }
309
311
  );
310
312
  }
311
- function T({
313
+ function F({
312
314
  children: n,
313
315
  icon: e,
314
316
  selected: s = !1,
315
- small: o = !1,
316
- disabled: a,
317
- className: i,
318
- ...r
317
+ small: a = !1,
318
+ disabled: i,
319
+ className: l,
320
+ ...o
319
321
  }) {
320
- const l = [
322
+ const c = [
321
323
  "mbt-menu-button",
322
324
  s && "mbt-menu-button--selected",
323
- o && "mbt-menu-button--small",
324
- i
325
+ a && "mbt-menu-button--small",
326
+ l
325
327
  ].filter(Boolean).join(" ");
326
- return /* @__PURE__ */ c(
328
+ return /* @__PURE__ */ m(
327
329
  "button",
328
330
  {
329
331
  type: "button",
330
- className: l,
331
- disabled: a,
332
+ className: c,
333
+ disabled: i,
332
334
  "aria-pressed": s,
333
- ...r,
335
+ ...o,
334
336
  children: [
335
337
  /* @__PURE__ */ t("div", { className: "mbt-menu-button__icon", children: e ?? /* @__PURE__ */ t(C, {}) }),
336
338
  /* @__PURE__ */ t("span", { className: "mbt-menu-button__text", children: n })
@@ -339,22 +341,22 @@ function T({
339
341
  );
340
342
  }
341
343
  export {
342
- F as Badge,
344
+ $ as Badge,
343
345
  M as Button,
344
346
  C as GraduationCapIcon,
345
347
  W as Heading,
346
348
  v as Input,
347
349
  k as Loader,
348
- T as MenuButton,
350
+ F as MenuButton,
349
351
  z as Metric,
350
352
  j as SearchIcon,
351
353
  L as Text,
352
- G as colors,
353
- H as fontFeatures,
354
- P as fontSizes,
355
- V as fontWeights,
356
- Z as fonts,
357
- A as radius,
354
+ S as colors,
355
+ G as fontFeatures,
356
+ H as fontSizes,
357
+ P as fontWeights,
358
+ V as fonts,
359
+ Z as radius,
358
360
  D as spacing,
359
361
  R as tokens,
360
362
  q as transitions,
@@ -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;max-height:40px;min-height:40px;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:#475569;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:#475569;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-h2{font-family:IBM Plex Sans,sans-serif;font-size:40px;font-weight:600;line-height:48px;color:#f2f4fa;margin:0}.mbt-h3{font-family:IBM Plex Sans,sans-serif;font-size:28px;font-weight:500;line-height:36px;color:#f2f4fa;margin:0}.mbt-h4{font-family:IBM Plex Sans,sans-serif;font-size:20px;font-weight:500;line-height:28px;color:#f2f4fa;margin:0}.mbt-h5{font-family:IBM Plex Sans,sans-serif;font-size:16px;font-weight:500;line-height:24px;color:#f2f4fa;margin: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--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__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}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mbt-ui-kit",
3
3
  "description": "React component library with SCSS",
4
- "version": "0.1.23",
4
+ "version": "0.1.25",
5
5
  "packageManager": "pnpm@10.28.0",
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs",