Skip to content

Releases: antonmihaylov/react-with-class

v1.3.2

28 Dec 09:24
Compare
Choose a tag to compare

fixes:

  • fix other props factory typing (again)

v1.3.1

27 Dec 13:24
Compare
Choose a tag to compare

Fixes:

  • Fixed other props factory typing

v1.3.0

27 Dec 13:03
Compare
Choose a tag to compare

Features:

  • Allow not forwarding some props to the element

v1.2.2

27 Dec 08:50
Compare
Choose a tag to compare

Fixes:

  • Fixed a type issue when wrapping a custom component that has a required prop

v1.2.1

25 Dec 10:17
Compare
Choose a tag to compare
  • Exported Compound Variant types

v1.2.0

25 Dec 09:30
Compare
Choose a tag to compare

Features

  • Added compound variants, which allow applying classes only if all the specified variants are set.
    Example: to add text-red-600 when color is danger and isGhost is true:
    compoundVariants: [
       {
          color: 'danger',
         isGhost: true,
         className: 'text-red-600'
       }
     ]
    

v1.1.3

24 Jul 17:17
Compare
Choose a tag to compare

Fix issue with object.assign on class components

v1.1.2

24 Jul 13:21
Compare
Choose a tag to compare

Fix import issue

v1.1.1

24 Jul 13:17
Compare
Choose a tag to compare

Add cjs build

Full Changelog: v1.1.0...v1.1.1

v1.1.0

24 Jul 10:51
Compare
Choose a tag to compare

Allow providing otherProps as a function