@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.
- package/dist/core/DescriptionList/index.d.ts +2 -2
- package/dist/index.js +4 -12919
- package/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +2 -2
- package/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
- package/package.json +2 -2
- package/esm/_virtual/index2.js +0 -3
- package/esm/_virtual/index3.js +0 -3
- package/esm/_virtual/react-dom.development.js +0 -3
- package/esm/_virtual/react-dom.production.min.js +0 -3
- package/esm/_virtual/scheduler.development.js +0 -3
- package/esm/_virtual/scheduler.production.min.js +0 -3
- package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -4940
- package/esm/node_modules/react-dom/cjs/react-dom.production.min.js +0 -7140
- package/esm/node_modules/react-dom/index.js +0 -39
- package/esm/node_modules/scheduler/cjs/scheduler.development.js +0 -528
- package/esm/node_modules/scheduler/cjs/scheduler.production.min.js +0 -267
- package/esm/node_modules/scheduler/index.js +0 -17
|
@@ -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
|
|
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__*/
|
|
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
|
|
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
|
-
|
|
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.
|
|
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": "
|
|
69
|
+
"gitHead": "f5294016c92661df6e7ee12ed98ace6499c48cf1"
|
|
70
70
|
}
|
package/esm/_virtual/index2.js
DELETED
package/esm/_virtual/index3.js
DELETED