@principal-ade/panel-layouts 0.3.18 → 0.3.20

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/index.d.ts CHANGED
@@ -57,12 +57,14 @@ export declare interface AgentCommandInputProps {
57
57
  agentAvailable?: boolean;
58
58
  /** Whether autocomplete dropdown is visible */
59
59
  showAutocomplete?: boolean;
60
+ /** Number of autocomplete matches available */
61
+ autocompleteItemCount?: number;
60
62
  /** Navigate to next autocomplete item (Down arrow when autocomplete open) */
61
63
  onAutocompleteNext?: () => void;
62
64
  /** Navigate to previous autocomplete item (Up arrow when autocomplete open) */
63
65
  onAutocompletePrevious?: () => void;
64
- /** Accept selected autocomplete item (Tab key) */
65
- onAutocompleteAccept?: () => void;
66
+ /** Accept selected autocomplete item (Tab/Enter key) */
67
+ onAutocompleteAccept?: (shouldSubmit?: boolean) => void;
66
68
  }
67
69
 
68
70
  /**
@@ -1089,12 +1091,14 @@ export declare interface UseAgentCommandPaletteReturn {
1089
1091
  currentArgDef: QuickCommandArg | null;
1090
1092
  /** Currently selected autocomplete index (-1 = none) */
1091
1093
  selectedAutocompleteIndex: number;
1094
+ /** Total number of autocomplete items available */
1095
+ autocompleteItemCount: number;
1092
1096
  /** Select next autocomplete item */
1093
1097
  autocompleteNext: () => void;
1094
1098
  /** Select previous autocomplete item */
1095
1099
  autocompletePrevious: () => void;
1096
1100
  /** Accept the currently selected autocomplete item */
1097
- autocompleteAccept: () => void;
1101
+ autocompleteAccept: (shouldSubmit?: boolean) => void;
1098
1102
  /** Whether autocomplete dropdown should be shown */
1099
1103
  showAutocomplete: boolean;
1100
1104
  }