@react-stately/collections
Advanced tools
Comparing version 3.10.7 to 3.10.8
@@ -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.10.7", | ||
"version": "3.10.8", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,7 +25,7 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "^3.23.1", | ||
"@react-types/shared": "^3.24.0", | ||
"@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": "b77d7d594dff4dcfb5359bffbcfd18142b146433" | ||
"gitHead": "86d80e3216bc32e75108831cf3a5a720bc849206" | ||
} |
@@ -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
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
163547
55
Updated@react-types/shared@^3.24.0