This repository has been archived by the owner on Feb 12, 2021. It is now read-only.
Releases: klarna/higher-order-components
Releases · klarna/higher-order-components
Separate withFocusProps from withKeyboardFocusProps
Set focus props only when the focus is received through the keyboard
Add onEndAutofill callback to withAutofillProps
v6.1.3 6.1.3
Testing new autofill callback
v6.1.2-rc.2 6.1.2-rc.2
Testing new autofill callback
v6.1.2-rc.1 Add callback for endAnimationName case
Update peer dep requirement for React
v6.1.1 6.1.1
Add onAutofill callback to withAutofillProps
v6.1.0 6.1.0 - Add onAutofill callback to withAutofillProps
Console an explicit error when inject style throws
v6.0.1 6.0.1 console an explicit error when inject style throws
Post compose function styles in withStyleSheetOverride
- 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
v5.0.6 5.0.6 don't explode on style inject in withAutofillProps