Ant Design Mobile Rn Versions Save

Ant Design for React Native

5.1.1

1 month ago

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

1 month ago

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

1 year ago

2023-02-20

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

5.0.3

1 year ago

2022-12-13

5.0.2

1 year ago

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

5.0.1

1 year ago

2022-08-11

  • fix: Tabs onChange no-call #1241
  • fix: add libraries required for version 5.0.0 #1228
  • fix: Typescript error in react18 #1242
  • fix: webpack config #1243
  • fix ButtonWave on android cause Checkbox can't be clicked #1238 @zs7779

5.0.0

2 years ago

2022-03-28

  • 🔥 Expo and react-native-web support #1220
  • Checkbox & Radio
    • 💄 Refactor Checkbox Use pure style replace to Icon button ~commit
    • ⚡️ Broken styles change ~commit
    • 💄 Radio Refactor extends by Checkbox
    • 🆕 Radio add Radio.Group component
  • 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 support React.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 by Carousel
  • 💄 ActionSheet create index.native.tsx to differentiate web and native Platform #1219
  • 🐞 Fix Flex support flex value 0 in Flex.Item @laoxubuer

  • 🔥 全面支持 Exporeact-native-web #1220
  • 重构 Checkbox & Radio
    • 💄 重构Checkbox 使用纯样式代码替换Icon按钮 ~commit
    • ⚡️ 缺点是破坏性的styles属性改变 ~commit
    • 💄 重构Radio 基于 Checkbox 开发
    • 🆕 Radio 新增 Radio.Group 组件
  • 重构 Switch
    • 🆕 Switch新增 (loading checkedChildren unCheckedChildren) 属性支持
    • 🆕 Switch新增 (trackColor thumbColor thumbTintColor) 原生属性支持 #507
    • 🆕 Switch 新增 styles 属性已自定义样式
  • Toast
    • 🆕 Toast content 属性类型新增 React.ReactNode @iShawnWang
    • 🐞 修复 Toast.removeAll 调用后无法回调 onClose bug @erichua23
  • Carousel
    • 🔥 重构Carousel,移除 react-native-pager-view 依赖 @1uokun
    • 💄 Carousel基于 ScrollView {pagingEnabled} 开发以支持web
  • 🔥 重构Tabs,移除 react-native-pager-view 依赖,基于Carousel开发
  • 💄 ActionSheet 创建index.native.tsx文件以此区分 web 端和 native#1219
  • 🐞 修复 Flex Flex.Item 组件 flex 属性不能为 0 bug @laoxubuer

4.2.0

2 years ago

2021-06-16

  • react-native-gesture-handler now is a peerDependencies must be installed.
  • 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.1.0

3 years ago

Change peer deps

  • @react-native-community/viewpager to react-native-pager-view
  • @react-native-community/picker to @react-native-picker/picker

You need installing these packages manually.

4.0.0

3 years ago

4.0.0

2020-06-14

Please checkout readme for upgrade to 4.0.0 https://github.com/ant-design/ant-design-mobile-rn/blob/master/README.md#installing-peer-dependencies-400

  • Refactor Toast, now supports configuration pull/911 By @helsonxiao
  • Addedes_ES locale pull/916
  • Update TypeScript definitions
  • Added pt_BR locale pull/802
  • Fixes UNSAFE_ warning commit
  • Replace React-Native components with @react-native-community/* pull/828Breaking changes. Needs linking or auto linking)
  • refactor Carousel pull/841 Needs set a width and height to Carousel
  • Upgrade react-native to 0.62.0
  • bug fixes

  • Toast 重构,现在支持配置 pull/911 感谢 @helsonxiao
  • 添加es_ES 本地化支持 pull/916
  • 添加pt_BR 本地化支持 pull/802
  • 修复UNSAFE_ 警告 commit
  • 使用@react-native-community/*替换React-Native 内置组件 pull/828不兼容改动,需要 linking 或者 auto linking)
  • 重构Carousel pull/841 Carousel 需要设置宽高
  • 更新react-native0.62.0
  • 完善TypeScript 类型定义
  • 其他bug修复