mobx-view-model-devtools 0.0.45 → 0.0.47
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/auto.global.js +2 -2
- package/index.cjs +2 -2
- package/index.d.ts +9 -0
- package/index.js +982 -537
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ import { AnyObject, Maybe, Defined } from 'yummies/types';
|
|
|
8
8
|
import { KeyboardHandler as KeyboardHandler$1, KeyboardHandlerAction } from 'mobx-swiss-knife';
|
|
9
9
|
import { ComponentType, ChangeEventHandler, ChangeEvent, FocusEvent, KeyboardEvent } from 'react';
|
|
10
10
|
|
|
11
|
+
type DevtoolsTheme = 'light' | 'auto' | 'dark';
|
|
12
|
+
type ResolvedDevtoolsTheme = 'light' | 'dark';
|
|
13
|
+
|
|
11
14
|
declare class KeyboardHandler extends KeyboardHandler$1<KeyboardHandlerAction> {
|
|
12
15
|
constructor(devtools: ViewModelDevtools);
|
|
13
16
|
}
|
|
@@ -288,6 +291,12 @@ declare class ViewModelDevtools {
|
|
|
288
291
|
setExtras(extras: Maybe<AnyObject>): void;
|
|
289
292
|
handleChangePresentationMode: (mode: string) => void;
|
|
290
293
|
handleSortPropertiesChange: (sortBy: string) => void;
|
|
294
|
+
get theme(): DevtoolsTheme;
|
|
295
|
+
get hideViewModelBaseMembers(): boolean;
|
|
296
|
+
handleThemeChange: (theme: string) => void;
|
|
297
|
+
handleHideViewModelBaseMembersChange: (hide: boolean) => void;
|
|
298
|
+
get resolvedTheme(): ResolvedDevtoolsTheme;
|
|
299
|
+
private applyThemeToContainer;
|
|
291
300
|
expandAllVMs(): void;
|
|
292
301
|
collapseAllVms(): void;
|
|
293
302
|
showPopup(): void;
|