-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
565b174
commit b34e0ca
Showing
14 changed files
with
120 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
use floating_ui_core::Boundary as CoreBoundary; | ||
// use floating_ui_core::{ | ||
// AutoPlacementOptions as CoreAutoPlacementOptions, Boundary as CoreBoundary, | ||
// ComputePositionConfig as CoreComputePositionConfig, | ||
// DetectOverflowOptions as CoreDetectOverflowOptions, Elements as CoreElements, | ||
// MiddlewareState as CoreMiddlewareState, | ||
// }; | ||
use floating_ui_core::{Boundary as CoreBoundary, Middleware}; | ||
use floating_ui_utils::ElementOrVirtual as CoreElementOrVirtual; | ||
use web_sys::Element; | ||
use web_sys::{Element, Window}; | ||
|
||
pub type Boundary = CoreBoundary<Element>; | ||
|
||
// pub type ComputePositionConfig<'a> = CoreComputePositionConfig<'a, Element, Window>; | ||
|
||
pub type ElementOrVirtual<'a> = CoreElementOrVirtual<'a, Element>; | ||
|
||
// pub type Elements<'a> = CoreElements<'a, Element>; | ||
|
||
// pub type MiddlewareState<'a> = CoreMiddlewareState<'a, Element, Window>; | ||
|
||
// pub type AutoPlacementOptions<'a> = CoreAutoPlacementOptions<'a, Element>; | ||
/// Vector of middleware used in [`ComputePositionConfig`][`crate::ComputePositionConfig`]. | ||
pub type MiddlewareVec = Vec<Box<dyn Middleware<Element, Window>>>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.