@tangle-network/agent-app 0.60.22 → 0.60.23
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.
|
@@ -35,10 +35,14 @@ export interface CommandPaletteProps {
|
|
|
35
35
|
loading?: boolean;
|
|
36
36
|
/** Seed for the query (uncontrolled). */
|
|
37
37
|
initialQuery?: string;
|
|
38
|
+
/** The query as it changes, including its reset on close. A host whose
|
|
39
|
+
* source is too large to pass whole searches it here and passes the
|
|
40
|
+
* matches back as `items`; the palette still ranks them against the query. */
|
|
41
|
+
onQueryChange?: (query: string) => void;
|
|
38
42
|
placeholder?: string;
|
|
39
43
|
/** Empty-state copy. Default names the query: `No results for “…”`. */
|
|
40
44
|
emptyMessage?: string;
|
|
41
45
|
/** Accessible name for the dialog. Default "Command palette". */
|
|
42
46
|
label?: string;
|
|
43
47
|
}
|
|
44
|
-
export declare function CommandPalette({ items, onSelect, open: controlledOpen, onOpenChange, hotkey, loading, initialQuery, placeholder, emptyMessage, label, }: CommandPaletteProps): import("react").ReactPortal | null;
|
|
48
|
+
export declare function CommandPalette({ items, onSelect, open: controlledOpen, onOpenChange, hotkey, loading, initialQuery, onQueryChange, placeholder, emptyMessage, label, }: CommandPaletteProps): import("react").ReactPortal | null;
|
package/dist/web-react/index.js
CHANGED
package/package.json
CHANGED