@cyber-harbour/ui 3.0.0-next-gen.81 → 3.0.0-next-gen.83

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/dist/index.d.mts CHANGED
@@ -1183,6 +1183,17 @@ type BaseVerticalNavigationProps = {
1183
1183
  collapsible?: boolean;
1184
1184
  /** Cap numeric item counts at 99 → "99+". Defaults to true. */
1185
1185
  capCount?: boolean;
1186
+ /**
1187
+ * Whether the whole panel is collapsed to a thin rail with a single expand
1188
+ * button. Controlled when provided; pair with `onCollapsedChange`. The collapse
1189
+ * affordance (header collapse button + rail) only appears when the panel is
1190
+ * collapsible — i.e. when `onCollapsedChange`, `collapsed` or `defaultCollapsed`
1191
+ * is set. Untouched consumers render exactly as before.
1192
+ */
1193
+ collapsed?: boolean;
1194
+ /** Uncontrolled initial collapsed state. Ignored when `collapsed` is provided. */
1195
+ defaultCollapsed?: boolean;
1196
+ onCollapsedChange?: (collapsed: boolean) => void;
1186
1197
  };
1187
1198
  type VerticalNavigationProps = Omit<React__default.HTMLAttributes<HTMLDivElement>, keyof BaseVerticalNavigationProps> & BaseVerticalNavigationProps;
1188
1199
  declare const VerticalNavigation: React__default.ForwardRefExoticComponent<Omit<React__default.HTMLAttributes<HTMLDivElement>, keyof BaseVerticalNavigationProps> & BaseVerticalNavigationProps & React__default.RefAttributes<HTMLDivElement>>;
package/dist/index.d.ts CHANGED
@@ -1183,6 +1183,17 @@ type BaseVerticalNavigationProps = {
1183
1183
  collapsible?: boolean;
1184
1184
  /** Cap numeric item counts at 99 → "99+". Defaults to true. */
1185
1185
  capCount?: boolean;
1186
+ /**
1187
+ * Whether the whole panel is collapsed to a thin rail with a single expand
1188
+ * button. Controlled when provided; pair with `onCollapsedChange`. The collapse
1189
+ * affordance (header collapse button + rail) only appears when the panel is
1190
+ * collapsible — i.e. when `onCollapsedChange`, `collapsed` or `defaultCollapsed`
1191
+ * is set. Untouched consumers render exactly as before.
1192
+ */
1193
+ collapsed?: boolean;
1194
+ /** Uncontrolled initial collapsed state. Ignored when `collapsed` is provided. */
1195
+ defaultCollapsed?: boolean;
1196
+ onCollapsedChange?: (collapsed: boolean) => void;
1186
1197
  };
1187
1198
  type VerticalNavigationProps = Omit<React__default.HTMLAttributes<HTMLDivElement>, keyof BaseVerticalNavigationProps> & BaseVerticalNavigationProps;
1188
1199
  declare const VerticalNavigation: React__default.ForwardRefExoticComponent<Omit<React__default.HTMLAttributes<HTMLDivElement>, keyof BaseVerticalNavigationProps> & BaseVerticalNavigationProps & React__default.RefAttributes<HTMLDivElement>>;