kui-crm 0.0.91 → 0.0.93

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/cjs/index.js CHANGED
@@ -364,7 +364,7 @@ var CitiesStore = /** @class */ (function () {
364
364
  return CitiesStore;
365
365
  }());
366
366
 
367
- var useAutocomplete = function (filter, paginator, fetchAll, isOpen, defaultFilter, withoutRequest) {
367
+ var useAutocomplete = function (filter, paginator, fetchAll, isOpen, defaultFilter, withoutRequest, deps) {
368
368
  React.useEffect(function () {
369
369
  if (defaultFilter)
370
370
  filter.updateFilterQuery(defaultFilter);
@@ -379,7 +379,7 @@ var useAutocomplete = function (filter, paginator, fetchAll, isOpen, defaultFilt
379
379
  isOpen) {
380
380
  fetchAll();
381
381
  }
382
- }, [fetchAll, paginator.isFetching, isOpen]);
382
+ }, __spreadArray([fetchAll, paginator.isFetching, isOpen], (deps || []), true));
383
383
  kuiUtils.useDebounce(filter.searchQuery, 500, function () {
384
384
  paginator.clearOffset();
385
385
  paginator.startFetching();
@@ -729,7 +729,7 @@ var templateObject_1$s, templateObject_2$h, templateObject_3$f, templateObject_4
729
729
 
730
730
  function Modal(_a) {
731
731
  var open = _a.open, other = __rest(_a, ["open"]);
732
- return jsxRuntime.jsx(StyledModal$2, __assign({ isOpen: open }, other));
732
+ return jsxRuntime.jsx(StyledModal$2, __assign({ isScrollable: true, isOpen: open }, other));
733
733
  }
734
734
  var StyledModal$2 = styled__default["default"](kuiBasic.Modal)(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n max-height: calc(100% - 64px);\n .KUI-Modal_header {\n text-align: left;\n }\n .KUI-Modal_title {\n font-size: 24px;\n line-height: 32px;\n padding-bottom: 20px;\n }\n"], ["\n max-height: calc(100% - 64px);\n .KUI-Modal_header {\n text-align: left;\n }\n .KUI-Modal_title {\n font-size: 24px;\n line-height: 32px;\n padding-bottom: 20px;\n }\n"])));
735
735
  var templateObject_1$r;