@northlight/ui 2.42.3 → 2.43.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.
@@ -8057,10 +8057,6 @@
8057
8057
  const handleClose = () => {
8058
8058
  state.setOpen(false);
8059
8059
  };
8060
- react.useOutsideClick({
8061
- ref,
8062
- handler: () => state.setOpen(false)
8063
- });
8064
8060
  const ResetButton = CustomResetButton || /* @__PURE__ */ React.createElement(
8065
8061
  IconButton,
8066
8062
  {
@@ -8143,7 +8139,7 @@
8143
8139
  icon: /* @__PURE__ */ React.createElement(Icon, { as: NorthlightIcons.CheckSolid })
8144
8140
  }
8145
8141
  ))))),
8146
- /* @__PURE__ */ React.createElement(PortalWrapper, { renderInPortal }, state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$g(__spreadValues$1r({}, dialogProps), { ref, w: "max-content" }), /* @__PURE__ */ React.createElement(focus.FocusScope, { contain: true, restoreFocus: true }, /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(
8142
+ /* @__PURE__ */ React.createElement(PortalWrapper, { renderInPortal }, state.isOpen && /* @__PURE__ */ React.createElement(react.PopoverContent, __spreadProps$g(__spreadValues$1r({}, dialogProps), { ref, w: "max-content" }), /* @__PURE__ */ React.createElement(DatePickerLocaleWrapper, { firstDayOfWeek }, /* @__PURE__ */ React.createElement(
8147
8143
  RangeCalendar,
8148
8144
  __spreadProps$g(__spreadValues$1r({}, calendarProps), {
8149
8145
  resetDate: cancelOrResetDateChange,
@@ -8156,7 +8152,7 @@
8156
8152
  clearButtonLabel,
8157
8153
  buttonLabel
8158
8154
  })
8159
- )))))
8155
+ ))))
8160
8156
  );
8161
8157
  };
8162
8158