1 | ---
|
2 | order: 2
|
3 | title: 更新日志
|
4 | timeline: true
|
5 | toc: false
|
6 | ---
|
7 |
|
8 | `antd-mobile` 严格遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。
|
9 |
|
10 | #### 发布周期
|
11 |
|
12 | - 修订版本号:每周末会进行日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)
|
13 | - 次版本号:每月发布一个带有新特性的向下兼容的版本。
|
14 | - 主版本号:含有破坏性更新和新特性,不在发布周期内。
|
15 |
|
16 | ---
|
17 |
|
18 | ### 2.3.4
|
19 |
|
20 | `2020-09-18`
|
21 |
|
22 | - **Feature**
|
23 | - 📝 `style` 现在可以单独对 body 上的背景做 less (@am-body-background) 替换 [#3713](https://github.com/ant-design/ant-design-mobile/pull/3713)
|
24 |
|
25 | ### 2.3.3
|
26 |
|
27 | `2020-05-19`
|
28 |
|
29 | - **Bug Fix**
|
30 | - 📝 `InputItem` 触发方式回滚到 click,该特性首次在 2.3.2 被引入 [#3613](https://github.com/ant-design/ant-design-mobile/pull/3613)
|
31 |
|
32 | ### 2.3.2
|
33 |
|
34 | `2020-05-13`
|
35 |
|
36 | - **Enhancement**
|
37 | - 📝 `Switch` 调整样式 [#3606](https://github.com/ant-design/ant-design-mobile/pull/3606)
|
38 |
|
39 | ### 2.3.0
|
40 |
|
41 | `2019-08-15`
|
42 |
|
43 | - **Feature**
|
44 | - 🌟 `Toast` 增加全局方法 `Toast.config` 、`Toast.hide` [#3304](https://github.com/ant-design/ant-design-mobile/pull/3304)
|
45 | - 🌟 `Input-Item` 金额键盘 新增 `disabledKeys` 属性 [#3330](https://github.com/ant-design/ant-design-mobile/pull/3330)
|
46 | - **Enhancement**
|
47 | - 📝 `notice-bar` 修复typescript错误
|
48 | - **Bug Fix**
|
49 | - 🐞`DatePicker` 修复 时间日期选择器特殊情况下的死循环问题 [#125](https://github.com/react-component/m-picker/pull/125) 、[#191](
|
50 | https://github.com/react-component/m-date-picker/pull/191)
|
51 | - 🐞`ImagePicker` 修复特殊图片不显示的bug [#3311](https://github.com/ant-design/ant-design-mobile/pull/3311)
|
52 | - 🐞修复部分demo在ios9下的白屏问题 [#3292](https://github.com/ant-design/ant-design-mobile/pull/3292)
|
53 | - 🐞`Modal.prompt` 修复微信中无法聚焦的问题 [#3346](https://github.com/ant-design/ant-design-mobile/pull/3346)
|
54 | - `Tabs` 支持子元素传入 `null` [#3270](https://github.com/ant-design/ant-design-mobile/pull/3270)
|
55 | ### 2.2.14
|
56 |
|
57 | `2019-06-13`
|
58 |
|
59 | - **Feature**
|
60 |
|
61 | - 🌟 `InputItem` 新增 `autoAdjustHeight`属性 [#3246](https://github.com/ant-design/ant-design-mobile/pull/3246)
|
62 |
|
63 | - **Enhancement**
|
64 |
|
65 | - 📝 `Tab` 把`initalPage`更正为`initialPage` [#3235](https://github.com/ant-design/ant-design-mobile/pull/3235)
|
66 | - 📝 `ListView` 更新 `dataSource` 的解释链接 [#3253](https://github.com/ant-design/ant-design-mobile/pull/3253)
|
67 |
|
68 | - **Bug Fix**
|
69 |
|
70 | - 🐞 `Calendar` 修正chrome下,flexbox被子元素撑开无法滚动的问题 [#3252](https://github.com/ant-design/ant-design-mobile/pull/3252)
|
71 | - 🐞 `Picker` 修复在某些场景下无法触发`onPickerChange`的问题 [#3174](https://github.com/ant-design/ant-design-mobile/issues/3174)
|
72 | - 🐞 `InputItem` 增加 getSelection的`try catch` 逻辑 [#3237](https://github.com/ant-design/ant-design-mobile/pull/3237)
|
73 | - 🐞 `Modal` 修复在iOS9上Svg与Modal同时使用的展示问题 [#3229](https://github.com/ant-design/ant-design-mobile/pull/3229)
|
74 |
|
75 | ### 2.2.12
|
76 |
|
77 | `2019-04-28`
|
78 |
|
79 | - **Feature**
|
80 |
|
81 | - 🌟 `ImagePicker` 添加了 `disableDelete` 配置 [#3185](https://github.com/ant-design/ant-design-mobile/pull/3185)
|
82 |
|
83 | - **Enhancement**
|
84 |
|
85 | - 📝 更新按需加载的文档 [#3132](https://github.com/ant-design/ant-design-mobile/pull/3132)
|
86 | - 🔧 `deploy` 添加CNAME [#3172](https://github.com/ant-design/ant-design-mobile/pull/3172)
|
87 | - 🌟 `InputItem` 优化光标定位逻辑 [#3189](https://github.com/ant-design/ant-design-mobile/pull/3189)
|
88 | - 🌟 `@types/react` `@types/react-dom` 依赖升级 [#3186](https://github.com/ant-design/ant-design-mobile/pull/3186)
|
89 | - 🌟 `React import` 优化 [#3179](https://github.com/ant-design/ant-design-mobile/pull/3179)
|
90 | - 🌟 `TypeScript` 依赖升级 [#3181](https://github.com/ant-design/ant-design-mobile/pull/3181)
|
91 | - 🌟 添加了 IPhoneX `safe-area` 的支持 [#3180](https://github.com/ant-design/ant-design-mobile/pull/3180)
|
92 |
|
93 | - **Bug Fix**
|
94 |
|
95 | - 🐞 `Typo` 修复了 `datePicker` 与官网的文本错误 [#3139](https://github.com/ant-design/ant-design-mobile/pull/3139) [#3187](https://github.com/ant-design/ant-design-mobile/pull/3187)
|
96 | - 🐞 `Modal` 添加了缺失的 `onPresss` 参数定义 [#3136](https://github.com/ant-design/ant-design-mobile/pull/3136)
|
97 | - 🐞 `gitter` 修复了文档中的链接错误 [US](https://github.com/ant-design/ant-design-mobile/commit/b32b3e3ef382d8496e67e1ce1928b22d3b301dfb) [CN](https://github.com/ant-design/ant-design-mobile/commit/6f0a04536e8d028e2111697820e8700142156f40)
|
98 | - 🐞 `Tabs` 修复了 `height` 的样式错误 [#3188](https://github.com/ant-design/ant-design-mobile/pull/3188)
|
99 | - 🐞 `List` 修复了 `typescript` 定义的错误 [#3183](https://github.com/ant-design/ant-design-mobile/pull/3183)
|
100 |
|
101 | ---
|
102 |
|
103 | ### 2.2.10
|
104 |
|
105 | `2019-03-21`
|
106 |
|
107 | - **Feature**
|
108 |
|
109 | - 🌟 `ImagePicker` 添加了对批量添加图片的支持,一次性把所有添加的图片都返回,只触发一次 onChange [#3115](https://github.com/ant-design/ant-design-mobile/pull/3115)
|
110 | - 🌟 `ImagePicker` 添加了对 capture 属性的支持,移动设备可以指定通过相机拍照上传图片 [#3114](https://github.com/ant-design/ant-design-mobile/pull/3114)
|
111 |
|
112 | - **Bug Fix**
|
113 |
|
114 | - 🐞 `TabBar` 修复了 props.children 为空时的错误 [#3113](https://github.com/ant-design/ant-design-mobile/pull/3113)
|
115 | - 🐞 `Flex` 修复了类名和样式不对应的问题 [#3106](https://github.com/ant-design/ant-design-mobile/pull/3106)
|
116 | - 🐞 `InputItem` 修复了某些浏览器上完成输入后显示的问题 [#3017](https://github.com/ant-design/ant-design-mobile/pull/3017)
|
117 | - 🐞 `InputItem` 修复了 `setSelection` 因兼容性报错的问题 [#3124](https://github.com/ant-design/ant-design-mobile/pull/3124)
|
118 |
|
119 | ---
|
120 |
|
121 | ### 2.2.9
|
122 |
|
123 | `2019-02-19`
|
124 |
|
125 | - **Bug Fix**
|
126 |
|
127 | - 🐞 `InputItem` 修复了`InputItem` `state.value` undefined [#3044](https://github.com/ant-design/ant-design-mobile/pull/3044)
|
128 | - 🐞 `InputItem` 修复了`InputItem`onChange 错误 [#3045](https://github.com/ant-design/ant-design-mobile/pull/3045)
|
129 | - 🐞 `Button` 修复了`Button` props.icon 类型错误 [#3051](https://github.com/ant-design/ant-design-mobile/pull/3051)
|
130 | - 🐞 `Drawer` 修复了`Drawer` 样式层级问题 [#3052](https://github.com/ant-design/ant-design-mobile/pull/3052)
|
131 | - 🐞 `Toast` 修复了`Toast` content 类型错误 [#3067](https://github.com/ant-design/ant-design-mobile/pull/3067)
|
132 |
|
133 | ---
|
134 |
|
135 | ### 2.2.7
|
136 |
|
137 | `2018-12-28`
|
138 |
|
139 | - **Bug Fix**
|
140 |
|
141 | - 🐞 `InputItem` 修复了`InputItem`格式化文本后光标位置移动到末尾的问题 [#2854](https://github.com/ant-design/ant-design-mobile/pull/2854)
|
142 | - 🐞 `Grid` 修复 activeStyle 声明类型错误 [#2996](https://github.com/ant-design/ant-design-mobile/issues/2996)
|
143 |
|
144 | - **Enhancement**
|
145 |
|
146 | - 📝 更新`Modal`和`InputItem`的文档 [#3023](https://github.com/ant-design/ant-design-mobile/pull/3023) [#3014](https://github.com/ant-design/ant-design-mobile/pull/3014)
|
147 | - 🌟 依赖升级 [#3013](https://github.com/ant-design/ant-design-mobile/issues/3013) [#3004](https://github.com/ant-design/ant-design-mobile/issues/3004)
|
148 |
|
149 | ### 2.2.6
|
150 |
|
151 | `2018-10-25`
|
152 |
|
153 | - **Bug Fix**
|
154 | - `Carousel` 增加 TS 属性声明 [#2848](https://github.com/ant-design/ant-design-mobile/pull/2848)
|
155 | - **Enhancement**
|
156 |
|
157 | - 🌟 `Switch` 优化 Switch 组件示例 [Commit](https://github.com/ant-design/ant-design-mobile/commit/3c8a5e92c43899582c335ddc2d352b1e916ea9e9)
|
158 | - 🌟 官网优化 [#2894](https://github.com/ant-design/ant-design-mobile/pull/2894)、[#2903](https://github.com/ant-design/ant-design-mobile/pull/2903)
|
159 |
|
160 | ### 2.2.4
|
161 |
|
162 | `2018-09-06`
|
163 |
|
164 | - **Feature**
|
165 |
|
166 | - 🌟 `InputItem` 支持自定义金额虚拟键盘头部内容 [#2820](https://github.com/ant-design/ant-design-mobile/pull/2820)
|
167 | - 🌟 `PickerView` data 属性支持传入一维数组 [#2815](https://github.com/ant-design/ant-design-mobile/pull/2815)
|
168 |
|
169 | - **Bug Fix**
|
170 |
|
171 | - 🐞 `Popup` 修复 popup 在 iPhoneX 底部安全区域问题 [#2810](https://github.com/ant-design/ant-design-mobile/pull/2810)
|
172 | - 🐞 `Button` 修复 `inline` 和 `icon` 同时设定时的样式错误 [#2822](https://github.com/ant-design/ant-design-mobile/pull/2822)
|
173 | - 🐞 `TextareaItem` 修复 ios 文字长度计算的错误 [#2825](https://github.com/ant-design/ant-design-mobile/pull/2825)
|
174 |
|
175 | ### 2.2.3
|
176 |
|
177 | `2018-08-09`
|
178 |
|
179 | - **Feature**
|
180 |
|
181 | - 🌟 `ImagePicker` 支持自定义数量([#2700](https://github.com/ant-design/ant-design-mobile/pull/2700))
|
182 | - 🌟 `Picker` label 属性支持传入 ReactNode([#2720](https://github.com/ant-design/ant-design-mobile/pull/2720))
|
183 |
|
184 | - **Enhancement**
|
185 |
|
186 | - 📝 更新`DatePicker`文档 ([#2657](https://github.com/ant-design/ant-design-mobile/pull/2657))
|
187 |
|
188 | ### 2.2.2
|
189 |
|
190 | `2018-07-12`
|
191 |
|
192 | - **Feature**
|
193 |
|
194 | - 🌟 `Tabs` 无障碍模式优化 [PR](https://github.com/react-component/m-tabs/pull/25)
|
195 | - 🌟 `ImagePicker` 支持自定义每行的元素个数 [#2619](https://github.com/ant-design/ant-design-mobile/issues/2619) [#2668](https://github.com/ant-design/ant-design-mobile/issues/2668)
|
196 |
|
197 | - **Bug Fix**
|
198 |
|
199 | - 🐞 `Picker` 修复传入的值含有`undefined`时,最终获取值的错误问题 [#2695](https://github.com/react-component/m-cascader/pull/18)
|
200 | - 🐞 `Flex` 修复`direction=column`时,组件样式错位的问题 [#2683](https://github.com/ant-design/ant-design-mobile/pull/2711)
|
201 |
|
202 | ### 2.2.1
|
203 |
|
204 | `2018-06-27`
|
205 |
|
206 | - **Feature**
|
207 |
|
208 | - 🌟 `TabBar` 增加`tabBarPosition` [#2564](https://github.com/ant-design/ant-design-mobile/pull/2564)
|
209 | - 🌟 `Menu` & `PullToRefresh`支持国际化 [#2669](https://github.com/ant-design/ant-design-mobile/pull/2669)
|
210 |
|
211 | - **Bug Fix**
|
212 |
|
213 | - 🐞 `Picker` 在`wrap`和`mask`元素上增加`translateZ`属性 [#2653](https://github.com/ant-design/ant-design-mobile/pull/2653)
|
214 | - 🐞 `Tabs` 修复 WebView 上的`underline`渲染报错 [#2674](https://github.com/ant-design/ant-design-mobile/pull/2674)
|
215 | - 🐞 `PopOver` 修复未引入 fastclick 时,点击 popover 遮罩层不触发 onVisibleChange 的 BUG [#2659](https://github.com/ant-design/ant-design-mobile/issues/2659)
|
216 | - 🐞 `Calendar` 修复日历组件在某些情况下的报错 [#2655](https://github.com/ant-design/ant-design-mobile/issues/2655)
|
217 |
|
218 | - **Enhancement**
|
219 |
|
220 | - 📝 升级 Jest 版本 [#2657](https://github.com/ant-design/ant-design-mobile/pull/2657)
|
221 |
|
222 | ### 2.2.0
|
223 |
|
224 | `2018-06-15`
|
225 |
|
226 | 注意:根据之前的 [2.1.x 最后版本计划](https://github.com/ant-design/ant-design-mobile/issues/2556),我们已经分离 react native 组件代码到单独的 [ant-design-mobile-rn](https://github.com/ant-design/ant-design-mobile-rn) 仓库,并且已经发布了 `antd-mobile-rn` 包。如果使用 react native 组件,请这样修改 `package.json` 文件:
|
227 |
|
228 | ```diff
|
229 | ...
|
230 | "dependencies": {
|
231 | - "antd-mobile": "^2.1.11",
|
232 | + "antd-mobile-rn": "^2.2.0",
|
233 | "react": "16.3.1",
|
234 | ...
|
235 | },
|
236 | ...
|
237 | ```
|
238 |
|
239 | 然后,重装 node_modules 即可。
|
240 |
|
241 | - **Feature**
|
242 |
|
243 | - 🌟 新增 `prerenderingSiblingsNumber` 属性给 `TabBar` ([#2607](https://github.com/ant-design/ant-design-mobile/pull/2607))
|
244 | - 🌟 完善 ssr 支持 ([#2605](https://github.com/ant-design/ant-design-mobile/issues/2605))
|
245 |
|
246 | - **Bug Fix**
|
247 |
|
248 | - 🐞 修复 `Popover` ts 类型错误 ([#2571](https://github.com/ant-design/ant-design-mobile/issues/2571))
|
249 |
|
250 | - **Enhancement**
|
251 |
|
252 | - 📝 更新 `Stepper` API 文档 ([#2573](https://github.com/ant-design/ant-design-mobile/issues/2573))
|
253 | - 增强测试
|
254 |
|
255 | ### 2.1.11
|
256 |
|
257 | `2018-05-31`
|
258 |
|
259 | - **Bug Fix**
|
260 |
|
261 | - 🐞 修复 `InputItem` 的 unknown-prop 提示 ([#2565](https://github.com/ant-design/ant-design-mobile/pull/2565) [#2601](https://github.com/ant-design/ant-design-mobile/issues/2601))
|
262 | - 🐞 修复 `Steps` 可能包含 null 子元素问题 ([#2329](https://github.com/ant-design/ant-design-mobile/issues/2329))
|
263 | - 🐞 RN: 修复 `Modal` 按钮垂直对齐问题 ([#2325](https://github.com/ant-design/ant-design-mobile/pull/2325))
|
264 | - 🐞 RN: 修复 `NoticeBar` 动画问题 ([#2267](https://github.com/ant-design/ant-design-mobile/issues/2267))
|
265 | - 🐞 RN: 修复 `SearchBar` 样式覆盖问题 ([#2593](https://github.com/ant-design/ant-design-mobile/issues/2593))
|
266 |
|
267 | - **Enhancement**
|
268 |
|
269 | - 📝 RN: 提示将拆分出单独的 `antd-mobile-rn` 包 ([#2556](https://github.com/ant-design/ant-design-mobile/issues/2556))
|
270 | - 📝 工作流: 新增自动锁定 issue 的脚本 ([86fb0787e9e13754](https://github.com/ant-design/ant-design-mobile/commit/86fb0787e9e137548ef03517e1ca9fa2e061ceaa))
|
271 | - 📝 示例: 更新 `Card` `TextareaItem` `PullToRefresh` `Picker` 组件示例
|
272 |
|
273 | ### 2.1.10
|
274 |
|
275 | `2018-05-24`
|
276 |
|
277 | - **Feature**
|
278 |
|
279 | - 🌟 RN `InputItem` 支持自定义 `focus` 属性 ([#2408](https://github.com/ant-design/ant-design-mobile/pull/2408))
|
280 | - 🌟 RN `InputItem` android 下增加清除按钮([#2358](https://github.com/ant-design/ant-design-mobile/pull/2358))
|
281 |
|
282 | * **Bug Fix**
|
283 |
|
284 | - 🐞 修复 `InputItem` 数字键盘无障碍模式焦点穿透问题([#2568](https://github.com/ant-design/ant-design-mobile/pull/2568))
|
285 | - 🐞 修复 `Modal` 弹窗输入框无法聚焦问题([#2177](https://github.com/ant-design/ant-design-mobile/issues/2177))
|
286 | - 🐞 修复 RN `DatePicker` `month` 模式下取值错误问题([#0a701](https://github.com/ant-design/ant-design-mobile/commit/0a701dd205c636804f7e63d7b7d3a2283aad293b))
|
287 | - 🐞 修复 RN `InputItem` 下 `type` 为 `phone`类型输入字符不为数字问题([#4ab82](https://github.com/ant-design/ant-design-mobile/commit/4ab82fadc55268cef8558f0423d5ba2f6e4b38d5))
|
288 |
|
289 | - **Enhancement**
|
290 |
|
291 | - 📝 更新 RN `Icon` 使用文档
|
292 | - 📝 更新 RN `Picker` 文档, 增加 `onVisibleChange` 自定义属性
|
293 | - 📝 更新 RN `Range` 使用文档
|
294 | - 📝 更新 RN `LocaleProvider` 使用文档
|
295 |
|
296 | ### 2.1.9
|
297 |
|
298 | `2018-05-21`
|
299 |
|
300 | - **Feature**
|
301 |
|
302 | - 🌟 `InputItem` 支持自定义 `onVirtualKeyboardConfirm` 属性, 提供虚拟键盘确认按钮回调([#2551](https://github.com/ant-design/ant-design-mobile/pull/2551))
|
303 | - 🌟 `InputItem` 支持自定义 `moneyKeyboardWrapProps` 属性, 以解决虚拟键盘点透问题([#2550](https://github.com/ant-design/ant-design-mobile/pull/2550))
|
304 | - 🌟 [React Native] `InputItem` 在 RN 下支持 `focus` 回调 ([#2381](https://github.com/ant-design/ant-design-mobile/issues/2381))
|
305 | - 🌟 多语言支持 Russian language ([#2400](https://github.com/ant-design/ant-design-mobile/pull/2400))
|
306 |
|
307 | * **Bug Fix**
|
308 |
|
309 | - 🐞 修复 `TextareaItem`、`InputItem` 设置 `clear` 属性清除内容无效问题([#2372](https://github.com/ant-design/ant-design-mobile/issues/2372))
|
310 | - 🐞 修复 `TabBar` 嵌套 `SearchBar` 样式异常问题([#2447](https://github.com/ant-design/ant-design-mobile/issues/2447))
|
311 | - 🐞 修复 `InputItem` 在 `money` 类型下默认值设置问题([#2493](https://github.com/ant-design/ant-design-mobile/issues/2493))
|
312 | - 🐞 修复 `Accordion` 组件在 Android 上读不出展开折叠状态问题([#2491](https://github.com/ant-design/ant-design-mobile/issues/2491))
|
313 | - 🐞 修复 `InputItem` 在 `bankCard` 类型下,在 UC 浏览器光标错位问题([#2441](https://github.com/ant-design/ant-design-mobile/issues/2441))
|
314 | - 🐞 修复 `Modal` 弹窗无法关闭的问题([#2486](https://github.com/ant-design/ant-design-mobile/issues/2486))
|
315 | - 🐞 修复 `Picker`、`SearchBar` 多语言支持问题 ([#2502](https://github.com/ant-design/ant-design-mobile/issues/2502))
|
316 | - 🐞 修复 `InputItem` 在 `money` 类型下,虚拟键盘无障碍化问题([#2419](https://github.com/ant-design/ant-design-mobile/issues/2419)、[#2418](https://github.com/ant-design/ant-design-mobile/issues/2418))
|
317 | - 🐞 修复组件类型定义 ([5a2d0d](https://github.com/ant-design/ant-design-mobile/commit/5a2d0d57a796ca739cb22306d48377ea5a2c27c3))
|
318 |
|
319 | - **Enhancement**
|
320 |
|
321 | - 📝 更新 `Carousel` 使用文档([#2434](https://github.com/ant-design/ant-design-mobile/issues/2434))
|
322 | - 📝 更新 `Progress` api 文档
|
323 | - 📝 更新 `LocaleProvider` 使用文档
|
324 | - 📝 增加 `tabbar` 中内嵌使用 `ListView` 使用文档
|
325 | - 📝 变更依赖 `rc-drawer` 为 `rmc-drawer` ([3fd1a5d](https://github.com/ant-design/ant-design-mobile/commit/3fd1a5d97273d32195da0a863ecc81b32e2b0d07))
|
326 |
|
327 | ### 2.1.8
|
328 |
|
329 | `2018-03-19`
|
330 |
|
331 | - **Bug Fix**
|
332 |
|
333 | - 🐞 修复 `InputItem[type="money"]` onChange 回调参数格式改变的 bug。([#2403](https://github.com/ant-design/ant-design-mobile/pull/2403))
|
334 |
|
335 | ### 2.1.7
|
336 |
|
337 | `2018-03-16`
|
338 |
|
339 | - **Bug Fix**
|
340 |
|
341 | - 🐞 修复 `Grid` 无边框。
|
342 | - 🐞 修复 `Modal.prompt` onPress 返回 promise 的问题。([#2243](https://github.com/ant-design/ant-design-mobile/pull/2243))
|
343 | - 🐞 修复 `ImagePicker` 在删除后再添加抛异常的问题。([#2302](https://github.com/ant-design/ant-design-mobile/pull/2302))
|
344 | - 🐞 修复 `Carousel` `autoplayInterval` 的使用问题。([#2369](https://github.com/ant-design/ant-design-mobile/issues/2369))
|
345 | - 🐞 修复 RN `Modal.Alert` 内容不居中的问题。([#2347](https://github.com/ant-design/ant-design-mobile/pull/2347))
|
346 |
|
347 | - **Enhancement**
|
348 |
|
349 | - 📝 重构并完善所有 TypeScript 类型定义 [#2323](https://github.com/ant-design/ant-design-mobile/pull/2323)。
|
350 | - 📝 增加自定义 `Tabs` 个数的 [Demo](https://github.com/ant-design/ant-design-mobile/commit/e210a6db81af48d2e0aa1881c4a192ca4a10dfb2)。
|
351 |
|
352 | ### 2.1.6
|
353 |
|
354 | `2018-02-05`
|
355 |
|
356 | - **Bug Fix**
|
357 |
|
358 | - 🐞 修复 `Modal.prompt` 无法输入的问题。
|
359 |
|
360 | ### 2.1.5
|
361 |
|
362 | `2018-01-29`
|
363 |
|
364 | - **Feature**
|
365 |
|
366 | - 🌟 `ImagePicker` 支持自定义 `accept` 属性。([#2269](https://github.com/ant-design/ant-design-mobile/pull/2269))
|
367 |
|
368 | - **Bug Fix**
|
369 |
|
370 | - 🐞 修复 `InputItem` 在 ios 11 上 focus 时被键盘遮盖的问题。([#2289](https://github.com/ant-design/ant-design-mobile/pull/2289))
|
371 | - 🐞 修复 `Menu` 确定按钮遮盖内容列表的问题。([#2273](https://github.com/ant-design/ant-design-mobile/issues/2273))
|
372 | - 🐞 修复 `Progress` tsd。([#2292](https://github.com/ant-design/ant-design-mobile/issues/2292))
|
373 | - 🐞 [React Native] 修复 `TextareaItem` 多余的左间距。([#2260](https://github.com/ant-design/ant-design-mobile/pull/2260))
|
374 |
|
375 | * **Enhancement**
|
376 |
|
377 | - 📝 修复 [Picker](https://github.com/ant-design/ant-design-mobile/issues/2291), [DatePicker, Calendar](https://github.com/ant-design/ant-design-mobile/issues/2282) 文档。
|
378 |
|
379 | ### 2.1.4
|
380 |
|
381 | `2018-01-23`
|
382 |
|
383 | - **Bug Fix**
|
384 |
|
385 | - 修复: Modal defaultValue 问题 ([#2221](https://github.com/ant-design/ant-design-mobile/pull/2221))
|
386 | - 修复: Modal 关闭事件问题 ([#1975](https://github.com/ant-design/ant-design-mobile/pull/1975))
|
387 | - 修复: TextArea 样式问题
|
388 | - 修复: DatePicker/Picker 值缓存问题
|
389 | - 修复: InputItem 报错 ([#2220](https://github.com/ant-design/ant-design-mobile/pull/2220))
|
390 |
|
391 | ### 2.1.3
|
392 |
|
393 | `2017-12-29`
|
394 |
|
395 | 2018 新年快乐 🎉
|
396 |
|
397 | - **Enhancement**
|
398 |
|
399 | - 发布新网站
|
400 | - 优化 InputItem 文档
|
401 |
|
402 | - **Bug Fix**
|
403 |
|
404 | - 修复: 给 DatePicker 添加默认的 date 支持
|
405 | - 修复: 删除冗余的 Modal 代码
|
406 |
|
407 | ### 2.1.2
|
408 |
|
409 | `2017-12-15`
|
410 |
|
411 | - **Bug Fix**
|
412 |
|
413 | - 修复 `Modal` 按钮不允许多次点击问题。([#1975](https://github.com/ant-design/ant-design-mobile/issues/1975))
|
414 | - 修复 `Modal` `DatePicker` 文档细节问题。
|
415 | - 修复 upgradeTip / 网站 样式问题。
|
416 |
|
417 | ### 2.1.1
|
418 |
|
419 | `2017-12-06`
|
420 |
|
421 | - **Bug Fix**
|
422 |
|
423 | - 🐞 修复 `List` 在 rem 页面下头部间距增大的问题。([#2145](https://github.com/ant-design/ant-design-mobile/pull/2145))
|
424 | - 🐞 修复 `body.fontSize` 为 `@font-sizep-base` 14px。 ([8973a0f](https://github.com/ant-design/ant-design-mobile/commit/8973a0f890e776a47743188b14356bee34b68ad6))
|
425 | - 🐞 修复 `Button` 在 iOS 11 下需要滑动才显示的问题。 ([6b571bef](https://github.com/ant-design/ant-design-mobile/commit/6b571bef0d714e8fdb7c4434ee1ab280be9952fd))
|
426 |
|
427 | ### 2.1.0
|
428 |
|
429 | `2017-12-03`
|
430 |
|
431 | - **Feature**
|
432 |
|
433 | - 🌟 [React Native] `Steps` 支持 `horizontal` 垂直方向。([#2090](https://github.com/ant-design/ant-design-mobile/pull/2090))
|
434 | - 🌟 `ImagePicker` 支持多选。([#2017](https://github.com/ant-design/ant-design-mobile/issues/2017))
|
435 | - 🇸🇪 `LocaleProvider` 添加 瑞典语 支持。([#2132](https://github.com/ant-design/ant-design-mobile/pull/2132))
|
436 |
|
437 | - **Bug Fix**
|
438 |
|
439 | - 🐞 修复 `[InputItem type="money"]` 虚拟数字键盘遮挡页面内容的问题。([#1893](https://github.com/ant-design/ant-design-mobile/issues/1893))
|
440 | - 🐞 修复 `[InputItem type="money"]` 单页面多实例未复用的问题。 ([#2065](https://github.com/ant-design/ant-design-mobile/issues/2065))
|
441 | - 🐞 修复 `Menu` props.data 数据为空时的报错。 ([#2079](https://github.com/ant-design/ant-design-mobile/pull/2079))
|
442 | - 🐞 修复 `Menu` 组件的按钮样式丢失问题。 ([#2097](https://github.com/ant-design/ant-design-mobile/issues/2097))
|
443 | - 🐞 修复 `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))
|
444 | - 🐞 修复 `Picker` 级联的时候数据不准确的问题 ([59a66c](https://github.com/ant-design/ant-design-mobile/commit/59a66cfbe0daef8c9f080d0387bc880e54632fe0))
|
445 | - 🐞 修复 `TabBar` 显示隐藏的动画。 ([#2072](https://github.com/ant-design/ant-design-mobile/issues/2072))
|
446 | - 🐞 修复 `Textarea` autoHeight 在初始时不生效的问题。([#2118](https://github.com/ant-design/ant-design-mobile/issues/2118))
|
447 | - 🐞 修复 React Native `Flex` 在无事件监听时不添加触摸反馈。 ([#2095](https://github.com/ant-design/ant-design-mobile/pull/2095))
|
448 | - 🐞 修复 `Toast` 被点击后不会自动隐藏的问题。 ([#2103](https://github.com/ant-design/ant-design-mobile/issues/2103))
|
449 | - 🐞 修复 `Textarea` 非受控下 clear 无效的问题。([#2131](https://github.com/ant-design/ant-design-mobile/issues/2131))
|
450 | - 🐞 修复 `TabBar` sticky 效果。([#2136](https://github.com/ant-design/ant-design-mobile/issues/2136))
|
451 |
|
452 | - **Theme**
|
453 |
|
454 | - 🗑 删除了全局默认的 body font-size 设置。([#2106](https://github.com/ant-design/ant-design-mobile/pull/2106))
|
455 | - 🆕 `brand-primary-tap` 改为 `0e80d2`。 ([#2115](https://github.com/ant-design/ant-design-mobile/pull/2115))
|
456 |
|
457 | ### 2.0.3
|
458 |
|
459 | `2017-11-11`
|
460 |
|
461 | - **Bug Fix**
|
462 |
|
463 | - Fix: InputItem 在 react@16 下 unmount 时报错;([#2040](https://github.com/ant-design/ant-design-mobile/issues/2040))
|
464 | - Fix: InputItem unmount 时 onBlur 不触发;
|
465 | - Fix: ListItem RN 内容布局中问题;([#2052](https://github.com/ant-design/ant-design-mobile/issues/2052))
|
466 | - Fix: SwipeAction 在 iOS8 下无效; ([#2063](https://github.com/ant-design/ant-design-mobile/issues/2063))
|
467 | - Fix: Stepper 当最小值为 0 时,按钮不 disabled;([#2062](https://github.com/ant-design/ant-design-mobile/issues/2062))
|
468 |
|
469 | - **Feature**
|
470 |
|
471 | - Grid RN 增加 itemStyle 属性,可以定制样式;([#2046](https://github.com/ant-design/ant-design-mobile/pull/2046))
|
472 | - TabBar(web) 增加 `noRenderContent` 以支持 不渲染内容部分;
|
473 |
|
474 | - **Enhancement**
|
475 |
|
476 | - 1.x 站点 open in codepen 失败修复;([#2032](https://github.com/ant-design/ant-design-mobile/issues/2032))
|
477 |
|
478 | ### 2.0.2
|
479 |
|
480 | `2017-11-04`
|
481 |
|
482 | - **Bug Fix**
|
483 |
|
484 | - Fix:使用了(含) `List.Item` 的组件绑定 onTouch 事件不生效;
|
485 | - Fix: Tabs z-index 值太高引起遮挡问题; ([#2014](https://github.com/ant-design/ant-design-mobile/issues/2014))
|
486 | - Fix: Picker onOk 触发问题;([#2042](https://github.com/ant-design/ant-design-mobile/issues/2042))
|
487 |
|
488 | - **Enhancement**
|
489 |
|
490 | - RN stepper 默认输入框使用数字键盘;
|
491 |
|
492 | ### 2.0.1
|
493 |
|
494 | `2017-10-28`
|
495 |
|
496 | - **Bug Fix**
|
497 |
|
498 | - Fix `Modal` android 下按钮事件触发多次 ([#1975](https://github.com/ant-design/ant-design-mobile/issues/1975)).
|
499 | - Fix: `Accordion` 在 RN > 0.49 下 crash ([#1969](https://github.com/ant-design/ant-design-mobile/pull/1969))
|
500 | - Fix: `Toast` 在 componentDidMount 下不显示和 react@16 不兼容 ([#1980](https://github.com/ant-design/ant-design-mobile/issues/1980))
|
501 | - Fix: `Modal.alert/prompt` 按钮 iOS 下关闭失效;([#1976](https://github.com/ant-design/ant-design-mobile/issues/1976))
|
502 | - Fix: `Modal` RN 下 promise 失效;
|
503 | - Fix: `Picker/DatePicker` 不能设置 `okText/dismissText/extra`; ([#1984](https://github.com/ant-design/ant-design-mobile/issues/1984))
|
504 | - Fix: `Picker` RN 国际化失效;([#2001](https://github.com/ant-design/ant-design-mobile/issues/2001))
|
505 | - Fix: `SearchBar` clear icon 遮盖 input 输入内容;([#2010](https://github.com/ant-design/ant-design-mobile/issues/2010))
|
506 | - Fix: `SearchBar` clear 不能 focus;
|
507 | - Fix: `TextareaItem` autoHeight 在 RN@49 下 crash; ([#1970](https://github.com/ant-design/ant-design-mobile/issues/1970))
|
508 |
|
509 | ### 2.0.0
|
510 |
|
511 | `2017-10-20`
|
512 |
|
513 | - **Feature**
|
514 |
|
515 | - [Web] `DatePicker`新增 API `use12Hours`, 支持 12 小时制 ([#1578](https://github.com/ant-design/ant-design-mobile/issues/1578))
|
516 | - [Web] `Button` 组件分别对应各个 type 新增各自的 disabled 状态样式
|
517 | - [Web] `Grid` 新增 `square` api, 支持高度自适应模式
|
518 | - [Web] `Grid` 新增 `activeClassName`, `activeStyle` api, 支持自定义触摸反馈样式
|
519 | - [Web] `Modal.alert / Modal.prompt / Modal.opeartion` 新增可选参数 `platform`
|
520 | - [Web] `ListView`(beta.3) 新增 pull-up 功能
|
521 | - [Web/RN] 新增 `DatePickerView` 组件,支持更灵活的时间选择器用法 ([#1232](https://github.com/ant-design/ant-design-mobile/issues/1232))
|
522 | - [Web/RN] 新增 `Calendar` 组件,支持跨日期的日期时间选择 ([#1610](https://github.com/ant-design/ant-design-mobile/issues/1610))
|
523 | - [Web] `Picker` `SearchBar` 多语言支持
|
524 | - [Web/RN] `NoticeBar` 增加自定义操作文案 action 属性 ([#1959](https://github.com/ant-design/ant-design-mobile/issues/1959))
|
525 |
|
526 | - **Break Change**
|
527 |
|
528 | - [Web] "高清方案" / "SVG Icon" 从“内置”改为“外置”
|
529 | - [Web] `Button` 组件去除 `across` 模式
|
530 | - [Web] `Modal`、`List.Item`、`Switch` 默认采用 iOS 样式,不再根据 UA 进行自动探测 ([#1371](https://github.com/ant-design/ant-design-mobile/issues/1371))
|
531 | - [Web/RN] 各个组件的 `ref` 从 `string` 修改为 `function` ([#1354](https://github.com/ant-design/ant-design-mobile/issues/1354))
|
532 | - [Web/RN] 重构 `Tabs` 组件,底层重写,**APIs 大量更改**
|
533 | - [Web/RN] 去除 `Popup` 组件,给 `Modal` 组件新增 `popup` 属性,相应地 Modal 组件中原 `animationType` 属性开始支持 web 版本、用以标识 popup 弹出动画的类型 [#1125](https://github.com/ant-design/ant-design-mobile/issues/1125)
|
534 | - [Web/RN] `InputItem` / `TextareaItem` /`SearchBar` 组件
|
535 | - 将 `style` 属性传至 input(web) / TextInput(rn)
|
536 | - 去除 `focused` / `autoFocus` 属性 (用 `focus()` 实例方法实现同样效果)
|
537 | - [Web/RN] `DatePicker` 组件去除 moment.js 依赖
|
538 | - 相应地 `value` / `minDate` / `maxDate` / `format` / `onChange` 数据类型变为`Date`对象
|
539 | - [Web/RN] `pagination` 组件 `current` 属性改成从 `1` 开始索引
|
540 | - [Web/RN] `Progress` 组件
|
541 | - `wrapStyle` 改为 `style`, 原来的 `style` 改为 `barStyle`
|
542 | - `unfilled` 属性值更改为 boolean 值
|
543 | - [Web/RN] 移除 `List` 组件的 `onLongPress` 属性
|
544 | - [Web/RN] `Result` 组件的 `buttonClick` 更改为 `onButtonClick`
|
545 | - [Web/RN] 删除 `Table` 组件
|
546 | - [Web] 去除 `createTooltip` 组件,如果你需要 range/slider 带 tooltip 功能,你可以用 [react-component/slider/createSliderWithTooltip](https://github.com/react-component/slider/blob/master/src/createSliderWithTooltip.jsx) 实现
|
547 | - [Web] `Switch` 组件的 `style` 属性设置,从外围元素改为内层元素上
|
548 | - [Web] `Slider` 去除默认的 margin & padding 样式
|
549 | - [Web] `Carousel` 的 `easing` 属性类型从 string 改为 Function
|
550 | - [Web] `Flex` 清理冗余 `align` 属性值 `top / middle / bottom`
|
551 | - [Web] `ListView`(beta.3) 移除 `stickyHeader` 属性和 [react-sticky](https://github.com/captivationsoftware/react-sticky) 依赖,但是你仍然可以使用 react-sticky 和 `useBodyScroll` 属性来自己实现相应效果 (查看 demo)
|
552 | > 因为 sticky 效果实际并不常用,而且不包含 UI,因此不适合集成在 ListView 里
|
553 | - [Web] `RefreshControl`(beta.3) 修改内部的 dom className
|
554 | - 从 `${prefixCls}-ptr` 改为 `${prefixCls}-indicator`
|
555 | - 从 `${prefixCls}-ptr-icon` 改为 `${prefixCls}-indicator-icon-wrapper`
|
556 | - 从 `${prefixCls}-ptr-loading` 改为 `${prefixCls}-indicator-loading-wrapper`
|
557 | - [Web] `ListView`(beta.6) 新增 `pullToRefresh` 属性,移除 `useZscroller` `scrollerOptions` `refreshControl` `pullUpEnabled` `pullUpRefreshing` `pullUpOnRefresh` `pullUpDistanceToRefresh` `pullUpRenderer` 属性
|
558 | - [Web] `RefreshControl`(beta.6) 已经被移除,请使用新增的 `PullToRefresh` 组件代替
|
559 | - [RN] `RefreshControl`(beta.6) 已经被移除,请直接引用 react-native RefreshControl
|
560 | - [RN] `ActionSheet.showShareActionSheetWithOptions` 利用 react native `Share` 进行重新实现
|
561 | - [RN] `Button` 组件 style 里 `disabledRaw` / `disabledRawText` 修改为 `defaultDisabledRaw` / `defaultDisabledRawText`
|
562 | - [Web] `NavBar`(rc.1) 修改属性 `iconName` 为 `icon`,你需要使用 `Icon` 组件或自定义图标
|
563 | - [Web] `ActionSheet`(rc.1) 删除 `iconName` 属性,使用 `icon` 代替
|
564 | - [RN] `ListView`(rc.3) 已经被移除,请直接引用 react-native ListView
|
565 | - [Web/RN] `ImagePicker`(rc.3) 增加 `onFail` 属性,移除内置的 `Toast.fail` 提示
|
566 |
|
567 | - **Theme**
|
568 |
|
569 | - 删除 `@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`;
|
570 | - `@searchbar-font-size` 重命名为 `@search-bar-font-size`。
|
571 |
|
572 | - **Enhancement**
|
573 | - 不再需要配置 `webpack.resolve`
|
574 | - `rmc-picker` 升级,简化 picker 相关的 dom 结构。([#1593](https://github.com/ant-design/ant-design-mobile/issues/1593))
|
575 | - 去除全局的 `user-select: none`。[#1793](https://github.com/ant-design/ant-design-mobile/issues/1793)
|
576 |
|
577 | ## 1.7.2
|
578 |
|
579 | `2017-12-14`
|
580 |
|
581 | - Fix `Picker` 在 Android 4.4 以下显示不正常的问题. ([dbe8ce](https://github.com/ant-design/ant-design-mobile/commit/dbe8ce99bf1d18e3e68a0bba4c8d6907cc3c6e0f))
|
582 |
|
583 | ## 1.7.1
|
584 |
|
585 | `2017-10-20`
|
586 |
|
587 | - Fix `InputItem`/`TextareaItem` 删除按钮不显示问题. ([#1955](https://github.com/ant-design/ant-design-mobile/issues/1955))
|
588 |
|
589 | ## 1.7.0
|
590 |
|
591 | `2017-10-13`
|
592 |
|
593 | - **Feature**
|
594 |
|
595 | - `Menu` 添加多选功能.
|
596 |
|
597 | - **Bug Fix**
|
598 |
|
599 | - Fix `Icon` 拼写错误.
|
600 | - Fix `Popover` 样式修复.
|
601 | - Fix `Steps` 样式修复.
|
602 |
|
603 | ## 1.6.10/1.6.11
|
604 |
|
605 | `2017-09-25`
|
606 |
|
607 | - **Bug Fix**
|
608 |
|
609 | - Fix `InputItem` 不能 focus 在点击 clear icon 后.
|
610 |
|
611 | ## 1.6.9
|
612 |
|
613 | `2017-09-25`
|
614 |
|
615 | - **Bug Fix**
|
616 |
|
617 | - Fix `Modal.prompt` 聚焦延迟. ([#1857](https://github.com/ant-design/ant-design-mobile/issues/1857))
|
618 | - Fix `TextareaItem` 当 `autoHeight` 属性为 true,且输入很多文字时,切换 active 元素导致页面滚动. ([#1858](https://github.com/ant-design/ant-design-mobile/issues/1858))
|
619 | - Fix `Popvoer` ts 属性定义错误.
|
620 |
|
621 | - **Improve && Enhancement**
|
622 |
|
623 | - Add `indicatorStyle` 和 `itemStyle` 属性用于 `Picker/PickerView`. ([#1856](https://github.com/ant-design/ant-design-mobile/issues/1856))
|
624 |
|
625 | ## 1.6.8
|
626 |
|
627 | `2017-09-18`
|
628 |
|
629 | - **Bug Fix**
|
630 |
|
631 | - Fix `segmented-control` 激活状态样式. ([#1832](https://github.com/ant-design/ant-design-mobile/issues/1832))
|
632 | - Fix `InputItem` `TextareaItem` [类型定义](https://github.com/ant-design/ant-design-mobile/commit/5fd21d1539f19fe80fd415716d349d82c1a77408).
|
633 | - Fix `swipe-action` [样式问题](https://github.com/ant-design/ant-design-mobile/commit/ab2297c64fcde0766b502b96349bc8824cbd8bff).
|
634 |
|
635 | ## 1.6.7
|
636 |
|
637 | `2017-09-11`
|
638 |
|
639 | - **Bug Fix**
|
640 |
|
641 | - Fix `Carousel` `swipeSpeed` ts 属性未定义. ([#1824](https://github.com/ant-design/ant-design-mobile/issues/1824))
|
642 | - Fix `TabBar` 在 android 平台 item 只有一个时报错. ([#1827](https://github.com/ant-design/ant-design-mobile/issues/1827))
|
643 | - Fix RN `PickerView` 垂直布局问题 ([#1795](https://github.com/ant-design/ant-design-mobile/issues/1795))
|
644 |
|
645 | ## 1.6.6
|
646 |
|
647 | `2017-09-09`
|
648 |
|
649 | - **Bug Fix**
|
650 |
|
651 | - Fix `Modal.operation` android 下面多操作选项样式问题 ([#1791](https://github.com/ant-design/ant-design-mobile/issues/1791))
|
652 | - Fix RN `Accordion` 必须依赖 Icon 组件的问题 ([#1784](https://github.com/ant-design/ant-design-mobile/issues/1784))
|
653 | - Fix `Modal` 按钮默认的 `href="#"` 导致 react-router 跳转到 '/' ([#1780](https://github.com/ant-design/ant-design-mobile/issues/1780))
|
654 | - Fix RN `ActionSheet` 空 title / message 报错([#1767](https://github.com/ant-design/ant-design-mobile/issues/1767)
|
655 | - Fix RN `Picker、PickerView` 布局错误 ([#1767](https://github.com/ant-design/ant-design-mobile/issues/1767))
|
656 |
|
657 | ## 1.6.5
|
658 |
|
659 | `2017-08-29`
|
660 |
|
661 | - **Bug Fix**
|
662 | - 修复 `SeachBar` cancel 无法自动 blur 的问题。([#1721](https://github.com/ant-design/ant-design-mobile/issues/1721))
|
663 | - 修复 `InputItem` unkown props warning。([#1754](https://github.com/ant-design/ant-design-mobile/issues/1754))
|
664 | - 修复 `InputItem[type='money']` `focused` api 在初始化时不生效的问题。([#1758](https://github.com/ant-design/ant-design-mobile/issues/1758))
|
665 |
|
666 | ## 1.6.4
|
667 |
|
668 | `2017-08-29`
|
669 |
|
670 | - **Bug Fix**
|
671 |
|
672 | - 修复 `SeachBar` 在特定客户端内`onClear`事件触发时无法自动 `focus` 到搜索栏的问题。([#1721](https://github.com/ant-design/ant-design-mobile/issues/1721))
|
673 | - 修复 `ListView` 空保护 bug ([#16](https://github.com/react-component/m-list-view/pull/16))
|
674 | - 修复`SwipeAction` [触摸反馈与滑动冲突的问题](https://github.com/react-component/swipeout/commit/b9b373bf4d378c5c98730b5ce96953050c29dbe2)。
|
675 | - 修复 `Stepper` icon 不支持自定义颜色。([#1694](https://github.com/ant-design/ant-design-mobile/issues/1694))
|
676 | - 修复 RN `ImagePicker` 不兼容 react 16 error. ([#1707](https://github.com/ant-design/ant-design-mobile/issues/1707))
|
677 | - 修复`SwipeAction` 与 `InputItem` z-index 冲突的问题。([#1720](https://github.com/ant-design/ant-design-mobile/issues/1720))
|
678 |
|
679 | - **Improve && Enhancement**
|
680 | - 统一升级 `rmc-picker` 到 v4。([#1593](https://github.com/ant-design/ant-design-mobile/issues/1593))
|
681 | - `SearchBar` [支持 MaxLength](https://github.com/ant-design/ant-design-mobile/commit/cb674f77d8e6495a081c06c65b71f23a04c32954)。
|
682 | - `InputItem[type=money]` 虚拟数字键盘重构,全局独立复用。([#1724](https://github.com/ant-design/ant-design-mobile/issues/1724))
|
683 | - `SearchBar` 清除交互体验优化。([#1731](https://github.com/ant-design/ant-design-mobile/pull/1731))
|
684 | - `Picker` 显示支持受控模式。([900f691](https://github.com/ant-design/ant-design-mobile/commit/900f6910bdd2b42fa97bac142671bf5089abc0a3))
|
685 |
|
686 | ## 1.6.3
|
687 |
|
688 | `2017-08-15`
|
689 |
|
690 | - **Bug Fix**
|
691 |
|
692 | - 修复 `TextareaItem` 不正确处理换行符长度的问题。 ([#1265](https://github.com/ant-design/ant-design-mobile/issues/1265))
|
693 |
|
694 | - **Improve && Enhancement**
|
695 | - `SwipeAction` 防止竖滑误触发;禁用时性能优化;滑块宽度自适应。 ([#1595](https://github.com/ant-design/ant-design-mobile/issues/1595))
|
696 |
|
697 | ## 1.6.2
|
698 |
|
699 | `2017-08-13`
|
700 |
|
701 | - **Improve && Enhancement**
|
702 | - `Tabs` 支持 `data-*` 属性 ([#1648](https://github.com/ant-design/ant-design-mobile/issues/1648))
|
703 |
|
704 | ## 1.6.1
|
705 |
|
706 | `2017-08-12`
|
707 |
|
708 | - **Bug Fix**
|
709 | - 修复 `TextareaItem` 输入表情符号计数不正确的 bug ([#1670](https://github.com/ant-design/ant-design-mobile/pull/1670))
|
710 | - 修复 `SwipeAction` 只设置 left 或者 right 时,相反一边还可以滑动的问题;([#1655](https://github.com/ant-design/ant-design-mobile/issues/1655))
|
711 | - 修复 `RN InputItem` 自定义样式 color 不生效(被强制覆盖)的问题; ([#1471](https://github.com/ant-design/ant-design-mobile/issues/1471))
|
712 | - 修复 `Toast[mask=false]` 时跟随页面滚动问题;([#1642](https://github.com/ant-design/ant-design-mobile/issues/1642))
|
713 | - 修复 `ListView` 存在 body 滚动条的时候,无法实现滚动到顶部在下拉刷新; ([#1588](https://github.com/ant-design/ant-design-mobile/issues/1588))
|
714 | - **Improve && Enhancement**
|
715 | - 网站导航栏高亮 ([#1534](https://github.com/ant-design/ant-design-mobile/issues/1534))
|
716 |
|
717 | ## 1.6.0
|
718 |
|
719 | `2017-07-30`
|
720 |
|
721 | - **Feature**
|
722 |
|
723 | - `Tabs` 新增支持`Badge` ([#1604](https://github.com/ant-design/ant-design-mobile/pull/1604))
|
724 | - `Modal` 支持 placeholder ([#1603](https://github.com/ant-design/ant-design-mobile/pull/1603))
|
725 |
|
726 | - **Bug Fix**
|
727 |
|
728 | - 修复`SearchBar` `onClear`时存在的样式渲染问题 ([#1621](https://github.com/ant-design/ant-design-mobile/pull/1621))
|
729 | - 修复`SearchBar` 支持 data-\* 属性. ([bbb358](https://github.com/ant-design/ant-design-mobile/commit/bbb35826872841f50ae31d795f67a97fd3231ca4))
|
730 |
|
731 | - **Improve && Enhancement**
|
732 | - 网站优化 ([#1622](https://github.com/ant-design/ant-design-mobile/pull/1622))
|
733 |
|
734 | ## 1.5.0
|
735 |
|
736 | `2017-07-22`
|
737 |
|
738 | - **Feature**
|
739 |
|
740 | - `ListItem` 支持 `onLongPress`. ([#1533](https://github.com/ant-design/ant-design-mobile/pull/1533))
|
741 |
|
742 | - **Bug Fix**
|
743 |
|
744 | - 修复 `Tabs` 滑动浮层覆盖 `Popup` 蒙版的问题。([#1512](https://github.com/ant-design/ant-design-mobile/pull/1512))
|
745 | - 修复 `Switch` 在 android 上 0.5px 导致显示不正常的问题。([86dabf](https://github.com/ant-design/ant-design-mobile/commit/86dabfea9841695fbca5319b422f11a0ddb17184))
|
746 | - 修复 React Native `Modal.prompt` 键盘遮挡的问题。([#1489](https://github.com/ant-design/ant-design-mobile/issues/1489))
|
747 |
|
748 | - **Improve && Enhancement**
|
749 | - 增加对 `Icon` svg-sprite-loader 可能未正确配置的检测和 warning。([#1574](https://github.com/ant-design/ant-design-mobile/issues/1574))
|
750 |
|
751 | ## 1.4.2
|
752 |
|
753 | `2017-07-12`
|
754 |
|
755 | - **Bug Fix**
|
756 | - 修复 Toast 未以自身中心点纵向居中。 ([#1389](https://github.com/ant-design/ant-design-mobile/issues/1389))
|
757 | - 修复目前未实现的 NavBar、Menu、Range、Table 引入 react-native 版本组件报错的问题。([#1526](https://github.com/ant-design/ant-design-mobile/issues/1526))
|
758 |
|
759 | * **Improve && Enhancement**
|
760 | - 升级 Slider 依赖的 rc-slider 版本。
|
761 | - 部分组件文档国际化完善,增加部分组件测试用例。
|
762 |
|
763 | ## 1.4.1
|
764 |
|
765 | `2017-07-01`
|
766 |
|
767 | - **Bug Fix**
|
768 |
|
769 | - 修复 `Grid` 样式问题。([635a9d3](https://github.com/ant-design/ant-design-mobile/commit/635a9d3d4b93e5a7304d5620ad6550827c303b1d) [#1455](https://github.com/ant-design/ant-design-mobile/issues/1455))
|
770 | - 修复 create-react-app 文档错误。([#1501](https://github.com/ant-design/ant-design-mobile/issues/1501))
|
771 | - 修复 `Modal` android 平台下样式错误。([#1499](https://github.com/ant-design/ant-design-mobile/issues/1499))
|
772 | - 修复 `SearchBar` iOS 键盘类型不是搜索问题。 ([#1510](https://github.com/ant-design/ant-design-mobile/issues/1510))
|
773 | - 暂时回滚 typescript interface 写法,解决 dist 文件错误问题。 ([#1517](https://github.com/ant-design/ant-design-mobile/pull/1517))
|
774 |
|
775 | - **Improve && Enhancement**
|
776 | - `SegmentedControl` 兼容 preact ([#1374](https://github.com/ant-design/ant-design-mobile/pull/1374))
|
777 | - `ActionSheet`/`SearchBar`/`ImagePicker`/`Picker` 细节样式优化
|
778 | - `Modal.prompt` 扩大点击区域 ([#1489](https://github.com/ant-design/ant-design-mobile/issues/1489))
|
779 | - `InputItem` 的 money 类型添加 demo 演示只能输入自然数([#1493](https://github.com/ant-design/ant-design-mobile/pull/1493))
|
780 | - 更新主要的介绍文档 ([#1503](https://github.com/ant-design/ant-design-mobile/pull/1503))
|
781 | - 去除 object-assign 依赖,改为使用 es6 展开操作符 ([67e0ee6](https://github.com/ant-design/ant-design-mobile/commit/67e0ee6a985d1e143f3dbbf63988d01a05d67b59))
|
782 | - 网站信息结构优化,并增加拷贝代码按钮 ([#1481](https://github.com/ant-design/ant-design-mobile/issues/1481))
|
783 |
|
784 | ## 1.4.0
|
785 |
|
786 | `2017-06-24`
|
787 |
|
788 | - **Feature**
|
789 |
|
790 | - `Button` 新增 `activeClassName` 以自定义点击时类名。([3331f00](https://github.com/ant-design/ant-design-mobile/commit/3331f00b1a89d7fb76dcffa554f1cf9b165819d9))
|
791 | - `Card.Header` 的 thumb 支持 React.Element。([#1484](https://github.com/ant-design/ant-design-mobile/issues/1484))
|
792 | - `InputItem` 支持通过 locale 来自定义内置文案。([#1475](https://github.com/ant-design/ant-design-mobile/issues/1475))
|
793 |
|
794 | - **Bug Fix**
|
795 | - 修复 ListView sticky header 被遮挡的问题。([#1456](https://github.com/ant-design/ant-design-mobile/issues/1456))
|
796 | - `InputItem` 修复当`type=money` 虚拟键盘无法隐藏的问题。([#1468](https://github.com/ant-design/ant-design-mobile/issues/1468))
|
797 |
|
798 | * **Improve && Enhancement**
|
799 | - `InputItem` 背景图片替换为 svg。([#1470](https://github.com/ant-design/ant-design-mobile/issues/1470))
|
800 | - `Button` 高度增大为 `94px`。
|
801 | - `ListItem` 高度减小为 `88px`。
|
802 | - `Result` 间距,字体,颜色调整。
|
803 |
|
804 | ## 1.3.1
|
805 |
|
806 | `2017-06-19`
|
807 |
|
808 | - **Feature**
|
809 |
|
810 | - `PickerView` 支持`indicatorStyle`。([3184179d2](https://github.com/ant-design/ant-design-mobile/commit/3184179d2ba4b5bccde83d8590d3e538fab0ad22))
|
811 |
|
812 | - **Bug Fix**
|
813 | - `InputItem` 修复当`type=money`时`disabled`和`editable`不生效的问题。([#1437](https://github.com/ant-design/ant-design-mobile/issues/1437))
|
814 | - `Menu` 修复当数据源二级数据不唯一时导致的问题。([#1427](https://github.com/ant-design/ant-design-mobile/issues/1427))
|
815 | - `Slider` [#1439](https://github.com/ant-design/ant-design-mobile/pull/1439),更新 TS definition
|
816 | - `ListView` 修复 scrollTo 的问题 ([97ed6795](https://github.com/ant-design/ant-design-mobile/commit/97ed67955243643fcc1de3debd0d507b87d6380b))
|
817 | - React-Native `Flex` `Flex.Item`支持`children`数组。([#1442](https://github.com/ant-design/ant-design-mobile/pull/1442))
|
818 |
|
819 | ## 1.3.0
|
820 |
|
821 | `2017-06-09`
|
822 |
|
823 | - **Feature**
|
824 |
|
825 | - `InputItem` 支持虚拟的金额输入键盘 (`type="money"`)。([#1419](https://github.com/ant-design/ant-design-mobile/pull/1419))
|
826 | - `Slider` & `Range` 新增 `handleStyle`, `trackStyle`, `railStyle` 以支持自定义样式。([a83d0fe](https://github.com/ant-design/ant-design-mobile/commit/a83d0fefffbdd05ce9f89a78508a544cd95e4fb5))
|
827 | - React-Native `Progress` 新增 `wrapStyle` 已自定义容器样式。([3ad012a](https://github.com/ant-design/ant-design-mobile/blob/3ad012ae265182cebc677efb309c92238eb8377a/components/progress/index.web.tsx))
|
828 | - React-Native `Carousel` 新增 `dotStyle`, `dotActiveStyle` 以自定义指示器样式。([#1425](https://github.com/ant-design/ant-design-mobile/pull/1425))
|
829 | - React-Native `Button` 新增 `delayPressin`, `delayPressout` 以自定义点击延时。([b6ec8e2](https://github.com/ant-design/ant-design-mobile/commit/b6ec8e217bc3ed56702c819885948839c14bf8e3))
|
830 |
|
831 | - **Bug Fix**
|
832 | - 修复 React-Native `Accordion` 不能设置 style。([#1407](https://github.com/ant-design/ant-design-mobile/issues/1407))
|
833 | - 修复 `Popup` 自定义蒙层样式的问题。([#1420](https://github.com/ant-design/ant-design-mobile/issues/1420))
|
834 | - 修复 `Pagination` 自定义翻页文案与图标样式的问题。([#1429](https://github.com/ant-design/ant-design-mobile/issues/1429))
|
835 | - 修复 `Modal` 在 android 上关闭之前样式变换的问题。([#1433](https://github.com/ant-design/ant-design-mobile/issues/1433))
|
836 |
|
837 | ## 1.2.0
|
838 |
|
839 | `2017-06-03`
|
840 |
|
841 | - **Notice**
|
842 |
|
843 | - 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)
|
844 | - 新增 warning,提醒用户 antd-mobile `2.0` 将会废弃 `Table`。[e1009015e](https://github.com/ant-design/ant-design-mobile/commit/e1009015e0c0740045995555831d1598a99c629f)
|
845 |
|
846 | - **Feature**
|
847 |
|
848 | - 底层 Touch 事件库更新,所有 `onPress` 和 `onLongPress` 支持 `stopPropagation`。[e7400b699](https://github.com/ant-design/ant-design-mobile/commit/e7400b6994d3a9127bd1bd6fa418996ad8206f96)
|
849 | - 重构 `carousel`, 新增 [swipeSpeed](https://github.com/react-component/nuka-carousel#modify-from-upstream-nuka-carousel204) api 以自定义拖动速度。
|
850 | - Theme 新增 `@toast-fill` 用于自定义 toast 背景色。[acaeff017171](https://github.com/ant-design/ant-design-mobile/commit/acaeff017171fd06bf8700b849a7fff917c6d260)
|
851 | - 新增与 crate-react-app 和 create-react-native-app 脚手架配合使用的文档。[#1362](https://github.com/ant-design/ant-design-mobile/issues/1362)
|
852 |
|
853 | - **Bug Fix**
|
854 |
|
855 | - 修复 `ListView` 中集成横滑组件, 如 `SwipeAction`, `Carousel`, 与上下滑动冲突的问题。[#1254](https://github.com/ant-design/ant-design-mobile/issues/1254)
|
856 | - 修复 `Popover` 自定义样式的问题。[#1364](https://github.com/ant-design/ant-design-mobile/issues/1364)
|
857 | - 修复 Theme `@radius-circle` 变量不生效 [#1301](https://github.com/ant-design/ant-design-mobile/issues/1301)
|
858 | - 修复 Theme 无法自定义 `SearchBar` placeholder font-size [#1324](https://github.com/ant-design/ant-design-mobile/pull/1324)
|
859 | - 修复 React-Native `picker` 无法自定义字体样式。 [#1323](https://github.com/ant-design/ant-design-mobile/issues/1323)
|
860 | - 修复 SearchBar 在 android 的点击后无法 focus 问题。[#1342](https://github.com/ant-design/ant-design-mobile/issues/1341)
|
861 | - 修复 React-Native `tabs` swipeable 属性无效的问题。[#1346](https://github.com/ant-design/ant-design-mobile/issues/1346)
|
862 | - 修复 `InputItem` 等输入类组件文字被截断的问题。[#1358](https://github.com/ant-design/ant-design-mobile/issues/1358)
|
863 | - 修复 SwipeAction 类名和样式。[e42430f9a68f2](https://github.com/ant-design/ant-design-mobile/commit/e42430f9a68f25a4b22cd2e65c05009fbb678fdd)
|
864 | - 修复错误的 API 文档, `ActivityIndicator` color API 只有 React-Native 组件支持。[#1370](https://github.com/ant-design/ant-design-mobile/issues/1370)
|
865 | - 修复 `Tabs` 当 liner-gradient 不支持时显示不正常的问题。[824da3466](https://github.com/ant-design/ant-design-mobile/commit/824da34667f9e974747d9f344b0bef3dc0bdae36)
|
866 | - 修复 `Grid` 在 isCarousel 模式下不会自动填充空白格子的问题。[#1398](https://github.com/ant-design/ant-design-mobile/pull/1398)
|
867 | - 修复 `Toast` 没有以自身中心点垂直居中的问题。[#1389](https://github.com/ant-design/ant-design-mobile/issues/1389)
|
868 |
|
869 | - **Improve && Enhancement**
|
870 | - `Tabs` 头部滑动性能,体验优化。
|
871 | - 增大 `SearchBar` 点击区域。[#1344](https://github.com/ant-design/ant-design-mobile/pull/1344)
|
872 | - 重构 `Switch`, `Modal` 以支持服务端渲染 [#1307](https://github.com/ant-design/ant-design-mobile/pull/1307/)
|
873 | - 优化 Flex, Button, List 的 typescript 定义。[#1339](https://github.com/ant-design/ant-design-mobile/issues/1339)
|
874 | - `Button`, `Tag` 由外边框改为内边框,更符合设计规范。[4c8051032](https://github.com/ant-design/ant-design-mobile/commit/4c8051032005fe042df38d4b3bddf5f8405fb8fd)
|
875 | - 新增 `pkg.module`, 指向 ES2015 modules,更好地支持 rollup 和 webpack2。[#12](https://github.com/react-component/react-component.github.io/issues/12)
|
876 | - 重构 React-Native `Toast`, `ActivityIndicator` 样式,更改地支持通过 Theme 自定义。[b7094e2a2dc](https://github.com/ant-design/ant-design-mobile/commit/b7094e2a2dc0aa9433f2f2f7388a3e8313681888)
|
877 | - `Tabs` 新增对 `TabPane.props.key` 的校验,必须存在且唯一。[#1365](https://github.com/ant-design/ant-design-mobile/issues/1365)
|
878 | - 重构并从 React-Native `InputItem` 拆分出 `TextInput`,便于自定义样式。[#1174](https://github.com/ant-design/ant-design-mobile/issues/1174)
|
879 | - 重构 `Grid`, 避免当格子数量变化,在 carousel 和非 carousel 模式切换后高度变化的情况。[63c28b31f](https://github.com/ant-design/ant-design-mobile/commit/63c28b31fba19cb7f68a36a71259a5b57ffe0bc8)
|
880 | - 新增 demo 关于如何扩展 `InputItem` label 为可点击区域。[db8582781](https://github.com/ant-design/ant-design-mobile/commit/db8582781f0aa7663fb02db315de49cf9d00822b)
|
881 |
|
882 | ## 1.1.3
|
883 |
|
884 | `2017-05-14`
|
885 |
|
886 | - **Bug Fix**
|
887 |
|
888 | - 修复 `ListItem` unknown props warning。([#1278](https://github.com/ant-design/ant-design-mobile/issues/1278))
|
889 | - 修复 React Native `Pagination` disable 时的 active 样式问题。([1b01652797](https://github.com/ant-design/ant-design-mobile/commit/1b01652797daebd1af0547f19b005199fa6413e5))
|
890 | - 修复 React Native `List` renderFooter 错误。([#1294](https://github.com/ant-design/ant-design-mobile/pull/1294/files))
|
891 | - 修复 `tabs` createClass warning
|
892 |
|
893 | - **Improve && Enhancement**
|
894 | - `Switch` 支持 onClick ([#1290](https://github.com/ant-design/ant-design-mobile/issues/1290))
|
895 |
|
896 | ## 1.1.2
|
897 |
|
898 | `2017-05-07`
|
899 |
|
900 | - **Bug Fix**
|
901 |
|
902 | - 修复 单独使用 `Stepper` 缺少依赖的 Icon 样式问题。([d86c3dda](https://github.com/ant-design/ant-design-mobile/commit/d86c3dda267864721273f258dad3193c69d8e838)
|
903 | - 修复 `Modal` 关闭按钮显示不齐的问题。([bf64803d](https://github.com/ant-design/ant-design-mobile/commit/bf64803d01082f0dd924c41ca778dfadb177bc92))
|
904 | - 修复 `Switch` android 样式。([56bf4a93](https://github.com/ant-design/ant-design-mobile/commit/56bf4a93f55f021206aa99551039e68c9518c85c))
|
905 | - 修复 `Slider` active 样式。([5a012ead](https://github.com/ant-design/ant-design-mobile/commit/5a012ead269e212dda6fb751a29a1e43f28e9848))
|
906 | - 修复 `Stepper` 选中样式未自动消失的问题。([006a5e2](https://github.com/ant-design/ant-design-mobile/commit/006a5e2184f3402fa9351186d65f8ab24a7c4b23))
|
907 | - 修复 RN `InputItem` 自定义字体大小。([#1174](https://github.com/ant-design/ant-design-mobile/issues/1174))([@kimjuny](https://github.com/kimjuny))
|
908 | - 修复 RN `Popup` 自定义蒙版背景样式。([#1234](https://github.com/ant-design/ant-design-mobile/issues/1234))
|
909 | - 修复 RN `Modal` 点击系统返回无法自动关闭的问题。 ([#1218](https://github.com/ant-design/ant-design-mobile/issues/1218))
|
910 | - 修复 RN `Modal.prompt`, `InputItem` 样式。([#1199](https://github.com/ant-design/ant-design-mobile/issues/1199))
|
911 | - 修复 Normalize.css 缺少对 body margin 重置的问题。([#1264](https://github.com/ant-design/ant-design-mobile/issues/1264))
|
912 | - 修复 RN 所有组件统一接受 `style`, `styles` 参数的问题。([#1262](https://github.com/ant-design/ant-design-mobile/pull/1262))
|
913 |
|
914 | - **Improve && Enhancement**
|
915 | - 所有组件支持无障碍访问。([#1179](https://github.com/ant-design/ant-design-mobile/pull/1179))
|
916 | - 增大 `SearchBar` 取消按钮点击区域。([#1250](https://github.com/ant-design/ant-design-mobile/issues/1250))
|
917 | - 重构 RN `Carousel` 以支持自定义 Pagination。([#1146](https://github.com/ant-design/ant-design-mobile/issues/1146))
|
918 | - 重构 `ListItem` 以支持服务端渲染。([#1219](https://github.com/ant-design/ant-design-mobile/pull/1219))
|
919 |
|
920 | ## 1.1.1
|
921 |
|
922 | `2017-04-28`
|
923 |
|
924 | - **Feature**
|
925 |
|
926 | - `InputItem`添加唤起自定义数字键盘特性(仅支付宝等客户端)。([#1231](https://github.com/ant-design/ant-design-mobile/pull/1231))
|
927 |
|
928 | - **Bug Fix**
|
929 |
|
930 | - 修复 `Grid`的`renderItem`方法。([链接](https://github.com/ant-design/ant-design-mobile/commit/1316154cce6324c04a2cd7f36c8d229573dcde6b))
|
931 | - 修复`SearchBar`clear icon 可能不出现的问题。([#1204](https://github.com/ant-design/ant-design-mobile/issues/1204))
|
932 | - 修复`InputItem`的`placeholder`声明,改为可选。([#1216](https://github.com/ant-design/ant-design-mobile/pull/1216))
|
933 | - 修复`TabBar`声明文件,`TabBarItemProps`部分的新增`dot`。([#1209](https://github.com/ant-design/ant-design-mobile/pull/1209))
|
934 | - 修复网站的语言切换逻辑。([链接](https://github.com/ant-design/ant-design-mobile/commit/ec839dc4fdc7bfd54a9bd389cd3699bcbf8ac1ee))
|
935 | - `RefreshControl`支持 SSR 渲染。([#1201](https://github.com/ant-design/ant-design-mobile/pull/1201))
|
936 |
|
937 | - **Improve && Enhancement**
|
938 | - 优化`Icon`组件内置的 svg 文件,做最小化处理。([#1220](https://github.com/ant-design/ant-design-mobile/pull/1220))
|
939 | - 完成`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))
|
940 | - `InputItem`为支付宝小程序拆分出单独的内部组件`Input`。([#1225](https://github.com/ant-design/ant-design-mobile/pull/1225))
|
941 | - `Card`组件整合声明文件。([#1222](https://github.com/ant-design/ant-design-mobile/pull/1222))
|
942 |
|
943 | ## 1.1.0
|
944 |
|
945 | `2017-04-21`
|
946 |
|
947 | - **Bug Fix**
|
948 |
|
949 | - 修复 `Steps` 溢出。([#5623](https://github.com/ant-design/ant-design/issues/5623]))
|
950 | - 搜索框支持在主题变量自定义高度,背景色等。([PR 1113](https://github.com/ant-design/ant-design-mobile/pull/1113))[@yezongyang](https://github.com/yezongyang)
|
951 | - 修复 React-Native `Steps` 不支持自定义 Icon ([#1088](https://github.com/ant-design/ant-design-mobile/issues/1088))
|
952 | - 修复 `Progress` 不支持自定义 `className`。([PR 1126](https://github.com/ant-design/ant-design-mobile/pull/1126))
|
953 | - 修复 React-Native `InputItem` 不支持自定义内容。([#1113](https://github.com/ant-design/ant-design-mobile/issues/1133))
|
954 | - 修复 `InputItem` 数字键盘在 Android 的兼容问题。([1073](https://github.com/ant-design/ant-design-mobile/issues/#1073))。
|
955 | - 修复 `InputItem` autoFocus 在 safari 无法聚焦的 bug。([PR 1134](https://github.com/ant-design/ant-design-mobile/pull/1134))
|
956 | - 修复小尺寸 `Button` 的 loading icon 尺寸。([587963](https://github.com/ant-design/ant-design-mobile/commit/587936abc43015ed2fa9be1b3493b3a8c4f98334))
|
957 | - 修复部分 React15.5 关于 PropType 和 CreateClass 的 warning。([#1118](https://github.com/ant-design/ant-design-mobile/issues/1118))
|
958 | - 修复部分内置 svg 背景的尺寸。([#1140](https://github.com/ant-design/ant-design-mobile/issues/1140))
|
959 |
|
960 | - **Improve && Enhancement**
|
961 | - 重构 `Grid`, `ImagePicker`, `Modal` 以支持服务端渲染。
|
962 | - `Flex`, `FlexItem` 支持传递 `data-` 等任意自定义属性。([#1150](https://github.com/ant-design/ant-design-mobile/issues/1150))
|
963 | - `Grid` 在 carousel 模式下支持 `Carousel` 的相应 API。([#1164](https://github.com/ant-design/ant-design-mobile/issues/1164))
|
964 |
|
965 | ## 1.0.8
|
966 |
|
967 | `2017-04-07`
|
968 |
|
969 | - **Feature**
|
970 |
|
971 | - RN modal 增加 Modal.prompt ([#1089](https://github.com/ant-design/ant-design-mobile/pull/1089))
|
972 |
|
973 | - **Bug Fix**
|
974 |
|
975 | - 修复 InputItem、TextareaItem、Search autofocus 的 bug ([#1103](https://github.com/ant-design/ant-design-mobile/pull/1103))
|
976 | - 修复 SearchBar 点击 `x` 取消时,placeholder 显示不正确的 bug ([#1047](https://github.com/ant-design/ant-design-mobile/pull/1047))
|
977 | - 修复 TextareaItem 输入 emoji 表情,字符统计错误问题 ([#1085](https://github.com/ant-design/ant-design-mobile/pull/1085))
|
978 | - 修复 SearchBar 提交后不自动隐藏键盘的问题;
|
979 | - 修复 Tabs onTabClick 无效问题 ([#1099](https://github.com/ant-design/ant-design-mobile/pull/1099))
|
980 | - 修复 RN Steps 空格引起的问题 ([#1008](https://github.com/ant-design/ant-design-mobile/pull/1008))
|
981 |
|
982 | - **Improve && Enhancement**
|
983 | - 更新 rc-slider 版本,增加 `minimumTrackStyle`、`maximumTrackStyle`、`handleStyle` 属性;
|
984 |
|
985 | ## 1.0.7
|
986 |
|
987 | `2017-03-24`
|
988 |
|
989 | - **Feature**
|
990 |
|
991 | - Slider 支持自定义颜色。([#1024](https://github.com/ant-design/ant-design-mobile/pull/1024))
|
992 | - ListItem 在 Android 上点击新增水波纹动效。([链接](https://github.com/ant-design/ant-design-mobile/commit/d8fd66992fdfe53745fb43d9e27bffd025b8fdb0))
|
993 |
|
994 | - **Bug Fix**
|
995 |
|
996 | - DatePicker 接收 `minuteStep`。 ([#1020](https://github.com/ant-design/ant-design-mobile/issues/1020))
|
997 | - 修复 Stepper 的 icon 多重边框问题。([#1038](https://github.com/ant-design/ant-design-mobile/issues/1038))
|
998 | - 修复 SearchBar placeholder 在聚焦时显示不全的问题。([#1047](https://github.com/ant-design/ant-design-mobile/issues/1047))
|
999 |
|
1000 | - **Improve && Enhancement**
|
1001 | - Modal, Switch, ListItem 新增 `platform` 参数,可自定义组件样式是否区分 Android/iOS 平台。([#1030](https://github.com/ant-design/ant-design-mobile/issues/1030))
|
1002 | - SearchBar 自定义主题时的布局优化。 ([#1014](https://github.com/ant-design/ant-design-mobile/issues/1014))
|
1003 | - InputItem, TextareaItem, SearchBar 组件样式优化,增大可点击区域。 ([#1017](https://github.com/ant-design/ant-design-mobile/issues/1017))
|
1004 | - React-Native Steps 支持 React.Node 类型的 `title`, `description`。 [#1008](https://github.com/ant-design/ant-design-mobile/issues/1008)
|
1005 | - DatePicker 确保默认日期在 `minDate`, `maxDate` 范围内 ([#1033](https://github.com/ant-design/ant-design-mobile/issues/1033))
|
1006 |
|
1007 | ## 1.0.6
|
1008 |
|
1009 | `2017-03-17`
|
1010 |
|
1011 | - **Feature**
|
1012 |
|
1013 | - Modal 添加 close api,方便手工销毁,#995
|
1014 |
|
1015 | - **Bug Fix**
|
1016 |
|
1017 | - 修复 ImagePicker clear icon 旋转问题,#944
|
1018 |
|
1019 | - **Improve && Enhancement**
|
1020 | - 优化 Modal button 长按的默认行为;
|
1021 | - Stepper、Toast、Modal 依赖的 rc-util 升级,去除控制台中 warning,#959
|
1022 | - 部分文档优化;#997 #993 #984 #1009;部分 demo 优化;
|
1023 |
|
1024 | ## 1.0.5
|
1025 |
|
1026 | `2017-03-10`
|
1027 |
|
1028 | - **Feature**
|
1029 |
|
1030 | - 补全 `accordion` React-Native 版本 ([#931](https://github.com/ant-design/ant-design-mobile/pull/931))
|
1031 | - `stepper` 图标支持用户自定义 ([链接](https://github.com/ant-design/ant-design-mobile/commit/78ab295f69cd1441b600aa6c2d921c7d658096ca))
|
1032 | - 补全 React-Native `Button` 的 loading 样式 ([#946](https://github.com/ant-design/ant-design-mobile/issues/946))
|
1033 | - React-Native `InputItem` 支持输入小数 ([950](https://github.com/ant-design/ant-design-mobile/issues/950))
|
1034 | - `Icon` 支持直接添加事件 ([#955](https://github.com/ant-design/ant-design-mobile/issues/955))
|
1035 | - React-Native `InputItem`, `TextItem` 支持自定义 style ([#949](https://github.com/ant-design/ant-design-mobile/issues/949))
|
1036 |
|
1037 | - **Bug Fix**
|
1038 |
|
1039 | - React Native `SearchBar` 自动显示取消按钮 ([#957](https://github.com/ant-design/ant-design-mobile/issues/957))
|
1040 | - 修复 `Tabs` 在低版本 Android 浏览器兼容性问题 ([#940](https://github.com/ant-design/ant-design-mobile/issues/940))
|
1041 | - React Native 修复 `Card` extra 覆盖的 bug ([#969](https://github.com/ant-design/ant-design-mobile/issues/969))
|
1042 | - 修复 `ImagePicker` 图片旋转方向问题 ([#944](https://github.com/ant-design/ant-design-mobile/issues/944))
|
1043 | - 修复 `Step` 水平溢出的问题 ([#952](https://github.com/ant-design/ant-design-mobile/issues/952))
|
1044 |
|
1045 | - **Improve && Enhancement**
|
1046 | - 新增 Web && React Native 组件的 snapshot 测试,覆盖率 59% ([#921](https://github.com/ant-design/ant-design-mobile/pull/921))
|
1047 | - 文档翻译进度 ([#329](https://github.com/ant-design/ant-design-mobile/issues/329))
|
1048 | - [官方 Demo 集合](https://github.com/ant-design/antd-mobile-samples) 新增 roadhog 示例
|
1049 |
|
1050 | ## 1.0.4
|
1051 |
|
1052 | `2017-03-07`
|
1053 |
|
1054 | - **Bug Fix**
|
1055 | - 修复 `Button`, `ListItem` 在 Android 上点击穿透的问题。([#937](https://github.com/ant-design/ant-design-mobile/issues/937))
|
1056 |
|
1057 | ## 1.0.3
|
1058 |
|
1059 | `2017-03-04`
|
1060 |
|
1061 | - **Bug Fix**
|
1062 | - 修复 `Tabs` 在设置 pageSize 情况下宽度计算的问题。([#935](https://github.com/ant-design/ant-design-mobile/issues/935))
|
1063 |
|
1064 | ## 1.0.2
|
1065 |
|
1066 | `2017-03-04`
|
1067 |
|
1068 | - **Feature**
|
1069 |
|
1070 | - Tabs 新增 `pageSize` API,新增支持 swipeableTabBar 滑动头部。 ([#882](https://github.com/ant-design/ant-design-mobile/pull/882))
|
1071 | - Modal 增加 Modal.operation ([#925](https://github.com/ant-design/ant-design-mobile/pull/925)) 感谢 @lixiaoyang1992
|
1072 | - 新增 Russian Locale ([#901](https://github.com/ant-design/ant-design-mobile/pull/901)) 感谢 @NeonXP
|
1073 |
|
1074 | - **Bug Fix**
|
1075 | - Stepper `onChange` 重复触发 ([#891](https://github.com/ant-design/ant-design-mobile/issues/891))
|
1076 | - 修复 CheckboxItem 与 BrowserSync 不兼容的问题 ([#350](https://github.com/ant-design/ant-design-mobile/issues/350))
|
1077 | - 修复 Tabs `className` 校验的 bug ([#904](https://github.com/ant-design/ant-design-mobile/issues/904))
|
1078 | - RN stepper `readOnly` 默认改为 `false` ([#890](https://github.com/ant-design/ant-design-mobile/issues/890))
|
1079 | - 修复 Grid 在较老旧 Android 版本上宽度计算的问题
|
1080 | - 修复 RN android Tabbar 和 Toast、Popup、ActionSheet 混合使用时 zIndex 混乱的 bug;([#910](https://github.com/ant-design/ant-design-mobile/issues/910))
|
1081 | - 修复 RN Carousel android 闪烁、componentWillUnmount 不执行的 bug;([#899](https://github.com/ant-design/ant-design-mobile/issues/899),[#906](https://github.com/ant-design/ant-design-mobile/issues/906))
|
1082 | - 修复 ActionSheet(web & RN) maskClosable 不支持 callback index 的问题;([#908](https://github.com/ant-design/ant-design-mobile/issues/908))
|
1083 | - 修复 RN Button 回调参数错误,restProps 覆盖问题;
|
1084 |
|
1085 | * **Improve & Enhancement**
|
1086 | - Icon 增加 try catch,避免控制台报错 ([#895](https://github.com/ant-design/ant-design-mobile/issues/895))
|
1087 | - 官网重构支持国际化,自动检测浏览器语言并支持中/英文切换
|
1088 | - 文档翻译进行中,欢迎参与贡献~ ([#329](https://github.com/ant-design/ant-design-mobile/issues/329))
|
1089 | - 官方 demo 更新 [antd-mobile-samples](https://github.com/ant-design/antd-mobile-samples)
|
1090 |
|
1091 | ## 1.0.1
|
1092 |
|
1093 | `2017-02-24`
|
1094 |
|
1095 | - **Feature**
|
1096 |
|
1097 | - roadhog 支持配置 svg-sprite-loader [icon 文档](https://mobile.ant.design/components/icon) ([#144](https://github.com/sorrycc/roadhog/pull/144))
|
1098 | - React Native 增加 `LocalProvider` 国际化方案 ([#886](https://github.com/ant-design/ant-design-mobile/pull/886))
|
1099 | - React Native `Button` , `Progress`, `TextareaItem` 支持自定义样式 ([#560](https://github.com/ant-design/ant-design-mobile/issues/560))
|
1100 | - 提供 0.9.x iconfont 图标对应的 svg icon ([#866](https://github.com/ant-design/ant-design-mobile/issues/866))
|
1101 |
|
1102 | - **Improve & Enhancement**
|
1103 | - 所有 demo 代码迁移到 ES6 class 和 Pure function,去除 React.createClass ([#824](https://github.com/ant-design/ant-design-mobile/issues/824))
|
1104 | - NavBar 返回间隔从 margin 改为 padding,增大点击区域 ([#844](https://github.com/ant-design/ant-design-mobile/issues/844))
|
1105 | - carouse 去除 mixin ([#859](https://github.com/ant-design/ant-design-mobile/pull/859))
|
1106 | - Tabs 新增 `className` ([#861](https://github.com/ant-design/ant-design-mobile/issues/861))
|
1107 | - stepper 改为使用 svg icon, 升级 rc-input-number
|
1108 | - 主题变量分类调整 ([ref](https://github.com/ant-design/ant-design-mobile/commit/daea9a38133e0670926af6c0bd9233057eb9c3aa))
|
1109 |
|
1110 | * **Bug Fix**
|
1111 | - 修复 List extra 为空的判断逻辑 ([#831](https://github.com/ant-design/ant-design-mobile/issues/831))
|
1112 | - 修复 Toast 不居中的问题 ([#827](https://github.com/ant-design/ant-design-mobile/issues/827))
|
1113 | - 修复 InputItem PC 上无法 clear 的 bug ([#832](https://github.com/ant-design/ant-design-mobile/pull/832))
|
1114 | - 修复 React-Native SearchBar onChange 重复触发的 bug ([#739](https://github.com/ant-design/ant-design-mobile/issues/739))
|
1115 | - 修复 TabBar icon 居中的问题 ([#836](https://github.com/ant-design/ant-design-mobile/issues/836))
|
1116 | - 修复带跑马灯效果的 Grid 组件初始化时跑马灯初始宽度为 0 的问题。([ref](https://github.com/ant-design/ant-design-mobile/commit/1a897c46999e2325acd3754e52dba9144d04695e))
|
1117 | - 修复 Button warning 的样式 ([#863](https://github.com/ant-design/ant-design-mobile/issues/863))
|
1118 |
|
1119 | ## 1.0.0
|
1120 |
|
1121 | `2017-02-17`
|
1122 |
|
1123 | - **Feature**
|
1124 |
|
1125 | - Icon 从 iconfont 转为使用 svg 图片 [#156](https://github.com/ant-design/ant-design-mobile/issues/156)。
|
1126 | - Icon 增加 React Native 版本,[接入指南](https://github.com/ant-design/ant-design-mobile/blob/master/components/icon/index.en-US.md#如何使用-rn)。
|
1127 | - Button 新增 `across` API,支持通栏按钮。
|
1128 | - Progress 组件新增 `appearTransition` API,支持初始显示的动画效果。
|
1129 | - Checkbox / Radio 组件支持 children [#499](https://github.com/ant-design/ant-design-mobile/issues/499)。
|
1130 | - NoticeBar 支持 `marqueeProps`。
|
1131 | - Steps 支持横向图标。
|
1132 | - TabBar web icon 属性新增 `React.Node` 支持(可以使用 Icon 或者 background)。
|
1133 | - Toast 新增 `duration = 0` 效果(不会自动消失)。
|
1134 | - 各组件 RN 版本加入 `styles` 属性,支持完全自定义组件细节样式 [#560](https://github.com/ant-design/ant-design-mobile/issues/560)。
|
1135 | - 新增 [LocaleProvider](https://mobile.ant.design/components/locale-provider),内置中英语言包(默认中文);且所有组件可以用 `props.locale` 覆盖全局 `LocaleProvider` 配置。
|
1136 | - `Tabs` 超过 5 个自动分页,新增 `hammerOptions` API 可配置手势变量, 参考 [API 文档](https://mobile.ant.design/components/tabs)。
|
1137 | - `TabBar` 支持 `dot` dot 类型的 Badge。
|
1138 | - Modal alert 和 prompt 的 `onPress` AI 支持 promise, 参考 [demo](https://github.com/ant-design/ant-design-mobile/blob/master/components/modal/demo/alert.md)。
|
1139 | - RN Flex 支持更多 `touchableWithOutFeedback` 属性。
|
1140 |
|
1141 | - **Break Change**
|
1142 |
|
1143 | - NoticeBar type 变为 icon ,支持完全的自定义内容。
|
1144 | - Popover `iconName` 变为 `icon` ;分割线的 css 设置从底边线修改为顶边线。
|
1145 | - 修改部分 css 变量名和变量值、如:zindex 等。
|
1146 | - RN List 去除 last 属性。
|
1147 | - `DatePicker` 和 `Pagination` 不再接受 `okText`, `dismissText` 属性;`DatePicker`的`locale`属性结构变化,参见 [升级文档](https://github.com/ant-design/ant-design-mobile/blob/master/docs/react/upgrade-notes.en-US.md#其他常用组件更新注意事项)。
|
1148 | - 原 Web 版 `Slider` 拆分成 `Slider`, `Range`, `createTooltip`, 使用方式参见 [Slider 文档](https://mobile.ant.design/components/slider), [Range 文档](https://mobile.ant.design/components/range)。
|
1149 | - Toast 更改为 single instance,新显示的 toast 会覆盖老的;同时增加 mask 特性;。
|
1150 | - Modal 和 Switch 增加 android 平台独立 UI。
|
1151 |
|
1152 | - **Bug Fix**
|
1153 |
|
1154 | - 各输入类组件受控与非受控状态问题修复。
|
1155 | - 修复部分组件(多为依赖 List)的多余边线等细节问题。
|
1156 | - 修复 RN `CheckBox` 受控模式下的 bug。 ([#784](https://github.com/ant-design/ant-design-mobile/issues/784))
|
1157 |
|
1158 | - **Improve & Enhancement**
|
1159 | - 各组件核心实现、样式、演示等全面优化。
|
1160 | - RN Carousel 支持根据子视图高度自适应,去除 height,width 设置。
|
1161 | - 网站重新设计、更加轻盈简洁;优化了网站资源大小、加载速度更快。
|
1162 | - RN android tabbar 添加 iconStyle 支持。
|
1163 | - Modal,Toast,ActionSheet 从 api 中 拆分出 component 形式。
|
1164 |
|
1165 | ## 0.9.15
|
1166 |
|
1167 | `2017-02-15`
|
1168 |
|
1169 | - 修复并优化 TextareaItem, Accordion, Popover, ListView, InputItem 等组件细节问题 #724 #725 #788 #426
|
1170 | - 修复 RN Grid 的 onClick 点击失效问题 #755
|
1171 | - Toast 组件修改成单例模式,避免多个 toast 同时或无序出现的问题 #745
|
1172 | - Modal 组件在 alert / prompt 的 action 里增加 Promise 支持
|
1173 | - TabBar 组件 Android 代码新增 iconStyle 属性支持 #776
|
1174 | - SwipeAction 组件增加遮罩背景样式,并优化 demo
|
1175 |
|
1176 | ## 0.9.14
|
1177 |
|
1178 | `2017-01-13`
|
1179 |
|
1180 | - 修复 Carousel afterChange 不触发问题 #711
|
1181 | - 修复 RadioItem、CheckboxItem 组件 onChange 事件触发两次问题 #689 #721
|
1182 | - 修复相关 RN 组件,使之能与最新版 RN 兼容
|
1183 | - 修复各组件的 TypeScript 类型定义缺失或错误的问题 #667
|
1184 | - 给 package.json 添加 main 字段,加入错误提示,解决常见上手使用问题 #602
|
1185 | - 更新 rc-swipeout 依赖,添加更多特性
|
1186 | - 优化 DatePicker 组件、可以自定义关闭日期选择的弹出框 #639
|
1187 | - 对 Table、ListView、Radio、Modal、Toast、Carousel 等组件或 demo 做细节优化(含 RN)
|
1188 | - rn-tabs 增加 `barStyle` 属性,更加方便配置样式 #676
|
1189 |
|
1190 | ## 0.9.13
|
1191 |
|
1192 | `2016-12-23`
|
1193 |
|
1194 | - 修复 TextareaItem 设置 autoHeight 初始高度不对的问题 #671
|
1195 | - 修复 SreachBar placeholder 的 z-index 设置过高问题 #650
|
1196 | - 修改 List 左右内容平均占据空间的样式设置,凸显内容的主次之分 #655
|
1197 | - 全面替换 touchableFeedback 为 `rc-touchable`,同时修复 TS type 缺失问题 #636 #667
|
1198 | - 修复 Modal 文档错误,优化 Modal、SegmentedControl、TabBar (#646) 的实现和示例
|
1199 | - 修复 ListItem 没有 onClick 事件时也会触发点击反馈问题 #220#issuecomment-267587198
|
1200 | - 优化 ListView、InputItem、TextareaItem 等组件文档
|
1201 |
|
1202 | ## 0.9.12
|
1203 |
|
1204 | `2016-12-15`
|
1205 |
|
1206 | - 修复 SearchBar、Button、SegmentedControl 等 TypeScript 类型引用错误的问题
|
1207 | - 修复 Checkbox、Radio 在某些设备上点击 label 不会选中的兼容性问题
|
1208 | - 修复 InputItem 最后一项多余边线问题;重构 Carousel、Menu 核心实现
|
1209 | - 修正 NoticeBar 文字大小变量;修复 RN Radio 受控状态实现错误的问题
|
1210 | - 修复 RefreshControl 的`distanceToRefresh`设置,使其能自适应不同分辨率的屏幕
|
1211 | - 恢复 Picker、DatePicker 的 extra 设置并更新其文档,并增加自定义 children 的 demo
|
1212 | - 修复 Steps status error 状态展示问题;对 Popup 点击遮罩层的回调函数`onMaskClose`进行功能补充
|
1213 | - 优化 InputItem、TextareaItem、Picker、DatePicker 等组件 demo ,优化各组件文档细节
|
1214 |
|
1215 | ## 0.9.11
|
1216 |
|
1217 | `2016-12-03`
|
1218 |
|
1219 | - 修复 List 底部边线重叠显示问题、重构 List 点击反馈的实现方法;同步修复 ListView.IndexedList 边线重叠问题
|
1220 | - 修复 Checkbox 勾选箭头偏移问题 #581
|
1221 | - 修复 Steps 组件内部逻辑、改进部分样式设置
|
1222 | - 修复 SearchBar 动画表现不准确问题
|
1223 | - 改进[上手和使用文档](https://mobile.ant.design/docs/react/introduce#使用)写法
|
1224 | - 优化 Pagination、RefreshControl、Radio、Drawer、Popover、Result、NoticeBar 等组件实现和相应 demo
|
1225 | - 修复 RN InputItem Android 不能输入的问题 #603
|
1226 |
|
1227 | ## 0.9.10
|
1228 |
|
1229 | `2016-11-25`
|
1230 |
|
1231 | - 重构 SearchBar ,改为模拟的 placeholder 实现,并将其默认居中对齐
|
1232 | - 修复 Popup 组件点击遮罩层不会自动关闭 #555 #558
|
1233 | - 更正 RefreshControl 文档;修复部分组件 demo 在 pc 和 mobile 上展示不一致问题
|
1234 | - 修复 Toast 在 Modal 中使用被覆盖问题 #547
|
1235 | - 优化 Button、List 代码的 rn 实现;修正部分 demo 细节问题
|
1236 |
|
1237 | ## 0.9.9
|
1238 |
|
1239 | `2016-11-18`
|
1240 |
|
1241 | - 改进 Popup 样式 #525 , 默认禁止掉 popup 遮罩层的 onTouchStart 事件、优化在拖动时的体验
|
1242 | - 修复 Radio 同 Accordion 一起使用样式冲突问题 #542 ;优化 List.Body 样式; ImagePicker 添加按钮支持点击反馈
|
1243 | - 修复 Checkbox、Radio、Tag、InputItem 等组件样式细节问题;优化 Flex 组件 demo
|
1244 | - 增加 React 基础、相关工具、应用架构文档指南;并优化“安装&使用”文档、使之更紧凑清晰
|
1245 |
|
1246 | ## 0.9.7
|
1247 |
|
1248 | `2016-11-11`
|
1249 |
|
1250 | - 修复 ListView 遗漏 ref 设置问题 https://github.com/ant-design/ant-design-mobile/commit/2e32956d405880f2fdca3cc88cd7c3b1b7784b7f
|
1251 | - 补充或删除 ActionSheet、Badge、ListView、Pagination、RefreshControl、Steps 依赖组件的样式
|
1252 | - 整理 ts PropsType 文件 #495
|
1253 | - 修复 Radio 组件默认选中问题,改进 demo 展示
|
1254 | - 改进 SearchBar、ImagePicker 等组件 demo 展示,统一文档格式
|
1255 | - TextareaItem 在非受控模式下支持自动高度功能 #459
|
1256 | - 修复 Checkbox、Radio 非受控状态失效问题,并改进 demo 和文档展示
|
1257 |
|
1258 | ## 0.9.6
|
1259 |
|
1260 | `2016-11-05`
|
1261 |
|
1262 | - 修复 Stepper 组件弹出键盘和点击反馈问题 https://github.com/ant-design/ant-design-mobile/commit/94f4e54ab6bb9800fc987cc57d806b5921b11c9d
|
1263 | - 修复 Tabs 选项卡高度不一致问题 https://github.com/ant-design/ant-design-mobile/commit/f4bb4bc86e2a8400fb74a69e9f0a2359ce512b0b
|
1264 | - 修复 InputItem, TextareaItem value 不接受 undefined 问题 https://github.com/ant-design/ant-design-mobile/commit/114fb1ed871acd94433129fda95a30649420aa2a ;支持添加所有 HTML input/textarea 支持的属性(如自定义 pattern 等)
|
1265 | - 修复 android textInput underlineColorAndroid https://github.com/ant-design/ant-design-mobile/commit/8095c924fda68f1b38acae1af09822daae95c3d2
|
1266 | - 优化 Accordion, Checkbox, Popup, Badge, InputItem, TextareaItem, ListView 等组件演示文档和部分核心实现。
|
1267 | - Accordion 文档增加遗漏的 openAnimation API 说明 https://github.com/ant-design/ant-design-mobile/commit/951811484d192c2383b6f5c6815148ee1e44fab6
|
1268 | - 修复 Grid rn 实现不完全问题,并优化代码 https://github.com/ant-design/ant-design-mobile/commit/839fe3518497406dc2bf9c3db82ee89d0e0e5c8f
|
1269 |
|
1270 | ## 0.9.5
|
1271 |
|
1272 | `2016-10-28`
|
1273 |
|
1274 | - 修复部分组件点击反馈属性 warning, #416
|
1275 | - 更正 DatePicker 组件 API 文档,优化 Progress 演示、增加自定义 style 支持
|
1276 | - 修复 Modal.prompt 有时无法 focus 问题 #415 #409
|
1277 | - 移除 SegmentedControl default props tintColor #432
|
1278 | - 修复部分组件 ts props 验证
|
1279 | - 重构 NoticeBar 组件,使 click 事件能在整个区域触发(除了关闭模式)
|
1280 | - 完善并修复 Result、Toast、rn Popup Modal 等组件 demo ;修复部分 css 变量
|
1281 |
|
1282 | ## 0.9.4
|
1283 |
|
1284 | `2016-10-21`
|
1285 |
|
1286 | - Button 组件修复 #396
|
1287 | - 修复 rn-checkbox, rn-radio 支持受控组件 https://github.com/ant-design/ant-design-mobile/commit/6f47c36b8e3729674dc63eaaa39cfac05b125f3c https://github.com/ant-design/ant-design-mobile/commit/5960cd11a94570cfc0b874fa2f05ab0f2bce466a
|
1288 |
|
1289 | ## 0.9.3
|
1290 |
|
1291 | `2016-10-17`
|
1292 |
|
1293 | - 部分组件支持`data-api` https://github.com/ant-design/ant-design-mobile/commit/8972f980d0dddee30fd61ebaa0f75fc07a7a36b3
|
1294 | - 修复 iOS 下 Modal 里内容滑动时引起背静内容滚动问题 #163 #307
|
1295 | - `ImagePicker`新增三个属性`onAddImageClick`, `selectable`, `onImageClick`, https://github.com/ant-design/ant-design-mobile/commit/bb7e461eea71bb8ffdd2477b1b17a714beb21eb1 #252 #297 #357
|
1296 | - 更新部分组件 demo 及文档细节 bug 修复
|
1297 |
|
1298 | ## 0.9.2
|
1299 |
|
1300 | `2016-10-10`
|
1301 |
|
1302 | - Tag 增加 closable 支持 #348
|
1303 | - package 中 dist 目录 css 样式以 rem 为主要单位,方便直接引用样式而不会放大
|
1304 |
|
1305 | ## 0.9.1
|
1306 |
|
1307 | `2016-10-09`
|
1308 |
|
1309 | - 修复 tabbar `icon`、`selectedIcon` 直接 require 图片不显示问题 #343
|
1310 | - 修复`InputItem` pattern bug https://github.com/ant-design/ant-design-mobile/commit/e2b1d4336f6a19ee80667c3383c12861448937e0
|
1311 | - 修复`Button` css 变量未引用问题 #339
|
1312 | - 修复`Picker`样式 https://github.com/ant-design/ant-design-mobile/commit/e7cf959fb6978b5b6fa37294007b8f214477f625 , 新增`onPickerChange`api https://github.com/ant-design/ant-design-mobile/commit/69e142cddc99b0d99ae23f3435e801ddd6ab014d
|
1313 | - 更新 rn list-view demo https://github.com/ant-design/ant-design-mobile/commit/c0b4ae4797a9fac3a00c8272becc2709c2846039
|
1314 |
|
1315 | ## 0.9.0
|
1316 |
|
1317 | `2016-09-30`
|
1318 |
|
1319 | - List 组件 API 调整为与 ListView 保持一致,移除 List.Body, List.Footer,List.Header,title 和 footer 属性变更为 renderHeader 和 renderFooter 方法 [#257](https://github.com/ant-design/ant-design-mobile/issues/257)
|
1320 | - 使用 [zscroller](https://github.com/yiminghe/zscroller) 重构 ListView。新增 `renderSectionBodyWrapper` 来支持渲染自定义的区块包裹组件,新增[scrollerOptions](https://github.com/yiminghe/zscroller#options)
|
1321 | - 使用 zscroller 来支持 RefreshControl (`useBodyScroll` and sticky 失效),刷新回调函数由 loadingFunction 调整为 onRefresh,增加 refreshing 设置是否显示刷新状态 [#](https://github.com/ant-design/ant-design-mobile/issues/288)。RefreshControl 只能和 ListView 结合使用,不能单独使用。
|
1322 | - 修复 Modal & SegmentedControl touch feedback 效果 [#195](https://github.com/ant-design/ant-design-mobile/issues/195)
|
1323 | - 更新 Tabbar,支持 `hidden` prop
|
1324 | - Steps 组件 icon 支持 React.Element
|
1325 | - 修复 Badge、NavBar、ActivityIndicator、Stepper 组件的一些样式细节问题。
|
1326 | - 修复 Carousel dots 隐藏失效的问题
|
1327 | - 修复 android uc modal 样式问题 [#](https://github.com/ant-design/ant-design-mobile/issues/283)
|
1328 | - 修复 SegmentedControl 在模拟器下的样式问题
|
1329 |
|
1330 | ## 0.8.6
|
1331 |
|
1332 | `2016-09-23`
|
1333 |
|
1334 | - 修复 Carousel dot 样式问题 #302
|
1335 | - 修复 Tabbar 文字居中问题 #310
|
1336 | - 修复 多个 Modal closable icon 不显示的问题
|
1337 | - 修复 NavBar 返回 Icon 不显示的问题; #302
|
1338 | - 修复 List 箭头指向 和 单行展示问题 #273 #274
|
1339 | - 修复 DatePicker demo
|
1340 | - 更新 Modal,API `dialog` 改为 `transparent`
|
1341 | - 新增 List 结合 rc-form demo
|
1342 | - 增加 less 文件的入口,方便配置工具统一加载样式。 https://github.com/ant-design/ant-design-mobile/pull/267
|
1343 | - 优化 Badge 样式
|
1344 | - 优化 ActivityIndicator demo, 网站组件分类优化
|
1345 |
|
1346 | ## 0.8.5
|
1347 |
|
1348 | `2016-09-14`
|
1349 |
|
1350 | - 修复 Picker 和 DatePicker `extra`设置在 ListItem 上不生效问题 #241
|
1351 | - 去除 Button `size=small` 只在 `inline` 设置后生效的限制
|
1352 | - 修复 Button 组件在 pc 版本的 demo 里的按下效果 #244
|
1353 | - 优化 Picker / DatePicker 点击反馈效果 https://github.com/ant-design/ant-design-mobile/commit/adb5a45ae35e13f64d4f295dd328cf9da45aec57 #195
|
1354 | - 去除 Stepper 组件的 input 不能输入限制,并更改`readOnly`默认值 https://github.com/ant-design/ant-design-mobile/commit/8325f6444970559e465d71df625e81cbe57c0b85#commitcomment-19012543
|
1355 | - 优化 Drawer / Popup 等组件 demo,网站展示细节优化
|
1356 |
|
1357 | ## 0.8.3
|
1358 |
|
1359 | `2016-09-09`
|
1360 |
|
1361 | - `Checkbox` 修复同意协议这种场景下,label 中有协议无法触发`onClick`的 bug。
|
1362 | - `SearchBar` 优化动画效果。
|
1363 | - `Carousel` 修改为基于`nuka-carousel`。原有`card`模式不再提供,需自行定制。
|
1364 |
|
1365 | ps: 目前`listview` 和 `refresh-control` 不兼容,正在修复中
|
1366 |
|
1367 | ## 0.8.2
|
1368 |
|
1369 | `2016-09-07`
|
1370 |
|
1371 | - 给`body`标签设置默认背景色,以及默认的`font-size`,`html`设置默认的`font-size`。
|
1372 | - `Grid`属性扩展,每行列数可配置,提供`renderItem`方法。
|
1373 | - 修复`Checkbox`、`Radio`样式细节以及兼容性问题。
|
1374 | - `SearchBar`输入框`Blur`状态时`placeholder`固定靠左对齐。
|
1375 | - `Menu`高度计算 bugfix。
|
1376 |
|
1377 | ## 0.8.1
|
1378 |
|
1379 | `2016-09-02`
|
1380 |
|
1381 | - 修复并整理各弹出层类组件 z-index 顺序 https://github.com/ant-design/ant-design-mobile/commit/bb875c2a924f61cc03b8d013fd1a8f5ee8e22972
|
1382 | - Tab 增加禁止 swipeable 的功能 #209
|
1383 | - TabBar 更改为和 iOS 原生方式一致,保持 web 和 rn 统一,去掉 swipeable
|
1384 | - List 组件 list-body 边框支持配置 https://github.com/ant-design/ant-design-mobile/commit/76760060cb5dfa5c9474b2174ee03db3c30b5197
|
1385 |
|
1386 | ## 0.8.0
|
1387 |
|
1388 | `2016-08-31`
|
1389 |
|
1390 | > UI 风格更换为 alipay 官方风格
|
1391 |
|
1392 | - **Bug Fix**
|
1393 |
|
1394 | - 修复 `Object.assign` 兼容问题
|
1395 | - Picker / DatePicker 添加 disabled 支持
|
1396 | - InputItem 和 TextareaItem API `format` 改为 `type`,移除原来 type;修复 maxLength bug
|
1397 | - ListView 增加`useBodyScroll` API, IndexedList 支持分两步渲染
|
1398 | - Button `ghost`从原来的单独属性,变为`type`下的属性值,修复样式细节问题
|
1399 | - Modal `footer` 类型更改
|
1400 | - Dropdown 效果和 `ActionSheet.showActionSheetWithCustom` 效果集成到新增的`Popup`组件里;`ActionSheet.showActionSheetWithCustom` API 移除
|
1401 | - `ActionSheet.showShareActionSheetWithOptions`支持多行,`options`配置项支持二维数组,callback 参数增加显示行序列
|
1402 | - `ActionSheet.showActionSheetWithOptions`/`ActionSheet.showShareActionSheetWithOptions` 的 `callback`支持返回 Promise
|
1403 | - ActionSheet react-native android 下新增`close` API,支持自定义内容下的编程关闭 ActionSheet
|
1404 | - Toast rn 组件修复遮挡 NavBar 问题
|
1405 | - 修复 rn 组件离线图片找不到问题
|
1406 | - 官方网站展示优化,demo 分类优化,web demo 采用 rem 和页面 scale 缩放方案,达到页面高清效果
|
1407 |
|
1408 | - **新增 rn 组件**
|
1409 |
|
1410 | - Checkbox
|
1411 | - Carousel
|
1412 | - Radio
|
1413 | - Steps
|
1414 | - SearchBar
|
1415 | - SegmentedControl
|
1416 | - TabBar
|
1417 | - Tabs
|
1418 |
|
1419 | - **组件变更**
|
1420 |
|
1421 | - Timeline 移除
|
1422 | - Tooltip 移除
|
1423 | - Tabs 拆分为 SegmentedControl、TabBar、Tabs
|
1424 | - Tabs tabPosition => tabBarPosition, animation => animated
|
1425 |
|
1426 | - **组件更名**
|
1427 | - FloatMenu => Popover
|
1428 | - Collapse => Accordion
|
1429 | - PageResult => Result
|
1430 | - TopNotice => NoticeBar
|
1431 | - Uploader => ImagePicker
|
1432 |
|
1433 | ## 0.7.6
|
1434 |
|
1435 | `2016-08-12`
|
1436 |
|
1437 | - `Tabs` `Object.assign`使用`object-assign`替代。
|
1438 |
|
1439 | ## 0.7.5
|
1440 |
|
1441 | `2016-08-11`
|
1442 |
|
1443 | - `List` 1px 问题优化,`List`的容器设定了固定高度,`overflow`设置为`scroll`,`List.Item`的边框会消失。
|
1444 | - `Grid` 处理`Grid`的`icon`图片不是正方形的显示问题。
|
1445 |
|
1446 | ## 0.7.4
|
1447 |
|
1448 | `2016-08-10`
|
1449 |
|
1450 | - `List.Item` 解决`onClick`时组件`unmount`而同时在更新组件内部 state 引起的报错。
|
1451 | - `SearchBar` 修复在部分 Android 机型下宽度异常。
|
1452 |
|
1453 | ## 0.7.3
|
1454 |
|
1455 | `2016-08-09`
|
1456 |
|
1457 | - `ListView` 非 sticky 模式功能问题修复,并增加更多 demo (rn demo 优化)
|
1458 | - `DatePicker` 修正并扩展 format 函数功能
|
1459 | - `InputNumber` `Dialog` `Menu` `ActivityIndicator` `Checkbox` 等细节优化
|
1460 |
|
1461 | ## 0.7.2
|
1462 |
|
1463 | `2016-08-02`
|
1464 |
|
1465 | - 修复 iconfont 重复引用问题;
|
1466 | - 各组件动画设置统一到`components/style/anim.less`里;
|
1467 | - 网站的移动版展示优化;
|
1468 |
|
1469 | ## 0.7.1
|
1470 |
|
1471 | `2016-08-01`
|
1472 |
|
1473 | - `Toast`组件`z-index`优化;
|
1474 | - 纠正文档中错误的 `DatePicker` value / minDate / maxDate 类型,修复 rn 点击不能打开问题;
|
1475 | - `ActionSheet` 分享功能的 icon 样式优化,rn demo 展示优化;
|
1476 | - 工具增加`babel-runtime`支持;
|
1477 |
|
1478 | ## 0.7.0
|
1479 |
|
1480 | `2016-07-29`
|
1481 |
|
1482 | - 新增 `Tooltips`、`Card`、`Pagination`、`Loading`、`Table` 组件;
|
1483 | - `ListAction` 更名为 `SwipeAction`;
|
1484 | - `WhiteSpace` 和 `WingBlank` 组件的 mode 属性修改为 size;
|
1485 | - `InputItem`、`TextareaItem` 的左边 label 字数可以配置,有默认值;
|
1486 | - `DatePicker` value 类型更改;
|
1487 | - typescript 支持;
|
1488 | - 完成 30+ 组件 对应的 react native 组件;demo app beta 版二维码:
|
1489 |
|
1490 | ![demo app](https://zos.alipayobjects.com/rmsportal/qYVpyTZzcWMGerJ.png)
|
1491 |
|
1492 | - demo app 支持扫码预览 web & react native 项目;
|
1493 | - [官方网站](http://mobile.ant.design)优化;
|
1494 |
|
1495 | ## 0.6.0
|
1496 |
|
1497 | `2016-06-20`
|
1498 |
|
1499 | - 新增 `ListView`、` ListAction``Grid ` `Menu`、`Uploader`、`RefreshControl`组件;
|
1500 | - `ListPicker` / `ListDatePicker` 组件更名为 Picker / DatePicker;
|
1501 | - 删除 `SelectList` 组件(可使用 `Radio` 组件代替),或者使用更强大的`Menu`组件;
|
1502 | - 更新`Flex`,全部支持 flex 属性。(ps:UC 内核对 flex 布局支持不完善);
|
1503 | - 更新`List.Item`、`InputItem`、`TextareaItem`的报错样式;
|
1504 | - `InputItem`支持数字输入(`format="number"`);
|
1505 | - `Tabs` 组件新增 tabbar 形式;
|
1506 | - `TopNotice` 当 mode 为 `closable`时, 则自动销毁;
|
1507 | - `Steps`组件支持 size 为`pointer`的点状样式;
|
1508 | - 提供`List`、`Button`、`Flex`、`WhiteSpace`、`WingBlank`五个 UI 组件;
|
1509 |
|
1510 | ## 0.5.0
|
1511 |
|
1512 | `2016-05-16`
|
1513 |
|
1514 | 发布全新的基于 Ant Design 设计规范的版本。
|