@stackone/malachite 1.3.3 → 1.5.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
@@ -445,10 +445,11 @@ declare interface CodeBlockProps {
445
445
  /** Wrap long lines instead of scrolling horizontally */
446
446
  wrapLines?: boolean;
447
447
  /**
448
- * Highlight the code with this language's grammar. Deliberately yaml-only for now;
449
- * widen the union as grammars are registered in CodeBlockHighlighter.
448
+ * Highlight the code with this language's grammar. `cedar` is a grammar this library
449
+ * ships itself (`prismCedar.ts`), since Prism and refractor carry none; widen the union
450
+ * as further grammars are registered in CodeBlockHighlighter.
450
451
  */
451
- language?: 'yaml';
452
+ language?: 'yaml' | 'cedar';
452
453
  }
453
454
 
454
455
  export declare interface CodeTextProps {
@@ -1377,6 +1378,24 @@ declare interface MultiSelectBaseProps {
1377
1378
  chipsMax?: number | 'auto';
1378
1379
  /** Search input inside the trigger field instead of external search bar */
1379
1380
  inlineSearch?: boolean;
1381
+ /**
1382
+ * Called with the query as typed, and with `''` whenever the component clears it — on
1383
+ * select, and on close — so a consumer's request stays in step with what is on screen.
1384
+ *
1385
+ * For a list too large to load in full: fire the request here and pass the results back
1386
+ * as `options`. Pair it with `localFilter={false}`, or the component filters the answer
1387
+ * the server already filtered. Debouncing is left to the caller, who is the only one who
1388
+ * knows what a request costs.
1389
+ */
1390
+ onSearchChange?: (query: string) => void;
1391
+ /**
1392
+ * Whether this component filters `options` itself. Default true.
1393
+ *
1394
+ * Set false when the options already reflect the query. A server commonly matches on
1395
+ * fields the label does not contain — an account found by its owner's email, say — and
1396
+ * filtering again here would hide precisely those matches.
1397
+ */
1398
+ localFilter?: boolean;
1380
1399
  className?: string;
1381
1400
  style?: default_2.CSSProperties;
1382
1401
  /** 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-BJmGtxRT.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.5.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",