mbt-ui-kit 0.1.30 → 0.1.31

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.
@@ -85,6 +85,10 @@ const buttonRef = useRef<HTMLButtonElement>(null);
85
85
  <Badge icon={<CrystalIcon />} boost>
86
86
  1200
87
87
  </Badge>
88
+
89
+ <Badge icon={<CrystalIcon />} boost boostVariant="large">
90
+ 1200
91
+ </Badge>
88
92
  ```
89
93
 
90
94
  ## Inputs
@@ -37,6 +37,7 @@ This folder holds factual package reference for `mbt-ui-kit`.
37
37
  ## Ref Notes
38
38
 
39
39
  - `Button` forwards refs to its underlying native `button` element.
40
+ - `Badge` supports `boostVariant?: 'small' | 'medium' | 'large'` and defaults boost artwork to `'medium'` when `boost` is enabled.
40
41
  - `Button` supports `contentGap?: 0 | 1 | 2 | 3 | 4` to control spacing between mixed inline children on the package spacing scale.
41
42
  - `Input` forwards refs to its underlying native `input` element.
42
43
 
@@ -26,7 +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
- - Use `Badge` for compact pill-style value labels with optional left media and package-owned purchasable or boost affordances.
29
+ - Use `Badge` for compact pill-style value labels with optional left media and package-owned purchasable or boost affordances, including selectable boost artwork via `boostVariant`.
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
32
  - `Heading`, `Text`, and `Metric` apply a default `4px` gap for mixed inline content; use `contentGap` to override that spacing on the package scale.
@@ -1,9 +1,11 @@
1
1
  import type { HTMLAttributes, ReactNode } from 'react';
2
+ import { type BoostVariant } from './boost-icon';
2
3
  export interface BadgeProps extends HTMLAttributes<HTMLDivElement> {
3
4
  children?: ReactNode;
4
5
  icon?: ReactNode;
5
6
  purchasable?: boolean;
6
7
  boost?: boolean;
8
+ boostVariant?: BoostVariant;
7
9
  }
8
- export declare function Badge({ children, icon, purchasable, boost, className, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function Badge({ children, icon, purchasable, boost, boostVariant, className, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
11
  //# sourceMappingURL=badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,IAAI,EACJ,WAAmB,EACnB,KAAa,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,UAAU,2CAoCZ"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAa,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAG5D,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,IAAI,EACJ,WAAmB,EACnB,KAAa,EACb,YAAuB,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,UAAU,2CAoCZ"}
@@ -1,2 +1,7 @@
1
- export declare function BoostIcon(): import("react/jsx-runtime").JSX.Element;
1
+ export type BoostVariant = 'small' | 'medium' | 'large';
2
+ interface BoostIconProps {
3
+ variant?: BoostVariant;
4
+ }
5
+ export declare function BoostIcon({ variant }: BoostIconProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
2
7
  //# sourceMappingURL=boost-icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boost-icon.d.ts","sourceRoot":"","sources":["../../../src/components/badge/boost-icon.tsx"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,4CAoBxB"}
1
+ {"version":3,"file":"boost-icon.d.ts","sourceRoot":"","sources":["../../../src/components/badge/boost-icon.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAQxD,UAAU,cAAc;IACtB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAED,wBAAgB,SAAS,CAAC,EAAE,OAAkB,EAAE,EAAE,cAAc,2CAI/D"}
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"),p=require("react");function j({size:n="md",className:e,...o}){const a=["mbt-loader",`mbt-loader--${n}`,e].filter(Boolean).join(" ");return t.jsxs("span",{className:a,...o,children:[t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"}),t.jsx("span",{className:"mbt-loader__dot"})]})}const v={0:"0",1:"4px",2:"8px",3:"12px",4:"16px"},g=p.forwardRef(({children:n,contentGap:e,fullWidth:o,disabled:a,loading:r,variant:i="primary",className:s,...l},c)=>{const u=a||r,m=e===void 0?void 0:{"--mbt-button-content-gap":v[e]},b=["mbt-button",i&&`mbt-button--${i}`,o&&"mbt-button--full-width",a&&"mbt-button--disabled",r&&"mbt-button--loading",s].filter(Boolean).join(" ");return t.jsxs("button",{ref:c,type:"button",className:b,disabled:u,...l,children:[t.jsx("span",{className:"mbt-button__content",style:m,children:n}),r&&t.jsx(j,{size:"md",className:"mbt-button__loader"})]})});g.displayName="Button";const y={0:"0",1:"4px",2:"8px",3:"12px",4:"16px"};function x(n,e,o){const a=p.Children.toArray(n).map(s=>typeof s=="string"?s.trim():s).filter(s=>s!==""),r=o!==void 0||a.length>1,i=o===void 0?void 0:{"--mbt-typography-content-gap":y[o]};return r?t.jsx("span",{className:e,style:i,children:a}):n}function C({level:n,children:e,contentGap:o,className:a,...r}){const i=`h${n}`,s=[`mbt-h${n}`,a].filter(Boolean).join(" "),l=x(e,`mbt-h${n}__content`,o);return t.jsx(i,{className:s,...r,children:l})}function I({children:n,large:e=!1,muted:o=!1,contentGap:a,as:r="div",className:i,...s}){const l=r,c=["mbt-metric",e&&"mbt-metric--large",o&&"mbt-metric--muted",i].filter(Boolean).join(" "),u=x(n,"mbt-metric__content",a);return t.jsx(l,{className:c,...s,children:u})}function _({children:n,strong:e=!1,small:o=!1,label:a=!1,muted:r=!1,disableFontFeatures:i=!1,contentGap:s,as:l="p",className:c,...u}){const m=l,b=["mbt-text",e&&"mbt-text--strong",o&&"mbt-text--small",a&&"mbt-text--label",r&&"mbt-text--muted",i&&"mbt-text--no-features",c].filter(Boolean).join(" "),h=x(n,"mbt-text__content",s);return t.jsx(m,{className:b,...u,children:h})}function M(){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 W(){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 S({children:n,icon:e,purchasable:o=!1,boost:a=!1,className:r,...i}){const s=!!e,l=s&&o,c=["mbt-badge",s&&"mbt-badge--with-icon",o&&"mbt-badge--purchasable",a&&"mbt-badge--boost",r].filter(Boolean).join(" ");return t.jsxs("div",{className:c,...i,children:[s&&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(W,{})})]}),t.jsx(_,{as:"span",disableFontFeatures:!0,strong:!0,className:"mbt-badge__content",children:n}),a&&t.jsx("span",{className:"mbt-badge__boost","aria-hidden":"true",children:t.jsx(M,{})})]})}function N({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 w=p.forwardRef(({label:n,muted:e=!1,showSearchIcon:o=!1,icon:a,fullWidth:r=!1,className:i,...s},l)=>{const c=p.useId(),u=s.id??c,m=["mbt-input",r&&"mbt-input--full-width",i].filter(Boolean).join(" "),b=["mbt-input__label",e&&"mbt-input__label--muted"].filter(Boolean).join(" "),h=["mbt-input__wrapper",e&&"mbt-input__wrapper--muted"].filter(Boolean).join(" "),L=["mbt-input__field",e&&"mbt-input__field--muted"].filter(Boolean).join(" "),B=["mbt-input__icon",e&&"mbt-input__icon--muted"].filter(Boolean).join(" "),f=a||o&&t.jsx(N,{});return t.jsx("div",{className:m,children:t.jsxs("div",{className:"mbt-input__container",children:[n&&t.jsx("label",{htmlFor:u,className:b,children:n}),t.jsxs("div",{className:h,children:[t.jsx("input",{ref:l,id:u,type:"text",className:L,...s}),f&&t.jsx("div",{className:B,children:f})]})]})})});w.displayName="Input";function k({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:o=!1,small:a=!1,disabled:r,className:i,...s}){const l=["mbt-menu-button",o&&"mbt-menu-button--selected",a&&"mbt-menu-button--small",i].filter(Boolean).join(" "),c=e??t.jsx(k,{});return t.jsxs("button",{type:"button",className:l,disabled:r,"aria-pressed":o,...s,children:[t.jsx("div",{className:"mbt-menu-button__icon",children:c}),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=S;exports.Button=g;exports.GraduationCapIcon=k;exports.Heading=C;exports.Input=w;exports.Loader=j;exports.MenuButton=z;exports.Metric=I;exports.SearchIcon=N;exports.Text=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./tokens-C8rDJFS5.cjs"),t=require("react/jsx-runtime"),b=require("react");var m=typeof document<"u"?document.currentScript:null;function x({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"})]})}const R={0:"0",1:"4px",2:"8px",3:"12px",4:"16px"},j=b.forwardRef(({children:s,contentGap:e,fullWidth:n,disabled:o,loading:a,variant:r="primary",className:A,...i},c)=>{const l=o||a,u=e===void 0?void 0:{"--mbt-button-content-gap":R[e]},p=["mbt-button",r&&`mbt-button--${r}`,n&&"mbt-button--full-width",o&&"mbt-button--disabled",a&&"mbt-button--loading",A].filter(Boolean).join(" ");return t.jsxs("button",{ref:c,type:"button",className:p,disabled:l,...i,children:[t.jsx("span",{className:"mbt-button__content",style:u,children:s}),a&&t.jsx(x,{size:"md",className:"mbt-button__loader"})]})});j.displayName="Button";const k={0:"0",1:"4px",2:"8px",3:"12px",4:"16px"};function f(s,e,n){const o=b.Children.toArray(s).map(A=>typeof A=="string"?A.trim():A).filter(A=>A!==""),a=n!==void 0||o.length>1,r=n===void 0?void 0:{"--mbt-typography-content-gap":k[n]};return a?t.jsx("span",{className:e,style:r,children:o}):s}function Q({level:s,children:e,contentGap:n,className:o,...a}){const r=`h${s}`,A=[`mbt-h${s}`,o].filter(Boolean).join(" "),i=f(e,`mbt-h${s}__content`,n);return t.jsx(r,{className:A,...a,children:i})}function y({children:s,large:e=!1,muted:n=!1,contentGap:o,as:a="div",className:r,...A}){const i=a,c=["mbt-metric",e&&"mbt-metric--large",n&&"mbt-metric--muted",r].filter(Boolean).join(" "),l=f(s,"mbt-metric__content",o);return t.jsx(i,{className:c,...A,children:l})}function C({children:s,strong:e=!1,small:n=!1,label:o=!1,muted:a=!1,disableFontFeatures:r=!1,contentGap:A,as:i="p",className:c,...l}){const u=i,p=["mbt-text",e&&"mbt-text--strong",n&&"mbt-text--small",o&&"mbt-text--label",a&&"mbt-text--muted",r&&"mbt-text--no-features",c].filter(Boolean).join(" "),g=f(s,"mbt-text__content",A);return t.jsx(u,{className:p,...l,children:g})}const L={small:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAACsklEQVRIDZWUT0gUURzHf+/Nmz/bupHlqpcERUuwQ2ZQaQTeKiTomBAtRYcw/HMKD4KnkAiiIEIq6FSHvQXhrT8orqYJaR1CI0EJXV23Vnd2/r15zRAjwzLOPB8M7/fvfT/we+83AJyLDTPMgCHO8t0yvGtFGduTR2Fgtj6qrDzPDTAMIU5to71cIMrnBpgYcgih01GC5XluQPzxmSyAsMHujFeWi4T53AAEiG1J5hNTIVe0vonjYaL+HDfAPZR8cH4bMaiX5UNfzP6pIb/QXva+AK4IAXHUtjQMCBJ7ifrjxO/w2DqjbZiyZVGkD3nquQErA5OxWiYNEYzv5S2W/VEg7kw4Fx++uAD63dlmEbFRJIgXciaCTwXj/aYEC+HS/7Oho+/+Goz+masCFp6VbFJtUAO+qqg4XUAnB9NtSzyA0EteTn2UgbEhQTxQnSlQWDUJaDZbHEyf+skj7taEAupfdWoU0y5dL/X+obC2YspgMSiCMxO8gNAW+UVeXJ85ISFpzGnbQZXSlIiUBV3PrvWkO3f8deU2N8A9+PLa9DkgylPbhlbKLA0hYcWytZs9b85OlAt7fmiLvCJv1xhadbr6jSCBYSQoMok1IURSXj5o53qm7sHn3XO3AMv388WK6qIuwJG4AbJgOW8AWUHCXiwSMJz6oNToiRGM5b7FDQVKWhIaq2KwuqVDXdUGiLg45YkF7ZEtShrxyzKRutcKhpXfOQwdDTG4cQmgrkKG5RxeqquR3gYJe7FIAM1XvkvG7dZNFX5XkAQ0NwIkGpxPAdgs4szFRy1bnljQHgnoHWvSu2rz68CsbeeJgjPMkPsF8LsAoNOduSBRfywS4Baj4U4rJhojqr2ujs8DpMcAlv6uz6ul7Gu/WJC9rzm43fG5hdpNxyjFhip8z6Qz7aHtcYH/AHa/+OFf5zOHAAAAAElFTkSuQmCC",typeof document>"u"?require("url").pathToFileURL(__filename).href:m&&m.tagName.toUpperCase()==="SCRIPT"&&m.src||new URL("index.cjs",document.baseURI).href).href,medium:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAADbklEQVRIDa1UW2hUVxRd+9w7mTtRJ5lMMrExxraGIAoVOpAH7UBLi0rFItRIv9r+tiFSENoPLeiH0H4UjQ8sFOlvS6GUvmyCiLGtJlr0V7BiofXDgGmLHWZy596zu+6V6EfmzozQA/fBOfustdfa52xBC0PfHX0SMCUIaoD+JEcv32lhWxxiWgpUrcBqFyw+Q6Df6uRguqV9DGqJQKbm78rxy1MI7Yfc4yLfH/6vBA/BjHiATMqhC8HDuSY/bpP1eFknSz1A7SDEXpTj87Ot7FmOaWiRKkT3jUzACa4y83FMzX+lk6NH9O2R4jJAs680CtB9ox/Bdd5DnkIX/CoL/T5EtsDIiwjsB3Jy7otG+6O1RAU6MfosVPbDVWAjrQc8OGaKR3U3VBe5c0TfeiFeiBaTRnINREswxkFPCswc8C3gxIILtKtAFYPIVs4R+Ick8Gg+UQGtICqHx5AO5tFNojT/O/m/KQOscfKw8rEeaqwiWYHFzzw1Fn/WDCrkyjF0I0kGeMciotp9YLEW4l7mQSJxNitfiQrk1Nw1WPsaKsF+/F75FbeqwDWC/sMrEFkW2VXDaTlxdmkl7KOZRIIoRE5e+ZouzrAWZ5n1EjIOUGEtlOCL/g0s1KZJlewCMRoSxHmo3cojOUZr3Nj7LuJV2SkGvH6Md8/hyx2/6I87S3FsnVdzgiVbYIGfweZ2B/0ewvUObJ7bhjKrsSGdx3pvGCk5o9PbVtXBb6xA3ygOEPwdDGcLcA1spyBYK/CHWIaon/o0KFIj6AMyXfUIEv3TYjFFGz7F87lBtBsEvQTnAzfg4VqNoK+MlE/sB21vgcVZrEeQbFEptRfF7DZ4Tpx1sI6hElLyMBx3F8JcFUGBhE4EoTOyfab8eASbVr2OnjZoysL2rIUJuwmeRyozQdA0XemEiRqFb//mWTlRDzyaS1bwdJq9VGDbazCZ5+B6b8KkxtheaXVQZYsaZ7eggkDvoIzbj0+Qdo4hCKvOkgtbvkTgLFUMQcs3ocFvCHUW+IsFNtiADr8jiYApJA89v/NVGOcT5PSJoC8L6/VC4UPMLbTd46X7g081PIyXvjtMIB6plaMhQRSus7ueQogDaLN70Csd8GjbXfxr7sscwvCMvPz95ythH800JVgO1WkSGYzxPuTY/C7JK99cX15r9P0PCQQPFCqYsRUAAAAASUVORK5CYII=",typeof document>"u"?require("url").pathToFileURL(__filename).href:m&&m.tagName.toUpperCase()==="SCRIPT"&&m.src||new URL("index.cjs",document.baseURI).href).href,large:new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAGAAAAADiNXWtAAAD70lEQVRIDZ1VTUxcVRT+7pvfN30wA1Mm/LRlCMW00hpajLbophsKSVl0MUmtiUk1mYUmxkR3bsCYGGOMrky7Ml2Y2I0bGyKJiVUMpWVCU7QZ/iq09L9MCwwMMDPvHb+LSgaGpoMn+WbuvTnnO+fc8733g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54eeOx6VbRpJt4tzpfyqz9lURuUT8RvxCDBLDMv3lGpvA6CZKZy7wPCdxT0YmX5uXuz0T8qjvD5lNjksqOSNTn9+QbismcP1v8oI8a8u4wDMipysSEg/qA01cCvnfczphhoq4bCIAAAAASUVORK5CYII=",typeof document>"u"?require("url").pathToFileURL(__filename).href:m&&m.tagName.toUpperCase()==="SCRIPT"&&m.src||new URL("index.cjs",document.baseURI).href).href};function M({variant:s="medium"}){const e=L[s];return t.jsx("img",{src:e,alt:"",width:"24",height:"24"})}function S(){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 G({children:s,icon:e,purchasable:n=!1,boost:o=!1,boostVariant:a="medium",className:r,...A}){const i=!!e,c=i&&n,l=["mbt-badge",i&&"mbt-badge--with-icon",n&&"mbt-badge--purchasable",o&&"mbt-badge--boost",r].filter(Boolean).join(" ");return t.jsxs("div",{className:l,...A,children:[i&&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(S,{})})]}),t.jsx(C,{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(M,{variant:a})})]})}function B({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 I=b.forwardRef(({label:s,muted:e=!1,showSearchIcon:n=!1,icon:o,fullWidth:a=!1,className:r,...A},i)=>{const c=b.useId(),l=A.id??c,u=["mbt-input",a&&"mbt-input--full-width",r].filter(Boolean).join(" "),p=["mbt-input__label",e&&"mbt-input__label--muted"].filter(Boolean).join(" "),g=["mbt-input__wrapper",e&&"mbt-input__wrapper--muted"].filter(Boolean).join(" "),N=["mbt-input__field",e&&"mbt-input__field--muted"].filter(Boolean).join(" "),w=["mbt-input__icon",e&&"mbt-input__icon--muted"].filter(Boolean).join(" "),h=o||n&&t.jsx(B,{});return t.jsx("div",{className:u,children:t.jsxs("div",{className:"mbt-input__container",children:[s&&t.jsx("label",{htmlFor:l,className:p,children:s}),t.jsxs("div",{className:g,children:[t.jsx("input",{ref:i,id:l,type:"text",className:N,...A}),h&&t.jsx("div",{className:w,children:h})]})]})})});I.displayName="Input";function U({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 v({children:s,icon:e,selected:n=!1,small:o=!1,disabled:a,className:r,...A}){const i=["mbt-menu-button",n&&"mbt-menu-button--selected",o&&"mbt-menu-button--small",r].filter(Boolean).join(" "),c=e??t.jsx(U,{});return t.jsxs("button",{type:"button",className:i,disabled:a,"aria-pressed":n,...A,children:[t.jsx("div",{className:"mbt-menu-button__icon",children:c}),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=G;exports.Button=j;exports.GraduationCapIcon=U;exports.Heading=Q;exports.Input=I;exports.Loader=x;exports.MenuButton=v;exports.Metric=y;exports.SearchIcon=B;exports.Text=C;
package/dist/index.mjs CHANGED
@@ -1,164 +1,144 @@
1
- import { c as Z, f as A, a as D, b as G, d as R, r as q, s as E, t as J, e as K, z as O } from "./tokens-C0g4TAJO.js";
2
- import { jsxs as c, jsx as t } from "react/jsx-runtime";
3
- import { forwardRef as _, Children as w, useId as x } from "react";
4
- function k({ size: n = "md", className: e, ...s }) {
5
- const a = ["mbt-loader", `mbt-loader--${n}`, e].filter(Boolean).join(" ");
6
- return /* @__PURE__ */ c("span", { className: a, ...s, children: [
1
+ import { c as T, f as K, a as O, b as X, d as W, r as J, s as Y, t as q, e as P, z as _ } from "./tokens-C0g4TAJO.js";
2
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
3
+ import { forwardRef as h, Children as B, useId as N } from "react";
4
+ function I({ size: A = "md", className: e, ...n }) {
5
+ const o = ["mbt-loader", `mbt-loader--${A}`, e].filter(Boolean).join(" ");
6
+ return /* @__PURE__ */ d("span", { className: o, ...n, 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" })
10
10
  ] });
11
11
  }
12
- const L = {
12
+ const w = {
13
13
  0: "0",
14
14
  1: "4px",
15
15
  2: "8px",
16
16
  3: "12px",
17
17
  4: "16px"
18
- }, v = _(
18
+ }, x = h(
19
19
  ({
20
- children: n,
20
+ children: A,
21
21
  contentGap: e,
22
- fullWidth: s,
23
- disabled: a,
24
- loading: r,
25
- variant: i = "primary",
26
- className: o,
27
- ...l
28
- }, d) => {
29
- const m = a || r, u = e === void 0 ? void 0 : {
30
- "--mbt-button-content-gap": L[e]
22
+ fullWidth: n,
23
+ disabled: o,
24
+ loading: a,
25
+ variant: r = "primary",
26
+ className: s,
27
+ ...i
28
+ }, l) => {
29
+ const c = o || a, m = e === void 0 ? void 0 : {
30
+ "--mbt-button-content-gap": w[e]
31
31
  }, b = [
32
32
  "mbt-button",
33
- i && `mbt-button--${i}`,
34
- s && "mbt-button--full-width",
35
- a && "mbt-button--disabled",
36
- r && "mbt-button--loading",
37
- o
33
+ r && `mbt-button--${r}`,
34
+ n && "mbt-button--full-width",
35
+ o && "mbt-button--disabled",
36
+ a && "mbt-button--loading",
37
+ s
38
38
  ].filter(Boolean).join(" ");
39
- return /* @__PURE__ */ c(
39
+ return /* @__PURE__ */ d(
40
40
  "button",
41
41
  {
42
- ref: d,
42
+ ref: l,
43
43
  type: "button",
44
44
  className: b,
45
- disabled: m,
46
- ...l,
45
+ disabled: c,
46
+ ...i,
47
47
  children: [
48
- /* @__PURE__ */ t("span", { className: "mbt-button__content", style: u, children: n }),
49
- r && /* @__PURE__ */ t(k, { size: "md", className: "mbt-button__loader" })
48
+ /* @__PURE__ */ t("span", { className: "mbt-button__content", style: m, children: A }),
49
+ a && /* @__PURE__ */ t(I, { size: "md", className: "mbt-button__loader" })
50
50
  ]
51
51
  }
52
52
  );
53
53
  }
54
54
  );
55
- v.displayName = "Button";
56
- const y = {
55
+ x.displayName = "Button";
56
+ const U = {
57
57
  0: "0",
58
58
  1: "4px",
59
59
  2: "8px",
60
60
  3: "12px",
61
61
  4: "16px"
62
62
  };
63
- function h(n, e, s) {
64
- const a = w.toArray(n).map((o) => typeof o == "string" ? o.trim() : o).filter((o) => o !== ""), r = s !== void 0 || a.length > 1, i = s === void 0 ? void 0 : {
65
- "--mbt-typography-content-gap": y[s]
63
+ function p(A, e, n) {
64
+ const o = B.toArray(A).map((s) => typeof s == "string" ? s.trim() : s).filter((s) => s !== ""), a = n !== void 0 || o.length > 1, r = n === void 0 ? void 0 : {
65
+ "--mbt-typography-content-gap": U[n]
66
66
  };
67
- return r ? /* @__PURE__ */ t("span", { className: e, style: i, children: a }) : n;
67
+ return a ? /* @__PURE__ */ t("span", { className: e, style: r, children: o }) : A;
68
68
  }
69
- function T({
70
- level: n,
69
+ function E({
70
+ level: A,
71
71
  children: e,
72
- contentGap: s,
73
- className: a,
74
- ...r
72
+ contentGap: n,
73
+ className: o,
74
+ ...a
75
75
  }) {
76
- const i = `h${n}`, o = [`mbt-h${n}`, a].filter(Boolean).join(" "), l = h(
76
+ const r = `h${A}`, s = [`mbt-h${A}`, o].filter(Boolean).join(" "), i = p(
77
77
  e,
78
- `mbt-h${n}__content`,
79
- s
78
+ `mbt-h${A}__content`,
79
+ n
80
80
  );
81
- return /* @__PURE__ */ t(i, { className: o, ...r, children: l });
81
+ return /* @__PURE__ */ t(r, { className: s, ...a, children: i });
82
82
  }
83
- function $({
84
- children: n,
83
+ function S({
84
+ children: A,
85
85
  large: e = !1,
86
- muted: s = !1,
87
- contentGap: a,
88
- as: r = "div",
89
- className: i,
90
- ...o
86
+ muted: n = !1,
87
+ contentGap: o,
88
+ as: a = "div",
89
+ className: r,
90
+ ...s
91
91
  }) {
92
- const l = r, d = [
92
+ const i = a, l = [
93
93
  "mbt-metric",
94
94
  e && "mbt-metric--large",
95
- s && "mbt-metric--muted",
96
- i
97
- ].filter(Boolean).join(" "), m = h(
98
- n,
95
+ n && "mbt-metric--muted",
96
+ r
97
+ ].filter(Boolean).join(" "), c = p(
98
+ A,
99
99
  "mbt-metric__content",
100
- a
100
+ o
101
101
  );
102
- return /* @__PURE__ */ t(l, { className: d, ...o, children: m });
102
+ return /* @__PURE__ */ t(i, { className: l, ...s, children: c });
103
103
  }
104
- function B({
105
- children: n,
104
+ function k({
105
+ children: A,
106
106
  strong: e = !1,
107
- small: s = !1,
108
- label: a = !1,
109
- muted: r = !1,
110
- disableFontFeatures: i = !1,
111
- contentGap: o,
112
- as: l = "p",
113
- className: d,
114
- ...m
107
+ small: n = !1,
108
+ label: o = !1,
109
+ muted: a = !1,
110
+ disableFontFeatures: r = !1,
111
+ contentGap: s,
112
+ as: i = "p",
113
+ className: l,
114
+ ...c
115
115
  }) {
116
- const u = l, b = [
116
+ const m = i, b = [
117
117
  "mbt-text",
118
118
  e && "mbt-text--strong",
119
- s && "mbt-text--small",
120
- a && "mbt-text--label",
121
- r && "mbt-text--muted",
122
- i && "mbt-text--no-features",
123
- d
124
- ].filter(Boolean).join(" "), p = h(
125
- n,
119
+ n && "mbt-text--small",
120
+ o && "mbt-text--label",
121
+ a && "mbt-text--muted",
122
+ r && "mbt-text--no-features",
123
+ l
124
+ ].filter(Boolean).join(" "), u = p(
125
+ A,
126
126
  "mbt-text__content",
127
- o
127
+ s
128
128
  );
129
- return /* @__PURE__ */ t(u, { className: b, ...m, children: p });
129
+ return /* @__PURE__ */ t(m, { className: b, ...c, children: u });
130
130
  }
131
- function C() {
132
- return /* @__PURE__ */ c(
133
- "svg",
134
- {
135
- width: "24",
136
- height: "24",
137
- viewBox: "0 0 24 24",
138
- fill: "none",
139
- xmlns: "http://www.w3.org/2000/svg",
140
- "aria-hidden": "true",
141
- children: [
142
- /* @__PURE__ */ t(
143
- "path",
144
- {
145
- d: "M12 4L19 10.5L16.5 12.5L12 8.5L7.5 12.5L5 10.5L12 4Z",
146
- fill: "currentColor"
147
- }
148
- ),
149
- /* @__PURE__ */ t(
150
- "path",
151
- {
152
- d: "M12 9L19 15.5L16.5 17.5L12 13.5L7.5 17.5L5 15.5L12 9Z",
153
- fill: "currentColor"
154
- }
155
- )
156
- ]
157
- }
158
- );
131
+ const Q = {
132
+ small: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MI3bdgxUjsjrLO3TARgNLkCyT/cA741gPE2eVQyQnaZTLiQvgLG8bPe8XqalQScnCb11GBMMktyomEZ1qV+uGmSJAPYfKQUonNCbZ80Dpk+qQHtZcpxWN9PeXfva7Q1wBnRQevIodaCKqQTx3GdG9CxEOSBpJf2kyu90VD7pSZNw2Ez4dguhoEV9rUk3YTobc4h/czWGmawBL2McFhpB3B8rt+NI66odx+pPNAdb9SasNDt0WC9EAE1tFm3nUjAtkw8mNZqIN/IQ0S8d1isAsDUSyiFcu2G65xP7wTpuQ5Fu9JpSKLhZ0UDbkW1qMmepiYR5YieUzyeVJ6KcQAfy2SL7KDe9w/xqqrBfb+crj3R1R6zJxM5ArJ9bpoBgeAc3sp6QaOs4pJ9mAU5ZRmiITldNfJ97GTGp5p9d9gX17CgWUjWy+atNCKOqC2B004n9VBTlQi9TKjXBn41ui0s9Y+9Y46YoQJp0iegQc1Oft31dzMpjdaUYLTwNwwnF99eOLxYan+FnZXh1njLsZpZ8pzTRm6/hriLlMrrK4glz7LbZEVXRFVICHcfmAi9QJfC5E5qn6ZYfozVkb8p4oU1w+IKLuoxPJZtSNyjdsiK+pAe1jIHlxG4FQCOzloN2eh9f/P1fDJxVPiIVFB7MJsfwh3erjc0oo60F7U+3AFsrMvsl7tcJ/QFc8TfC1gbO1/dWUPxr9KYyCm1KE54eeOx6VbRpJt4tzpfyqz9lURuUT8RvxCDBLDMv3lGpvA6CZKZy7wPCdxT0YmX5uXuz0T8qjvD5lNjksqOSNTn9+QbismcP1v8oI8a8u4wDMipysSEg/qA01cCvnfczphhoq4bCIAAAAASUVORK5CYII=", import.meta.url).href
135
+ };
136
+ function j({ variant: A = "medium" }) {
137
+ const e = Q[A];
138
+ return /* @__PURE__ */ t("img", { src: e, alt: "", width: "24", height: "24" });
159
139
  }
160
- function j() {
161
- return /* @__PURE__ */ c(
140
+ function M() {
141
+ return /* @__PURE__ */ d(
162
142
  "svg",
163
143
  {
164
144
  width: "16",
@@ -190,32 +170,33 @@ function j() {
190
170
  }
191
171
  );
192
172
  }
193
- function F({
194
- children: n,
173
+ function V({
174
+ children: A,
195
175
  icon: e,
196
- purchasable: s = !1,
197
- boost: a = !1,
176
+ purchasable: n = !1,
177
+ boost: o = !1,
178
+ boostVariant: a = "medium",
198
179
  className: r,
199
- ...i
180
+ ...s
200
181
  }) {
201
- const o = !!e, l = o && s, d = [
182
+ const i = !!e, l = i && n, c = [
202
183
  "mbt-badge",
203
- o && "mbt-badge--with-icon",
204
- s && "mbt-badge--purchasable",
205
- a && "mbt-badge--boost",
184
+ i && "mbt-badge--with-icon",
185
+ n && "mbt-badge--purchasable",
186
+ o && "mbt-badge--boost",
206
187
  r
207
188
  ].filter(Boolean).join(" ");
208
- return /* @__PURE__ */ c("div", { className: d, ...i, children: [
209
- o && /* @__PURE__ */ c("span", { className: "mbt-badge__media", children: [
189
+ return /* @__PURE__ */ d("div", { className: c, ...s, children: [
190
+ i && /* @__PURE__ */ d("span", { className: "mbt-badge__media", children: [
210
191
  /* @__PURE__ */ t("span", { className: "mbt-badge__icon", children: e }),
211
- l && /* @__PURE__ */ t("span", { className: "mbt-badge__purchasable", "aria-hidden": "true", children: /* @__PURE__ */ t(j, {}) })
192
+ l && /* @__PURE__ */ t("span", { className: "mbt-badge__purchasable", "aria-hidden": "true", children: /* @__PURE__ */ t(M, {}) })
212
193
  ] }),
213
- /* @__PURE__ */ t(B, { as: "span", disableFontFeatures: !0, strong: !0, className: "mbt-badge__content", children: n }),
214
- a && /* @__PURE__ */ t("span", { className: "mbt-badge__boost", "aria-hidden": "true", children: /* @__PURE__ */ t(C, {}) })
194
+ /* @__PURE__ */ t(k, { as: "span", disableFontFeatures: !0, strong: !0, className: "mbt-badge__content", children: A }),
195
+ o && /* @__PURE__ */ t("span", { className: "mbt-badge__boost", "aria-hidden": "true", children: /* @__PURE__ */ t(j, { variant: a }) })
215
196
  ] });
216
197
  }
217
- function I({ className: n, title: e = "Search" }) {
218
- return /* @__PURE__ */ c(
198
+ function y({ className: A, title: e = "Search" }) {
199
+ return /* @__PURE__ */ d(
219
200
  "svg",
220
201
  {
221
202
  width: "24",
@@ -223,7 +204,7 @@ function I({ className: n, title: e = "Search" }) {
223
204
  viewBox: "0 0 24 24",
224
205
  fill: "none",
225
206
  xmlns: "http://www.w3.org/2000/svg",
226
- className: n,
207
+ className: A,
227
208
  role: "img",
228
209
  "aria-label": e,
229
210
  children: [
@@ -254,54 +235,54 @@ function I({ className: n, title: e = "Search" }) {
254
235
  }
255
236
  );
256
237
  }
257
- const M = _(
238
+ const G = h(
258
239
  ({
259
- label: n,
240
+ label: A,
260
241
  muted: e = !1,
261
- showSearchIcon: s = !1,
262
- icon: a,
263
- fullWidth: r = !1,
264
- className: i,
265
- ...o
266
- }, l) => {
267
- const d = x(), m = o.id ?? d, u = [
242
+ showSearchIcon: n = !1,
243
+ icon: o,
244
+ fullWidth: a = !1,
245
+ className: r,
246
+ ...s
247
+ }, i) => {
248
+ const l = N(), c = s.id ?? l, m = [
268
249
  "mbt-input",
269
- r && "mbt-input--full-width",
270
- i
250
+ a && "mbt-input--full-width",
251
+ r
271
252
  ].filter(Boolean).join(" "), b = [
272
253
  "mbt-input__label",
273
254
  e && "mbt-input__label--muted"
274
- ].filter(Boolean).join(" "), p = [
255
+ ].filter(Boolean).join(" "), u = [
275
256
  "mbt-input__wrapper",
276
257
  e && "mbt-input__wrapper--muted"
277
- ].filter(Boolean).join(" "), g = [
258
+ ].filter(Boolean).join(" "), f = [
278
259
  "mbt-input__field",
279
260
  e && "mbt-input__field--muted"
280
- ].filter(Boolean).join(" "), N = ["mbt-input__icon", e && "mbt-input__icon--muted"].filter(Boolean).join(" "), f = a || s && /* @__PURE__ */ t(I, {});
281
- return /* @__PURE__ */ t("div", { className: u, children: /* @__PURE__ */ c("div", { className: "mbt-input__container", children: [
282
- n && /* @__PURE__ */ t("label", { htmlFor: m, className: b, children: n }),
283
- /* @__PURE__ */ c("div", { className: p, children: [
261
+ ].filter(Boolean).join(" "), C = ["mbt-input__icon", e && "mbt-input__icon--muted"].filter(Boolean).join(" "), g = o || n && /* @__PURE__ */ t(y, {});
262
+ return /* @__PURE__ */ t("div", { className: m, children: /* @__PURE__ */ d("div", { className: "mbt-input__container", children: [
263
+ A && /* @__PURE__ */ t("label", { htmlFor: c, className: b, children: A }),
264
+ /* @__PURE__ */ d("div", { className: u, children: [
284
265
  /* @__PURE__ */ t(
285
266
  "input",
286
267
  {
287
- ref: l,
288
- id: m,
268
+ ref: i,
269
+ id: c,
289
270
  type: "text",
290
- className: g,
291
- ...o
271
+ className: f,
272
+ ...s
292
273
  }
293
274
  ),
294
- f && /* @__PURE__ */ t("div", { className: N, children: f })
275
+ g && /* @__PURE__ */ t("div", { className: C, children: g })
295
276
  ] })
296
277
  ] }) });
297
278
  }
298
279
  );
299
- M.displayName = "Input";
300
- function W({
301
- className: n,
280
+ G.displayName = "Input";
281
+ function R({
282
+ className: A,
302
283
  title: e = "Graduation cap"
303
284
  }) {
304
- return /* @__PURE__ */ c(
285
+ return /* @__PURE__ */ d(
305
286
  "svg",
306
287
  {
307
288
  width: "24",
@@ -309,7 +290,7 @@ function W({
309
290
  viewBox: "0 0 24 24",
310
291
  fill: "none",
311
292
  xmlns: "http://www.w3.org/2000/svg",
312
- className: n,
293
+ className: A,
313
294
  role: "img",
314
295
  "aria-label": e,
315
296
  children: [
@@ -348,55 +329,55 @@ function W({
348
329
  }
349
330
  );
350
331
  }
351
- function H({
352
- children: n,
332
+ function D({
333
+ children: A,
353
334
  icon: e,
354
- selected: s = !1,
355
- small: a = !1,
356
- disabled: r,
357
- className: i,
358
- ...o
335
+ selected: n = !1,
336
+ small: o = !1,
337
+ disabled: a,
338
+ className: r,
339
+ ...s
359
340
  }) {
360
- const l = [
341
+ const i = [
361
342
  "mbt-menu-button",
362
- s && "mbt-menu-button--selected",
363
- a && "mbt-menu-button--small",
364
- i
343
+ n && "mbt-menu-button--selected",
344
+ o && "mbt-menu-button--small",
345
+ r
365
346
  ].filter(Boolean).join(" ");
366
- return /* @__PURE__ */ c(
347
+ return /* @__PURE__ */ d(
367
348
  "button",
368
349
  {
369
350
  type: "button",
370
- className: l,
371
- disabled: r,
372
- "aria-pressed": s,
373
- ...o,
351
+ className: i,
352
+ disabled: a,
353
+ "aria-pressed": n,
354
+ ...s,
374
355
  children: [
375
- /* @__PURE__ */ t("div", { className: "mbt-menu-button__icon", children: e ?? /* @__PURE__ */ t(W, {}) }),
376
- /* @__PURE__ */ t("span", { className: "mbt-menu-button__text", children: n })
356
+ /* @__PURE__ */ t("div", { className: "mbt-menu-button__icon", children: e ?? /* @__PURE__ */ t(R, {}) }),
357
+ /* @__PURE__ */ t("span", { className: "mbt-menu-button__text", children: A })
377
358
  ]
378
359
  }
379
360
  );
380
361
  }
381
362
  export {
382
- F as Badge,
383
- v as Button,
384
- W as GraduationCapIcon,
385
- T as Heading,
386
- M as Input,
387
- k as Loader,
388
- H as MenuButton,
389
- $ as Metric,
390
- I as SearchIcon,
391
- B as Text,
392
- Z as colors,
393
- A as fontFeatures,
394
- D as fontSizes,
395
- G as fontWeights,
396
- R as fonts,
397
- q as radius,
398
- E as spacing,
399
- J as tokens,
400
- K as transitions,
401
- O as zIndex
363
+ V as Badge,
364
+ x as Button,
365
+ R as GraduationCapIcon,
366
+ E as Heading,
367
+ G as Input,
368
+ I as Loader,
369
+ D as MenuButton,
370
+ S as Metric,
371
+ y as SearchIcon,
372
+ k as Text,
373
+ T as colors,
374
+ K as fontFeatures,
375
+ O as fontSizes,
376
+ X as fontWeights,
377
+ W as fonts,
378
+ J as radius,
379
+ Y as spacing,
380
+ q as tokens,
381
+ P as transitions,
382
+ _ as zIndex
402
383
  };
@@ -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:flex;align-items:center;justify-content:center;height:37px;max-height:37px;min-height:37px;position:relative;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{display:inline-flex;align-items:center;justify-content:center;gap:var(--mbt-button-content-gap, 4px)}.mbt-button__content svg{display:block;flex-shrink:0}.mbt-button__loader{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:flex;align-items:center;justify-content:center;height:37px;max-height:37px;min-height:37px;position:relative;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{display:inline-flex;align-items:center;justify-content:center;gap:var(--mbt-button-content-gap, 4px)}.mbt-button__content svg{display:block;flex-shrink:0}.mbt-button__loader{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.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:-16px;right:-4px;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px}.mbt-badge__boost img{display:block;width:100%;height:100%}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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:var(--mbt-typography-content-gap, 4px)}.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.30",
4
+ "version": "0.1.31",
5
5
  "packageManager": "pnpm@10.28.0",
6
6
  "type": "module",
7
7
  "main": "dist/index.cjs",