@omnitend/dashboard-for-laravel 0.9.2 → 0.11.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.
@@ -9,6 +9,13 @@ export interface NavigationItem {
9
9
  }
10
10
  export interface NavigationGroup {
11
11
  label?: string;
12
+ /**
13
+ * Stable identifier for the group's collapsible open/closed state. Defaults
14
+ * to `label` (then the array index). Set this when a menu can be reordered at
15
+ * runtime, or two groups share a label, so a manually-opened group keeps its
16
+ * state attached to the right group.
17
+ */
18
+ key?: string;
12
19
  items: NavigationItem[];
13
20
  /**
14
21
  * Per-group override for the sidebar's `collapsibleGroups` behaviour.