@floating-ui/react
Advanced tools
Comparing version 0.26.28 to 0.27.0
@@ -293,3 +293,3 @@ import { AlignedPlacement } from '@floating-ui/react-dom'; | ||
nodeId: string | undefined; | ||
floatingId: string; | ||
floatingId: string | undefined; | ||
refs: ExtendedRefs<RT>; | ||
@@ -405,2 +405,8 @@ elements: ExtendedElements<RT>; | ||
closeOnFocusOut?: boolean; | ||
/** | ||
* Determines whether outside elements are `inert` when `modal` is enabled. | ||
* This enables pointer modality without a backdrop. | ||
* @default false | ||
*/ | ||
outsideElementsInert?: boolean; | ||
} | ||
@@ -436,7 +442,7 @@ | ||
children?: React.ReactNode; | ||
id: string; | ||
id: string | undefined; | ||
} | ||
export declare interface FloatingNodeType<RT extends ReferenceType = ReferenceType> { | ||
id: string; | ||
id: string | undefined; | ||
parentId: string | null; | ||
@@ -501,3 +507,3 @@ context?: FloatingContext<RT>; | ||
events: FloatingEvents; | ||
floatingId: string; | ||
floatingId: string | undefined; | ||
refs: { | ||
@@ -569,2 +575,3 @@ setPositionReference(node: ReferenceType | null): void; | ||
* @see https://floating-ui.com/docs/inner | ||
* @deprecated | ||
*/ | ||
@@ -876,3 +883,3 @@ export declare const inner: (props: InnerProps | Derivable<InnerProps>) => Middleware; | ||
*/ | ||
export declare function useFloatingNodeId(customParentId?: string): string; | ||
export declare function useFloatingNodeId(customParentId?: string): string | undefined; | ||
@@ -1036,3 +1043,3 @@ export declare interface UseFloatingOptions<RT extends ReferenceType = ReferenceType> extends Omit<UseFloatingOptions_2<RT>, 'elements'> { | ||
*/ | ||
export declare const useId: () => string; | ||
export declare const useId: () => string | undefined; | ||
@@ -1043,2 +1050,3 @@ /** | ||
* @see https://floating-ui.com/docs/inner | ||
* @deprecated | ||
*/ | ||
@@ -1045,0 +1053,0 @@ export declare function useInnerOffset(context: FloatingRootContext, props: UseInnerOffsetProps): ElementProps; |
{ | ||
"name": "@floating-ui/react", | ||
"version": "0.26.28", | ||
"version": "0.27.0", | ||
"description": "Floating UI for React", | ||
@@ -58,4 +58,4 @@ "publishConfig": { | ||
"peerDependencies": { | ||
"react": ">=16.8.0", | ||
"react-dom": ">=16.8.0" | ||
"react": ">=17.0.0", | ||
"react-dom": ">=17.0.0" | ||
}, | ||
@@ -62,0 +62,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
747382
16704