@memobit/libs 1.0.3 → 1.0.4

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.
@@ -103,6 +103,8 @@ export interface ControlPanelOptionItem {
103
103
  label: string;
104
104
  /** Optional hover tooltip describing the option. */
105
105
  title?: string;
106
+ /** When true, the item cannot be selected. */
107
+ disabled?: boolean;
106
108
  }
107
109
  export type ControlPanelOption = {
108
110
  id: string;
@@ -3,11 +3,17 @@ import { IconName } from '../Icon';
3
3
  export interface DropdownOption {
4
4
  className?: string;
5
5
  details?: React.ReactNode;
6
+ /** When true, the option cannot be selected. Rendered with a muted style.
7
+ * Renderers should also honor `tooltip` to explain why. */
8
+ disabled?: boolean;
6
9
  icon?: IconName;
7
10
  label: string;
8
11
  /** Custom node rendered before the icon/label (e.g. an avatar). */
9
12
  prefix?: React.ReactNode;
10
13
  suffixIcon?: IconName;
14
+ /** Hover-tooltip text (rendered as a native `title` attribute) — useful for
15
+ * explaining a `disabled` state or adding context to an unfamiliar option. */
16
+ tooltip?: string;
11
17
  value: string | number;
12
18
  }
13
19
  export type DropdownSelectedCountDisplay = 'inline' | 'floating' | 'none';
package/dist/version.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.0.3",
3
- "buildNumber": 200,
4
- "commit": "4e8c30e",
5
- "buildDate": "2026-06-18T16:10:32.162Z"
2
+ "version": "1.0.4",
3
+ "buildNumber": 202,
4
+ "commit": "b117f78",
5
+ "buildDate": "2026-06-23T09:00:15.154Z"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memobit/libs",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "React component library powering the Memobit apps — 100+ components, 470+ icons, 70+ themes, helpers and hooks. TypeScript-first, ESM-only, React 19.",
5
5
  "keywords": [
6
6
  "react",