Skip to content

Releases: marcocesarato/react-native-input-spinner

Release 1.4.8

31 Jan 22:49
Compare
Choose a tag to compare
  • Fix outline styles fatal error

Release 1.4.7

31 Jan 10:27
Compare
Choose a tag to compare
  • Fix issues with repetitive updates of prop value

Release 1.4.6

31 Jan 10:25
Compare
Choose a tag to compare
  • Fix issue with outlines on web
  • Fix add initialValue on typing #25

Release 1.4.5

16 Jan 14:50
Compare
Choose a tag to compare
  • Add acceleration to onLongPress events
  • Fix some bugs with placeholder #20

Props

Property Description Type Default
emptied Set if input can be empty Boolean false

BREAKING CHANGES

  • Change prop name from onLongPressDelay to accelerationDelay
  • Change prop name from onLongPressSpeed to speed

New Release 1.4.2

15 Jan 23:03
Compare
Choose a tag to compare
  • Add Typescript definitions #22
  • Add on long press event that continually increase/decrease value holding the right or the left button #21
  • Add props for manage on long press event
  • Fix some issues and improve UX of spinner #20
  • Add a little delay (default 750ms) when typing before trigger the onChange event

Props

Property Description Type Default
onLongPressDelay Delay time before start the on long event and increase or decrease and continually Number 750
onLongPressSpeed Speed of increase or decrease and continually Number 7
typingTime Time before debounce and trigger onChange event Number 750

Release 1.3.7

07 Jan 19:48
Compare
Choose a tag to compare
  • Fix web view width #19
  • On events onChange, onIncrease and onDecrease now return callback can be async

Release 1.3.6

22 Dec 17:46
Compare
Choose a tag to compare
  • Now is possibile cancel the onChange event returning false on onChange/onIncrease/onDecrease and can is possibile change the changed number returning a desired number.

Release 1.3.2

27 Nov 08:25
Compare
Choose a tag to compare

Props

Property Description Type Default
inputProps Customized TextInput Component props Object null
leftButtonProps Customized left button (Touchable Component) props Object null
placeholder The string that will be rendered when text input value is equal to zero String null
placeholderTextColor The text color of the placeholder string. String null
rightButtonProps Customized right button (Touchable Component) props Object null

Merged #17

Release 1.3.1

19 Oct 14:42
Compare
Choose a tag to compare
  • Fixed some issues with min and max ranges

Release 1.3.0

16 Oct 07:48
Compare
Choose a tag to compare
  • Fixed issues with intialValue #14
  • Auto adjust limit of input/initial value (max, min)
  • Nullable limits (max, min and default still 0)

BREAKING CHANGE:
Default max value is now unrestricted (previously limited to 999)