Css Box Model Versions Save

Get accurate and well named css box model information about an Element 📦

v1.2.1

4 years ago

Adding missing LICENSE file.

This project was always listed as MIT in the package.json, but the LICENSE file was missing. Thanks @mlaponder for creating a PR to add the license #17

v1.2.0

4 years ago

Typescript support

@danieldelcore has added a typescript definition file to this project so you can now enjoy full typescript integration when using css-box-model. Thanks @danieldelcore!

v1.1.3

4 years ago

v1.1.2

5 years ago
  • more forgiving calculations when an element has display:none and when using jsdom (#9)
  • bumping dependencies (#10)
  • bumping flow to 0.98.1 (#10)

v1.1.1

5 years ago
  • Upgrading to flow 0.85
  • Upgrading dev deps
  • Upgrading tiny-invariant

v1.1.0

5 years ago

New features

Exposing internal expand and shrink functions if you want to manually expand or shrink a Spacing

Fixes

Will now correctly handle fractional spacing values. Would previously only consider the integer component #5

Improvements

  • refreshed documentation
  • moved to flow 0.83
  • upgrade to babel 7
  • upgrading all dev deps

v1.0.0

5 years ago
  • Adding new bundle options
  • Moving to flow 0.75