@stackone/malachite 0.50.0 → 0.51.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/COMPONENTS.md CHANGED
@@ -10,7 +10,8 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
10
10
  - **`SurfaceRow`** — A full-bleed row inside a Surface (used as `Surface.Row`). Owns hover highlight, colour transition and an optional bottom divider. Pass `onClick`/`href` to make the whole row clickable (renders as a real button/anchor, so keyboard nav works). For a selectable row use `role="radio"` + `selected` and put a presentational `<Radio>` inside as the indicator. _Key props:_ `divider`, `disabled`, `onClick`, `href`, `selected`, `role`, `className`, `style`.
11
11
  - **`Card`** — Generic content card.
12
12
  - **`SplitScreenLayout`** — Two-pane full-screen layout (content + preview/aside) with an optional dismiss button.
13
- - **`WizardLayout`** — Full-screen wizard scaffold: top bar (back button, right-aligned stepper, trailing slot), centered content column, pinned footer. _Key props:_ `showBack`, `onBack`, `stepper`, `trailing`, `footer`, `center`, `contentWidth`, `minWidth`.
13
+ - **`WizardLayout`** — Full-screen wizard scaffold: top bar (back button, right-aligned stepper, trailing slot), pinned `header` slot, centered scrolling content column, and a pinned footer (above sticky body content). `footerGlass` gives the footer a frosted translucent + backdrop-blur treatment. _Key props:_ `showBack`, `onBack`, `stepper`, `trailing`, `header`, `footer`, `footerGlass`, `center`, `contentWidth`, `minWidth`.
14
+ - **`Toolbar`** — Flat, opaque horizontal bar for a sub-header / filter row (e.g. a Search). Owns its chrome — opaque `card-background` (so it can pin over scrolling content) + optional bottom `divider` — so consumers don’t hand-roll background/border tokens. Positioning (incl. sticky) is left to the consumer. _Key props:_ `divider`, `padding`, `className`, `style`.
14
15
  - **`Flex`** — Flexbox layout helper with semantic direction/align/justify/gap props. _Key props:_ `FlexDirection`, `FlexAlign`, `FlexJustify`, `FlexGapSize`.
15
16
  - **`Padded`** — Padding wrapper applying consistent design-system spacing.
16
17
  - **`Spacer`** — Empty element that adds fixed spacing between siblings.
package/dist/index.d.ts CHANGED
@@ -1703,6 +1703,25 @@ declare type ToggleSize = 'small' | 'medium';
1703
1703
  */
1704
1704
  export declare function toggleTheme(): 'light' | 'dark';
1705
1705
 
1706
+ /**
1707
+ * A flat, opaque horizontal bar — e.g. a toolbar/sub-header holding a Search or
1708
+ * filters. Owns its chrome (opaque `card-background` so scrolling content doesn't
1709
+ * bleed through when it's pinned, plus an optional bottom `divider`), so consumers
1710
+ * don't hand-roll `--malachite-*` backgrounds/borders. Positioning (incl.
1711
+ * `position: sticky`) is left to the consumer via `className`/`style`.
1712
+ */
1713
+ export declare const Toolbar: default_2.FC<ToolbarProps>;
1714
+
1715
+ export declare interface ToolbarProps {
1716
+ children?: default_2.ReactNode;
1717
+ /** Draw a bottom divider — for a bar that sits above scrolling/list content. */
1718
+ divider?: boolean;
1719
+ /** Padding preset (applies to both axes). */
1720
+ padding?: 'compact' | 'default';
1721
+ className?: string;
1722
+ style?: default_2.CSSProperties;
1723
+ }
1724
+
1706
1725
  export declare const Tooltip: default_2.FC<TooltipProps>;
1707
1726
 
1708
1727
  declare interface TooltipProps {
@@ -1767,8 +1786,14 @@ export declare interface WizardLayoutProps {
1767
1786
  * as the content (`contentWidth`).
1768
1787
  */
1769
1788
  header?: default_2.ReactNode;
1770
- /** Pinned to the bottom of the screen — typically a <FooterNav />. */
1789
+ /** Pinned to the bottom of the screen — typically a <FooterNav /> or a primary CTA. */
1771
1790
  footer?: default_2.ReactNode;
1791
+ /**
1792
+ * Give the pinned footer a frosted-glass treatment (translucent background +
1793
+ * backdrop blur) so scrolling content shows through it. The footer already sits
1794
+ * above sticky body content, so it reads as glass over the scrolling list.
1795
+ */
1796
+ footerGlass?: boolean;
1772
1797
  /** Vertically centre the content (used for terminal/success screens). */
1773
1798
  center?: boolean;
1774
1799
  /** Max width of the centered content column. */