Skip to content

5.0.0

Compare
Choose a tag to compare
@1uokun 1uokun released this 28 Mar 10:30
· 213 commits to master since this release

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