@teamturing/react-kit 2.51.1 → 2.51.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.
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { useModernLayoutEffect as index, enableFocusInside, isOutsideEvent, getPreviousTabbable, getNextTabbable, useEffectEvent, useLatestRef, getDocument, isMouseLikePointerType, isSafari, getNodeChildren, isReactEvent, getTarget, isRootElement, contains, isEventTargetWithin, isTypeableElement, matchesFocusVisible, activeElement, getFloatingFocusElement, disableFocusInside, isMac } from './floating-ui.react.utils.js';
3
3
  import { j as jsxRuntimeExports } from '../../../react/jsx-runtime.js';
4
4
  import { isElement, getComputedStyle, isNode, isLastTraversableNode, getParentNode, isHTMLElement, getOverflowAncestors, getWindow, isWebKit } from '../../utils/dist/floating-ui.utils.dom.js';
5
- import { r as reactDomExports } from '../../../react-dom/index.js';
5
+ import * as ReactDOM from 'react-dom';
6
6
  import { useFloating as useFloating$1 } from '../../react-dom/dist/floating-ui.react-dom.js';
7
7
  export { arrow, flip, offset, shift } from '../../react-dom/dist/floating-ui.react-dom.js';
8
8
 
@@ -831,7 +831,7 @@ function FloatingPortal(props) {
831
831
  }), shouldRenderGuards && portalNode && /*#__PURE__*/jsxRuntimeExports.jsx("span", {
832
832
  "aria-owns": portalNode.id,
833
833
  style: HIDDEN_STYLES
834
- }), portalNode && /*#__PURE__*/reactDomExports.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsxRuntimeExports.jsx(FocusGuard, {
834
+ }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsxRuntimeExports.jsx(FocusGuard, {
835
835
  "data-type": "outside",
836
836
  ref: afterOutsideRef,
837
837
  onFocus: event => {
@@ -2,7 +2,7 @@ import { offset as offset$1, shift as shift$1, flip as flip$1, computePosition,
2
2
  export { autoUpdate, platform } from '../../dom/dist/floating-ui.dom.js';
3
3
  import * as React from 'react';
4
4
  import { useLayoutEffect } from 'react';
5
- import { r as reactDomExports } from '../../../react-dom/index.js';
5
+ import * as ReactDOM from 'react-dom';
6
6
 
7
7
  var isClient = typeof document !== 'undefined';
8
8
 
@@ -159,7 +159,7 @@ function useFloating(options) {
159
159
  };
160
160
  if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
161
161
  dataRef.current = fullData;
162
- reactDomExports.flushSync(() => {
162
+ ReactDOM.flushSync(() => {
163
163
  setData(fullData);
164
164
  });
165
165
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.51.1",
3
+ "version": "2.51.3",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "6e25674be3c1e5384e4b10c6be1245334282ff5b"
69
+ "gitHead": "f5294016c92661df6e7ee12ed98ace6499c48cf1"
70
70
  }
@@ -1,3 +0,0 @@
1
- var reactDom = {exports: {}};
2
-
3
- export { reactDom as __module };
@@ -1,3 +0,0 @@
1
- var scheduler = {exports: {}};
2
-
3
- export { scheduler as __module };
@@ -1,3 +0,0 @@
1
- var reactDom_development = {};
2
-
3
- export { reactDom_development as __exports };
@@ -1,3 +0,0 @@
1
- var reactDom_production_min = {};
2
-
3
- export { reactDom_production_min as __exports };
@@ -1,3 +0,0 @@
1
- var scheduler_development = {};
2
-
3
- export { scheduler_development as __exports };
@@ -1,3 +0,0 @@
1
- var scheduler_production_min = {};
2
-
3
- export { scheduler_production_min as __exports };