Skip to content

5.1.0

Latest
Compare
Choose a tag to compare
@1uokun 1uokun released this 23 Feb 11:36
· 23 commits to master since this release

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 한국