@useloops/design-system 1.4.454 → 1.4.455

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
@@ -2342,12 +2342,16 @@ declare const QuestionBlock: FunctionComponent<QuestionBlockProps>;
2342
2342
 
2343
2343
  interface SearchInputProps {
2344
2344
  onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void;
2345
- onFocus?: (event: react__default.FocusEvent<HTMLInputElement>) => void;
2346
2345
  onClear?: () => void;
2347
2346
  placeholder?: string;
2348
2347
  sx?: SxProps<Theme>;
2348
+ value?: string;
2349
+ }
2350
+ interface SearchInputHandle {
2351
+ clear: () => void;
2352
+ focus: () => void;
2349
2353
  }
2350
- declare const SearchInput: FunctionComponent<SearchInputProps>;
2354
+ declare const SearchInput: react__default.ForwardRefExoticComponent<SearchInputProps & react__default.RefAttributes<SearchInputHandle>>;
2351
2355
 
2352
2356
  interface SectionHeaderProps {
2353
2357
  buttons?: ReactNode;