@stackone/malachite 2.6.0 → 2.7.1

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
@@ -499,6 +499,8 @@ export declare interface ConfirmationDialogProps {
499
499
  /** Runs when the confirm action is taken. Closing is left to the consumer. */
500
500
  onConfirm: () => void;
501
501
  title: default_2.ReactNode;
502
+ titleAdornment?: default_2.ReactNode;
503
+ badgeIcon?: default_2.ReactNode;
502
504
  /** The sentence saying what is about to happen. */
503
505
  description?: default_2.ReactNode;
504
506
  variant?: ConfirmationDialogVariant;
@@ -514,6 +516,7 @@ export declare interface ConfirmationDialogProps {
514
516
  confirmPhrase?: string;
515
517
  /** Label above the type-to-confirm field. Default names the phrase. */
516
518
  confirmPhraseLabel?: string;
519
+ confirmPhrasePlaceholder?: string;
517
520
  confirmLabel?: string;
518
521
  cancelLabel?: string;
519
522
  /**
@@ -521,8 +524,10 @@ export declare interface ConfirmationDialogProps {
521
524
  * routes — but never ESC, which always reaches `onClose`.
522
525
  */
523
526
  loading?: boolean;
524
- /** Muted strip at the start of the footer row, e.g. a keyboard hint. */
525
- footerTip?: default_2.ReactNode;
527
+ tip?: {
528
+ label?: string;
529
+ message: string;
530
+ };
526
531
  size?: ModalSize;
527
532
  /** Accessible dialog name; required when `title` isn't a plain string. */
528
533
  'aria-label'?: string;
@@ -532,7 +537,7 @@ export declare interface ConfirmationDialogProps {
532
537
  children?: default_2.ReactNode;
533
538
  }
534
539
 
535
- export declare type ConfirmationDialogVariant = 'default' | 'warning' | 'destructive';
540
+ export declare type ConfirmationDialogVariant = 'default' | 'warning' | 'destructive' | 'success';
536
541
 
537
542
  export declare interface ConnectionEndpoint {
538
543
  /** Icon/glyph shown in the tile (coloured white when a `background` is set). */
@@ -1171,6 +1176,8 @@ export declare interface MalachiteTheme {
1171
1176
  lg: string;
1172
1177
  xl: string;
1173
1178
  default: string;
1179
+ glow?: string;
1180
+ glowLg?: string;
1174
1181
  /** Optional so adding a shadow never breaks a consumer building a full theme literal. */
1175
1182
  accent?: string;
1176
1183
  success: string;
@@ -1192,6 +1199,11 @@ export declare interface MalachiteTheme {
1192
1199
  footerBackground: string;
1193
1200
  /** @deprecated No longer read by any component — glass surfaces derive from `sunkenBackground` (see `glassSurface.ts`). */
1194
1201
  footerGlassBackground: string;
1202
+ trayNeutral?: string;
1203
+ trayWarning?: string;
1204
+ trayError?: string;
1205
+ traySuccess?: string;
1206
+ subtleDivider?: string;
1195
1207
  };
1196
1208
  overlay: {
1197
1209
  /** Dimming layer drawn behind modal overlays (e.g. SidePanel). */
@@ -1537,6 +1549,14 @@ export declare interface ModalProps {
1537
1549
  icon?: default_2.ReactNode;
1538
1550
  /** Content pinned right in the header, before the close button. */
1539
1551
  headerExtra?: default_2.ReactNode;
1552
+ titleAdornment?: default_2.ReactNode;
1553
+ tray?: {
1554
+ tone?: ModalTrayTone;
1555
+ caption?: {
1556
+ label?: string;
1557
+ message: string;
1558
+ };
1559
+ };
1540
1560
  /** Divider under the header. Default: false. */
1541
1561
  headerDivider?: boolean;
1542
1562
  /** Pinned action row below the scrolling body. */
@@ -1570,6 +1590,8 @@ export declare interface ModalProps {
1570
1590
 
1571
1591
  export declare type ModalSize = 'small' | 'medium' | 'large';
1572
1592
 
1593
+ export declare type ModalTrayTone = 'neutral' | 'warning' | 'error' | 'success';
1594
+
1573
1595
  export declare const MultiSelect: default_2.FC<MultiSelectProps>;
1574
1596
 
1575
1597
  declare interface MultiSelectBaseProps {
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 B, t as y, D as w, u as f, v as x, w as A, F as L, x as b, y as P, z as k, E as v, G as D, H as M, I as z, J as I, K as R, L as N, M as G, N as H, O as V, P as E, Q as J, R as K, S as j, T as q, 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 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 Ba, an as ya, ao as wa, ap as fa, aq as xa, ar as Aa, as as La, at as ba, au as Pa, av as ka, aw as va, ax as Da, ay as Ma, az as za, aA as Ia, aB as Ra, aC as Na, aD as Ga, aE as Ha, aF as Va, aG as Ea, aH as Ja, aI as Ka, aJ as ja, aK as qa, aL as Oa, aM as Wa, aN as Qa } from "./index-UEPNiCCW.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 B, t as y, D as w, u as f, v as x, w as A, F as L, x as b, y as P, z as k, E as v, G as D, H as M, I as z, J as I, K as R, L as N, M as G, N as H, O as V, P as E, Q as J, R as K, S as j, T as q, 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 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 Ba, an as ya, ao as wa, ap as fa, aq as xa, ar as Aa, as as La, at as ba, au as Pa, av as ka, aw as va, ax as Da, ay as Ma, az as za, aA as Ia, aB as Ra, aC as Na, aD as Ga, aE as Ha, aF as Va, aG as Ea, aH as Ja, aI as Ka, aJ as ja, aK as qa, aL as Oa, aM as Wa, aN as Qa } from "./index-DnRbiGiE.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.6.0",
3
+ "version": "2.7.1",
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",