@stackone/malachite 2.19.1 → 2.20.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
@@ -1789,13 +1789,9 @@ export declare interface MalachiteTheme {
1789
1789
  selectedTint: string;
1790
1790
  selectedSurfaceEnd: string;
1791
1791
  selectedBorder: string;
1792
- indicatorFill: string;
1793
- libraryAccent: string;
1794
1792
  librarySelectedTint: string;
1795
1793
  librarySelectedBorder: string;
1796
- libraryIndicatorFill: string;
1797
1794
  editingTint: string;
1798
- editingIndicatorFill: string;
1799
1795
  accent: string;
1800
1796
  mutedForeground: string;
1801
1797
  hoverBackground: string;
@@ -2585,13 +2581,10 @@ export declare interface SelectableCardProps {
2585
2581
  description?: string;
2586
2582
  /** Bottom-left summary ("16 Actions", "10 Selected"). */
2587
2583
  countLabel?: string;
2588
- /** Bottom-right cluster (markers, an ActionMenu…). */
2589
- footerActions?: default_2.ReactNode;
2584
+ /** Top-right cluster (markers, an ActionMenu…). The eyebrow row gives way to one
2585
+ * xsmall control; a wider cluster needs a shorter eyebrow and status to clear it. */
2586
+ actions?: default_2.ReactNode;
2590
2587
  selected?: boolean;
2591
- /** Wording shown beside the radio when selected. */
2592
- selectedLabel?: string;
2593
- /** Wording shown in the same slot on hover, inviting the click. */
2594
- hoverLabel?: string;
2595
2588
  /** Replaces the card's content with a centred in-progress message. */
2596
2589
  loading?: boolean;
2597
2590
  loadingLabel?: string;
@@ -2869,9 +2862,25 @@ export declare type StatisticValueSize = 'small' | 'medium' | 'large';
2869
2862
 
2870
2863
  export declare const StatusBadge: default_2.FC<StatusBadgeProps>;
2871
2864
 
2865
+ /**
2866
+ * How much of the badge the glyph fills.
2867
+ *
2868
+ * `default` is half the diameter, which is the right proportion at the sizes a badge is
2869
+ * usually drawn. `bold` is for the small end: at the 14px a table row gives it, half a
2870
+ * badge is a mark under 3px tall, and the tone is doing all the work.
2871
+ *
2872
+ * `bold` takes the glyph's box to the full diameter rather than merely most of it, so the
2873
+ * box and the badge share an edge. Anything short of that leaves a fractional margin at odd
2874
+ * sizes (13px inside 14px), which the browser rounds onto one side and draws off centre.
2875
+ * Nothing collides with the edge: the furthest point of any glyph is the tick's, at 86% of
2876
+ * the radius.
2877
+ */
2878
+ export declare type StatusBadgeGlyph = 'default' | 'bold';
2879
+
2872
2880
  export declare interface StatusBadgeProps {
2873
2881
  type?: StatusBadgeType;
2874
2882
  size?: number;
2883
+ glyph?: StatusBadgeGlyph;
2875
2884
  className?: string;
2876
2885
  'aria-label'?: string;
2877
2886
  }
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 u, o as g, p as h, q as C, r as F, s as y, t as B, u as w, v as f, D as v, w as x, x as A, y as L, F as P, z as b, E as k, G as D, H as M, I as R, J as z, K as I, L as H, M as N, N as O, O as G, P as V, Q as E, R as J, S as K, T as j, U as q, V as Q, W, 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 ua, ai as ga, aj as ha, ak as Ca, al as Fa, am as ya, an as Ba, ao as wa, ap as fa, aq as va, ar as xa, as as Aa, at as La, au as Pa, av as ba, aw as ka, ax as Da, ay as Ma, az as Ra, aA as za, aB as Ia, aC as Ha, aD as Na, aE as Oa, aF as Ga, aG as Va, aH as Ea, aI as Ja, aJ as Ka, aK as ja, aL as qa, aM as Qa, aN as Wa, aO as Ua, aP as Xa, aQ as Ya } from "./index-6zFFalb1.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 u, o as g, p as h, q as C, r as F, s as y, t as B, u as w, v as f, D as v, w as x, x as A, y as L, F as P, z as b, E as k, G as D, H as M, I as R, J as z, K as I, L as H, M as N, N as O, O as G, P as V, Q as E, R as J, S as K, T as j, U as q, V as Q, W, 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 ua, ai as ga, aj as ha, ak as Ca, al as Fa, am as ya, an as Ba, ao as wa, ap as fa, aq as va, ar as xa, as as Aa, at as La, au as Pa, av as ba, aw as ka, ax as Da, ay as Ma, az as Ra, aA as za, aB as Ia, aC as Ha, aD as Na, aE as Oa, aF as Ga, aG as Va, aH as Ea, aI as Ja, aJ as Ka, aK as ja, aL as qa, aM as Qa, aN as Wa, aO as Ua, aP as Xa, aQ as Ya } from "./index-B3Eq78_V.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.19.1",
3
+ "version": "2.20.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",