Skip to content

Releases: drinking-code/react-round-div

v1.3.3

01 Apr 20:54
20ee40c
Compare
Choose a tag to compare

Improvements:

  • better rendering with correct dimensions and positioning

v1.3.2

21 Mar 14:38
46ce13b
Compare
Choose a tag to compare

Improvements:

  • more transitions work now
  • added support for overflow

Bugfixes:

  • preventing flash of sharp corners before hydrating server-side rendered app
  • fixed a bug where RoundDiv would render before CSS is parsed and thus showing with wrong dimensions
  • fixed a bug where RoundDiv would increase height and/or width when scrolling

v1.3.0

11 Mar 11:16
7811799
Compare
Choose a tag to compare

RoundDiv just got better!

  • added support for almost all border styles properly
  • added support for border-images (gradient look especially nice)
  • shadows are now supported
  • some transitions work better now
  • package got drastically smaller

v1.2.0

18 Dec 01:45
a470ad8
Compare
Choose a tag to compare

New features and changes:

  • react-round-div can now be rendered with ReactDOMServer

v1.1.0

08 Aug 17:07
af7a09c
Compare
Choose a tag to compare

New features and changes:

  • switched to using CSS clip-path instead of recreating the complete div as SVG
    • thus adding full support for gradient backgrounds, background images, etc. (everything a standard div can do)
  • support for differently sized and colored top, left, bottom, and right borders
  • removed clip option (clips now regardless)

Improvements:

  • unnoticeably better round corners formula
  • improved performance: uses less react renders

v1.0.0

27 Apr 09:40
eb35968
Compare
Choose a tag to compare

Initial release