@stackone/malachite 0.58.0 → 0.59.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
@@ -17,6 +17,8 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
17
17
  - **`Spacer`** — Empty element that adds fixed spacing between siblings.
18
18
  - **`Divider`** — Horizontal/vertical separator; supports a dashed line style. _Key props:_ `lineStyle="solid" | "dashed"`, `DividerVariant`, `SpacingSize`, `PaddingSize`.
19
19
  - **`OverflowRow`** — Horizontal row that collapses items that do not fit into an overflow affordance.
20
+ - **`SidePanel`** — Right-hand slide-in overlay panel (drawer) with header slots (back/icon/title/subtitle/extra), scrollable body and optional footer. Locks background scroll, traps focus, dismisses on ESC (topmost layer), overlay click or close.
21
+ - **`SidePanelNavFooter`** — Keyboard-hint footer for SidePanel: up/down keycaps to step between records and an esc-to-close hint, with an optional right-aligned actions slot.
20
22
 
21
23
  ## Lists, rows & navigation
22
24
 
@@ -29,6 +31,8 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
29
31
  - **`ActionMenu`** — Dropdown menu of actions (kebab/overflow style). _Key props:_ `ActionMenuItem[]`.
30
32
  - **`FooterNav`** — Footer navigation bar of links. _Key props:_ `FooterNavLink[]`.
31
33
  - **`FooterLinks`** — Inline list of footer links (e.g. terms, privacy, support).
34
+ - **`CollapsibleSection`** — Collapsible sunken-card section (title - subtitle header, disclosure arrow right) for stacked detail sections in side panels and detail pages. A preset over `Accordion`’s `sunken` variant.
35
+ - **`KeyValueList`** — Bordered card of label/value rows (`KeyValueList.Row`) for entity details: fixed-width secondary labels, free-form values, row dividers.
32
36
 
33
37
  ## Forms & inputs
34
38
 
@@ -64,6 +68,11 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
64
68
  - **`TruncatedTooltip`** — Shows a tooltip only when its text is truncated.
65
69
  - **`Confetti`** — Celebratory confetti burst for success moments. _Key props:_ `pieces`.
66
70
 
71
+ ## Typography
72
+
73
+ - **`ClampText`** — Clamps text to N lines; expands to full text on hover/focus with a height animation.
74
+ - **`Typography`** — Text primitives — use these instead of raw colour tokens on `<span>`s. Includes `Typography.Text`, `Typography.SecondaryText`, `Typography.EllipsisText`, etc., with size/weight/color props.
75
+
67
76
  ## Data display
68
77
 
69
78
  - **`Table`** — Data table with columns, sizing, pagination and row selection. _Key props:_ `TableColumns`, `TableSize`, `TableType`, `TableRowSelection`, `TablePaginationPosition`.
@@ -74,10 +83,6 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
74
83
  - **`Stepper`** — Progress dots/segments for a multi-step flow; optionally clickable. _Key props:_ `steps`, `active`, `onChange`.
75
84
  - **`Swatch`** — Colour swatch preview.
76
85
 
77
- ## Typography
78
-
79
- - **`Typography`** — Text primitives — use these instead of raw colour tokens on `<span>`s. Includes `Typography.Text`, `Typography.SecondaryText`, `Typography.EllipsisText`, etc., with size/weight/color props.
80
-
81
86
  ## Theming & utility
82
87
 
83
88
  - **`MalachiteContext`** — Wraps a subtree in the shadow root + theme context. Wrap groups of components in this.