Skip to content

Releases: ant-design/ant-design-mobile-rn

5.3.1

20 Nov 03:51
0b7f697
Compare
Choose a tag to compare

2024-11-20

  • Carousel
    • feat: add lazy & renderLazyPlaceholder prop
    • fix: react-native@0.75+ avoid height collapse #1372
  • Provider
    • fix: onHaptics not works bug
  • fix: lodash.mergewith dependencie #1397

5.3.0

14 Nov 07:02
962895a
Compare
Choose a tag to compare

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 #1383
    • feat: add modalType prop (Sync to Picker)
  • Carousel
    • feat: add onScrollAnimationEnd prop
  • Slider
    • feat: add disabledSteponSlidingStartonSlidingCompletetapToSeek prop
  • 🔥 Upgrade react-native@0.75+
    • fix: [Switch] style props works #1389
    • fix: [Pagination] Remove flex: 1 to avoid height collapse
  • other fix
    • fix: [Form] fix Require cycle
    • fix: [Tooltip] safe floatingStyles
    • fix: [Picker] defaultValue prop works #1311
    • fix: [Radio] defaultChecked prop works #1380

5.2.3

09 Sep 12:07
Compare
Choose a tag to compare

2024-09-09

  • 🔥 Carousel
    • fix: Carousel自动切换和手动切换冲突。#1259
  • fix: Button children 支持 string[] 类型。~commit

  • 🔥 Carousel
    • fix: Carousel autoplay and manual conflict. #1259
  • fix: Button children support string[] type. ~commit

5.2.2

12 Aug 15:20
Compare
Choose a tag to compare

2024-08-12

  • 🔥 NoticeBar
    • 🆕 direction 属性新增'up''down'两个方向。
    • 🆕 支持ref操作,支持<Marquee/>组件直接导出。
    • fix: forwardRef warning on InnerNoticeBar component. #1364
  • Picker
    • feat: styles 添加 itemActiveStyle 傀儡样式名。
  • List
    • fix: ListItem children 作为 string[] 类型。 ~commit
  • Form
    • fix: Form labelStyle works. #1371

  • 🔥 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

02 Aug 13:44
Compare
Choose a tag to compare

2024-08-02

  • 🔥 New Components
    • 🔥 Form component. #1345
    • 🔥 Input component, used to replace InputItem & TextareaItem component. #1345
    • 🔥 Collapse component, used to replace Accordion component.~commit
    • 🔥 Tooltip component, used to replace Popover component, base on @floating-ui/react-native. #1356
  • 🔥 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 of extra, and change it to {maxWith: "70%"}. ~commit
    • 🛠 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
  • 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 on useClickAway hook implementation. #1345
    • 🆕 Complete more properties base on react-native-gesture-handler/Swipeable.
  • 🗑 Deprecate SegmentedControl component.
    • 🗑 Remove dependence @react-native-community/segmented-control.

  • 🔥 新增组件
    • 🔥 Form 高性能表单控件。 #1345
    • 🔥 Input 文本输入组件,用于替换 InputItem & TextareaItem 组件,也更好支持Form#1345
    • 🔥 Collapse 折叠面板组件,用于替换 Accordion 组件。~commit
    • 🔥 Tooltip 气泡组件, 用于替换 Popover 组件。基于@floating-ui/react-native依赖实现。 #1356
  • 🔥 List
    • 💄 重构内部DOM结构,取消extra{flex:1}布局,改为{maxWith: "70%"}cc84d4f
    • 🛠 优化styles,更好支持并作为暗黑模式的主要组件。
  • 🔥 Toast
    • 🆕 新增 icon 属性,支持自定义图标。
    • 🆕 新增 position 属性,控制垂直方向显示位置。 #1353
  • Provider
    • 🆕 新增 onHaptics 属性,用于执行震动反馈事件,需自行选择引入触觉引擎。
    • 🛠 精简 theme主题变量,现支持暗黑模式~doc
  • NoticeBar
  • Slider
    • 💄 重构样式,改为品牌色(#108ee9)。
    • 🆕 添加新功能,例如rangestepticks
    • 🆕 新增 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 依赖。

5.1.1

15 Mar 10:25
Compare
Choose a tag to compare

2024-03-15

  • fix: java.lang.Boolean cannot be cast to java.lang.Double Bug
  • PickerView & DatePickerView & Carousel
    • fix: remove import react-native-gesture-handler/ScrollView
    • Let the user decide whether to use by _ScrollViewComponent prop

5.1.0

23 Feb 11:36
Compare
Choose a tag to compare

2024-02-23

  • Refactor Picker & PickerView
    • 🔥 Remove dependence @react-native-picker/picker
    • 💄 Refactor extends by ScrollView {snapToInterval} to support web
    • 🆕 Refactor itemStyle prop, make styles more flexible #1311 #1316
    • 🆕 Picker support (visible) new prop
  • Refactor DatePicker & DatePickerView
    • 💄 StyleBase 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 #1325
    • feat: onChange prop when the Promise is returned, the loading status will be displayed automatically
  • Provider localization
    • locale prop supports now: 中文 English Русский Español Português - BR Sverige Persian 한국

  • 重构 Picker & PickerView
    • 🔥 重构开发并移除 @react-native-picker/picker 依赖
    • 💄 基于 ScrollView {snapToInterval} 开发并支持web
    • 🆕 重构 itemStyle 样式,显示更灵活 #1311 #1316
    • 🆕 Picker 新增 (visible) 属性支持
  • 重构 DatePicker & DatePickerView
    • 💄 样式基础属性 继承 Picker & PickerView
    • 🆕 新增 (precision filter ) 属性支持
    • ⚡️ 废弃(mode)属性;时间格式引用Day.js
  • ❗️删除 ImagePicker 并移除 @react-native-camera-roll/camera-roll 依赖
  • Switch
    • fix: checked属性支持全受控模式 #1325
    • feat: onChange属性当返回 Promise 时,会自动显示加载状态
  • Provider国际化
    • locale属性现支持: 中文 English Русский Español Português - BR Sverige Persian 한국

5.0.4

20 Feb 06:29
6eaca61
Compare
Choose a tag to compare

2023-02-20

  • fix: children as react element in @type/react@18(last) ~commit
  • fix: resolve peer dependency tree #1284

5.0.3

20 Feb 06:29
Compare
Choose a tag to compare

2022-12-13

  • fix: consistent react-native-gesture-handler/Swipeable@2.8.0 #1271 @XionGuo37
  • fix: update deps @react-native-community/cameraroll to @react-native-camera-roll/camera-roll @aoarashi1988

5.0.2

14 Oct 08:47
Compare
Choose a tag to compare

2022-10-13

  • fix: EventEmitter.removeListener warning #1200
  • fix: TextInput can't write 中文 in Modal #1230
  • fix: type error on React 18 #1257 @lhr000lhr
  • feat: children as react element in Button #1260 @lucas-it