@onesy/ui-react 1.0.169 → 1.0.170

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.
@@ -524,7 +524,7 @@ const CalendarMonth = /*#__PURE__*/_react.default.forwardRef((props__, ref) => {
524
524
  }
525
525
  }
526
526
  return items;
527
- }, [month, getDetails]);
527
+ }, [month, rangesValue, rangesSelected]);
528
528
  const colorSelectedTheme = _react.default.useMemo(() => {
529
529
  return theme.palette.color[colorSelected] || theme.methods.color(colorSelected);
530
530
  }, [colorSelected, theme]);
@@ -741,7 +741,7 @@ const Carousel = /*#__PURE__*/_react.default.forwardRef((props_, ref) => {
741
741
  }, [index_]);
742
742
  _react.default.useEffect(() => {
743
743
  if ((0, _utils.is)('function', onUpdateItems)) onUpdateItems();
744
- }, [items, onUpdateItems, theme.palette.light]);
744
+ }, [items, theme.palette.light]);
745
745
  _react.default.useEffect(() => {
746
746
  setItems(items_);
747
747
  }, [id, items_]);
@@ -66,7 +66,7 @@ const DragAndDropList = /*#__PURE__*/_react.default.forwardRef((props_, ref) =>
66
66
  rootDocument.body.removeEventListener('mouseup', onMouseUp);
67
67
  rootDocument.body.removeEventListener('touchend', onMouseUp);
68
68
  };
69
- }, [onDraggedElement]);
69
+ }, []);
70
70
  const img = _react.default.useMemo(() => {
71
71
  var _refs$root$current2;
72
72
  const rootDocument_0 = (0, _utils.isEnvironment)('browser') ? ((_refs$root$current2 = refs.root.current) === null || _refs$root$current2 === void 0 ? void 0 : _refs$root$current2.ownerDocument) || window.document : undefined;
@@ -685,7 +685,7 @@ ${listItem(other_, level_1)}
685
685
  }
686
686
  if ((0, _utils.is)('function', onUpdate)) onUpdate();
687
687
  }
688
- }, [init, value, onStart, onAdded, onUpdate]);
688
+ }, [init, value]);
689
689
  return /*#__PURE__*/_react.default.createElement(Component, (0, _extends2.default)({
690
690
  ref: item_15 => {
691
691
  if (ref) {
@@ -514,7 +514,7 @@ const CalendarMonth = /*#__PURE__*/React.forwardRef((props__, ref) => {
514
514
  }
515
515
  }
516
516
  return items;
517
- }, [month, getDetails]);
517
+ }, [month, rangesValue, rangesSelected]);
518
518
  const colorSelectedTheme = React.useMemo(() => {
519
519
  return theme.palette.color[colorSelected] || theme.methods.color(colorSelected);
520
520
  }, [colorSelected, theme]);
@@ -712,7 +712,7 @@ const Carousel = /*#__PURE__*/React.forwardRef((props_, ref) => {
712
712
  }, [index_]);
713
713
  React.useEffect(() => {
714
714
  if (is('function', onUpdateItems)) onUpdateItems();
715
- }, [items, onUpdateItems, theme.palette.light]);
715
+ }, [items, theme.palette.light]);
716
716
  React.useEffect(() => {
717
717
  setItems(items_);
718
718
  }, [id, items_]);
@@ -57,7 +57,7 @@ const DragAndDropList = /*#__PURE__*/React.forwardRef((props_, ref) => {
57
57
  rootDocument.body.removeEventListener('mouseup', onMouseUp);
58
58
  rootDocument.body.removeEventListener('touchend', onMouseUp);
59
59
  };
60
- }, [onDraggedElement]);
60
+ }, []);
61
61
  const img = React.useMemo(() => {
62
62
  const rootDocument_0 = isEnvironment('browser') ? refs.root.current?.ownerDocument || window.document : undefined;
63
63
  const element = rootDocument_0.createElement('img');
@@ -677,7 +677,7 @@ ${listItem(other_, level_1)}
677
677
  }
678
678
  if (is('function', onUpdate)) onUpdate();
679
679
  }
680
- }, [init, value, onStart, onAdded, onUpdate]);
680
+ }, [init, value]);
681
681
  return /*#__PURE__*/React.createElement(Component, _extends({
682
682
  ref: item_15 => {
683
683
  if (ref) {
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.168
1
+ /** @license UiReact v1.0.169
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license UiReact v1.0.168
1
+ /** @license UiReact v1.0.169
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesy/ui-react",
3
- "version": "1.0.169",
3
+ "version": "1.0.170",
4
4
  "description": "UI for React",
5
5
  "repository": "https://github.com/onesy-me/onesy.git",
6
6
  "author": "Lazar Erić <lazareric1@proton.me>",