@micromag/core 0.3.803 → 0.3.807

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/es/hooks.js CHANGED
@@ -647,9 +647,12 @@ var useIsVisible = function useIsVisible() {
647
647
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
648
648
  rootMargin = _ref.rootMargin,
649
649
  _ref$persist = _ref.persist,
650
- persist = _ref$persist === void 0 ? false : _ref$persist;
650
+ persist = _ref$persist === void 0 ? false : _ref$persist,
651
+ _ref$disabled = _ref.disabled,
652
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled;
651
653
  var _useIntersectionObser = useIntersectionObserver({
652
- rootMargin: rootMargin
654
+ rootMargin: rootMargin,
655
+ disabled: disabled
653
656
  }),
654
657
  ref = _useIntersectionObser.ref,
655
658
  isIntersecting = _useIntersectionObser.entry.isIntersecting;
package/lib/hooks.js CHANGED
@@ -649,9 +649,12 @@ var useIsVisible = function useIsVisible() {
649
649
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
650
650
  rootMargin = _ref.rootMargin,
651
651
  _ref$persist = _ref.persist,
652
- persist = _ref$persist === void 0 ? false : _ref$persist;
652
+ persist = _ref$persist === void 0 ? false : _ref$persist,
653
+ _ref$disabled = _ref.disabled,
654
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled;
653
655
  var _useIntersectionObser = useIntersectionObserver({
654
- rootMargin: rootMargin
656
+ rootMargin: rootMargin,
657
+ disabled: disabled
655
658
  }),
656
659
  ref = _useIntersectionObser.ref,
657
660
  isIntersecting = _useIntersectionObser.entry.isIntersecting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.803",
3
+ "version": "0.3.807",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -167,5 +167,5 @@
167
167
  "access": "public",
168
168
  "registry": "https://registry.npmjs.org/"
169
169
  },
170
- "gitHead": "b8d7486367da5144fa0824e48527c44aa4123ddf"
170
+ "gitHead": "5aee5186c7e3b3dc6fe0f11e848943f21c33a195"
171
171
  }