@react-stately/collections
Advanced tools
Comparing version 3.0.0-nightly.2962 to 3.0.0-nightly.2969
@@ -25,3 +25,3 @@ import { Key, ItemProps, SectionProps, CollectionBase, Node, Collection, CollectionStateBase } from "@react-types/shared"; | ||
interface CollectionOptions<T, C extends Collection<Node<T>>> extends Omit<CollectionStateBase<T, C>, 'children'> { | ||
children?: ReactElement | ReactElement[] | ((item: T) => ReactElement); | ||
children?: ReactElement<any> | ReactElement<any>[] | ((item: T) => ReactElement<any>); | ||
} | ||
@@ -28,0 +28,0 @@ type CollectionFactory<T, C extends Collection<Node<T>>> = (node: Iterable<Node<T>>) => C; |
{ | ||
"name": "@react-stately/collections", | ||
"version": "3.0.0-nightly.2962+59136f78e", | ||
"version": "3.0.0-nightly.2969+2fd87d9f1", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,7 +25,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "3.0.0-nightly.2962+59136f78e", | ||
"@react-types/shared": "3.0.0-nightly.2969+2fd87d9f1", | ||
"@swc/helpers": "^0.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "59136f78e853e97bb4067a1268750c9f85900bf6" | ||
"gitHead": "2fd87d9f1d894e6b00a595cce73c6e8828029132" | ||
} |
@@ -18,3 +18,3 @@ /* | ||
interface CollectionOptions<T, C extends Collection<Node<T>>> extends Omit<CollectionStateBase<T, C>, 'children'> { | ||
children?: ReactElement | ReactElement[] | ((item: T) => ReactElement) | ||
children?: ReactElement<any> | ReactElement<any>[] | ((item: T) => ReactElement<any>) | ||
} | ||
@@ -21,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
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
163492