floating-ui

A JavaScript library to position floating elements and create interactions for them.

MIT License

Downloads
202.3M
Stars
28.6K
Committers
104

Bot releases are visible (Hide)

floating-ui - v1.5.2

Published by FezVrasta over 7 years ago

This minor release aims to clean the code after the work performed in 1.5.1 and reduce the size and complexity of it.

floating-ui - v1.5.1

Published by FezVrasta over 7 years ago

This is an almost major release because lot of stuff have been rewritten and bugs fixed.

  • Fixed #202
  • Fixed #188
  • Fixed #171
  • Get rid of fixed positions because they are useless and creates problems and nothing else
floating-ui - v1.0.8

Published by FezVrasta over 7 years ago

  • [fix]: Fixed scroll event listeners (fix #151) (#182)
floating-ui - v1.0.7

Published by FezVrasta over 7 years ago

  • [fix] Calculate position to documentRoot instead of offsetParent (fixes #177) (thank @claudiobmgrtnr)
floating-ui - v1.0.6

Published by FezVrasta over 7 years ago

Changelog:

  • [fix] exclude .babelrc from npm bundle to avoid build problems in 3rd party build setups (#168)
floating-ui - v1.0.5

Published by FezVrasta over 7 years ago

Changelog:

  • [fix] Importing into universal apps (#166) (thank @HHogg)
  • [docs] fixed several errors in the documentation (#164, #163, #160) (thank @Narretz and @liril-net)
  • [tests/update] updated dependencies, fixed warnings during build and tests
floating-ui - v1.0.4

Published by FezVrasta almost 8 years ago

Don't ask where v1.0.3 gone, no idea.

By the way, here's the changelog for this version:

  • [fix] fixed #143 (#146)
  • [docs] Fixing position documentation (#145) (thank @ocombe)
  • [tests] we now have code coverage reports (86% atm!)
  • [tests] we now have codeclimate analysis (3.6 atm!)
  • [npm] you can't no longer access Tooltip.js builds from the Popper.js npm package, install both the packages if you need them!

We also released Tooltip.js v1.0.3:

  • [fix] fixed #144 (#147)
  • [npm] you can't no longer access Popper.js builds from the Tooltip.js npm package, install both the packages if you need them!
floating-ui - v1.0.2

Published by FezVrasta almost 8 years ago

  • [fix] Fixed typo: scheduledUpdate => scheduleUpdate (thank @nadiam84)
  • [docs] Add CDNJS info in README.md (#141) (thank @PeterDaveHello)
floating-ui - v1.0.1

Published by FezVrasta almost 8 years ago

  • [Fix] Fixed positioning problem when popper had not any positioned parent (#136, thank @nadiam84)
  • [Perf] Minor perf improvement of arrow modifier
  • [Tests] Added more unit tests (#131, thank @nadiam84)
floating-ui - v1.0.0

Published by FezVrasta almost 8 years ago

Read the introduction post about Popper.js v1 at https://medium.com/@FezVrasta/popper-js-v1-5e8b3acd888c

Changelog:

  • BREAKING CHANGE: removed all the underscores _ prefixes from properties
  • converted source code to ES6
  • build now uses Rollup
  • moved from JSHint to ESLint
  • moved from Uglify to Babili
  • Get rid of Grunt
  • updated npm dependencies
  • BREAKING CHANGE: removed parse method from core library, you can't automatically create popper's markup using Popper.js core. If you need the feature, here you can find a custom modifier that reintroduces the feature. https://gist.github.com/FezVrasta/075d228ffb855688c75a69c6d1d6afce
  • Added Tooltip.js library to replace the parse method
  • BREAKING CHANGE: simplified modifiers API, see #62 for migration instructions
  • BREAKING CHANGE: modifiers options are now stored inside the modifiers configurations, see #62
  • Full support for HTML5 shadow root and HTML5 components (#88) (thanks @nadiam84)
  • Improved flip detection strategy (#82) (thanks @nadiam84)
  • BREAKING CHANGE: boundariesElement has been deprecated in favor to new options of preventOverflow and flip modifiers (#75)
  • You can now set attributes defining them in data.attributes, properties with false values will be removed
  • BREAKING CHANGE: onCreate and onUpdate methods have been converted to properties of the options object
    you can now use them with new Popper(a, b, { ...otherOptions, onCreate: () => {}, onUpdate: () => {} })
  • BREAKING CHANGE: gpuAcceleration is now an option of the applyStyle modifier (modifiers.applyStyle.gpuAcceleration)
  • FEATURE: added auto placement, it will automatically get converted to the placement with more free space available (addresses #1)
  • FEATURE: added inner modifier, it allows to make the popper flow toward the inner of the reference element (addresses #83)
  • From now on, the changelog will be posted in the GitHub releases and not in the CHANGELOG.md file
floating-ui - v1.0.0-beta.4

Published by FezVrasta almost 8 years ago

In this release:

  • more bug fixed
  • added more tests
  • added new inner modifier (see #83)
floating-ui - v1.0.0-beta.3

Published by FezVrasta almost 8 years ago

This new beta release fixes several edge cases and bugs, it also improves the code quality.

floating-ui - v1.0.0-beta.2

Published by FezVrasta almost 8 years ago

This second beta fixes the problems with the positioning on inline elements.

I've not remaining bugs related to v1 on the issues tracker, I ask you guys to give this beta a try and report any problems you may find.

If nothing raises until next week, I'm going to promote this to RC and I'll finally publish v1, deprecating v0.

floating-ui - v1.0.0-beta.1

Published by FezVrasta almost 8 years ago

We are almost there!

All the tests are green and there is only a remaining bug that is going to be fixed in the next beta.
The passage to beta means that I'm not going to change the API anymore and it is to be considered stable.

Please refer to CHANGELOG.md to the full list of breaking changes between v0 and v1.

floating-ui - v1.0.0-alpha.8

Published by FezVrasta almost 8 years ago

Fixed various minor bugs.

floating-ui - v1.0.0-alpha.7

Published by FezVrasta almost 8 years ago

  • fixed bug with computation of boundaries when popper and reference were in two different contexts
floating-ui - v1.0.0-alpha.6

Published by FezVrasta almost 8 years ago

All the tests have been fixed (except for one on IE10 which has been skipped temporarily).

There could be little changes in the way Popper.js calculates the margins from the edges of body since now it excludes the margins (it means that a body with 8px margin will be 13px shifted from the edge of the window.

Please report any problems you find using the bug tracker of GitHub and filling out the issues template.

floating-ui - v1.0.0-alpha.3

Published by FezVrasta about 8 years ago

  • Full support for HTML5 shadow root and HTML5 components (#88) (thanks @nadiam84)
  • Improved flip detection strategy (#82) (thanks @nadiam84)

Install with npm install [email protected]

floating-ui - v0.6.4

Published by FezVrasta about 8 years ago

  • 30a781e: Remove necessity of remove polyfill on IE
floating-ui - v0.6.3

Published by FezVrasta about 8 years ago

  • 2e96b0e: removed arrow modifier dependency from applyStyle modifier