Skip to content

Releases: instacart/Snacks

v0.0.159

14 Feb 18:40
Compare
Choose a tag to compare

Security Updates

Patch critical CVEs in cryptiles, lodash, immer, handlebars, and merge-deep.

delayCalculatePosition

29 Jul 00:10
9238bab
Compare
Choose a tag to compare
Pre-release

Introducing a new prop delayCalculatePosition to Tooltip that propagates to TooltipOverlay > TooltipPosition.
A client must pass in delayCalculatePosition={true} when consuming the Tooltip react component.

When delayCalculatePosition is set to true, TooltipPosition will wait 300ms before doing the calculation of tooltip offsets.
This delay is necessary for cases when the overlays are not set and final, and prevents expensive and buggy recalculation as opposed to getting it right the first time.

Note: This also reverts 0.0.157's change of using offsetWidth instead of scrollWidth.
0.0.158 will use scrollWidth.

so this.calculatePosition() is reverted to be the same as versions prior to 0.0.157

https://github.com/instacart/Snacks/pull/465/files

0.0.157 (#461)

27 Jul 18:24
4020212
Compare
Choose a tag to compare
0.0.157 (#461) Pre-release
Pre-release

Bugfixes

  • Tooltip - fix ScrollWidth that is dynamic causing incorrect calculatePosition

v0.0.155

05 Oct 19:20
15fb48a
Compare
Choose a tag to compare
v0.0.155 Pre-release
Pre-release
  • Updated Checkbox Component to include isIntdeterminate, to allow to the indeterminate state

v0.0.154

04 Sep 00:11
7e9b85c
Compare
Choose a tag to compare
v0.0.154 Pre-release
Pre-release

Ensure consistent styling of NavigationPills styling

v0.0.153

03 Sep 21:57
52283ae
Compare
Choose a tag to compare
v0.0.153 Pre-release
Pre-release

Add labelElementType prop to NavigationPills

v0.0.151

18 Jun 00:40
Compare
Choose a tag to compare
v0.0.151 Pre-release
Pre-release

Adds customStyle prop to Tooltip.

v0.0.148

12 May 01:45
1df27fa
Compare
Choose a tag to compare
v0.0.148 Pre-release
Pre-release

Change from radium package (no longer maintained) to @instacart/radium.

v0.0.147

08 May 01:02
ab2c815
Compare
Choose a tag to compare
v0.0.147 Pre-release
Pre-release

🐛 fix:

Fix NavigationPills ref issue

v0.0.146

04 May 19:45
9ac26d3
Compare
Choose a tag to compare
v0.0.146 Pre-release
Pre-release
  • Add 'shield' icon