@react-types/shared
Advanced tools
Comparing version 3.0.0-nightly.3114 to 3.0.0-nightly-07431f4b1-241030
{ | ||
"name": "@react-types/shared", | ||
"version": "3.0.0-nightly.3114+68403fe55", | ||
"version": "3.0.0-nightly-07431f4b1-241030", | ||
"description": "Spectrum UI components in React", | ||
@@ -17,3 +17,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "68403fe55489dce3de1b3094c957d598ad719861" | ||
} | ||
"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 { |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1805
0
74978
17