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 hidden (Show)

floating-ui - v1.8.3

Published by FezVrasta over 7 years ago

  • [fix] Allow negative %/vh/vw offsets (#227)
floating-ui - v1.8.2

Published by FezVrasta over 7 years ago

  • [fix] Transpile to ES5 the module bundle (#220)
floating-ui - v1.8.1

Published by FezVrasta over 7 years ago

  • [fix] html margin problems reported in #211
floating-ui - v1.8.0

Published by FezVrasta over 7 years ago

  • [feature] Added counter/clockwise flip behaviors (fix #167)
floating-ui - v1.7.0

Published by FezVrasta over 7 years ago

BREAKING CHANGE: We have reduced the size of Popper.js removing the Popper.Utils methods from the basic bundle. If you need them, you can still import popper-utils.js before popper.js and they will be available again. But we suggest to directly use the PopperUtils object exported by popper-utils.js because we may deprecate Popper.Utils in the future major versions of Popper.js.

We haven't followed semver in this case because Popper.Utils weren't so much used and we support a drop-in replacement that makes it super easy to upgrade.

Along with this change, we reduced the size of the bundle a bit more cleaning some code and we refactored our build process to make it easier to maintain and run.

We also released Tooltip.js v1.1.0 to address the breaking change mentioned previously.

floating-ui - v1.6.0

Published by FezVrasta over 7 years ago

This release adds a way to provide an object instead of a reference DOM node. More info at #193

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.