github ant-design/ant-design-mobile 2.2.0

latest releases: v5.37.1, v5.37.0, v5.36.1...
6 years ago

2018-06-15

Note: According to the previous 2.1.x final version plan, we have separated the react native components into a separate ant-design-mobile-rn repo, and the antd-mobile-rn npm package has been released. If you use the react native components, modify your package.json file like so:

  ...
  "dependencies": {
-   "antd-mobile": "^2.1.11",
+   "antd-mobile-rn": "^2.2.0",
    "react": "16.3.1",
    ...
  },
  ...

Then reinstall node_modules.

  • Feature

    • 🌟 add prerenderingSiblingsNumber prop for TabBar (#2607)
    • 🌟 add ssr support (#2605)
  • Bug Fix

    • 🐞 Fix Popover ts type (#2571)
  • Enhancement

    • 📝 Update Stepper API doc (#2573)
    • Improve test

注意:根据之前的 2.1.x 最后版本计划,我们已经分离 react native 组件代码到单独的 ant-design-mobile-rn 仓库,并且已经发布了 antd-mobile-rn 包。如果使用 react native 组件,请这样修改 package.json 文件:

  ...
  "dependencies": {
-   "antd-mobile": "^2.1.11",
+   "antd-mobile-rn": "^2.2.0",
    "react": "16.3.1",
    ...
  },
  ...

然后,重装 node_modules 即可。

  • Feature

    • 🌟 新增 prerenderingSiblingsNumber 属性给 TabBar (#2607)
    • 🌟 完善 ssr 支持 (#2605)
  • Bug Fix

    • 🐞 修复 Popover ts 类型错误 (#2571)
  • Enhancement

    • 📝 更新 Stepper API 文档 (#2573)
    • 增强测试

Don't miss a new ant-design-mobile release

NewReleases is sending notifications on new releases.