Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Releases: klarna/higher-order-components

Separate withFocusProps from withKeyboardFocusProps

13 Jul 13:12
Compare
Choose a tag to compare

Set focus props only when the focus is received through the keyboard

12 Jul 09:54
Compare
Choose a tag to compare

Add onEndAutofill callback to withAutofillProps

04 Apr 18:28
Compare
Choose a tag to compare

Testing new autofill callback

03 Apr 18:49
Compare
Choose a tag to compare
Pre-release
v6.1.2-rc.2

6.1.2-rc.2

Testing new autofill callback

03 Apr 18:44
9bf1603
Compare
Choose a tag to compare
Pre-release
v6.1.2-rc.1

Add callback for endAnimationName case

Update peer dep requirement for React

02 Mar 08:53
Compare
Choose a tag to compare

Add onAutofill callback to withAutofillProps

23 Jan 16:29
Compare
Choose a tag to compare
v6.1.0

6.1.0 - Add onAutofill callback to withAutofillProps

Console an explicit error when inject style throws

26 Dec 11:25
Compare
Choose a tag to compare
v6.0.1

6.0.1 console an explicit error when inject style throws

Post compose function styles in withStyleSheetOverride

17 Dec 15:22
Compare
Choose a tag to compare
  • Function styles are now supported
  • The props selector function is no longer used
const EnhancedTitle = withStyleSheetOverride(
  ({pressed}) => ({
    title: text => ({
      color: text.length > 30 ? 'red' : 'black'
    }),
    tagline: {
      color: pressed ? 'lightblue' : 'gray'
    }
  })
)(Header)

don't explode on style inject in withAutofillProps

14 Dec 08:03
Compare
Choose a tag to compare
v5.0.6

5.0.6 don't explode on style inject in withAutofillProps