creevey 0.9.0-beta.16 → 0.9.0-beta.17
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.
@@ -2,10 +2,10 @@ import React from 'react';
|
|
2
2
|
import { CreeveySuite } from '../../types';
|
3
3
|
import { CreeveyViewFilter } from '../shared/helpers';
|
4
4
|
export declare type SuitePath = string[];
|
5
|
-
export declare type FocusableItem =
|
5
|
+
export declare type FocusableItem = null | SuitePath;
|
6
6
|
export interface KeyboardEventsContextType {
|
7
7
|
sidebarFocusedItem: FocusableItem;
|
8
|
-
setSidebarFocusedItem: (
|
8
|
+
setSidebarFocusedItem: (item: FocusableItem) => void;
|
9
9
|
}
|
10
10
|
export declare const KeyboardEventsContext: React.Context<KeyboardEventsContextType>;
|
11
11
|
export declare const KeyboardEvents: ({ children, rootSuite, filter, }: {
|