chore: Format with oxfmt#10030
Open
devongovett wants to merge 3 commits intomainfrom
Open
Conversation
|
Build successful! 🎉 |
snowystinger
previously approved these changes
May 8, 2026
Member
snowystinger
left a comment
There was a problem hiding this comment.
I do not have strong preferences and would prefer to get something started. We can always adjust later.
|
Build successful! 🎉 |
## API Changes
react-aria-components/react-aria-components:TableLayout TableLayout <O extends TableLayoutProps = TableLayoutProps, T> {
- constructor: (TableLayoutProps) => void
- getContentSize: () => Size
- getDropTargetFromPoint: (number, number, (DropTarget) => boolean) => DropTarget | null
- getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
- getLayoutInfo: (Key) => LayoutInfo | null
- getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
- shouldInvalidateLayoutOptions: (TableLayoutProps, TableLayoutProps) => boolean
- update: (InvalidationContext<TableLayoutProps>) => void
- updateItemSize: (Key, Size) => boolean
useLayoutOptions: () => TableLayoutProps
- virtualizer: Virtualizer<{}, any> | null
}/react-aria-components:ListLayout ListLayout <O extends ListLayoutOptions = ListLayoutOptions, T> {
constructor: (ListLayoutOptions) => void
getContentSize: () => Size
getDropTargetFromPoint: (number, number, (DropTarget) => boolean) => DropTarget | null
getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getLayoutInfo: (Key) => LayoutInfo | null
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (ListLayoutOptions, ListLayoutOptions) => boolean
update: (InvalidationContext<ListLayoutOptions>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/react-aria-components:GridLayout GridLayout <O extends GridLayoutOptions = GridLayoutOptions, T> {
getContentSize: () => Size
getDropTargetFromPoint: (number, number, (DropTarget) => boolean) => DropTarget
getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getLayoutInfo: (Key) => LayoutInfo | null
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (GridLayoutOptions, GridLayoutOptions) => boolean
update: (InvalidationContext<GridLayoutOptions>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/react-aria-components:WaterfallLayout WaterfallLayout <O extends WaterfallLayoutOptions = WaterfallLayoutOptions, T extends {}> {
getContentSize: () => Size
getDropTargetFromPoint: (number, number) => DropTarget
- getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getKeyLeftOf: (Key) => Key | null
getKeyRange: (Key, Key) => Array<Key>
getKeyRightOf: (Key) => Key | null
getLayoutInfo: (Key) => LayoutInfo
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (WaterfallLayoutOptions, WaterfallLayoutOptions) => boolean
update: (InvalidationContext<WaterfallLayoutOptions>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}@react-spectrum/card/@react-spectrum/card:GalleryLayout GalleryLayout <T> {
_distributeWidths: (Array<number>) => boolean
_findClosest: (Rect, Rect) => LayoutInfo | null
_findClosestLayoutInfo: (Rect, Rect) => LayoutInfo | null
buildCollection: () => void
collection: GridCollection<T>
constructor: (GalleryLayoutOptions) => void
direction: Direction
disabledKeys: Set<Key>
getContentSize: () => number
- getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getFirstKey: () => Node<T> | undefined
getKeyAbove: (Key) => Node<T> | undefined
getKeyBelow: (Key) => Node<T> | undefined
getKeyForSearch: (string, Key) => Node<T> | undefined | null
getKeyLeftOf: (Key) => Node<T> | undefined
getKeyPageAbove: (Key) => Node<T> | undefined
getKeyPageBelow: (Key) => Node<T> | undefined
getKeyRightOf: (Key) => Node<T> | undefined
getLastKey: () => Node<T> | undefined
getLayoutInfo: (Key) => LayoutInfo
getVisibleLayoutInfos: (Rect, any) => Array<LayoutInfo>
isLoading: boolean
isVisible: (LayoutInfo, Rect, boolean) => boolean
itemPadding: number
layoutType: string
margin: number
scale: Scale
- shouldInvalidate: (Rect, Rect) => boolean
- shouldInvalidateLayoutOptions: (O, O) => boolean
update: (InvalidationContext<CardViewLayoutOptions>) => void
- updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/@react-spectrum/card:GridLayout GridLayout <T> {
_findClosest: (Rect, Rect) => LayoutInfo | null
_findClosestLayoutInfo: (Rect, Rect) => LayoutInfo | null
buildChild: (Node<T>, number, number) => LayoutInfo
buildCollection: () => void
cardOrientation: Orientation
collection: GridCollection<T>
constructor: (GridLayoutOptions) => void
direction: Direction
disabledKeys: Set<Key>
getContentSize: () => number
- getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getFirstKey: () => Node<T> | undefined
getIndexAtPoint: (number, number, any) => number
getKeyAbove: (Key) => Node<T> | undefined | null
getKeyBelow: (Key) => Node<T> | undefined | null
getKeyForSearch: (string, Key) => Node<T> | undefined | null
getKeyLeftOf: (Key) => Node<T> | undefined
getKeyPageAbove: (Key) => Node<T> | undefined
getKeyPageBelow: (Key) => Node<T> | undefined
getKeyRightOf: (Key) => Node<T> | undefined
getLastKey: () => Node<T> | undefined
getLayoutInfo: (Key) => LayoutInfo
getVisibleLayoutInfos: (Rect, any) => Array<LayoutInfo>
isLoading: boolean
isVisible: (LayoutInfo, Rect, boolean) => boolean
itemPadding: number
layoutType: string
margin: number
scale: Scale
- shouldInvalidate: (Rect, Rect) => boolean
- shouldInvalidateLayoutOptions: (O, O) => boolean
update: (InvalidationContext<CardViewLayoutOptions>) => void
- updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/@react-spectrum/card:WaterfallLayout WaterfallLayout <T> {
_findClosest: (Rect, Rect) => LayoutInfo | null
_findClosestLayoutInfo: (Rect, Rect) => LayoutInfo | null
buildCollection: (InvalidationContext) => void
collection: GridCollection<T>
constructor: (WaterfallLayoutOptions) => void
direction: Direction
disabledKeys: Set<Key>
getClosestLeft: (Key) => Node<T> | undefined
getClosestRight: (Key) => Node<T> | undefined
getContentSize: () => number
- getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getFirstKey: () => Node<T> | undefined
getKeyAbove: (Key) => Node<T> | undefined
getKeyBelow: (Key) => Node<T> | undefined
getKeyForSearch: (string, Key) => Node<T> | undefined | null
getKeyLeftOf: (Key) => Node<T> | undefined
getKeyPageAbove: (Key) => Node<T> | undefined
getKeyPageBelow: (Key) => Node<T> | undefined
getKeyRightOf: (Key) => Node<T> | undefined
getLastKey: () => Node<T> | undefined
getLayoutInfo: (Key) => LayoutInfo
getNextColumnIndex: (Array<number>) => number
getVisibleLayoutInfos: (Rect, any) => Array<LayoutInfo>
isLoading: boolean
isVisible: (LayoutInfo, Rect, boolean) => boolean
layoutType: string
margin: number
scale: Scale
- shouldInvalidate: (Rect, Rect) => boolean
- shouldInvalidateLayoutOptions: (O, O) => boolean
update: (InvalidationContext<CardViewLayoutOptions>) => void
updateItemSize: (Key, Size) => number
- virtualizer: Virtualizer<{}, any> | null
}@react-stately/layout/@react-stately/layout:GridLayout GridLayout <O extends GridLayoutOptions = GridLayoutOptions, T> {
getContentSize: () => Size
getDropTargetFromPoint: (number, number, (DropTarget) => boolean) => DropTarget
getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getLayoutInfo: (Key) => LayoutInfo | null
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (GridLayoutOptions, GridLayoutOptions) => boolean
update: (InvalidationContext<GridLayoutOptions>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/@react-stately/layout:ListLayout ListLayout <O extends ListLayoutOptions = ListLayoutOptions, T> {
constructor: (ListLayoutOptions) => void
getContentSize: () => Size
getDropTargetFromPoint: (number, number, (DropTarget) => boolean) => DropTarget | null
getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getLayoutInfo: (Key) => LayoutInfo | null
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (ListLayoutOptions, ListLayoutOptions) => boolean
update: (InvalidationContext<ListLayoutOptions>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/@react-stately/layout:TableLayout TableLayout <O extends TableLayoutProps = TableLayoutProps, T> {
constructor: (TableLayoutProps) => void
getContentSize: () => Size
getDropTargetFromPoint: (number, number, (DropTarget) => boolean) => DropTarget | null
getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getLayoutInfo: (Key) => LayoutInfo | null
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (TableLayoutProps, TableLayoutProps) => boolean
update: (InvalidationContext<TableLayoutProps>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
}/@react-stately/layout:WaterfallLayout WaterfallLayout <O extends WaterfallLayoutOptions = WaterfallLayoutOptions, T extends {}> {
getContentSize: () => Size
getDropTargetFromPoint: (number, number) => DropTarget
- getDropTargetLayoutInfo: (ItemDropTarget) => LayoutInfo
getKeyLeftOf: (Key) => Key | null
getKeyRange: (Key, Key) => Array<Key>
getKeyRightOf: (Key) => Key | null
getLayoutInfo: (Key) => LayoutInfo
getVisibleLayoutInfos: (Rect) => Array<LayoutInfo>
- shouldInvalidate: (Rect, Rect) => boolean
shouldInvalidateLayoutOptions: (WaterfallLayoutOptions, WaterfallLayoutOptions) => boolean
update: (InvalidationContext<WaterfallLayoutOptions>) => void
updateItemSize: (Key, Size) => boolean
- virtualizer: Virtualizer<{}, any> | null
} |
snowystinger
approved these changes
May 8, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let the formatting debates commence!
Tried to configure it to be as close to our existing formatting as possible, but there are some differences (e.g. semicolons in typescript interfaces vs commas isn't configurable). Removed a bunch of eslint rules related to formatting. Added vscode settings to auto format on save, and check that formatting is correct in CI (part of yarn lint).