nntc-ui 0.0.89 → 0.0.91
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/index.css +1 -0
- package/index.js +2 -2
- package/package.json +1 -1
package/index.css
CHANGED
package/index.js
CHANGED
|
@@ -273,7 +273,7 @@ var popover_default = {
|
|
|
273
273
|
};
|
|
274
274
|
|
|
275
275
|
// src/components/view/Popover/ui/PopoverContent/PopoverContent.tsx
|
|
276
|
-
import { FloatingFocusManager, FloatingPortal,
|
|
276
|
+
import { FloatingFocusManager, FloatingPortal, useMergeRefs } from "@floating-ui/react";
|
|
277
277
|
import { forwardRef as forwardRef3, useContext, useLayoutEffect } from "react";
|
|
278
278
|
|
|
279
279
|
// src/components/view/Popover/ui/PopoverProvider/constants/PopoverContext.ts
|
|
@@ -289,7 +289,7 @@ var PopoverContent = forwardRef3(function PopoverContent2({ styles, style, child
|
|
|
289
289
|
}
|
|
290
290
|
const { context: floatingContext, ...otherContext } = context;
|
|
291
291
|
const ref = useMergeRefs([otherContext.refs.setFloating, propRef]);
|
|
292
|
-
const id =
|
|
292
|
+
const id = useCompatId();
|
|
293
293
|
useLayoutEffect(() => {
|
|
294
294
|
context.setDescriptionId(id);
|
|
295
295
|
return () => context.setDescriptionId(void 0);
|