kui-complex 0.0.85 → 0.0.86

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/index.js CHANGED
@@ -461,9 +461,9 @@ var templateObject_1$u, templateObject_2$i;
461
461
  var DesktopInputWithMonthPicker = forwardRef(function (_a, ref) {
462
462
  var name = _a.name, form = _a.form, disabled = _a.disabled, datePickerProps = _a.datePickerProps, otherProps = __rest(_a, ["name", "form", "disabled", "datePickerProps"]);
463
463
  var _b = useState(), changedValue = _b[0], setChangedValue = _b[1];
464
- var handleChange = function (e, field) {
465
- field.onChange(e);
466
- setChangedValue(field.value);
464
+ var handleChange = function (date, field) {
465
+ field.onChange(date);
466
+ setChangedValue(date);
467
467
  };
468
468
  return (jsx(Wrapper$4, __assign({ ref: ref }, { children: jsx(Controller, { name: name, control: form.control, render: function (_a) {
469
469
  var _b;