UNPKG

hrfax-mobile

Version:

基于 React 的移动设计规范实现

976 lines (657 loc) 81.9 kB
--- order: 2 title: Change Log timeline: true toc: false --- `antd-mobile` strictly follows [Semantic Versioning 2.0.0](http://semver.org/). #### Release Schedule - Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix). - Monthly release: minor version at the end of every month for new features. - Major version release is not included in this schedule for breadking change and new features. ### 2.3.4 `2020-09-18` - **Feature** - 📝 `style` Now you can change body background by changing less variable @am-body-background [#3713](https://github.com/ant-design/ant-design-mobile/pull/3713) --- ### 2.3.3 `2020-05-19` - **Bug Fix** - 📝 `InputItem` revert event to click from touchend, which changed by 2.3.2 [#3613](https://github.com/ant-design/ant-design-mobile/pull/3613) ### 2.3.2 `2020-05-13` - **Enhancement** - 📝 `Switch` change style [#3606](https://github.com/ant-design/ant-design-mobile/pull/3606) ### 2.3.0 `2019-08-15` - **Feature** - 🌟 `Toast` add two method `Toast.config` 、`Toast.hide` [#3304](https://github.com/ant-design/ant-design-mobile/pull/3304) - 🌟 `Input-Item` add new `disabledKeys` prop for `type='money'` [#3330](https://github.com/ant-design/ant-design-mobile/pull/3330) - **Enhancement** - 📝 `notice-bar` fix `typescript` error. - **Bug Fix** - 🐞`DatePicker` fix infinite loop when select some date.[#125](https://github.com/react-component/m-picker/pull/125) 、[#191]( https://github.com/react-component/m-date-picker/pull/191) - 🐞`ImagePicker` fix preview picture not show when the url contains space. [#3311](https://github.com/ant-design/ant-design-mobile/pull/3311) - 🐞fix component demo not render in iOS 9. [#3292](https://github.com/ant-design/ant-design-mobile/pull/3292) - 🐞`Modal.prompt` fix prompt can not be focus in Wechat [#3346](https://github.com/ant-design/ant-design-mobile/pull/3346) - `Tabs` support `null` for tabs's children [#3270](https://github.com/ant-design/ant-design-mobile/pull/3270) ### 2.2.14 `2019-06-13` - **Feature** - 🌟 `InputItem` Add `autoAdjustHeight` config [#3246](https://github.com/ant-design/ant-design-mobile/pull/3246) - **Enhancement** - 📝 `Tab` Update `initalPage` to `initialPage` [#3235](https://github.com/ant-design/ant-design-mobile/pull/3235) - 📝 `ListView` Update `dataSource` link [#3253](https://github.com/ant-design/ant-design-mobile/pull/3253) - **Bug Fix** - 🐞 `Calendar` Fixed element with flexbox can't scroll on Chrome [#3152](https://github.com/ant-design/ant-design-mobile/pull/3252) - 🐞 `Picker` Fixed trigger `onPickerChange` problem [#3174](https://github.com/ant-design/ant-design-mobile/issues/3174) - 🐞 `InputItem` add try catch to getSelection [#3237](https://github.com/ant-design/ant-design-mobile/pull/3237) - 🐞 `Modal` Fixed show problem of using svg with Modal on iOS9 [#3229](https://github.com/ant-design/ant-design-mobile/pull/3229) ### 2.2.12 `2019-04-28` - **Feature** - 🌟 `ImagePicker` Add `disableDelete` config [#3185](https://github.com/ant-design/ant-design-mobile/pull/3185) - **Enhancement** - 📝 Update modularized Doc [#3132](https://github.com/ant-design/ant-design-mobile/pull/3132) - 🔧 `deploy` Add CNAME [#3172](https://github.com/ant-design/ant-design-mobile/pull/3172) - 🌟 `InputItem` Optimize cursor position [#3189](https://github.com/ant-design/ant-design-mobile/pull/3189) - 🌟 `@types/react` `@types/react-dom` Update [#3186](https://github.com/ant-design/ant-design-mobile/pull/3186) - 🌟 `React import` Optimize [#3179](https://github.com/ant-design/ant-design-mobile/pull/3179) - 🌟 `TypeScript` Update [#3181](https://github.com/ant-design/ant-design-mobile/pull/3181) - 🌟 Add IPhoneX `safe-area` support [#3180](https://github.com/ant-design/ant-design-mobile/pull/3180) - **Bug Fix** - 🐞 `Typo` Fixed `datePicker` and `site` error [#3152](https://github.com/ant-design/ant-design-mobile/pull/3252) [#3187](https://github.com/ant-design/ant-design-mobile/pull/3187) - 🐞 `Modal` Add `onPresss` parameter declaration [#3136](https://github.com/ant-design/ant-design-mobile/pull/3136) - 🐞 `gitter` Fixed link error in Doc [US](https://github.com/ant-design/ant-design-mobile/commit/b32b3e3ef382d8496e67e1ce1928b22d3b301dfb) [CN](https://github.com/ant-design/ant-design-mobile/commit/6f0a04536e8d028e2111697820e8700142156f40) - 🐞 `Tabs` Fixed `height` style error [#3188](https://github.com/ant-design/ant-design-mobile/pull/3188) - 🐞 `List` Fixed `typescript` declaration error [#3183](https://github.com/ant-design/ant-design-mobile/pull/3183) --- ### 2.2.10 `2019-03-21` - **Feature** - 🌟 `ImagePicker` support multiple images [#3115](https://github.com/ant-design/ant-design-mobile/pull/3115) - 🌟 `ImagePicker` support props.capture for mobile camera [#3114](https://github.com/ant-design/ant-design-mobile/pull/3114) - **Bug Fix** - 🐞 `TabBar` Fixed error caused by empty props.children [#3113](https://github.com/ant-design/ant-design-mobile/pull/3113) - 🐞 `Flex` Fixed wrong classname with css [#3106](https://github.com/ant-design/ant-design-mobile/pull/3106) - 🐞 `InputItem` Fixed display after input blur by click `complete` [#3017](https://github.com/ant-design/ant-design-mobile/pull/3017) - 🐞 `InputItem` Fixed `setSelection` error on some browsers [#3124](https://github.com/ant-design/ant-design-mobile/pull/3124) ### 2.2.9 --- `2019-02-19` - **Bug Fix** - 🐞 `InputItem` Fixed `state.value` is undefined [#3044](https://github.com/ant-design/ant-design-mobile/pull/3044) - 🐞 `InputItem` Fixed controled onChange [#3045](https://github.com/ant-design/ant-design-mobile/pull/3045) - 🐞 `Button` Fixed props.icon typing error [#3051](https://github.com/ant-design/ant-design-mobile/pull/3051) - 🐞 `Drawer` Fixed style z-index error [#3052](https://github.com/ant-design/ant-design-mobile/pull/3052) - 🐞 `Toast` Fixed content typing error [#3067](https://github.com/ant-design/ant-design-mobile/pull/3067) --- ### 2.2.7 `2018-12-28` - **Bug Fix** - 🐞 `InputItem` Fixed an issue where the cursor position moved to the end after the `InputItem` formatted the text [#2854](https://github.com/ant-design/ant-design-mobile/pull/2854) - 🐞 `Grid` Fix activeStyle declaration type error [#2996](https://github.com/ant-design/ant-design-mobile/issues/2996) - **Enhancement** - 📝 Update `Modal`和`InputItem` document [#3023](https://github.com/ant-design/ant-design-mobile/pull/3023) [#3014](https://github.com/ant-design/ant-design-mobile/pull/3014) - 🌟 Dependency update [#3013](https://github.com/ant-design/ant-design-mobile/issues/3013) [#3004](https://github.com/ant-design/ant-design-mobile/issues/3004) ### 2.2.6 `2018-10-25` - **Bug Fix** - `Carousel` add property declaration [#2848](https://github.com/ant-design/ant-design-mobile/pull/2848) - **Enhancement** - 🌟 `Switch` Update Demo [Commit](https://github.com/ant-design/ant-design-mobile/commit/3c8a5e92c43899582c335ddc2d352b1e916ea9e9) - 🌟 Site update [#2894](https://github.com/ant-design/ant-design-mobile/pull/2894) , [#2903](https://github.com/ant-design/ant-design-mobile/pull/2903) ### 2.2.4 `2018-09-06` - **Feature** - 🌟 `InputItem` add `moneyKeyboardHeader` property [#2820](https://github.com/ant-design/ant-design-mobile/pull/2820) - 🌟 `PickerView` accept one-dimensional array as data property [#2815](https://github.com/ant-design/ant-design-mobile/pull/2815) - **Bug Fix** - 🐞 `Popup` Popup should be compatible with bottom safe area [#2810](https://github.com/ant-design/ant-design-mobile/pull/2810) - 🐞 `Button` fix button with icon and inline style [#2822](https://github.com/ant-design/ant-design-mobile/pull/2822) - 🐞 `TextareaItem` fix line break cause by textareaItem word count corrupt for iOS [#2825](https://github.com/ant-design/ant-design-mobile/pull/2825) ### 2.2.3 `2018-08-09` - **Feature** - 🌟 `ImagePicker` support customized length ([#2700](https://github.com/ant-design/ant-design-mobile/pull/2700)) - 🌟 `Picker` support using label prop with ReactNode ([#2720](https://github.com/ant-design/ant-design-mobile/pull/2720)) - **Enhancement** - 📝 `DatePicker` Update Doc ([#2657](https://github.com/ant-design/ant-design-mobile/pull/2657)) ### 2.2.2 `2018-07-12` - **Feature** - 🌟 `Tabs`: support Barrier Free Access [PR](https://github.com/react-component/m-tabs/pull/25) - 🌟 `ImagePicker`: support customized length [#2619](https://github.com/ant-design/ant-design-mobile/issues/2619) [#2668](https://github.com/ant-design/ant-design-mobile/issues/2668) - **Bug Fix** - 🐞 `Picker`: fix get wrong value when `prop.value` has `undefined` [#2695](https://github.com/react-component/m-cascader/pull/18) - 🐞 `Flex`: fix style when `direction=column` [#2683](https://github.com/ant-design/ant-design-mobile/pull/2711) ### 2.2.1 `2018-06-27` - **Feature** - 🌟 `TabBar` add tabBarPosition on TabBar [#2564](https://github.com/ant-design/ant-design-mobile/pull/2564) - 🌟 `Menu` & `PullToRefresh` support locale [#2669](https://github.com/ant-design/ant-design-mobile/pull/2669) - **Bug Fix** - 🐞 `Picker` add translateZ on wrap and mask [#2653](https://github.com/ant-design/ant-design-mobile/pull/2653) - 🐞 `Tabs` fix underline render error on some webview [#2674](https://github.com/ant-design/ant-design-mobile/pull/2674) - 🐞 `PopOver` (iOS) fix event onVisibleChange not trigger when click mask [#2659](https://github.com/ant-design/ant-design-mobile/issues/2659) - 🐞 `Calendar` fix error [#2655](https://github.com/ant-design/ant-design-mobile/issues/2655) - **Enhancement** - 📝 Update Jest [#2657](https://github.com/ant-design/ant-design-mobile/pull/2657) ### 2.2.0 `2018-06-15` Note: According to the previous [2.1.x final version plan](https://github.com/ant-design/ant-design-mobile/issues/2556), we have separated the react native components into a separate [ant-design-mobile-rn](https://github.com/ant-design/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: ```diff ... "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](https://github.com/ant-design/ant-design-mobile/pull/2607)) - 🌟 add ssr support ([#2605](https://github.com/ant-design/ant-design-mobile/issues/2605)) - **Bug Fix** - 🐞 Fix `Popover` ts type ([#2571](https://github.com/ant-design/ant-design-mobile/issues/2571)) - **Enhancement** - 📝 Update `Stepper` API doc ([#2573](https://github.com/ant-design/ant-design-mobile/issues/2573)) - Improve test ### 2.1.11 `2018-05-31` - **Bug Fix** - 🐞 Fix `InputItem`'s unknown-prop warning ([#2565](https://github.com/ant-design/ant-design-mobile/pull/2565) [#2601](https://github.com/ant-design/ant-design-mobile/issues/2601)) - 🐞 Fix `Steps` may have null children ([#2329](https://github.com/ant-design/ant-design-mobile/issues/2329)) - 🐞 RN: fix `Modal` footer button vertical alignment ([#2325](https://github.com/ant-design/ant-design-mobile/pull/2325)) - 🐞 RN: fix `NoticeBar` Animate ([#2267](https://github.com/ant-design/ant-design-mobile/issues/2267)) - 🐞 RN: fix `SearchBar` style ([#2593](https://github.com/ant-design/ant-design-mobile/issues/2593)) - **Enhancement** - 📝 RN: add a hint of `antd-mobile-rn` package ([#2556](https://github.com/ant-design/ant-design-mobile/issues/2556)) - 📝 Workflow: add lock-issue script ([86fb0787e9e13754](https://github.com/ant-design/ant-design-mobile/commit/86fb0787e9e137548ef03517e1ca9fa2e061ceaa)) - 📝 Demo: update `Card` `TextareaItem` `PullToRefresh` `Picker` demo ### 2.1.10 `2018-05-24` - **Feature** - 🌟 RN `InputItem` add custom `focus` prop ([#2408](https://github.com/ant-design/ant-design-mobile/pull/2408)) - 🌟 RN `InputItem` add clear button for android([#2358](https://github.com/ant-design/ant-design-mobile/pull/2358)) * **Bug Fix** - 🐞 Fix `InputItem` error focus in aria mode([#2568](https://github.com/ant-design/ant-design-mobile/pull/2568)) - 🐞 Fix input embeded `Modal` can not focus ([#2177](https://github.com/ant-design/ant-design-mobile/issues/2177)) - 🐞 Fix RN `DatePicker` mode month([#0a701](https://github.com/ant-design/ant-design-mobile/commit/0a701dd205c636804f7e63d7b7d3a2283aad293b)) - 🐞 Fix RN `InputItem` error input content on the type of `phone`([#4ab82](https://github.com/ant-design/ant-design-mobile/commit/4ab82fadc55268cef8558f0423d5ba2f6e4b38d5)) - **Enhancement** - 📝 Update RN `Icon` demo - 📝 Update RN `Picker` docs, add `onVisibleChange` prop - 📝 Update RN `Range` demo - 📝 Update RN `LocaleProvider` demo ### 2.1.9 `2018-05-21` - **Feature** - 🌟 `InputItem` add custom `onVirtualKeyboardConfirm` prop, supporting confirm callback of virtual keyboard([#2551](https://github.com/ant-design/ant-design-mobile/pull/2551)) - 🌟 `InputItem` add custom `moneyKeyboardWrapProps` prop, by which can solve the click penetrate problem ([#2550](https://github.com/ant-design/ant-design-mobile/pull/2550)) - 🌟 [React Native] support focus callback for `InputItem` under React Native ([#2381](https://github.com/ant-design/ant-design-mobile/issues/2381)) - 🌟 support Russian language ([#2400](https://github.com/ant-design/ant-design-mobile/pull/2400)) * **Bug Fix** - 🐞 Fix `TextareaItem`、`InputItem` invalid `clear` prop([#2372](https://github.com/ant-design/ant-design-mobile/issues/2372)) - 🐞 Fix `SearchBar` appear error style when using with `TabBar`([#2447](https://github.com/ant-design/ant-design-mobile/issues/2447)) - 🐞 Fix `InputItem` can not delete the default value when defaultValue or value is number on the type of `money` ([#2493](https://github.com/ant-design/ant-design-mobile/issues/2493)) - 🐞 Fix `Accordion` can not read expand and folding status in Preact under talkback mode in Android ([#2491](https://github.com/ant-design/ant-design-mobile/issues/2491)) - 🐞 Fix `InputItem` misplaced cursor in UC Browser on the type of `bankCard`([#2441](https://github.com/ant-design/ant-design-mobile/issues/2441)) - 🐞 Fix `Modal` can not close ([#2486](https://github.com/ant-design/ant-design-mobile/issues/2486)) - 🐞 Fix `Picker`、`SearchBar` I18n ([#2502](https://github.com/ant-design/ant-design-mobile/issues/2502)) - 🐞 Fix `InputItem` aria support when using virtual keyboard([#2419](https://github.com/ant-design/ant-design-mobile/issues/2419), [#2418](https://github.com/ant-design/ant-design-mobile/issues/2418)) - 🐞 Fix component definition ([5a2d0d](https://github.com/ant-design/ant-design-mobile/commit/5a2d0d57a796ca739cb22306d48377ea5a2c27c3)) - **Enhancement** - 📝 Update `Carousel` demo([#2434](https://github.com/ant-design/ant-design-mobile/issues/2434)) - 📝 Update `Progress` api docs - 📝 Update `LocaleProvider` demo - 📝 Add `tabbar` using with `ListView` demo - 📝 change the dep of `rc-drawer` to `rmc-drawer` ([3fd1a5d](https://github.com/ant-design/ant-design-mobile/commit/3fd1a5d97273d32195da0a863ecc81b32e2b0d07) ### 2.1.8 `2018-03-19` - **Bug Fix** - 🐞 Fix `InputItem[type="money"]` onChange handler arguments change from value to event object. ([#2403](https://github.com/ant-design/ant-design-mobile/pull/2403)) ### 2.1.7 `2018-03-16` - **Bug Fix** - 🐞 Fix `Grid` no border usage. - 🐞 Fix `Modal.prompt` onPress return promise. ([#2243](https://github.com/ant-design/ant-design-mobile/pull/2243)) - 🐞 Fix `ImagePicker` throw Error when readd pic after delete。([#2302](https://github.com/ant-design/ant-design-mobile/pull/2302)) - 🐞 Fix `Carousel` `autoplayInterval` usage. ([#2369](https://github.com/ant-design/ant-design-mobile/issues/2369)) - 🐞 Fix RN `Modal.Alert` content not align center. ([#2347](https://github.com/ant-design/ant-design-mobile/pull/2347)) - **Enhancement** - 📝 Refactor all TypeScript Interface definition. [#2323](https://github.com/ant-design/ant-design-mobile/pull/2323)。 - 📝 Add [Demo](https://github.com/ant-design/ant-design-mobile/commit/e210a6db81af48d2e0aa1881c4a192ca4a10dfb2) about custom `Tabs` page number. ### 2.1.6 `2018-02-05` - **Bug Fix** - 🐞 Fix `Modal.prompt` can not input. ### 2.1.5 `2018-01-29` - **Feature** - 🌟 `ImagePicker` support custom `accept`.([#2269](https://github.com/ant-design/ant-design-mobile/pull/2269)) - **Bug Fix** - 🐞 Fix `InputItem` be cover by keyboard in ios 11. ([#2289](https://github.com/ant-design/ant-design-mobile/pull/2289)) - 🐞 Fix `Menu` be content be coverd by confim button.([#2273](https://github.com/ant-design/ant-design-mobile/issues/2273)) - 🐞 Fix `Progress` tsd。([#2292](https://github.com/ant-design/ant-design-mobile/issues/2292)) - 🐞 [React Native] Fix `TextareaItem` extra margin left.([#2260](https://github.com/ant-design/ant-design-mobile/pull/2260)) * **Enhancement** - 📝 Fix [Picker](https://github.com/ant-design/ant-design-mobile/issues/2291), [DatePicker, Calendar](https://github.com/ant-design/ant-design-mobile/issues/2282) doc. ### 2.1.4 `2018-01-23` - **Bug Fix** - Fix: Modal defaultValue problem. ([#2221](https://github.com/ant-design/ant-design-mobile/pull/2221)) - Fix: Modal click event not correctly. ([#1975](https://github.com/ant-design/ant-design-mobile/pull/1975)) - Fix: TextArea styles. - Fix: DatePicker/Picker value cache problem. - Fix: InputItem error. ([#2220](https://github.com/ant-design/ant-design-mobile/pull/2220)) ### 2.1.3 `2017-12-29` Happy new year 2018 🎉 - **Enhancement** - New website. - Improve InputItem doc. - **Bug Fix** - Fix: Add defaultDate for DatePicker. - Fix: Delete redundant Modal code. ### 2.1.2 `2017-12-15` - **Bug Fix** - Fix `Modal` buttons can't trigger more than once.([#1975](https://github.com/ant-design/ant-design-mobile/issues/1975)) - Fix `Modal` `DatePicker` document issues. - Fix upgradeTip / site style issues. ### 2.1.1 `2017-12-06` - **Bug Fix** - 🐞 Fix `List` padding incrase in rem style page. ([#2145](https://github.com/ant-design/ant-design-mobile/pull/2145)) - 🐞 Fix `body.fontSize` to `@font-sizep-base` 14px。 ([8973a0f](https://github.com/ant-design/ant-design-mobile/commit/8973a0f890e776a47743188b14356bee34b68ad6)) - 🐞 Fix `Button` do not show until scroll in iOS 11. ([6b571bef](https://github.com/ant-design/ant-design-mobile/commit/6b571bef0d714e8fdb7c4434ee1ab280be9952fd)) ### 2.1.0 `2017-12-03` - **Feature** - 🌟 `Steps` [React Native] support `horizontal`. ([#2090](https://github.com/ant-design/ant-design-mobile/pull/2090)) - 🌟 `ImagePicker` support `multiple`. ([#2017](https://github.com/ant-design/ant-design-mobile/issues/2017)) - 🇸🇪 `LocaleProvider` add swedish. ([#2132](https://github.com/ant-design/ant-design-mobile/pull/2132)) - **Bug Fix** - 🐞 Fix `[InputItem type="money"]` cover page content. ([#1893](https://github.com/ant-design/ant-design-mobile/issues/1893)) - 🐞 Fix `[InputItem type="money"]` multi instance at one page. ([#2065](https://github.com/ant-design/ant-design-mobile/issues/2065)) - 🐞 Fix `Menu` props.data null array. ([#2079](https://github.com/ant-design/ant-design-mobile/pull/2079)) - 🐞 Fix `Menu` lost Button style. ([#2097](https://github.com/ant-design/ant-design-mobile/issues/2097)) - 🐞 Fix `InputItem`, `Drawer` tsd. ([#2100](https://github.com/ant-design/ant-design-mobile/issues/2100), [#2138](https://github.com/ant-design/ant-design-mobile/issues/2138)) - 🐞 Fix `Picker` cascader data not accuracy. ([59a66c](https://github.com/ant-design/ant-design-mobile/commit/59a66cfbe0daef8c9f080d0387bc880e54632fe0)) - 🐞 Fix `TabBar` animation. ([#2072](https://github.com/ant-design/ant-design-mobile/issues/2072)) - 🐞 Fix `Textarea` autoHeight not work when init. ([#2118](https://github.com/ant-design/ant-design-mobile/issues/2118)) - 🐞 Fix `Flex` [React Native] no need to add touch feedback when no event handler ([#2095](https://github.com/ant-design/ant-design-mobile/pull/2095)) - 🐞 Fix `Toast` can not hide after click. ([#2103](https://github.com/ant-design/ant-design-mobile/issues/2103)) - 🐞 Fix `Textarea` clear not work in controlled mode. ([#2131](https://github.com/ant-design/ant-design-mobile/issues/2131)) - 🐞 Fix `TabBar` sticky. ([#2136](https://github.com/ant-design/ant-design-mobile/issues/2136)) - **Theme** - 🗑 Delete bulit-in `body` font-size style. ([#2106](https://github.com/ant-design/ant-design-mobile/pull/2106)) - 🆕 `brand-primary-tap` change to `0e80d2`。 ([#2115](https://github.com/ant-design/ant-design-mobile/pull/2115)) ### 2.0.3 `2017-11-11` - **Bug Fix** - Fix: InputItem error with react@16 when unmount;([#2040](https://github.com/ant-design/ant-design-mobile/issues/2040)) - Fix: InputItem onBlur cannot be triggered when unmount; - Fix: ListItem RN content center;([#2052](https://github.com/ant-design/ant-design-mobile/issues/2052)) - Fix: SwipeAction may not work in iOS8; ([#2063](https://github.com/ant-design/ant-design-mobile/issues/2063)) - Fix: Stepper buttons cannot be disable if mininus value is 0;([#2062](https://github.com/ant-design/ant-design-mobile/issues/2062)) - **Feature** - Grid RN add `itemStyle` property to customize item style;([#2046](https://github.com/ant-design/ant-design-mobile/pull/2046)) - TabBar(web) add `noRenderContent` property to support no render content; - **Enhancement** - 1.x doc `open in codepen` is OK now.;([#2032](https://github.com/ant-design/ant-design-mobile/issues/2032)) ### 2.0.2 `2017-11-04` - **Bug Fix** - Fix:`onTouch` event cannot be trigged when components use `List.Item` with rmc-feedback; - Fix: Tabs invalid z-index; ([#2014](https://github.com/ant-design/ant-design-mobile/issues/2014)) - Fix: Picker `onOk` cannot be triggerd correctly; ([#2042](https://github.com/ant-design/ant-design-mobile/issues/2042)) - **Enhancement** - RN stepper numberic keyboard type by default; ### 2.0.1 `2017-10-28` - **Bug Fix** - Fix `Modal` button event is triggered more than once in android. ([#1975](https://github.com/ant-design/ant-design-mobile/issues/1975)). - Fix: `Accordion` crashed under react-native@0.49. ([#1969](https://github.com/ant-design/ant-design-mobile/pull/1969)) - Fix: `Toast` show in componentDidMount and compatibility with react@16. ([#1980](https://github.com/ant-design/ant-design-mobile/issues/1980)) - Fix: `Modal.alert/prompt` buttons cannot close Modal in iOS.([#1976](https://github.com/ant-design/ant-design-mobile/issues/1976)) - Fix: `Modal` RN button promise. - Fix: `Picker/DatePicker`,the `okText/dismissText/extra` cannot be set; ([#1984](https://github.com/ant-design/ant-design-mobile/issues/1984)) - Fix: `Picker` RN i18n;([#2001](https://github.com/ant-design/ant-design-mobile/issues/2001)) - Fix: `SearchBar` input content is covered by clear icon;([#2010](https://github.com/ant-design/ant-design-mobile/issues/2010)) - Fix: `SearchBar` input cannot be focused when clicked clear icon; - Fix: `TextareaItem` autoHeight crashed under RN@49; ([#1970](https://github.com/ant-design/ant-design-mobile/issues/1970)) ### 2.0.0 `2017-10-20` - **Feature** - [Web] `DatePicker` Add `use12Hours`, support 12-hour am/pm format ([#1578](https://github.com/ant-design/ant-design-mobile/issues/1578)) - [Web] `Button` Support `disabled` style for diffrent `type`. - [Web] `Grid` add `square` api, support both square mode and auto height mode. - [Web] `Grid` add `activeClassName`, `activeStyle` api, support custom touch feedback style. - [Web] `Modal.alert / Modal.prompt / Modal.opeartion` add optional `platform` api, support switch between android and ios design. - [Web] `ListView`(beta.3) add pull-up feature. - Add `DatePickerView` ([#1232](https://github.com/ant-design/ant-design-mobile/issues/1232)) - Add `Calendar` ([#1610](https://github.com/ant-design/ant-design-mobile/issues/1610)) - [Web] locale support for `Picker` `SearchBar` - [Web/RN] `NoticeBar` can use `action` prop to customize action text. ([#1959](https://github.com/ant-design/ant-design-mobile/issues/1959)) - **Break Change** - [Web] "Web page HD display" / "SVG Icon" optimization features, Changed from "built-in" to "external". - [Web] remove `across` mode of `Button`. - remove global `user-select: none`。[#1793](https://github.com/ant-design/ant-design-mobile/issues/1793) - [Web/RN] all component's `ref` switch from `string` to `function` ([#1354](https://github.com/ant-design/ant-design-mobile/issues/1354)) - [Web/RN] Rewrite `Tabs`,**Redesigned all api** - [Web/RN] Remove `Popup`,Add `popup` api for `Modal`, Modal `animationType` support web, to custom popup animation style [#1125](https://github.com/ant-design/ant-design-mobile/issues/1125) - [Web/RN] `InputItem` / `TextareaItem` / `SearchBar` - pass `style` to input(web) / TextInput(rn) - remove `focused` / `autoFocus` (use `focus()` instance method) - [Web/RN] `DatePicker` remove moment.js - `value` / `minDate` / `maxDate` / `format` / `onChange` change to pure`Date` Object - [Web/RN] `pagination` api `current` change to start with `1`. - [Web/RN] `Progress` - `wrapStyle` change to `style`, original `style` change to`barStyle` - `unfilled` change to `boolean` type - [Web/RN] remove `List` api `onLongPress` - [Web/RN] `Result` api `buttonClick` renamed to `onButtonClick` - [Web/RN] remove `Table` - [Web] remove `createTooltip`,which can use [react-component/slider/createSliderWithTooltip](https://github.com/react-component/slider/blob/master/src/createSliderWithTooltip.jsx) replace - [Web] `Switch` api `style` change to applied with inner element - [Web] `Slider` remove default margin & padding style - [Web] `Carousel`'s `easing` prop type changed from string to Function - [Web] `Flex` remove redundancy `align` value `top / middle / bottom` - [Web] `ListView`(beta.3) Remove `stickyHeader` prop and [react-sticky](https://github.com/captivationsoftware/react-sticky) dependency, but you can also use react-sticky and `useBodyScroll` in listview by your self. (see demo) > Because this feature is not commonly used and does not contain UI, so it is not suitable for integration. - [Web] `RefreshControl`(beta.3) Change inner dom className - from `${prefixCls}-ptr` to `${prefixCls}-indicator` - from `${prefixCls}-ptr-icon` to `${prefixCls}-indicator-icon-wrapper` - from `${prefixCls}-ptr-loading` to `${prefixCls}-indicator-loading-wrapper` - [Web] `ListView`(beta.6) add `pullToRefresh` prop and remove `useZscroller` `scrollerOptions` `refreshControl` `pullUpEnabled` `pullUpRefreshing` `pullUpOnRefresh` `pullUpDistanceToRefresh` `pullUpRenderer` props. - [Web] `RefreshControl` (beta.6) has been removed, please use the new `PullToRefresh` component instead - [RN] `RefreshControl` (beta.6) has been removed, please use react-native RefreshControl directly - [RN] `ActionSheet.showShareActionSheetWithOptions` rewrite with react native `Share` - [RN] `Button` api `style` attribute `disabledRaw` / `disabledRawText` rename to `defaultDisabledRaw` / `defaultDisabledRawText` - [Web] `NavBar`(rc.1) modify the prop `iconName` to `icon`, you need to use `Icon` component or your custom icon - [Web] `ActionSheet`(rc.1) delete `iconName` prop, use `icon` instead - [RN] `ListView`(rc.3) has been removed, please use react-native ListView directly - [Web/RN] `ImagePicker`(rc.3) add `onFail` prop and remove `Toast.fail` infomation within component - **Theme** - Delete `@fill-overlay-inverse`, `@color-shadow`, `@brand-hot`, `@font-size-display-sm`, `@font-size-display-md`, `@font-size-display-xl`, `@font-size-display-lg`,`@font-family-code`, `@font-family-base`; - `@searchbar-font-size` rename to `@search-bar-font-size`。 - **Enhancement** - no need of `webpack.resolve` - `rmc-picker` upgrade,dom structure simplify ([#1593](https://github.com/ant-design/ant-design-mobile/issues/1593)) - remove global `user-select: none`。[#1793](https://github.com/ant-design/ant-design-mobile/issues/1793) ## 1.7.2 `2017-12-14` - Fix `Picker` do not compatibility with Android 4.4. ([dbe8ce](https://github.com/ant-design/ant-design-mobile/commit/dbe8ce99bf1d18e3e68a0bba4c8d6907cc3c6e0f)) ## 1.7.1 `2017-10-20` - Fix `InputItem`/`TextareaItem` clear button is not displayed. ([#1955](https://github.com/ant-design/ant-design-mobile/issues/1955)) ## 1.7.0 `2017-10-13` - **Feature** - `Menu` add mulit-choose feature. - **Bug Fix** - Fix `Icon` spell error. - Fix `Popover` styles. - Fix `Steps` styles. ## 1.6.10/1.6.11 `2017-09-25` - **Bug Fix** - Fix `InputItem` can't be focused when click clear icon. ## 1.6.9 `2017-09-25` - **Bug Fix** - Fix `Modal.prompt` focus delay. ([#1857](https://github.com/ant-design/ant-design-mobile/issues/1857)) - Fix `TextareaItem` with `autoHeight` and much texts causing page scrolling. ([#1858](https://github.com/ant-design/ant-design-mobile/issues/1858)) - Fix `Popvoer` ts definition. - **Improve && Enhancement** - Add `indicatorStyle` and `itemStyle` for `Picker/PickerView`. ([#1856](https://github.com/ant-design/ant-design-mobile/issues/1856)) ## 1.6.8 `2017-09-18` - **Bug Fix** - Fix `segmented-control` without active style. ([#1832](https://github.com/ant-design/ant-design-mobile/issues/1832)) - Fix `InputItem` `TextareaItem` [onClick tsd](https://github.com/ant-design/ant-design-mobile/commit/5fd21d1539f19fe80fd415716d349d82c1a77408). - Fix `swipe-action` [button height overflow](https://github.com/ant-design/ant-design-mobile/commit/ab2297c64fcde0766b502b96349bc8824cbd8bff). ## 1.6.7 `2017-09-11` - **Bug Fix** - Fix `Carousel` on `swipeSpeed` ts lost. ([#1824](https://github.com/ant-design/ant-design-mobile/issues/1824)) - Fix `TabBar` crash on android when item size is one. ([#1827](https://github.com/ant-design/ant-design-mobile/issues/1827)) - Fix RN `PickerView` vertical layout error ([#1795](https://github.com/ant-design/ant-design-mobile/issues/1795)) ## 1.6.6 `2017-09-09` - **Bug Fix** - Fix `Modal.operation` style of multiple options for android ([#1791](https://github.com/ant-design/ant-design-mobile/issues/1791)) - Fix RN `Accordion` must depend on `Icon` component ([#1784](https://github.com/ant-design/ant-design-mobile/issues/1784)) - Fix `Modal` with `href="#"` cousing react-router to jump to '/' ([#1780](https://github.com/ant-design/ant-design-mobile/issues/1780)) - Fix RN `ActionSheet` with empty `title / message` casusing error ([#1767](https://github.com/ant-design/ant-design-mobile/issues/1767) - Fix RN `Picker、PickerView` vertical layout error ([#1767](https://github.com/ant-design/ant-design-mobile/issues/1767)) ## 1.6.5 `2017-08-29` - **Bug Fix** - Fix `SeachBar` cancel can not blur. ([#1721](https://github.com/ant-design/ant-design-mobile/issues/1721)) - Fix `InputItem` unkown props warning。([#1754](https://github.com/ant-design/ant-design-mobile/issues/1754)) - Fix `InputItem[type='money']` `focused` do not work when init. ([#1758](https://github.com/ant-design/ant-design-mobile/issues/1758)) ## 1.6.4 `2017-08-29` - **Bug Fix** - Fix `SeachBar` in specific Client when `onClear` event was triggered, the `SearchBar` can't be auto focused. ([#1721](https://github.com/ant-design/ant-design-mobile/issues/1721)) - Fix `ListView` `scrollerOptions` undefined. ([#16](https://github.com/react-component/m-list-view/pull/16)) - Fix `SwipeAction` [touchabled feedback conflict with swipe gesture](https://github.com/react-component/swipeout/commit/b9b373bf4d378c5c98730b5ce96953050c29dbe2)。 - Fix `Stepper` icon can not custom icon color。([#1694](https://github.com/ant-design/ant-design-mobile/issues/1694)) - Fix React Native `ImagePicker` throw error in react 16. ([#1707](https://github.com/ant-design/ant-design-mobile/issues/1707)) - Fix `SwipeAction` z-index conflict with `InputItem`. ([#1720](https://github.com/ant-design/ant-design-mobile/issues/1720)) - **Improve && Enhancement** - upgrade `rmc-picker` to v4。([#1593](https://github.com/ant-design/ant-design-mobile/issues/1593)) - `SearchBar` [support MaxLength](https://github.com/ant-design/ant-design-mobile/commit/cb674f77d8e6495a081c06c65b71f23a04c32954)。 - `InputItem[type=money]` refactor to use global standalone instance。([#1724](https://github.com/ant-design/ant-design-mobile/issues/1724)) - `SearchBar` refactor to clear not blur。([#1731](https://github.com/ant-design/ant-design-mobile/pull/1731)) - `Picker` support visiable in controlled mode。([900f691](https://github.com/ant-design/ant-design-mobile/commit/900f6910bdd2b42fa97bac142671bf5089abc0a3)) ## 1.6.3 `2017-08-15` - **Bug Fix** - Fix `TextareaItem` calculate new line charater length。 ([#1265](https://github.com/ant-design/ant-design-mobile/issues/1265)) - **Improve && Enhancement** - `SwipeAction` ignore swipe vertical; ;Remove event binding when disabled; auto adjust swipe button width。 ([#1595](https://github.com/ant-design/ant-design-mobile/issues/1595)) ## 1.6.2 `2017-08-13` - **Improve && Enhancement** - `Tabs` support `data-*` attribute ([#1648](https://github.com/ant-design/ant-design-mobile/issues/1648)) ## 1.6.1 `2017-08-12` - **Bug Fix** - 修复 `TextareaItem` 输入表情符号计数不正确的 bug ([#1670](https://github.com/ant-design/ant-design-mobile/pull/1670)) - 修复 `SwipeAction` 只设置 left 或者 right 时,相反一边还可以滑动的问题;([#1655](https://github.com/ant-design/ant-design-mobile/issues/1655)) - 修复 `RN InputItem` 自定义样式 color 不生效(被强制覆盖)的问题; ([#1471](https://github.com/ant-design/ant-design-mobile/issues/1471)) - 修复 `Toast[mask=false]` 时跟随页面滚动问题;([#1642](https://github.com/ant-design/ant-design-mobile/issues/1642)) - 修复 `ListView` 存在 body 滚动条的时候,无法实现滚动到顶部在下拉刷新; ([#1588](https://github.com/ant-design/ant-design-mobile/issues/1588)) - **Improve && Enhancement** - 网站导航栏高亮 ([#1534](https://github.com/ant-design/ant-design-mobile/issues/1534)) ## 1.6.0 `2017-07-30` - **Feature** - `Tabs` 新增支持`Badge` ([#1604](https://github.com/ant-design/ant-design-mobile/pull/1604)) - `Modal` 支持 placeholder ([#1603](https://github.com/ant-design/ant-design-mobile/pull/1603)) - **Bug Fix** - 修复`SearchBar` `onClear`时存在的样式渲染问题 ([#1621](https://github.com/ant-design/ant-design-mobile/pull/1621)) - 修复`SearchBar` 支持 data-\* 属性. ([bbb358](https://github.com/ant-design/ant-design-mobile/commit/bbb35826872841f50ae31d795f67a97fd3231ca4)) - **Improve && Enhancement** - 网站优化 ([#1622](https://github.com/ant-design/ant-design-mobile/pull/1622)) ## 1.5.0 `2017-07-22` - **Feature** - `ListItem` 支持 `onLongPress`. ([#1533](https://github.com/ant-design/ant-design-mobile/pull/1533)) - **Bug Fix** - 修复 `Tabs` 滑动浮层覆盖 `Popup` 蒙版的问题。([#1512](https://github.com/ant-design/ant-design-mobile/pull/1512)) - 修复 `Switch` 在 android 上 0.5px 导致显示不正常的问题。([86dabf](https://github.com/ant-design/ant-design-mobile/commit/86dabfea9841695fbca5319b422f11a0ddb17184)) - 修复 React Native `Modal.prompt` 键盘遮挡的问题。([#1489](https://github.com/ant-design/ant-design-mobile/issues/1489)) - **Improve && Enhancement** - 增加对 `Icon` svg-sprite-loader 可能未正确配置的检测和 warning。([#1574](https://github.com/ant-design/ant-design-mobile/issues/1574)) ## 1.4.2 `2017-07-12` - **Bug Fix** - 修复 Toast 未以自身中心点纵向居中。 ([#1389](https://github.com/ant-design/ant-design-mobile/issues/1389)) - 修复目前未实现的 NavBar、Menu、Range、Table 引入 react-native 版本组件报错的问题。([#1526](https://github.com/ant-design/ant-design-mobile/issues/1526)) * **Improve && Enhancement** - 升级 Slider 依赖的 rc-slider 版本。 - 部分组件文档国际化完善,增加部分组件测试用例。 ## 1.4.1 `2017-07-01` - **Bug Fix** - 修复 `Grid` 样式问题。([635a9d3](https://github.com/ant-design/ant-design-mobile/commit/635a9d3d4b93e5a7304d5620ad6550827c303b1d) [#1455](https://github.com/ant-design/ant-design-mobile/issues/1455)) - 修复 create-react-app 文档错误。([#1501](https://github.com/ant-design/ant-design-mobile/issues/1501)) - 修复 `Modal` android 平台下样式错误。([#1499](https://github.com/ant-design/ant-design-mobile/issues/1499)) - 修复 `SearchBar` iOS 键盘类型不是搜索问题。 ([#1510](https://github.com/ant-design/ant-design-mobile/issues/1510)) - 暂时回滚 typescript interface 写法,解决 dist 文件错误问题。 ([#1517](https://github.com/ant-design/ant-design-mobile/pull/1517)) - **Improve && Enhancement** - `SegmentedControl` 兼容 preact ([#1374](https://github.com/ant-design/ant-design-mobile/pull/1374)) - `ActionSheet`/`SearchBar`/`ImagePicker`/`Picker` 细节样式优化 - `Modal.prompt` 扩大点击区域 ([#1489](https://github.com/ant-design/ant-design-mobile/issues/1489)) - `InputItem` 的 money 类型添加 demo 演示只能输入自然数([#1493](https://github.com/ant-design/ant-design-mobile/pull/1493)) - 更新主要的介绍文档 ([#1503](https://github.com/ant-design/ant-design-mobile/pull/1503)) - 去除 object-assign 依赖,改为使用 es6 展开操作符 ([67e0ee6](https://github.com/ant-design/ant-design-mobile/commit/67e0ee6a985d1e143f3dbbf63988d01a05d67b59)) - 网站信息结构优化,并增加拷贝代码按钮 ([#1481](https://github.com/ant-design/ant-design-mobile/issues/1481)) ## 1.4.0 `2017-06-24` - **Feature** - `Button` 新增 `activeClassName` 以自定义点击时类名。([3331f00](https://github.com/ant-design/ant-design-mobile/commit/3331f00b1a89d7fb76dcffa554f1cf9b165819d9)) - `Card.Header` 的 thumb 支持 React.Element。([#1484](https://github.com/ant-design/ant-design-mobile/issues/1484)) - `InputItem` 支持通过 locale 来自定义内置文案。([#1475](https://github.com/ant-design/ant-design-mobile/issues/1475)) - **Bug Fix** - 修复 ListView sticky header 被遮挡的问题。([#1456](https://github.com/ant-design/ant-design-mobile/issues/1456)) - `InputItem` 修复当`type=money` 虚拟键盘无法隐藏的问题。([#1468](https://github.com/ant-design/ant-design-mobile/issues/1468)) * **Improve && Enhancement** - `InputItem` 背景图片替换为 svg。([#1470](https://github.com/ant-design/ant-design-mobile/issues/1470)) - `Button` 高度增大为 `94px`。 - `ListItem` 高度减小为 `88px`。 - `Result` 间距,字体,颜色调整。 ## 1.3.1 `2017-06-19` - **Feature** - `PickerView` 支持`indicatorStyle`。([3184179d2](https://github.com/ant-design/ant-design-mobile/commit/3184179d2ba4b5bccde83d8590d3e538fab0ad22)) - **Bug Fix** - `InputItem` 修复当`type=money`时`disabled`和`editable`不生效的问题。([#1437](https://github.com/ant-design/ant-design-mobile/issues/1437)) - `Menu` 修复当数据源二级数据不唯一时导致的问题。([#1427](https://github.com/ant-design/ant-design-mobile/issues/1427)) - `Slider` [#1439](https://github.com/ant-design/ant-design-mobile/pull/1439),更新 TS definition - `ListView` 修复 scrollTo 的问题 ([97ed6795](https://github.com/ant-design/ant-design-mobile/commit/97ed67955243643fcc1de3debd0d507b87d6380b)) - React-Native `Flex` `Flex.Item`支持`children`数组。([#1442](https://github.com/ant-design/ant-design-mobile/pull/1442)) ## 1.3.0 `2017-06-09` - **Feature** - `InputItem` 支持虚拟的金额输入键盘 (`type="money"`)。([#1419](https://github.com/ant-design/ant-design-mobile/pull/1419)) - `Slider` & `Range` 新增 `handleStyle`, `trackStyle`, `railStyle` 以支持自定义样式。([a83d0fe](https://github.com/ant-design/ant-design-mobile/commit/a83d0fefffbdd05ce9f89a78508a544cd95e4fb5)) - React-Native `Progress` 新增 `wrapStyle` 已自定义容器样式。([3ad012a](https://github.com/ant-design/ant-design-mobile/blob/3ad012ae265182cebc677efb309c92238eb8377a/components/progress/index.web.tsx)) - React-Native `Carousel` 新增 `dotStyle`, `dotActiveStyle` 以自定义指示器样式。([#1425](https://github.com/ant-design/ant-design-mobile/pull/1425)) - React-Native `Button` 新增 `delayPressin`, `delayPressout` 以自定义点击延时。([b6ec8e2](https://github.com/ant-design/ant-design-mobile/commit/b6ec8e217bc3ed56702c819885948839c14bf8e3)) - **Bug Fix** - 修复 React-Native `Accordion` 不能设置 style。([#1407](https://github.com/ant-design/ant-design-mobile/issues/1407)) - 修复 `Popup` 自定义蒙层样式的问题。([#1420](https://github.com/ant-design/ant-design-mobile/issues/1420)) - 修复 `Pagination` 自定义翻页文案与图标样式的问题。([#1429](https://github.com/ant-design/ant-design-mobile/issues/1429)) - 修复 `Modal` 在 android 上关闭之前样式变换的问题。([#1433](https://github.com/ant-design/ant-design-mobile/issues/1433)) ## 1.2.0 `2017-06-03` - **Notice** - antd-mobile `Icon` 所依赖的开源 webpack loader `svg-sprite-loader` 最近从 `0.3` 直接升级到了 `2.0`, 其配置方案发生了 break change,但由于此 loader 的版本由用户代码控制,而功能被 antd-mobile 和用户代码所共同依赖, antd-mobile 团队只能选择在 `2.0` 对其进行升级,请各位用户在 `antd-mobile@1.x` 期间暂时不要升级 `svg-sprite-loader`,在项目里仍然使用 `svg-sprite-loader@0.3.x` 即可。[#1283](https://github.com/ant-design/ant-design-mobile/issues/1283) - 新增 warning,提醒用户 antd-mobile `2.0` 将会废弃 `Table`。[e1009015e](https://github.com/ant-design/ant-design-mobile/commit/e1009015e0c0740045995555831d1598a99c629f) - **Feature** - 底层 Touch 事件库更新,所有 `onPress` 和 `onLongPress` 支持 `stopPropagation`。[e7400b699](https://github.com/ant-design/ant-design-mobile/commit/e7400b6994d3a9127bd1bd6fa418996ad8206f96) - 重构 `carousel`, 新增 [swipeSpeed](https://github.com/react-component/nuka-carousel#modify-from-upstream-nuka-carousel204) api 以自定义拖动速度。 - Theme 新增 `@toast-fill` 用于自定义 toast 背景色。[acaeff017171](https://github.com/ant-design/ant-design-mobile/commit/acaeff017171fd06bf8700b849a7fff917c6d260) - 新增与 crate-react-app 和 create-react-native-app 脚手架配合使用的文档。[#1362](https://github.com/ant-design/ant-design-mobile/issues/1362) - **Bug Fix** - 修复 `ListView` 中集成横滑组件, 如 `SwipeAction`, `Carousel`, 与上下滑动冲突的问题。[#1254](https://github.com/ant-design/ant-design-mobile/issues/1254) - 修复 `Popover` 自定义样式的问题。[#1364](https://github.com/ant-design/ant-design-mobile/issues/1364) - 修复 Theme `@radius-circle` 变量不生效 [#1301](https://github.com/ant-design/ant-design-mobile/issues/1301) - 修复 Theme 无法自定义 `SearchBar` placeholder font-size [#1324](https://github.com/ant-design/ant-design-mobile/pull/1324) - 修复 React-Native `picker` 无法自定义字体样式。 [#1323](https://github.com/ant-design/ant-design-mobile/issues/1323) - 修复 SearchBar 在 android 的点击后无法 focus 问题。[#1342](https://github.com/ant-design/ant-design-mobile/issues/1341) - 修复 React-Native `tabs` swipeable 属性无效的问题。[#1346](https://github.com/ant-design/ant-design-mobile/issues/1346) - 修复 `InputItem` 等输入类组件文字被截断的问题。[#1358](https://github.com/ant-design/ant-design-mobile/issues/1358) - 修复 SwipeAction 类名和样式。[e42430f9a68f2](https://github.com/ant-design/ant-design-mobile/commit/e42430f9a68f25a4b22cd2e65c05009fbb678fdd) - 修复错误的 API 文档, `ActivityIndicator` color API 只有 React-Native 组件支持。[#1370](https://github.com/ant-design/ant-design-mobile/issues/1370) - 修复 `Tabs` 当 liner-gradient 不支持时显示不正常的问题。[824da3466](https://github.com/ant-design/ant-design-mobile/commit/824da34667f9e974747d9f344b0bef3dc0bdae36) - 修复 `Grid` 在 isCarousel 模式下不会自动填充空白格子的问题。[#1398](https://github.com/ant-design/ant-design-mobile/pull/1398) - 修复 `Toast` 没有以自身中心点垂直居中的问题。[#1389](https://github.com/ant-design/ant-design-mobile/issues/1389) - **Improve && Enhancement** - `Tabs` 头部滑动性能,体验优化。 - 增大 `SearchBar` 点击区域。[#1344](https://github.com/ant-design/ant-design-mobile/pull/1344) - 重构 `Switch`, `Modal` 以支持服务端渲染 [#1307](https://github.com/ant-design/ant-design-mobile/pull/1307/) - 优化 Flex, Button, List 的 typescript 定义。[#1339](https://github.com/ant-design/ant-design-mobile/issues/1339) - `Button`, `Tag` 由外边框改为内边框,更符合设计规范。[4c8051032](https://github.com/ant-design/ant-design-mobile/commit/4c8051032005fe042df38d4b3bddf5f8405fb8fd) - 新增 `pkg.module`, 指向 ES2015 modules,更好地支持 rollup 和 webpack2。[#12](https://github.com/react-component/react-component.github.io/issues/12) - 重构 React-Native `Toast`, `ActivityIndicator` 样式,更改地支持通过 Theme 自定义。[b7094e2a2dc](https://github.com/ant-design/ant-design-mobile/commit/b7094e2a2dc0aa9433f2f2f7388a3e8313681888) - `Tabs` 新增对 `TabPane.props.key` 的校验,必须存在且唯一。[#1365](https://github.com/ant-design/ant-design-mobile/issues/1365) - 重构并从 React-Native `InputItem` 拆分出 `TextInput`,便于自定义样式。[#1174](https://github.com/ant-design/ant-design-mobile/issues/1174) - 重构 `Grid`, 避免当格子数量变化,在 carousel 和非 carousel 模式切换后高度变化的情况。[63c28b31f](https://github.com/ant-design/ant-design-mobile/commit/63c28b31fba19cb7f68a36a71259a5b57ffe0bc8) - 新增 demo 关于如何扩展 `InputItem` label 为可点击区域。[db8582781](https://github.com/ant-design/ant-design-mobile/commit/db8582781f0aa7663fb02db315de49cf9d00822b) ## 1.1.3 `2017-05-14` - **Bug Fix** - 修复 `ListItem` unknown props warning。([#1278](https://github.com/ant-design/ant-design-mobile/issues/1278)) - 修复 React Native `Pagination` disable 时的 active 样式问题。([1b01652797](https://github.com/ant-design/ant-design-mobile/commit/1b01652797daebd1af0547f19b005199fa6413e5)) - 修复 React Native `List` renderFooter 错误。([#1294](https://github.com/ant-design/ant-design-mobile/pull/1294/files)) - 修复 `tabs` createClass warning - **Improve && Enhancement** - `Switch` 支持 onClick ([#1290](https://github.com/ant-design/ant-design-mobile/issues/1290)) ## 1.1.2 `2017-05-07` - **Bug Fix** - 修复 单独使用 `Stepper` 缺少依赖的 Icon 样式问题。([d86c3dda](https://github.com/ant-design/ant-design-mobile/commit/d86c3dda267864721273f258dad3193c69d8e838) - 修复 `Modal` 关闭按钮显示不齐的问题。([bf64803d](https://github.com/ant-design/ant-design-mobile/commit/bf64803d01082f0dd924c41ca778dfadb177bc92)) - 修复 `Switch` android 样式。([56bf4a93](https://github.com/ant-design/ant-design-mobile/commit/56bf4a93f55f021206aa99551039e68c9518c85c)) - 修复 `Slider` active 样式。([5a012ead](https://github.com/ant-design/ant-design-mobile/commit/5a012ead269e212dda6fb751a29a1e43f28e9848)) - 修复 `Stepper` 选中样式未自动消失的问题。([006a5e2](https://github.com/ant-design/ant-design-mobile/commit/006a5e2184f3402fa9351186d65f8ab24a7c4b23)) - 修复 RN `InputItem` 自定义字体大小。([#1174](https://github.com/ant-design/ant-design-mobile/issues/1174))([@kimjuny](https://github.com/kimjuny)) - 修复 RN `Popup` 自定义蒙版背景样式。([#1234](https://github.com/ant-design/ant-design-mobile/issues/1234)) - 修复 RN `Modal` 点击系统返回无法自动关闭的问题。 ([#1218](https://github.com/ant-design/ant-design-mobile/issues/1218)) - 修复 RN `Modal.prompt`, `InputItem` 样式。([#1199](https://github.com/ant-design/ant-design-mobile/issues/1199)) - 修复 Normalize.css 缺少对 body margin 重置的问题。([#1264](https://github.com/ant-design/ant-design-mobile/issues/1264)) - 修复 RN 所有组件统一接受 `style`, `styles` 参数的问题。([#1262](https://github.com/ant-design/ant-design-mobile/pull/1262)) - **Improve && Enhancement** - 所有组件支持无障碍访问。([#1179](https://github.com/ant-design/ant-design-mobile/pull/1179)) - 增大 `SearchBar` 取消按钮点击区域。([#1250](https://github.com/ant-design/ant-design-mobile/issues/1250)) - 重构 RN `Carousel` 以支持自定义 Pagination。([#1146](https://github.com/ant-design/ant-design-mobile/issues/1146)) - 重构 `ListItem` 以支持服务端渲染。([#1219](https://github.com/ant-design/ant-design-mobile/pull/1219)) ## 1.1.1 `2017-04-28` - **Feature** - `InputItem`添加唤起自定义数字键盘特性(仅支付宝等客户端)。([#1231](https://github.com/ant-design/ant-design-mobile/pull/1231)) - **Bug Fix** - 修复 `Grid`的`renderItem`方法。([链接](https://github.com/ant-design/ant-design-mobile/commit/1316154cce6324c04a2cd7f36c8d229573dcde6b)) - 修复`SearchBar`clear icon 可能不出现的问题。([#1204](https://github.com/ant-design/ant-design-mobile/issues/1204)) - 修复`InputItem`的`placeholder`声明,改为可选。([#1216](https://github.com/ant-design/ant-design-mobile/pull/1216)) - 修复`TabBar`声明文件,`TabBarItemProps`部分的新增`dot`。([#1209](https://github.com/ant-design/ant-design-mobile/pull/1209)) - 修复网站的语言切换逻辑。([链接](https://github.com/ant-design/ant-design-mobile/commit/ec839dc4fdc7bfd54a9bd389cd3699bcbf8ac1ee)) - `RefreshControl`支持 SSR 渲染。([#1201](https://github.com/ant-design/ant-design-mobile/pull/1201)) - **Improve && Enhancement** - 优化`Icon`组件内置的 svg 文件,做最小化处理。([#1220](https://github.com/ant-design/ant-design-mobile/pull/1220)) - 完成`NoticeBar`、`Grid`、`Radio`组件英文文档的翻译工作。([#1230](https://github.com/ant-design/ant-design-mobile/pull/1230))、([#1228](https://github.com/ant-design/ant-design-mobile/pull/1228))、([#1227](https://github.com/ant-design/ant-design-mobile/pull/1227)) - `InputItem`为支付宝小程序拆分出单独的内部组件`Input`。([#1225](https://github.com/ant-design/ant-design-mobile/pull/1225)) - `Card`组件整合声明文件。([#1222](https://github.com/ant-design/ant-design-mobile/pull/1222)) ## 1.1.0 `2017-04-21` - **Bug Fix** - 修复 `Steps` 溢出。([#5623](https://github.com/ant-design/ant-design/issues/5623])) - 搜索框支持在主题变量自定义高度,背景色等。([PR 1113](https://github.com/ant-design/ant-design-mobile/pull/1113))[@yezongyang](https://github.com/yezongyang) - 修复 React-Native `Steps` 不支持自定义 Icon ([#1088](https://github.com/ant-design/ant-design-mobile/issues/1088)) - 修复 `Progress` 不支持自定义 `className`。([PR 1126](https://github.com/ant-design/ant-design-mobile/pull/1126)) - 修复 React-Native `InputItem` 不支持自定义内容。([#1113](https://github.com/ant-design/ant-design-mobile/issues/1133)) - 修复 `InputItem` 数字键盘在 Android 的兼容问题。([1073](https://github.com/ant-design/ant-design-mobile/issues/#1073))。 - 修复 `InputItem` autoFocus 在 safari 无法聚焦的 bug。([PR 1134](https://github.com/ant-design/ant-design-mobile/pull/1134)) - 修复小尺寸 `Button` 的 loading icon 尺寸。([587963](https://github.com/ant-design/ant-design-mobile/commit/587936abc43015ed2fa9be1b3493b3a8c4f98334)) - 修复部分 React15.5 关于 PropType 和 CreateClass 的 warning。([#1118](https://github.com/ant-design/ant-design-mobile/issues/1118)) - 修复部分内置 svg 背景的尺寸。([#1140](https://github.com/ant-design/ant-design-mobile/issues/1140)) - **Improve && Enhancement** - 重构 `Grid`, `ImagePicker`, `Modal` 以支持服务端渲染。 - `Flex`, `FlexItem` 支持传递 `data-` 等任意自定义属性。([#1150](https://github.com/ant-design/ant-design-mobile/issues/1150)) - `Grid` 在 carousel 模式下支持 `Carousel` 的相应 API。([#1164](https://github.com/ant-design/ant-design-mobile/issues/1164)) ## 1.0.8 `2017-04-07` - **Feature** - RN modal 增加 Modal.prompt ([#1089](https://github.com/ant-design/ant-design-mobile/pull/1089)) - **Bug Fix** - 修复 InputItem、T