@pablo2410/shared-ui 0.12.1 → 0.13.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.
@@ -35,6 +35,12 @@ interface MenuItem {
35
35
  path: string;
36
36
  /** Optional badge text (e.g. count) */
37
37
  badge?: string | number;
38
+ /**
39
+ * Optional accent classes applied to this item's icon + label at all times
40
+ * (active or not) — e.g. "text-purple-400" to flag a premium/upsell item.
41
+ * Omit for the default muted/active-primary treatment every other item uses.
42
+ */
43
+ accentClassName?: string;
38
44
  }
39
45
  interface MenuSection {
40
46
  /** Section label displayed above items */
@@ -43,6 +49,12 @@ interface MenuSection {
43
49
  title?: string;
44
50
  items: MenuItem[];
45
51
  adminOnly?: boolean;
52
+ /**
53
+ * Optional accent classes applied to the section label text — e.g.
54
+ * "text-purple-400" for a "Premium Service" heading. Omit for the
55
+ * default muted-foreground treatment.
56
+ */
57
+ labelClassName?: string;
46
58
  }
47
59
  interface SharedSidebarConfig {
48
60
  /** Display name shown in sidebar header */