Change Log
@ant-design/react-native
strictly follows Semantic Versioning 2.0.0.
Release Schedule
Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
Monthly release: minor version at the end of every month for new features.
Major version release is not included in this schedule for breadking change and new features.
5.3.1
2024-11-20
Carousel
feat: add
lazy
&renderLazyPlaceholder
propfix: react-native@0.75+ avoid height collapse #1372
Provider
fix:
onHaptics
not works bug
fix:
lodash.mergewith
dependencie #1397
5.3.0
2024-11-14
🌟 Typescript: export all component props types. (To support for nativewind)
Toast:
feat: add
useToast
hook method #1388
Modal
feat: add
useModal
hook method #1383feat: add
modalType
prop (Sync to Picker)
Carousel
feat: add
onScrollAnimationEnd
prop
Slider
feat: add
disabledStep
、onSlidingStart
、onSlidingComplete
、tapToSeek
prop
🔥 Upgrade react-native@0.75+
fix: Switch
style
props works #1389fix: Pagination Remove
flex: 1
to avoid height collapse
other fix
5.2.3
2024-09-09
🔥 Carousel
fix: Carousel autoplay and manual conflict. #1259
fix: Button
children
supportstring[]
type. ~commit
5.2.2
2024-08-12
🔥 NoticeBar
🆕
direction
prop add'up'
&'down'
direction.🆕 add
ref
actions, export<Marquee/>
component.fix: forwardRef warning on InnerNoticeBar component. #1364
Picker
feat: Picker styles add
itemActiveStyle
List
fix: ListItem children as
string[]
~commit
Form
fix: Form
labelStyle
works. #1371
5.2.1
2024-08-02
🔥 New Components
🔥 Toast
🆕 Add
icon
prop to support custom icons🆕 Add
position
prop for vertical display position #1353
🔥 List
💄 Refactor internal DOM structure, cancel the
{flex:1}
layout ofextra
, and change it to{maxWith: "70%"}
.🛠 Simplified styles to better support and serve as the main component of Dark Mode.
Provider
🆕 Add
onHaptics
for vibration feedback🛠 Simplified
theme
, complete Dark Mode. ~doc
NoticeBar
🆕 Complete
marqueeProps
prop, design reference https://github.com/justin-chu/react-fast-marquee
Slider
💄 Refactor style, changed to brand color(
#108ee9
).🆕 Add new features such as
range
step
ticks
.🆕 Add dependence
react-native-reanimated
.🗑 Remove dependence
@react-native-community/slider
.
Stepper
💄 Refactor style, base on InputStyle.
🆕 Add
stringMode
, set value as string to support high precision decimals.
SwipeAction
🆕 Add
closeOnTouchOutside
prop, base onuseClickAway
hook implementation. #1345🆕 Complete more properties base on
react-native-gesture-handler/Swipeable
.
🗑 Deprecate SegmentedControl component.
🗑 Remove dependence
@react-native-community/segmented-control
.
5.1.1
2024-03-15
PickerView & DatePickerView & Carousel
fix: remove import
react-native-gesture-handler/ScrollView
Let the user decide whether to use by
_ScrollViewComponent
prop
5.1.0
2024-02-20
Refactor Picker & PickerView
Refactor DatePicker & DatePickerView
💄 Style 和 Base Props extends by Picker & PickerView
🆕 Support (
precision
filter
) new props⚡️ Deprecated (
mode
)prop; date format by Day.js
❗️Delete ImagePicker and remove dependence
@react-native-camera-roll/camera-roll
Switch
fix:
checked
prop support controlled mode #1325feat:
onChange
prop when the Promise is returned, the loading status will be displayed automatically
5.0.5
2023-11-08
fix: Picker support
numberOfLines
property #1311fix: NativePicker.android.js support numberOfLines ~commit
fix: Tabs
swipeable
work #1305feat: gird replace Flex with View wrapper ~commit
5.0.4
2023-02-20
fix: children as react element in
@type/react@18
(last) ~commitfix: resolve peer dependency tree #1284
5.0.3
2022-12-13
fix: consistent
react-native-gesture-handler/Swipeable@2.8.0
#1271 @XionGuo37fix: update deps
@react-native-community/cameraroll
to@react-native-camera-roll/camera-roll
@aoarashi1988
5.0.2
2022-10-13
fix: type error on React 18 #1257 @lhr000lhr
fix:
EventEmitter.removeListener
warning #1200
5.0.1
2022-08-11
fix: Tabs
onChange
no-call #1241fix: add libraries required for version 5.0.0 #1228
fix: Typescript error in react18 #1242
fix: webpack config #1243
fix
ButtonWave
on android causeCheckbox
can't be clicked #1238 @zs7779
5.0.0
2022-03-08
🔥
Expo
andreact-native-web
support #1220Checkbox & Radio
Refactor Switch
🆕 Switch add (
loading
checkedChildren
unCheckedChildren
) new props🆕 Switch support (
trackColor
thumbColor
thumbTintColor
) native props #507🆕 Switch support
styles
prop to custom style
Toast
🆕
content
's type supportReact.ReactNode
@iShawnWang🐞 Fix the
onClose
callback not called when removeAll @erichua23
Carousel
🔥 Refactor Carousel with remove dependence
react-native-pager-view
@1uokun💄 Carousel extends by
ScrollView {pagingEnabled}
to support web
🔥 Refactor Tabs with remove dependence
react-native-pager-view
and extends byCarousel
💄 ActionSheet create
index.native.tsx
to differentiateweb
andnative
Platform #1219🐞 Fix Flex support
flex
value 0 inFlex.Item
@laoxubuer
4.2.0
2021-06-16
react-native-gesture-handler
now is a peerDependencies.Refactor(eslint): now using eslint directly
Upgrade rn-kitchen-sink to the latest version
Refactor(swipe-action): using react-native-gesture-handler close #931
Refactor(drawer): using react-native-gesture-handler/DrawerLayout close #1164
Fixes: action-sheet for Android respects theme (#1176) by https://github.com/KusStar
Refactor(jest): tests by https://github.com/1uokun
4.0.0
2020-06-14
Refactor Toast, now supports configuration pull/911 By @helsonxiao
Added
es_ES
locale pull/916Update
TypeScript
definitionsAdded
pt_BR
locale pull/802Fixes
UNSAFE_
warning commitReplace
React-Native
components with@react-native-community/*
pull/828 (Breaking changes. Needs linking or auto linking)refactor
Carousel
pull/841Upgrade
react-native
to0.62.0
bug
fixes
3.3.0
2020-03-08
Update
Icons
to2.0.0
3.2.2
2019-12-31
Modal.alert
Modal.prompt
Modal.operation
now returns akey
that can be manually closed viaPortal.remove(key)
.
3.2.0
2019-09-29
3.1.15
2019-08-27
3.1.14
2019-08-21
3.1.12
2019-08-02
datepicker
Add adefaultDate
property #593
3.1.7
2019-04-30
Fixes
checkbox
read color from theme #416
3.1.5
2019-03-20
3.1.4
2019-03-15
Fixed
tabs
swipeable does not work under Android #380Add Wrap style for
HeaderContent
andHeaderExtra
of thecard
component for easy customization #395 By christtrc
3.1.3
2019-02-19
Fixes
babel-runtime/helpers/extends
not found after usingbabel-plugin-import
#346Fixes
drawer
component ofios
. When returning, there will be a short stay on the page #344
3.1.1
2019-01-30
Happy Chinese New Year
popover
adds theplacement
property to support configuration of different positions'top | right | bottom | left | auto'
#308
3.1.0
2019-01-27
Refactor
popover
#298Removed the (
overlayStyle
contextStyle
name
openMenu / closeMenu / toggleMenu
style
) property. The refactored version supports multiple Popovers.Please see the popover example for how to use it.
Fix
input-item
style should not be applied to outer container #279
3.0.6
2019-01-15
Fixes
image-picker
groupTypes
is not supported on Android #264Fixes
tab-bar
does not update component after tab has changed #201
3.0.5
2019-01-03
Modify
search-bar
icon size #250Fixes
input-item
has new line after blur underios
#249Fixes
input-item
clear icon is not displayed correctly underandroid
#248
3.0.4
2018-12-28
Modify
SegmentedControl
default color to theme color #211Allow overriding
Tabs
tabBarUnderlineStyle
Improve
SwipeAction
TypeScript type definition #230Improve the
Grid
document and modify theonClick
property toonPress
#234Fixed
Modal
circular reference warning #242
3.0.0
2018-12-15
Breaking Changes for more informations please checkout #119
We get a new package name
@ant-design/react-native
from afc163. Thanks..Remove the native suffix
More friendly theme support
Improve TypeScript type definitions
Bug fixes
We can preview our Components online using codesandbox and react-native-web
Refactor Icon Component and use ant-design-icons instead
Toast
has removed methodhide
Change
Grid
propertyonClick
toonPress
Upgrade from 2.x to 3.0.0 please checkout upgrade notes
2.3.0
2018-10-20
Input
addeditable
support. (#78)Fix
Button
component'sactiveStyle
does not work. (#105)Modal
add locale support. (#115)Spanish. (#75)
TypeScript type definition improvements. (#83)
2.2.1
2018-07-17
2.2.0
2018-06-15
split the antd-mobile react native code to
antd-mobile-rn
package.Feature: Make
Tag
support long press. (#20)
2.1.11
2018-05-31