linear-react-components-ui 1.0.14-beta.2 → 1.0.14-beta.3

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.
@@ -9,7 +9,7 @@
9
9
  // ".gitignore": true,
10
10
  },
11
11
  "editor.codeActionsOnSave": {
12
- "source.fixAll.eslint": true
12
+ "source.fixAll.eslint": "explicit"
13
13
  },
14
14
  "cSpell.words": [
15
15
  "licenca"
@@ -172,7 +172,10 @@ var UiTour = function UiTour(props) {
172
172
  mutationObserver = new MutationObserver(function () {
173
173
  var targetObserved = document.getElementById(initialStep.targetId);
174
174
  if (targetObserved) {
175
+ var _mutationObserver;
175
176
  showStepTour(initialStep);
177
+ (_mutationObserver = mutationObserver) === null || _mutationObserver === void 0 ? void 0 : _mutationObserver.disconnect();
178
+ mutationObserver = null;
176
179
  }
177
180
  });
178
181
  mutationObserver.observe(document, {
@@ -182,8 +185,8 @@ var UiTour = function UiTour(props) {
182
185
  }
183
186
  }
184
187
  return function () {
185
- var _mutationObserver;
186
- (_mutationObserver = mutationObserver) === null || _mutationObserver === void 0 ? void 0 : _mutationObserver.disconnect();
188
+ var _mutationObserver2;
189
+ (_mutationObserver2 = mutationObserver) === null || _mutationObserver2 === void 0 ? void 0 : _mutationObserver2.disconnect();
187
190
  mutationObserver = null;
188
191
  };
189
192
  }, [visible, data]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linear-react-components-ui",
3
- "version": "1.0.14-beta.2",
3
+ "version": "1.0.14-beta.3",
4
4
  "description": "Linear Sistemas ReactJs Components",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.cjs",