@stackone/malachite 1.3.3 → 1.4.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
@@ -1377,6 +1377,24 @@ declare interface MultiSelectBaseProps {
1377
1377
  chipsMax?: number | 'auto';
1378
1378
  /** Search input inside the trigger field instead of external search bar */
1379
1379
  inlineSearch?: boolean;
1380
+ /**
1381
+ * Called with the query as typed, and with `''` whenever the component clears it — on
1382
+ * select, and on close — so a consumer's request stays in step with what is on screen.
1383
+ *
1384
+ * For a list too large to load in full: fire the request here and pass the results back
1385
+ * as `options`. Pair it with `localFilter={false}`, or the component filters the answer
1386
+ * the server already filtered. Debouncing is left to the caller, who is the only one who
1387
+ * knows what a request costs.
1388
+ */
1389
+ onSearchChange?: (query: string) => void;
1390
+ /**
1391
+ * Whether this component filters `options` itself. Default true.
1392
+ *
1393
+ * Set false when the options already reflect the query. A server commonly matches on
1394
+ * fields the label does not contain — an account found by its owner's email, say — and
1395
+ * filtering again here would hide precisely those matches.
1396
+ */
1397
+ localFilter?: boolean;
1380
1398
  className?: string;
1381
1399
  style?: default_2.CSSProperties;
1382
1400
  /** Names the trigger from the light DOM, where `htmlFor` cannot reach into the shadow root. */
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, c as t, d as o, e as r, f as i, g as n, B as l, h as p, i as d, j as c, k as S, l as T, m, n as u, o as g, p as h, q as C, r as y, s as B, D as w, t as F, u as x, v as A, F as b, w as L, x as P, y as f, z as v, E as k, G as D, H as z, I as R, J as M, K as I, L as N, M as V, N as E, O as G, P as H, Q as j, R as q, S as J, T as K, U as O, V as W, W as Q, X as U, Y as X, Z as Y, $ as Z, a0 as $, a1 as _, a2 as aa, a3 as ea, a4 as sa, a5 as ta, a6 as oa, a7 as ra, a8 as ia, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as Sa, af as Ta, ag as ma, ah as ua, ai as ga, aj as ha, ak as Ca, al as ya, am as Ba, an as wa, ao as Fa, ap as xa, aq as Aa, ar as ba, as as La, at as Pa, au as fa, av as va, aw as ka, ax as Da, ay as za, az as Ra, aA as Ma, aB as Ia, aC as Na, aD as Va, aE as Ea, aF as Ga, aG as Ha, aH as ja } from "./index-0985-kKD.js";
1
+ import { A as s, c as t, d as o, e as r, f as i, g as n, B as l, h as p, i as d, j as c, k as S, l as T, m, n as u, o as g, p as h, q as C, r as y, s as B, D as w, t as F, u as x, v as A, F as b, w as L, x as P, y as f, z as v, E as k, G as D, H as z, I as R, J as M, K as I, L as N, M as V, N as E, O as G, P as H, Q as j, R as q, S as J, T as K, U as O, V as W, W as Q, X as U, Y as X, Z as Y, $ as Z, a0 as $, a1 as _, a2 as aa, a3 as ea, a4 as sa, a5 as ta, a6 as oa, a7 as ra, a8 as ia, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as Sa, af as Ta, ag as ma, ah as ua, ai as ga, aj as ha, ak as Ca, al as ya, am as Ba, an as wa, ao as Fa, ap as xa, aq as Aa, ar as ba, as as La, at as Pa, au as fa, av as va, aw as ka, ax as Da, ay as za, az as Ra, aA as Ma, aB as Ia, aC as Na, aD as Va, aE as Ea, aF as Ga, aG as Ha, aH as ja } from "./index-Da06C2mG.js";
2
2
  export {
3
3
  s as Accordion,
4
4
  t as ActionBar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/malachite",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "description": "StackOne's themeable React component library — Shadow DOM isolated, scoped Tailwind, theme-token driven.",
5
5
  "license": "MIT",
6
6
  "author": "StackOne",