Releases: rnxteam/rnx-ui
Releases · rnxteam/rnx-ui
v0.19.1
0.19.1
Progress
- 💚 Bugfix: fix the bug that it does not work if the prop
duration
is changed.(#21
) -@xiongcaichang
ImgHolder
- 💚 Bugfix: fix the bug that when the prop
source
changes buturi
is still the same, the holder will show and never hide.
Dialog
- 💚 new props
buttonStyle
: style of button - 💚 new props
buttonTouchableStyle
: style of Touchable component
For more information: Changelog · rnxteam/rnx-ui Wiki
v0.19.0
0.19.0
- 💚 new component for displaying progress:
Progress
NumericKeyboard
- 💚 new props
bottomLeftButton
: config the button in bottom-left corner of the keyboard
Dialog
- 💚 Bugfix: fix display bug when there is only one button that is in touching state
NavBar
- 💚 new props
hitSlop
: defines how far a touch event can start away from buttons in left and right
SmsCaptchaInput
- 💚 new props
btnTextNumberOfLines
: used to truncate the button's text with an ellipsis after computing the text layout
TabBar
- 💛 TabBar items will divide space equally and the touchable area will be extended as far as possible. You may need to add
flex: 1
in style of TabBar item components to adapte to this change.
Badge
Now badge will self-adjust to the length of text
, and the maxWidth of badge is the width of children
.
- 💛 remove props
characterWidth
: because of the new self-adjusting strategy - 💚 new props
dot
: whether to use dot - 💚 new props
dotStyle
: the style of dot
For more information: Changelog · rnxteam/rnx-ui Wiki
v0.18.0
0.18.0
- 💚 import
PropTypes
fromprop-types
instead ofreact
For more infomation: Upgrade rnx ui to v0.18.0 · rnxteam/rnx-ui Wiki
ActionSheet
- 💚 new props
overlayAnimationDuration
:duration of Overlay animation - 💚 new props
onShow
:a callback called when ActionSheet has shown - 💚 new props
onHide
:a callback called when ActionSheet has hidden
CardView
- 💚 new props
onPanResponderGrant
:a callback called when the gesture starts - 💚 new props
onPanResponderRelease
:a callback called when the gesture stops
Dialog
- 💚 new props
overlayAnimationDuration
:duration of Overlay animation - 💚 new props
onShow
:a callback called when Dialog has shown - 💚 new props
onHide
:a callback called when Dialog has hidden
onPanResponderGrant
andonPanResponderRelease
can be used to fix the bug that CardView will not work in ScrollView. For more infomation: CardView · rnxteam/rnx-ui Wiki
HeaderedSheet
- 💚 new props
overlayAnimationDuration
:duration of Overlay animation - 💚 new props
onShow
:a callback called when HeaderedSheet has shown - 💛 props
onClose
is renamedonHide
ImgHolder
- 💚 new props
resizeMode
:Determines how to resize the image when the frame doesn't match the raw image dimensions.
For more infomation: Image
Loading
- 💚 new props
overlayAnimationDuration
:duration of Overlay animation - 💚 new props
onShow
:a callback called when Loading has shown - 💚 new props
onHide
:a callback called when Loading has hidden
Overlay
- 💚 new props
onShow
:a callback called when Overlay has shown - 💚 new props
onHide
:a callback called when Overlay has hidden
Sheet
- 💚 new props
overlayAnimationDuration
:duration of Overlay animation - 💚 new props
onShow
:a callback called when Sheet has shown - 💛 props
onClose
is renamedonHide
- 💚 fix the bug that after a Sheet has been shown, when the height of the content changes, the height of the Sheet will not change (
12ee9cc
) -@reoszo
ToolTip
- 💚 new props
overlayAnimationDuration
:duration of Overlay animation - 💚 new props
onShow
:a callback called when ToolTip has shown - 💚 new props
onHide
:a callback called when ToolTip has hidden
For more information: Changelog · rnxteam/rnx-ui Wiki
v0.17.4
Overlay
- 💚 Bugfix: fix props
duration
not work in the hide animation
For more information: Changelog · rnxteam/rnx-ui Wiki
v0.17.3
AddAndSubtract
- 💚 新增属性
adderUnderlayColor
:加法元素触摸时底色 - @dragonwong - 💚 新增属性
subtracterUnderlayColor
:减法元素触摸时底色 - @dragonwong
ActionSheet
- 💚 修复安卓下只显示一行菜单时下边框无圆角的 bug - @dragonwong
For more information: Changelog · rnxteam/rnx-ui Wiki