@underverse-ui/underverse 2.0.7 → 2.0.8

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.cts CHANGED
@@ -241,12 +241,19 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">
241
241
  maxLength?: number;
242
242
  /** Custom content rendered inside the input container (positioned absolutely) */
243
243
  rightAddon?: React__default.ReactNode;
244
+ /** Custom content attached to the end of the input, after built-in controls */
245
+ rightSection?: React__default.ReactNode;
244
246
  }
245
247
  declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
246
248
  /** Public props for the `SearchInput` component. */
247
249
  interface SearchInputProps extends Omit<InputProps, "leftIcon" | "type"> {
250
+ /** Search interaction style. `default` searches as the value changes; `button` searches on Enter or button click. */
251
+ mode?: "default" | "button";
248
252
  onSearch?: (value: string) => void;
253
+ /** Debounce duration for `default` mode. Ignored in `button` mode. */
249
254
  searchDelay?: number;
255
+ /** Accessible label for the search action in `button` mode. */
256
+ searchButtonLabel?: string;
250
257
  }
251
258
  declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
252
259
  /** Public props for the `PasswordInput` component. */
package/dist/index.d.ts CHANGED
@@ -241,12 +241,19 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size">
241
241
  maxLength?: number;
242
242
  /** Custom content rendered inside the input container (positioned absolutely) */
243
243
  rightAddon?: React__default.ReactNode;
244
+ /** Custom content attached to the end of the input, after built-in controls */
245
+ rightSection?: React__default.ReactNode;
244
246
  }
245
247
  declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
246
248
  /** Public props for the `SearchInput` component. */
247
249
  interface SearchInputProps extends Omit<InputProps, "leftIcon" | "type"> {
250
+ /** Search interaction style. `default` searches as the value changes; `button` searches on Enter or button click. */
251
+ mode?: "default" | "button";
248
252
  onSearch?: (value: string) => void;
253
+ /** Debounce duration for `default` mode. Ignored in `button` mode. */
249
254
  searchDelay?: number;
255
+ /** Accessible label for the search action in `button` mode. */
256
+ searchButtonLabel?: string;
250
257
  }
251
258
  declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLInputElement>>;
252
259
  /** Public props for the `PasswordInput` component. */