Releases: ant-design/ant-design-mobile-rn
Releases · ant-design/ant-design-mobile-rn
5.4.3
5.4.2
2025-05-27
- Button @aroldo-cittati
- Input @lqr131115
5.4.0
2025-04-18
- upgrade: 🚩
react-nativeminimum version increased to0.67.5#1420 @MuNitCat- feat: Modal Android uses
BackHandlerto listen to the back key
- feat: Modal Android uses
- fix: DatePicker
itemHeightstyle offset bug #1413 - fix: Slider
tapToSeekcannot triggeronChangeby click #1417 - fix: Tooltip
stylesarrow setting borderColor not work bug #1419
5.3.2
5.3.1
5.3.0
2024-11-14
- 🌟 Typescript: export all component props types.
(To support for nativewind) - Toast:
- feat: add
useToasthook method #1388
- feat: add
- Modal
- feat: add
useModalhook method #1383 - feat: add
modalTypeprop (Sync to Picker)
- feat: add
- Carousel
- feat: add
onScrollAnimationEndprop
- feat: add
- Slider
- feat: add
disabledStep、onSlidingStart、onSlidingComplete、tapToSeekprop
- feat: add
- 🔥 Upgrade [email protected]+
- fix: [Switch]
styleprops works #1389 - fix: [Pagination] Remove
flex: 1to avoid height collapse
- fix: [Switch]
- other fix
5.2.3
5.2.2
5.2.1
2024-08-02
- 🔥 New Components
- 🔥 Toast
- 🆕 Add
iconprop to support custom icons - 🆕 Add
positionprop for vertical display position #1353
- 🆕 Add
- 🔥 List
- 💄 Refactor internal DOM structure, cancel the
{flex:1}layout ofextra, and change it to{maxWith: "70%"}. ~commit - 🛠 Simplified styles to better support and serve as the main component of Dark Mode.
- 💄 Refactor internal DOM structure, cancel the
- Provider
- 🆕 Add
onHapticsfor vibration feedback - 🛠 Simplified
theme, complete Dark Mode. ~doc
- 🆕 Add
- NoticeBar
- 🆕 Complete
marqueePropsprop, design reference https://github.com/justin-chu/react-fast-marquee
- 🆕 Complete
- Slider
- 💄 Refactor style, changed to brand color(
#108ee9). - 🆕 Add new features such as
rangestepticks. - 🆕 Add dependence
react-native-reanimated. - 🗑 Remove dependence
@react-native-community/slider.
- 💄 Refactor style, changed to brand color(
- Stepper
- 💄 Refactor style, base on InputStyle.
- 🆕 Add
stringMode, set value as string to support high precision decimals.
- SwipeAction
- 🆕 Add
closeOnTouchOutsideprop, base onuseClickAwayhook implementation. #1345 - 🆕 Complete more properties base on
react-native-gesture-handler/Swipeable.
- 🆕 Add
- 🗑 Deprecate SegmentedControl component.
- 🗑 Remove dependence
@react-native-community/segmented-control.
- 🗑 Remove dependence
- 🔥 新增组件
- 🔥 List
- 💄 重构内部DOM结构,取消
extra的{flex:1}布局,改为{maxWith: "70%"}。 cc84d4f - 🛠 优化styles,更好支持并作为暗黑模式的主要组件。
- 💄 重构内部DOM结构,取消
- 🔥 Toast
- 🆕 新增
icon属性,支持自定义图标。 - 🆕 新增
position属性,控制垂直方向显示位置。 #1353
- 🆕 新增
- Provider
- 🆕 新增
onHaptics属性,用于执行震动反馈事件,需自行选择引入触觉引擎。 - 🛠 精简
theme主题变量,现支持暗黑模式。~doc
- 🆕 新增
- NoticeBar
- 🆕 完善
marqueeProps属性,设计参考 https://github.com/justin-chu/react-fast-marquee 。
- 🆕 完善
- Slider
- 💄 重构样式,改为品牌色(
#108ee9)。 - 🆕 添加新功能,例如
range、step、ticks。 - 🆕 新增
react-native-reanimated依赖。 - 🗑 移除
@react-native-community/slider依赖。
- 💄 重构样式,改为品牌色(
- Stepper
- 💄 重构样式,改为基于 InputStyle。
- 🆕 新增
stringMode属性,支持高精度小数,基于@rc-component/mini-decimal依赖实现。
- SwipeAction
- 🆕 新增
closeOnTouchOutside属性,基于useClickAway钩子实现。 #1345 - 🆕 完善并支持
react-native-gesture-handler/Swipeable的所有属性。
- 🆕 新增
- 🗑 废弃 SegmentedControl 组件。
- 🗑 移除
@react-native-community/segmented-control依赖。
- 🗑 移除