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.16.0

Published by FezVrasta about 5 years ago

  • 🚀 feat: referenceNode support for reference objects (closes #800) (#801) (thanks @Benjamin-Dobell)
  • 🛠 fix: make browser detection more reliable (#768) (thanks @mrzepinski)
  • 🛠 fix: Remove /src from .npmignore (for debugging) (#761) (thanks @justingrant)
  • 🛠 fix: calculation that results in NaN (#790) (thanks @snoozbuster)
  • 🛠 fix: ESM style export of Padding in TS typedefs (#802) (thanks @Benjamin-Dobell)
  • 🛠 fix: .js.flow definitions (#829) (thanks @pascalduez)
  • ⚡️ perf: declared packages side effect free and fixed existing side effects (#830) (thanks @maclockard)
  • 📖 docs: add complete live example
  • 📖 docs: HTTPS codepen link (#795) (thanks @coliff)
  • 📖 docs: fix typo in destroy.js comment (#810) (thanks @XhmikosR)
  • 🏡 chore: upgrade lerna (#803) (thanks @jquense)
floating-ui - v1.15.0

Published by FezVrasta over 5 years ago

  • fix(types): add missing reference and popper class properties (#759)
  • fix: add "unpkg" field to package.json to link to minified version (#758)
  • feat: add 'flipVariationsByContent' option to flip modifier (#754)
floating-ui - v1.14.7

Published by FezVrasta over 5 years ago

  • fix: TS and Flow types for preventOverflow and flip modifiers;
floating-ui - v1.14.6

Published by FezVrasta almost 6 years ago

  • fix: getOuterSizes returning NaN for virtual elements (#711)
  • fix: improve rounding (#715)
  • fix: flow types should live in umd folder (fixes Flow types)
floating-ui - v1.14.5

Published by FezVrasta almost 6 years ago

Popper.js

  • fix: Skip elements that does not have .offsetParent correctly (#659)
  • fix: add missing props of Data to typescript declarations (#655)
  • fix: add support for th elements (#276) (#650)
  • fix: run getComputedStyle in the same context as the target element (#678)

Tooltip.js:

  • feat: options.closeOnClickOutside to close tooltip on click outside (#661)
  • fix: update tooltip typings (#675)
floating-ui - v1.14.4

Published by FezVrasta about 6 years ago

Popper.js

  • docs: fixed some typos and grammar. (#582)
  • test: Fix flaky test on IE (#606)
  • fix: Get elements ownerDocument for correct measurements (#607)
  • feat: Add Flow types to Popper.js (#602)
  • docs: fix typos (#616)
  • fix(computeStyle): correctly calculate bottom when x="top" and right when y="left" (#612)
  • feat: Add specific padding to boundaries (#518) (#615)
  • docs: erroneous docs on placement (#623)
  • docs: improved issue template
  • docs: fix typo on docs ("gzpipped" -> "gzipped") (#631)
  • fix: Unignore flow typings from npm publish (#633)
  • docs: update ad code
  • fix: add missing Data.arrowStyles declarations; (#641)
  • fix: add typecript types to npm build (#593)
  • refactor: tiny redundancy (#657)
  • fix(flow): add event listener methods to Instance (#656)

Tooltip.js

  • feat: set custom selectors for tooltip (#644)
  • feat: use visibility instead of display for tooltip (#647)
  • docs: options.placement only accepts string (#660)
floating-ui - v1.14.3

Published by FezVrasta over 6 years ago

fix: Regression introduced by #596 (#599)

floating-ui - v1.14.2

Published by FezVrasta over 6 years ago

  • perf: Reduce size of isIE helper (#594)
  • fix: offset rounding (#595)
  • fix: Fixed #251 (finally) (#596)
floating-ui - v1.14.1

Published by FezVrasta over 6 years ago

fix: regression in Popper namespace TS typings (#584)

floating-ui - v1.14.0

Published by FezVrasta over 6 years ago

Popper.js

  • fix: Find parents with CSS property overflow: overlay; (#540)
  • feat(popper): add positionFixed option (#487)
  • fix: Add missing cleanup for the Destroy method (#542) (#544)
  • fix: offset parent calculation for hidden elements (#545)
  • fix: Fixed the statement 2 of the loop to run through all autoprefixer (#570)
  • fix: Fixed d.ts to make positionFixed optional
  • fix: Extract Behavior type

Tooltip.js (1.2.0)

  • feat(tooltip): Added function to update the tooltip's content
  • fix: Trigger a popper update when changing tooltip title
floating-ui - v1.12.9

Published by FezVrasta almost 7 years ago

build: Fixed Bower releases

floating-ui - v1.12.8

Published by FezVrasta almost 7 years ago

  • fix(popper): Address for border width during arrow computation (fix #417 )
  • build: Update Rollup and add watch mode
floating-ui - v1.12.7

Published by FezVrasta almost 7 years ago

The size of the final minified bundle has been reduced by ~18%, or ~10% when gzipped.

The brotli minified size instead has reduced by ~6%, making the library go below the 6KB size again after several months! (5.97KB!)

floating-ui - v1.12.6

Published by FezVrasta about 7 years ago

Popper.js v1.12.6:

  • fix: Improve error when invalid element is passed (04337931428351d9346d4a8963e28d7fed3a33b6)
  • fix: #437 by not using the reserved keyword function as property (#445)
  • fix: Rely on ownerDocument references for both poppers and reference elements (#425)
  • fix: Don't rely only on a defined window to determine if we have a DOM (#462)
  • fix: Use Promises to debounce instead of MutationObserver. (#461)

Tooltip.js:

  • Fix bug with dispose(). (42159740c73ecbf4e0aed5b6b81b13f2d6fbf8ad)
  • fix(tooltip): Resolve conflict in tooltip.dispose() (#463)
floating-ui - v1.12.5

Published by FezVrasta about 7 years ago

  • Revert "fix(popper): Fixed regression #401 (#402)"
    This is needed to fix #302 again, but reintroduces #401. A fix for #402 is still under development.
floating-ui - v1.12.4

Published by FezVrasta about 7 years ago

  • fix(popper): Fixed regression #401 (#402)
floating-ui - v1.12.3

Published by FezVrasta about 7 years ago

  • fix(popper): Fixed #302
floating-ui - v1.12.2

Published by FezVrasta about 7 years ago

  • fix(popper): Properly generate NuGet package
floating-ui - v1.12.1

Published by FezVrasta about 7 years ago

  • fix(popper): address variations in inner modifier
  • docs(popper): Warning about flip modifier
floating-ui - v1.12.0

Published by FezVrasta about 7 years ago

  • feat(popper): Add data.arrowStyles property

Starting from this version, you should be able to install Popper.js from Bower with:

bower install popper.js

Note that only popper.js is available through Bower because of the limitations of the system explained in issue https://github.com/FezVrasta/popper.js/issues/390.