@stackone/malachite 2.16.0 → 2.17.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
@@ -113,6 +113,14 @@ export declare interface ActionMenuProps {
113
113
  triggerIcon?: default_2.ReactNode;
114
114
  minWidth?: number;
115
115
  size?: 'small' | 'xsmall';
116
+ /**
117
+ * Shows `label` beside the icon instead of leaving it to the accessible name. For a menu
118
+ * that is the point of its corner rather than an overflow for a row that already reads —
119
+ * a kebab nobody can name is only safe when the row it belongs to says what it acts on.
120
+ */
121
+ showLabel?: boolean;
122
+ /** Trigger's Button variant. Defaults to `outline`, the overflow-kebab look. */
123
+ variant?: ButtonVariant;
116
124
  }
117
125
 
118
126
  export declare const Alert: default_2.FC<AlertProps>;
@@ -127,7 +135,7 @@ declare interface AlertProps {
127
135
  onToggle?: (expanded: boolean) => void;
128
136
  }
129
137
 
130
- export declare type AlertType = 'info' | 'success' | 'error' | 'warning';
138
+ export declare type AlertType = 'info' | 'success' | 'error' | 'warning' | 'assistant';
131
139
 
132
140
  export declare const AppLogo: default_2.FC<AppLogoProps>;
133
141
 
@@ -311,7 +319,13 @@ export declare type ButtonVariant = 'filled' | 'outline'
311
319
  * patterned surface, where `outline`'s transparent background lets that surface through
312
320
  * and the control stops reading as a button.
313
321
  */
314
- | 'surface' | 'destructive' | 'success' | 'warning' | 'error' | 'ghost' | 'no-style';
322
+ | 'surface'
323
+ /**
324
+ * The violet the assistant is named in elsewhere — for a control that hands work to it, or
325
+ * acts on what it produced. Provenance, not a severity: it says who is being asked, not
326
+ * that anything is wrong.
327
+ */
328
+ | 'assistant' | 'destructive' | 'success' | 'warning' | 'error' | 'ghost' | 'no-style';
315
329
 
316
330
  export declare const Card: default_2.FC<CardProps>;
317
331
 
@@ -1647,6 +1661,12 @@ export declare interface MalachiteTheme {
1647
1661
  background: string;
1648
1662
  foreground: string;
1649
1663
  };
1664
+ /** Says a machine wrote this, not that anything is wrong — the violet the
1665
+ * assistant is named in elsewhere, not a fifth severity. */
1666
+ assistant: {
1667
+ background: string;
1668
+ foreground: string;
1669
+ };
1650
1670
  };
1651
1671
  tooltip: {
1652
1672
  background: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, c as o, d as t, e as i, f as r, g as n, B as l, h as p, i as d, j as c, k as m, l as S, m as T, n as g, o as u, p as h, q as C, r as F, s as B, t as w, u as y, v as f, D as x, w as A, x as L, y as P, F as b, z as v, E as k, G as D, H as M, I as R, J as z, K as I, L as N, M as G, N as H, O as V, P as E, Q as J, R as K, S as O, T as j, U as q, 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 oa, a6 as ta, a7 as ia, a8 as ra, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as ma, af as Sa, ag as Ta, ah as ga, ai as ua, aj as ha, ak as Ca, al as Fa, am as Ba, an as wa, ao as ya, ap as fa, aq as xa, ar as Aa, as as La, at as Pa, au as ba, av as va, aw as ka, ax as Da, ay as Ma, az as Ra, aA as za, aB as Ia, aC as Na, aD as Ga, aE as Ha, aF as Va, aG as Ea, aH as Ja, aI as Ka, aJ as Oa, aK as ja, aL as qa, aM as Wa, aN as Qa, aO as Ua, aP as Xa } from "./index-DB8AAfU8.js";
1
+ import { A as s, c as o, d as t, e as i, f as r, g as n, B as l, h as p, i as d, j as c, k as m, l as S, m as T, n as g, o as u, p as h, q as C, r as F, s as B, t as w, u as y, v as f, D as x, w as A, x as L, y as P, F as b, z as v, E as k, G as D, H as M, I as R, J as z, K as I, L as N, M as G, N as H, O as V, P as E, Q as J, R as K, S as O, T as j, U as q, 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 oa, a6 as ta, a7 as ia, a8 as ra, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as ma, af as Sa, ag as Ta, ah as ga, ai as ua, aj as ha, ak as Ca, al as Fa, am as Ba, an as wa, ao as ya, ap as fa, aq as xa, ar as Aa, as as La, at as Pa, au as ba, av as va, aw as ka, ax as Da, ay as Ma, az as Ra, aA as za, aB as Ia, aC as Na, aD as Ga, aE as Ha, aF as Va, aG as Ea, aH as Ja, aI as Ka, aJ as Oa, aK as ja, aL as qa, aM as Wa, aN as Qa, aO as Ua, aP as Xa } from "./index-B7sJtsg5.js";
2
2
  export {
3
3
  s as Accordion,
4
4
  o as ActionBar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/malachite",
3
- "version": "2.16.0",
3
+ "version": "2.17.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",