-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: Upgrade Popper to Floating UI #21828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0b3d545
707a4a1
36904c7
4bd223f
9738d0c
ccfbfd5
8ca61b2
005166f
fb1c088
cfe0909
5196d59
02b0f8c
1eec43e
7e89d6f
f5cb3c1
9775df4
7bb4808
4b34449
636b23c
add88c4
d793aab
212326f
f178729
b4f21e9
a6f909d
2a6c646
11ea988
6d3bbd2
d44bc44
1957163
15e84d8
999261f
6b12cca
4249318
f15c862
3393023
566c787
f4142fc
593cd9e
050ea14
be6a273
4b89ff5
4541dd0
7a891e2
19da8b2
86bd0ef
574556e
4eefe8e
44f1bd6
0c26ea5
a545823
1db7e04
c44a724
865a07e
39fe5f6
0f789cd
7ccb4a6
7560f97
7943657
81e678f
b55f428
462d537
162ff51
5ef2430
f59159d
d60fda3
6388ba6
6cb837a
bfc3076
6b178c8
68ec50c
aef9ff8
08c7f3d
13d0e10
5bd005e
db1de63
4c5d39d
1e178b2
199597c
77386bd
604471b
9d4ceeb
8e25099
fffea0b
e33610f
661689d
dbcbf8f
03b40a2
7b770a1
f277cf5
4f15da7
d10771f
a6e32ef
ef658f4
4fae144
d6d41f8
b296be4
02309b9
c2b3a49
4759559
b961173
3e24d1c
c21ca5a
b880b4a
31f605f
8445272
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| diff --git a/node_modules/@floating-ui/core/src/types.d.ts b/node_modules/@floating-ui/core/src/types.d.ts | ||
| index f5c4f1b..14cc9b3 100644 | ||
| --- a/node_modules/@floating-ui/core/src/types.d.ts | ||
| +++ b/node_modules/@floating-ui/core/src/types.d.ts | ||
| @@ -1,6 +1,14 @@ | ||
| export declare type Alignment = 'start' | 'end'; | ||
| export declare type Side = 'top' | 'right' | 'bottom' | 'left'; | ||
| -export declare type AlignedPlacement = `${Side}-${Alignment}`; | ||
| +export declare type AlignedPlacement = | ||
| + | 'top-start' | ||
| + | 'top-end' | ||
| + | 'right-start' | ||
| + | 'right-end' | ||
| + | 'bottom-start' | ||
| + | 'bottom-end' | ||
| + | 'left-start' | ||
| + | 'left-end'; | ||
| export declare type Placement = Side | AlignedPlacement; | ||
| export declare type Strategy = 'absolute' | 'fixed'; | ||
| export declare type Axis = 'x' | 'y'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| diff --git a/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts b/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts | ||
| index 461f170..86d7a4a 100644 | ||
| --- a/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts | ||
| +++ b/node_modules/@floating-ui/dom/src/utils/getOverflowAncestors.d.ts | ||
| @@ -1 +1 @@ | ||
| -export declare function getOverflowAncestors(node: Node, list?: Array<Element | Window>): Array<Element | Window | VisualViewport>; | ||
| +export declare function getOverflowAncestors(node: Node, list?: Array<Element | Window>): Array<Element | Window>; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Patches for TS minbar test | ||
|
|
||
| Some partners might be on incompatible versions of typescript, but are willing to patch incompatible | ||
| types on their end. If this is the case, simply create a similar patch for the affected code with | ||
| [patch-package](https://github.com/ds300/patch-package) and drop the resulting patch in this folder. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we provide copy pastable command to achieve that ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can add the command, but it will still involve updating |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "BREAKING: Updates related to internal bump of Popper.js to Floating UI", | ||
| "packageName": "@fluentui/react-menu", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "BREAKING: Updates related to internal bump of Popper.js to Floating UI", | ||
| "packageName": "@fluentui/react-popover", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "BREAKING: Upgrade PopperJS for FloatingUI", | ||
| "packageName": "@fluentui/react-positioning", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "BREAKING: Updates related to internal bump of Popper.js to Floating UI", | ||
| "packageName": "@fluentui/react-tooltip", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.