@stackone/malachite 0.43.0 → 0.44.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/COMPONENTS.md CHANGED
@@ -80,5 +80,6 @@ The catalog of components exported from `@stackone/malachite`. **Reach for one o
80
80
  ## Theming & utility
81
81
 
82
82
  - **`MalachiteContext`** — Wraps a subtree in the shadow root + theme context. Wrap groups of components in this.
83
+ - **`ThemeScope`** — Pins a subtree to a fixed theme (e.g. a dark island in a light app) via its own shadow root, since theme tokens are scoped per shadow root.
83
84
  - **`CustomIcons`** — Namespace of all built-in icons (`CustomIcons.<Name>Icon`), coloured via `currentColor`.
84
85
  - **`ShadowEscape`** — Renders children into the document (escaping the shadow root) for portals/overlays.
package/dist/index.d.ts CHANGED
@@ -433,6 +433,7 @@ export declare const Dropdown: ({ items, onItemSelected, defaultValue, disabled,
433
433
  export declare interface DropdownItem {
434
434
  id: string;
435
435
  label: string;
436
+ icon?: default_2.ReactNode;
436
437
  /** Alternate label shown in the trigger when selected (falls back to `label`). */
437
438
  triggerLabel?: string;
438
439
  /** Items sharing a `group` render under a section header, in first-seen order. */