@ssa-ui-kit/core 2.15.0-canary-912002a-20250506 → 2.15.0-canary-6d341b5-20250506

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
@@ -11815,16 +11815,13 @@ const useDateRangePicker = ({
11815
11815
  setError,
11816
11816
  setValue,
11817
11817
  resetField,
11818
- setFocus
11818
+ setFocus,
11819
+ watch
11819
11820
  } = hookFormResult;
11820
11821
  const nameFrom = `${_name}From`;
11821
11822
  const nameTo = `${_name}To`;
11822
- const inputValueFrom = (0,external_react_hook_form_namespaceObject.useWatch)({
11823
- name: nameFrom
11824
- });
11825
- const inputValueTo = (0,external_react_hook_form_namespaceObject.useWatch)({
11826
- name: nameTo
11827
- });
11823
+ const inputValueFrom = watch(nameFrom);
11824
+ const inputValueTo = watch(nameTo);
11828
11825
  const [dateTime, setDateTime] = (0,external_react_namespaceObject.useState)([undefined, undefined]);
11829
11826
  const [lastChangedDate, setLastChangedDate] = (0,external_react_namespaceObject.useState)([undefined, undefined]);
11830
11827
  const [lastFocusedElement, setLastFocusedElement] = (0,external_react_namespaceObject.useState)('from');