@react-types/table
Advanced tools
Comparing version 3.0.1-nightly.2949 to 3.0.1-nightly.2960
{ | ||
"name": "@react-types/table", | ||
"version": "3.0.1-nightly.2949+ab0323af3", | ||
"version": "3.0.1-nightly.2960+e3e6db065", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,4 +12,4 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/grid": "3.0.1-nightly.2949+ab0323af3", | ||
"@react-types/shared": "3.0.0-nightly.1263+ab0323af3" | ||
"@react-types/grid": "3.0.1-nightly.2960+e3e6db065", | ||
"@react-types/shared": "3.0.0-nightly.1274+e3e6db065" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "ab0323af3512117c9607304a66a33faf026929c9" | ||
"gitHead": "e3e6db06554d632e6edef831002fa3fda0cef1c2" | ||
} |
@@ -13,3 +13,3 @@ /* | ||
import {AriaLabelingProps, AsyncLoadable, CollectionChildren, DOMProps, LoadingState, MultipleSelection, Sortable, StyleProps} from '@react-types/shared'; | ||
import {AriaLabelingProps, AsyncLoadable, CollectionChildren, DOMProps, LoadingState, MultipleSelection, Sortable, SpectrumSelectionProps, StyleProps} from '@react-types/shared'; | ||
import {GridCollection, GridNode} from '@react-types/grid'; | ||
@@ -25,3 +25,3 @@ import {Key, ReactElement, ReactNode} from 'react'; | ||
export interface SpectrumTableProps<T> extends TableProps<T>, DOMProps, AriaLabelingProps, StyleProps { | ||
export interface SpectrumTableProps<T> extends TableProps<T>, SpectrumSelectionProps, DOMProps, AriaLabelingProps, StyleProps { | ||
/** | ||
@@ -40,3 +40,5 @@ * Sets the amount of vertical padding within each cell. | ||
/** Sets what the TableView should render when there is no content to display. */ | ||
renderEmptyState?: () => JSX.Element | ||
renderEmptyState?: () => JSX.Element, | ||
/** Handler that is called when a user performs an action on a row. */ | ||
onAction?: (key: Key) => void | ||
} | ||
@@ -43,0 +45,0 @@ |
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
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
18128
123