@almadar/ui 5.0.0 → 5.1.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.
@@ -20,9 +20,9 @@ export interface BreadcrumbItem {
20
20
  */
21
21
  path?: string;
22
22
  /**
23
- * Item icon
23
+ * Item icon (canonical kebab-case name or LucideIcon component)
24
24
  */
25
- icon?: LucideIcon;
25
+ icon?: LucideIcon | string;
26
26
  /**
27
27
  * Click handler (if href not provided)
28
28
  */
@@ -40,9 +40,9 @@ export interface BreadcrumbProps {
40
40
  */
41
41
  items: BreadcrumbItem[];
42
42
  /**
43
- * Separator icon
43
+ * Separator icon (canonical kebab-case name or LucideIcon component)
44
44
  */
45
- separator?: LucideIcon;
45
+ separator?: LucideIcon | string;
46
46
  /**
47
47
  * Maximum items to show (truncates with ellipsis)
48
48
  */
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { EventEmit } from "@almadar/core";
3
- import { LucideIcon } from "lucide-react";
3
+ import type { LucideIcon } from "lucide-react";
4
4
  export interface EmptyStateProps {
5
5
  /**
6
6
  * Icon to display. Accepts either:
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { LucideIcon } from "lucide-react";
2
+ import type { LucideIcon } from "lucide-react";
3
3
  import type { EventEmit, EventKey } from "@almadar/core";
4
4
  export interface NavItem {
5
5
  label: string;