@wix/himalaya-cli 0.1539.0 → 0.1540.0

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.
@@ -674,6 +674,8 @@ export interface TextFieldShape {
674
674
  errorPath?: string;
675
675
  /** Literal error, for a server-rendered screen with no worker to bind. */
676
676
  errorText?: string;
677
+ /** `onChange` fires after this many ms of idle typing; 0 or unset = every change. */
678
+ debounceMs?: number;
677
679
  }
678
680
  export declare function form(props: {
679
681
  id: string;
@@ -853,7 +855,10 @@ export declare function searchField(props: {
853
855
  value?: string;
854
856
  onChange?: ActionShape;
855
857
  onSubmit?: ActionShape;
858
+ /** 0 or less (or unset) = 250 ms. */
856
859
  debounceMs?: number;
860
+ /** "$service:" binding → a focus TOKEN (`textField` `focusPath` semantics). */
861
+ focusPath?: string;
857
862
  }, opts?: {
858
863
  id?: string;
859
864
  }): Component;
@@ -863,6 +863,9 @@ export interface TextFieldProps {
863
863
  errorText?: string;
864
864
  /** Opt-in accessible show/hide button. Only applies to secure fields; initially masked. */
865
865
  visibilityToggle?: boolean;
866
+ /** `onChange` fires after this many ms of idle typing. 0 or unset = every change.
867
+ * A submit fires a pending debounced `onChange` first (RFC 0010 "Native top-bar search"). */
868
+ debounceMs?: number;
866
869
  }
867
870
  export interface ToggleProps {
868
871
  label?: string;
@@ -1194,7 +1197,11 @@ export interface SearchFieldProps {
1194
1197
  value?: string;
1195
1198
  onChange?: Action;
1196
1199
  onSubmit?: Action;
1200
+ /** `onChange` fires after this many ms of idle typing; 0 or less (or unset) = 250 ms.
1201
+ * A submit fires a pending debounced `onChange` first. */
1197
1202
  debounceMs?: number;
1203
+ /** `$service:` binding → a focus TOKEN; `TextFieldProps.focusPath` semantics. */
1204
+ focusPath?: string;
1198
1205
  }
1199
1206
  export interface FilterChip {
1200
1207
  id: string;