Comparing version 0.41.0 to 0.41.1
{ | ||
"name": "gestalt", | ||
"version": "0.41.0", | ||
"version": "0.41.1", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://pinterest.github.io/gestalt", |
@@ -40,9 +40,12 @@ /* global describe */ | ||
await toggleMountTrigger.click(); | ||
// wait for grid to be re-mounted | ||
await ghost.wait(500); | ||
// new mount count should be less or equal to original | ||
updatedMountCount = await ghost.script(() => window.ITEM_MOUNT_COUNT); | ||
// wait for grid to be remounted | ||
await ghost.wait(async () => { | ||
updatedMountCount = await ghost.script( | ||
() => (window.MASONRY_DID_MOUNT ? window.ITEM_MOUNT_COUNT : null) | ||
); | ||
return updatedMountCount !== null ? updatedMountCount : false; | ||
}); | ||
assert.ok(updatedMountCount <= initialMountCount); | ||
}); | ||
}); |
@@ -944,3 +944,3 @@ // @flow | ||
let gridBody; | ||
if (!this.state.mounted) { | ||
if (!this.state.mounted && this.measurementStore.isEmpty()) { | ||
const itemWidth = !this.props.flexible | ||
@@ -947,0 +947,0 @@ ? this.itemWidth - gutter(this.props.gutterWidth, this.props.flexible) |
@@ -11,2 +11,3 @@ // @flow | ||
id: PropTypes.string.isRequired, | ||
name: PropTypes.string, | ||
onChange: PropTypes.func.isRequired, | ||
@@ -13,0 +14,0 @@ switched: PropTypes.bool, |
@@ -184,3 +184,3 @@ // @flow | ||
This is a long and Supercalifragilisticexpialidocious sentence. | ||
次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉 | ||
次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉 wwwwwwwwwwwwwwwwwwwwwwwwww | ||
</Text> | ||
@@ -192,3 +192,3 @@ </Box> | ||
This is a long and Supercalifragilisticexpialidocious sentence. | ||
次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉 | ||
次の単語グレートブリテンおよび北アイルランド連合王国で本当に大きな言葉 wwwwwwwwwwwwwwwwwwwwwwwwww | ||
</Text> | ||
@@ -195,0 +195,0 @@ </Box> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2444955
0
58093