@sentinel-core/sentinel 1.0.36 → 1.0.38
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/sentinel.cjs +2 -2
- package/dist/sentinel.css +1 -1
- package/dist/sentinel.es.js +1171 -1149
- package/dist/src/react/provider.d.ts +2 -2
- package/dist/src/ui/widgets/PropsViewer.d.ts +1 -1
- package/dist/src/utils/stateSearch.d.ts +6 -0
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ type SentinelInteractionContextType = {
|
|
|
22
22
|
highlightName: string;
|
|
23
23
|
setHighlightName: (value: string) => void;
|
|
24
24
|
reduxStore: ReduxStore | undefined;
|
|
25
|
-
registerHover: (id: string,
|
|
25
|
+
registerHover: (id: string, rect: DOMRect) => void;
|
|
26
26
|
unregisterHover: (id: string) => void;
|
|
27
27
|
openDialog: (id: string, componentName?: string, md?: string, componentProps?: Record<string, any>, sourceFile?: string, renderCount?: number, propHistory?: Record<string, any>[]) => void;
|
|
28
28
|
};
|
|
@@ -53,7 +53,7 @@ export declare const useSentinel: () => {
|
|
|
53
53
|
highlightName: string;
|
|
54
54
|
setHighlightName: (value: string) => void;
|
|
55
55
|
reduxStore: ReduxStore | undefined;
|
|
56
|
-
registerHover: (id: string,
|
|
56
|
+
registerHover: (id: string, rect: DOMRect) => void;
|
|
57
57
|
unregisterHover: (id: string) => void;
|
|
58
58
|
openDialog: (id: string, componentName?: string, md?: string, componentProps?: Record<string, any>, sourceFile?: string, renderCount?: number, propHistory?: Record<string, any>[]) => void;
|
|
59
59
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const getPreview: (value: unknown) => string;
|
|
2
|
+
export declare const filterState: (value: unknown, query: string) => unknown;
|
|
3
|
+
export declare const filteredEntries: (entries: [string, unknown][], search: string) => {
|
|
4
|
+
key: string;
|
|
5
|
+
displayValue: unknown;
|
|
6
|
+
}[];
|