@designa8/vibedesign-v6 1.12.15 → 1.12.16

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @plasma/vibedesign-v6
2
2
 
3
- Generated design system, version **1.12.15**.
3
+ Generated design system, version **1.12.16**.
4
4
 
5
5
  ## Local install (npm link)
6
6
 
package/dist/index.cjs CHANGED
@@ -2855,6 +2855,7 @@ var AppSidebar = import_react10.default.forwardRef(
2855
2855
  active: isActive,
2856
2856
  iconOnly: collapsed,
2857
2857
  subItems: !collapsed ? mappedSubItems : void 0,
2858
+ activeSubId: hasSubItems ? activeSubId : void 0,
2858
2859
  expanded: hasSubItems ? isExpanded : void 0,
2859
2860
  onExpandToggle: hasSubItems ? () => toggleExpanded(entry.id) : void 0,
2860
2861
  onClick: (e) => {
package/dist/index.js CHANGED
@@ -2802,6 +2802,7 @@ var AppSidebar = React10.forwardRef(
2802
2802
  active: isActive,
2803
2803
  iconOnly: collapsed,
2804
2804
  subItems: !collapsed ? mappedSubItems : void 0,
2805
+ activeSubId: hasSubItems ? activeSubId : void 0,
2805
2806
  expanded: hasSubItems ? isExpanded : void 0,
2806
2807
  onExpandToggle: hasSubItems ? () => toggleExpanded(entry.id) : void 0,
2807
2808
  onClick: (e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-v6",
3
- "version": "1.12.15",
3
+ "version": "1.12.16",
4
4
  "description": "Design system \"Plasma Design System\" generated by atom-server.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -96,7 +96,12 @@ export interface AppSidebarProps extends React.HTMLAttributes<HTMLElement> {
96
96
  /** Called when the user selects a top-level entry. */
97
97
  onSelect?: (id: string) => void;
98
98
 
99
- /** ID of the currently-active sub-item (optional). */
99
+ /**
100
+ * ID of the currently-active sub-item (optional). Forwarded to each
101
+ * rendered NavItem so the matching nested sub-item row shows the selected
102
+ * indication. Does NOT affect which top-level entry is treated as active —
103
+ * that is driven exclusively by `activeId`.
104
+ */
100
105
  activeSubId?: string;
101
106
 
102
107
  /** Called when the user selects a sub-item. */
@@ -343,6 +348,7 @@ export const AppSidebar = React.forwardRef<HTMLElement, AppSidebarProps>(
343
348
  active={isActive}
344
349
  iconOnly={collapsed}
345
350
  subItems={!collapsed ? mappedSubItems : undefined}
351
+ activeSubId={hasSubItems ? activeSubId : undefined}
346
352
  expanded={hasSubItems ? isExpanded : undefined}
347
353
  onExpandToggle={hasSubItems ? () => toggleExpanded(entry.id) : undefined}
348
354
  onClick={(e) => {