dockview 4.2.1 → 4.2.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.
@@ -121,6 +121,7 @@ exports.DockviewReact = react_1.default.forwardRef(function (props, ref) {
121
121
  }
122
122
  dockviewRef.current = api;
123
123
  return function () {
124
+ dockviewRef.current = undefined;
124
125
  api.dispose();
125
126
  };
126
127
  }, []);
@@ -86,6 +86,7 @@ exports.GridviewReact = react_1.default.forwardRef(function (props, ref) {
86
86
  }
87
87
  gridviewRef.current = api;
88
88
  return function () {
89
+ gridviewRef.current = undefined;
89
90
  api.dispose();
90
91
  };
91
92
  }, []);
@@ -91,6 +91,7 @@ exports.PaneviewReact = react_1.default.forwardRef(function (props, ref) {
91
91
  }
92
92
  paneviewRef.current = api;
93
93
  return function () {
94
+ paneviewRef.current = undefined;
94
95
  api.dispose();
95
96
  };
96
97
  }, []);
@@ -86,6 +86,7 @@ exports.SplitviewReact = react_1.default.forwardRef(function (props, ref) {
86
86
  }
87
87
  splitviewRef.current = api;
88
88
  return function () {
89
+ splitviewRef.current = undefined;
89
90
  api.dispose();
90
91
  };
91
92
  }, []);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview
3
- * @version 4.2.1
3
+ * @version 4.2.3
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -11141,6 +11141,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
11141
11141
  }
11142
11142
  dockviewRef.current = api;
11143
11143
  return () => {
11144
+ dockviewRef.current = undefined;
11144
11145
  api.dispose();
11145
11146
  };
11146
11147
  }, []);
@@ -11399,6 +11400,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
11399
11400
  }
11400
11401
  splitviewRef.current = api;
11401
11402
  return () => {
11403
+ splitviewRef.current = undefined;
11402
11404
  api.dispose();
11403
11405
  };
11404
11406
  }, []);
@@ -11482,6 +11484,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
11482
11484
  }
11483
11485
  gridviewRef.current = api;
11484
11486
  return () => {
11487
+ gridviewRef.current = undefined;
11485
11488
  api.dispose();
11486
11489
  };
11487
11490
  }, []);
@@ -11587,6 +11590,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
11587
11590
  }
11588
11591
  paneviewRef.current = api;
11589
11592
  return () => {
11593
+ paneviewRef.current = undefined;
11590
11594
  api.dispose();
11591
11595
  };
11592
11596
  }, []);