@react-types/shared
Advanced tools
Comparing version 3.0.0-nightly-73414999f-240916 to 3.0.0-nightly-7aa6265a2-241112
{ | ||
"name": "@react-types/shared", | ||
"version": "3.0.0-nightly-73414999f-240916", | ||
"version": "3.0.0-nightly-7aa6265a2-241112", | ||
"description": "Spectrum UI components in React", | ||
@@ -17,3 +17,3 @@ "license": "Apache-2.0", | ||
}, | ||
"stableVersion": "3.24.1" | ||
"stableVersion": "3.25.0" | ||
} |
@@ -90,5 +90,5 @@ /* | ||
/** The key of the column to sort by. */ | ||
column?: Key, | ||
column: Key, | ||
/** The direction to sort by. */ | ||
direction?: SortDirection | ||
direction: SortDirection | ||
} | ||
@@ -146,3 +146,5 @@ | ||
/** Returns the size of the scrollable content in the collection. */ | ||
getContentSize(): Size | ||
getContentSize(): Size, | ||
/** Returns a list of keys between `from` and `to`. */ | ||
getKeyRange?(from: Key, to: Key): Key[] | ||
} | ||
@@ -149,0 +151,0 @@ |
@@ -271,3 +271,3 @@ /* | ||
export type DragPreviewRenderer = (items: DragItem[], callback: (node: HTMLElement) => void) => void; | ||
export type DragPreviewRenderer = (items: DragItem[], callback: (node: HTMLElement | null) => void) => void; | ||
@@ -274,0 +274,0 @@ export interface DraggableCollectionProps { |
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
74978
1805