@ssa-ui-kit/core 2.7.0 → 2.8.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.
package/dist/index.js CHANGED
@@ -15876,8 +15876,7 @@ const SearchBox = ({
15876
15876
  control
15877
15877
  });
15878
15878
  const inputRef = (0,external_react_namespaceObject.useRef)(null);
15879
- const debounceThrottled = (0,external_react_namespaceObject.useRef)((0,utils_namespaceObject.debounce)(callback, callbackDelay));
15880
- const [debouncedFn, cancel] = debounceThrottled.current;
15879
+ const [debouncedFn, cancel] = (0,hooks_namespaceObject.useDebouncedCallback)(callback, callbackDelay);
15881
15880
  (0,external_react_namespaceObject.useEffect)(() => {
15882
15881
  const searchTerm = watchResult[name];
15883
15882
  if (autoSearchTrigger && searchTerm !== undefined) {