@stackone/malachite 0.60.0 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1864,7 +1864,13 @@ declare interface ToggleProps {
1864
1864
  size?: ToggleSize;
1865
1865
  /** Visible text shown before the switch (e.g. a filter label). */
1866
1866
  label?: string;
1867
- /** Wrap the label + switch in a bordered, rounded card-style pill (filter-bar look). */
1867
+ /**
1868
+ * Chrome for a toolbar filter — pick the family it sits beside. `pill` is the
1869
+ * filter-bar look that matches `Search`/`MultiSelect`; `button` renders the whole
1870
+ * control as an outline `Button`. Setting this implies `bordered`.
1871
+ */
1872
+ variant?: ToggleVariant;
1873
+ /** Shorthand for `variant="pill"`. */
1868
1874
  bordered?: boolean;
1869
1875
  'aria-label'?: string;
1870
1876
  'aria-labelledby'?: string;
@@ -1872,13 +1878,19 @@ declare interface ToggleProps {
1872
1878
  id?: string;
1873
1879
  }
1874
1880
 
1875
- declare type ToggleSize = 'small' | 'medium';
1881
+ export declare type ToggleSize = 'small' | 'medium';
1876
1882
 
1877
1883
  /**
1878
1884
  * Toggle between light and dark themes
1879
1885
  */
1880
1886
  export declare function toggleTheme(): 'light' | 'dark';
1881
1887
 
1888
+ /**
1889
+ * Which family of toolbar controls the chrome should match. `pill` matches the
1890
+ * filter-bar inputs (`Search`, `MultiSelect`); `button` matches the buttons.
1891
+ */
1892
+ export declare type ToggleVariant = 'pill' | 'button';
1893
+
1882
1894
  /**
1883
1895
  * A flat, opaque horizontal bar — e.g. a toolbar/sub-header holding a Search or
1884
1896
  * filters. Owns its chrome (opaque `card-background` so scrolling content doesn't
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, b as t, c as o, d as i, B as r, e as n, f as l, C as p, g as T, h as d, i as m, j as c, k as S, l as h, m as u, D as g, n as C, o as y, p as F, F as w, q as x, r as f, s as k, t as v, u as B, v as L, w as P, x as b, I as A, K as D, L as z, y as R, M, z as I, N, O as V, P as j, E as q, G as E, H as G, J as H, Q as J, R as K, S as O, T as W, U as Q, V as U, W as X, X as Y, Y as Z, Z as $, $ as _, a0 as aa, a1 as ea, a2 as sa, a3 as ta, a4 as oa, a5 as ia, a6 as ra, a7 as na, a8 as la, a9 as pa, aa as Ta, ab as da, ac as ma, ad as ca, ae as Sa, af as ha, ag as ua, ah as ga, ai as Ca, aj as ya, ak as Fa, al as wa, am as xa, an as fa, ao as ka, ap as va, aq as Ba, ar as La, as as Pa, at as ba } from "./index-BnyekAmG.js";
1
+ import { A as s, b as t, c as o, d as i, B as r, e as n, f as l, C as p, g as T, h as d, i as m, j as c, k as S, l as h, m as u, D as g, n as C, o as y, p as F, F as w, q as x, r as f, s as k, t as v, u as B, v as L, w as P, x as b, I as A, K as D, L as z, y as R, M, z as I, N, O as V, P as j, E as q, G as E, H as G, J as H, Q as J, R as K, S as O, T as W, U as Q, V as U, W as X, X as Y, Y as Z, Z as $, $ as _, a0 as aa, a1 as ea, a2 as sa, a3 as ta, a4 as oa, a5 as ia, a6 as ra, a7 as na, a8 as la, a9 as pa, aa as Ta, ab as da, ac as ma, ad as ca, ae as Sa, af as ha, ag as ua, ah as ga, ai as Ca, aj as ya, ak as Fa, al as wa, am as xa, an as fa, ao as ka, ap as va, aq as Ba, ar as La, as as Pa, at as ba } from "./index-CAu3SySY.js";
2
2
  export {
3
3
  s as Accordion,
4
4
  t as ActionMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/malachite",
3
- "version": "0.60.0",
3
+ "version": "0.61.0",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.js",
@@ -24,6 +24,7 @@
24
24
  "build": "vite build",
25
25
  "lint": "biome lint",
26
26
  "lint:fix": "biome lint --fix",
27
+ "typecheck": "tsc -p tsconfig.app.json --noEmit && tsc -p tsconfig.demo.json --noEmit",
27
28
  "docs:components": "node scripts/generate-components-doc.mjs",
28
29
  "docs:check": "node scripts/generate-components-doc.mjs --check",
29
30
  "publish-release": "npm publish --access=public"