@react-stately/collections
Advanced tools
Comparing version 3.0.0-nightly.922 to 3.0.0-nightly.932
@@ -256,4 +256,10 @@ var _babelRuntimeHelpersExtends = $parcel$interopDefault(require("@babel/runtime/helpers/extends")); | ||
partialNode.index = index; | ||
let nodeKey = childNode.key; | ||
if (!nodeKey) { | ||
nodeKey = childNode.element ? null : this.getKey(element, partialNode, state, parentKey); | ||
} | ||
let nodes = this.getFullNode(_babelRuntimeHelpersExtends({}, childNode, { | ||
key: childNode.element ? null : this.getKey(element, partialNode, state, parentKey), | ||
key: nodeKey, | ||
index, | ||
@@ -260,0 +266,0 @@ wrapper: $f9fc6bc72d334a59f09d47517f9a056a$var$compose(partialNode.wrapper, childNode.wrapper) |
@@ -242,4 +242,10 @@ import _babelRuntimeHelpersEsmExtends from "@babel/runtime/helpers/esm/extends"; | ||
partialNode.index = index; | ||
let nodeKey = childNode.key; | ||
if (!nodeKey) { | ||
nodeKey = childNode.element ? null : this.getKey(element, partialNode, state, parentKey); | ||
} | ||
let nodes = this.getFullNode(_babelRuntimeHelpersEsmExtends({}, childNode, { | ||
key: childNode.element ? null : this.getKey(element, partialNode, state, parentKey), | ||
key: nodeKey, | ||
index, | ||
@@ -246,0 +252,0 @@ wrapper: $f8429209754fda4b9142d514065f4$var$compose(partialNode.wrapper, childNode.wrapper) |
{ | ||
"name": "@react-stately/collections", | ||
"version": "3.0.0-nightly.922+3f4563ab", | ||
"version": "3.0.0-nightly.932+dfdf27ea", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,3 +21,3 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@react-types/shared": "3.0.0-nightly.922+3f4563ab" | ||
"@react-types/shared": "3.0.0-nightly.932+dfdf27ea" | ||
}, | ||
@@ -30,3 +30,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3f4563ab05cde3d73dc222da1b9af2fc707358c8" | ||
"gitHead": "dfdf27ea3ceaaaeedd411da6e0454e08eb584c7f" | ||
} |
@@ -123,5 +123,11 @@ /* | ||
partialNode.index = index; | ||
let nodeKey = childNode.key; | ||
if (!nodeKey) { | ||
nodeKey = childNode.element ? null : this.getKey(element as CollectionElement<T>, partialNode, state, parentKey); | ||
} | ||
let nodes = this.getFullNode({ | ||
...childNode, | ||
key: childNode.element ? null : this.getKey(element as CollectionElement<T>, partialNode, state, parentKey), | ||
key: nodeKey, | ||
index, | ||
@@ -128,0 +134,0 @@ wrapper: compose(partialNode.wrapper, childNode.wrapper) |
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
108897
1127