@teamturing/react-kit 2.23.5 → 2.23.7

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.
@@ -0,0 +1,3 @@
1
+ var reactDom = {exports: {}};
2
+
3
+ export { reactDom as __module };
@@ -0,0 +1,3 @@
1
+ var scheduler = {exports: {}};
2
+
3
+ export { scheduler as __module };
@@ -0,0 +1,3 @@
1
+ var reactDom_development = {};
2
+
3
+ export { reactDom_development as __exports };
@@ -0,0 +1,3 @@
1
+ var reactDom_production_min = {};
2
+
3
+ export { reactDom_production_min as __exports };
@@ -0,0 +1,3 @@
1
+ var scheduler_development = {};
2
+
3
+ export { scheduler_development as __exports };
@@ -0,0 +1,3 @@
1
+ var scheduler_production_min = {};
2
+
3
+ export { scheduler_production_min as __exports };
@@ -2,7 +2,7 @@ import { computePosition } from '../../dom/dist/floating-ui.dom.js';
2
2
  export { autoUpdate, platform } from '../../dom/dist/floating-ui.dom.js';
3
3
  import * as React from 'react';
4
4
  import { useLayoutEffect, useEffect } from 'react';
5
- import * as ReactDOM from 'react-dom';
5
+ import { r as reactDomExports } from '../../../react-dom/index.js';
6
6
 
7
7
  var index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;
8
8
 
@@ -148,7 +148,7 @@ function useFloating(options) {
148
148
  };
149
149
  if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
150
150
  dataRef.current = fullData;
151
- ReactDOM.flushSync(() => {
151
+ reactDomExports.flushSync(() => {
152
152
  setData(fullData);
153
153
  });
154
154
  }