1 | ---
|
2 | title: Change Log
|
3 | toc: hidden
|
4 | ---
|
5 |
|
6 | ### 2.5.19
|
7 |
|
8 | `2021-05-14`
|
9 |
|
10 | - Fix
|
11 | - Fix the problem of incorrect image size modification by `image-reader`
|
12 | - Fix the problem that `stepper` can't enter the decimal point
|
13 | - Fix the problem that the `process.env.MAND_ENV` environment variable is not injected correctly
|
14 |
|
15 | ### 2.5.18
|
16 |
|
17 | `2021-04-02`
|
18 |
|
19 | - Fix
|
20 | - Fix the problem that the initial value of `stepper` is `-` `.` incorrectly parsed
|
21 | - Fix the problem of incorrect image size modification by `image-reader`
|
22 |
|
23 | ### 2.5.17
|
24 |
|
25 | `2021-03-02`
|
26 |
|
27 | - Feat
|
28 | - Add i18n support in the project
|
29 |
|
30 | ### 2.5.16
|
31 |
|
32 | `2021-02-26`
|
33 |
|
34 | - Fix
|
35 | - Fix the issue of picture angle correction
|
36 |
|
37 | ### 2.5.15
|
38 |
|
39 | `2021-02-04`
|
40 |
|
41 | - Fix
|
42 | - Replace `NODE_ENV` with `MAND_ENV` in some components
|
43 |
|
44 | ### 2.5.14
|
45 |
|
46 | `2021-01-15`
|
47 |
|
48 | - Feat
|
49 | - `Dialog` supports passing in `transition` when using static methods[#716](https://github.com/didi/mand-mobile/issues/716)
|
50 | - Fix
|
51 | - Fix `Tip` error when no attributes in subcomponent
|
52 | - Fix the conflict of `InputItem` component instance method sharing `debounce` internal variables
|
53 |
|
54 | ### 2.5.13
|
55 |
|
56 | `2020-09-17`
|
57 |
|
58 | - Feat
|
59 | - `TextareaItem` support formation[#699](https://github.com/didi/mand-mobile/issues/699)
|
60 |
|
61 | - Fix
|
62 | - Fix spelling errors in the document[#690](https://github.com/didi/mand-mobile/issues/690)
|
63 | - Fix the bug of `DatePicker` unit test
|
64 | - Fix the type check of `RadioGroup` to `value`[#693](https://github.com/didi/mand-mobile/issues/693)
|
65 |
|
66 | ### 2.5.12
|
67 |
|
68 | `2020-07-24`
|
69 |
|
70 | - Fix
|
71 | - Avoid repeated triggering of click and touchstart in `NumberKeyboard` component
|
72 |
|
73 | ### 2.5.11
|
74 |
|
75 | `2020-05-29`
|
76 |
|
77 | - Fix
|
78 | - Fix the issue of incorrect Chinese currency unit of `Amount` component[#675](https://github.com/didi/mand-mobile/issues/675)
|
79 |
|
80 | ### 2.5.10
|
81 |
|
82 | `2020-04-30`
|
83 |
|
84 | - Fix
|
85 | - Fix the issue of incorrect font line-height of `Button` under text link type[#663](https://github.com/didi/mand-mobile/issues/663)
|
86 | - Fix the issue that `jpgencoder` in` ImageReader` may be repeatedly loaded (such as in micro front-end mode)
|
87 | - Fix `TabBar` size calculation compatibility issue
|
88 |
|
89 | ### 2.5.9
|
90 |
|
91 | `2020-03-26`
|
92 |
|
93 | - Feat
|
94 | - `CheckGroup` adds method `toggleAll`, used to Select All or Deselect[#648](https://github.com/didi/mand-mobile/issues/648)
|
95 |
|
96 | - Fix
|
97 | - Fix `TextAreaItem` has wrong height,when it's filled with asynchronous content
|
98 |
|
99 | ### 2.5.8
|
100 |
|
101 | `2020-02-04`
|
102 |
|
103 | - Feat
|
104 | - `Captcha` add prop `auto-send`, used to control whether the `send` event is automatically triggered when the captcha popup is first displayed
|
105 | - `ResultPage` props add dynamic change response
|
106 |
|
107 | - Fix
|
108 | - Fix the issue of `Picker` and `DatePicker` that when scrolled multiple columns, the selected item was abnormal[#632](https://github.com/didi/mand-mobile/issues/632)
|
109 | - Fix the incorrect timing of the refreshActive event in `ScrollViewRefresh`[#642](https://github.com/didi/mand-mobile/issues/642)
|
110 | - Fix `Amount` displaying wrong numbers with thousands characters[#644](https://github.com/didi/mand-mobile/issues/644)
|
111 | - Fix the issue that the size calculation of `TextAreaItem` is incorrect when nesting in` Popup`
|
112 | - Fix the issue that auto-play would not work when sliding up and down in `Swiper`
|
113 | - Fix `Tip` incorrect placement in ScrollView
|
114 |
|
115 | ### 2.5.7
|
116 |
|
117 | `2019-12-26`
|
118 |
|
119 | - Feat
|
120 | - `Landscape` add prop `transition`, used to customize the display animation
|
121 |
|
122 | - Fix
|
123 | - Fix the reflowing issue that `Tabs` may cause when switching tabs[#627](https://github.com/didi/mand-mobile/issues/627)
|
124 | - Fix the problem of scrolling accidentally when `NoticeBar` dynamically changed content[#628](https://github.com/didi/mand-mobile/issues/628)
|
125 | - Fix safe area white space compatible writing of `ActionBar`, `NumberKeyboard`
|
126 |
|
127 | ### 2.5.6
|
128 |
|
129 | `2019-11-23`
|
130 |
|
131 | - Fix
|
132 | - Fix `Stepper` has initial values, maximum and minimum values are the problem of not being able to enter numbers, and optimized boundary check logic[#614](https://github.com/didi/mand-mobile/issues/614)
|
133 |
|
134 | ### 2.5.5
|
135 |
|
136 | `2019-11-08`
|
137 |
|
138 | - Fix
|
139 | - Fix the problem of size exception caused by window size change when `TabBar` were used in `keep-alive`[#608](https://github.com/didi/mand-mobile/issues/608)
|
140 | - Fix `Skeleton` title exception shows when it is empty
|
141 |
|
142 | ### 2.5.4
|
143 |
|
144 | `2019-11-02`
|
145 |
|
146 | - Feat
|
147 | - `ScrollView` adds method`getOffsets`, used to get scroll distance
|
148 |
|
149 | - Fix
|
150 | - Fix the problem that `Swiper` changes back to the first screen due to window size change[#596](https://github.com/didi/mand-mobile/issues/596)
|
151 | - Fix the problem of size exception caused by window size change when `Swiper` and `TabBar` were used in `keep-alive`[#599](https://github.com/didi/mand-mobile/issues/599)
|
152 | - Fix `TabBar` size calculation compatibility issue
|
153 | - Update the presentation logic of the `TextareaItem` empty button, only when the form value is not empty and focused[#589](https://github.com/didi/mand-mobile/issues/589)
|
154 |
|
155 | ### 2.5.3
|
156 |
|
157 | `2019-10-11`
|
158 |
|
159 | - Feat
|
160 | - `TextareaItem` add prop `clearable`[#589](https://github.com/didi/mand-mobile/issues/589)
|
161 |
|
162 | - Fix
|
163 | - Fix the problem that `TabPicker` could not be dragged when the text was too long[#590](https://github.com/didi/mand-mobile/issues/590)
|
164 | - Remove some non-required reset styles[#586](https://github.com/didi/mand-mobile/issues/586)
|
165 |
|
166 | ### 2.5.2
|
167 |
|
168 | `2019-09-20`
|
169 |
|
170 | - Feat
|
171 | - `Picker` and `DatePicker` add prop `keep-index`, used to set the last stop position when the column data changes
|
172 |
|
173 | - Fix
|
174 | - Fix the problem that `Toast` is covered by `Landscape`
|
175 | - Fix the problem of `TabBar` rendering crash[#567](https://github.com/didi/mand-mobile/issues/567)
|
176 | - Remove the useless style variables of `Textarea`
|
177 |
|
178 | ### 2.5.1
|
179 |
|
180 | `2019-09-04`
|
181 |
|
182 | - Feat
|
183 | - Add part of global [reset style](https://github.com/didi/mand-mobile/pull/539/files)
|
184 | - Add new component `Skeleton`
|
185 | - Add new component `TextareaItem`
|
186 | - Add new components `RadioGroup` and `RadioBox`
|
187 | - Add options `type `, `plain`, `round`, `inactive`, `loading`, `icon`, `iconSvg` to `ActionBar` and `ResultPage` button configration[#544](https://github.com/didi/mand-mobile/issues/544)
|
188 | - Add handlers `onShow` and `onHide` to singleton mode `Dialog`
|
189 | - `InputItem` add prop `preview-type`, used to set the type of pre-filled impression
|
190 |
|
191 | ```html
|
192 | <md-input-item
|
193 | type="bankCard" <!-- type when entering normally -->
|
194 | preview-type="text" <!-- type when pre-filling display -->
|
195 | title="银行卡号"
|
196 | value="6222 **** **** 1234" <!-- pre-filled value with mask -->
|
197 | ></md-input-item>
|
198 | ```
|
199 |
|
200 | - Fix
|
201 | - fix page flipping problem when sliding out of touch area in `Swiper`[#540](https://github.com/didi/mand-mobile/issues/540)
|
202 | - modify button background color setting property to `background` and the container element to `div`
|
203 |
|
204 | ### 2.4.2
|
205 |
|
206 | `2019-08-13`
|
207 |
|
208 | - Fix
|
209 | - fix style issues with `FieldItem` and `InputItem` headers and content alignment[#528](https://github.com/didi/mand-mobile/issues/528)
|
210 | - bolder font weight in android devices of `FieldItem` and `InputItem`
|
211 |
|
212 | ### 2.4.1
|
213 |
|
214 | `2019-08-03`
|
215 |
|
216 | - Fix
|
217 | - Fix the problem that `InputItem` cannot limit the max length of characters when using virtual keyboard input[#524](https://github.com/didi/mand-mobile/issues/524)
|
218 | - Fix `Amount` with the loss of precision in animation mode
|
219 |
|
220 | ### 2.4.0
|
221 |
|
222 | `2019-07-29`
|
223 |
|
224 | - Design
|
225 | - 🍭Financial design specification update, the title bar `border-radius` of `Popup` based components changed from `8px` to `40px` (Large-Radius pattern), `border-radius` of `Dialog` changed from `8px` to `12px`
|
226 |
|
227 | ![Design](https://pt-starimg.didistatic.com/static/starimg/img/FLXmXRBcDX1564369346467.jpg)
|
228 |
|
229 | - Feature
|
230 | - `PopupTitleBar` adds following Props:
|
231 | - `large-radius` for supporting Large-Radius pattern
|
232 | - `only-close`, used to quickly set a single close button
|
233 | - `title-align`, used to set the position of title and description(left/right/center)
|
234 | - `Picker`, `DatePicker`, `TabPicker`, `Selector`, `Cashier` add Prop `large-radius` for supporting Large-Radius pattern
|
235 | - `Selector` adds Prop `hide-title-bar`, used to support hiding the title bar in no confirmation mode, and adds slots `header`,`footer`
|
236 | - `Button` adds Prop `loading`, used to set the loading status
|
237 | - `Dialog` Prop `btns` adds two status settings `disabled`/`loading`, and passing back the `btn` instance in `handler`[#500](https://github.com/didi/mand-mobile/issues/500)
|
238 |
|
239 | ```javascript
|
240 | export default {
|
241 | data () {
|
242 | return {
|
243 | btns: [{
|
244 | text: 'Search',
|
245 | handler: this.btnHandler
|
246 | }]
|
247 | }
|
248 | },
|
249 | methods: {
|
250 | btnHandler (btn) {
|
251 | this.$set(btn, 'loading', true)
|
252 | this.$set(btn, 'text', 'Searching')
|
253 | },
|
254 | }
|
255 | }
|
256 | ```
|
257 |
|
258 | - Fix
|
259 | - fix `InputItem` and `Stepper` with default values will trigger the `change` event when the component is initialized[#495](https://github.com/didi/mand-mobile/issues/495)
|
260 | - `Amount` capital mode is compatible with negative numbers[#510](https://github.com/didi/mand-mobile/issues/510)
|
261 |
|
262 | ### 2.3.3
|
263 |
|
264 | `2019-07-18`
|
265 |
|
266 | - Fix
|
267 | - Fix compatibility issues when fixing `Toast` custom positions[#485](https://github.com/didi/mand-mobile/issues/485)
|
268 | - Fix `TabPicker` when setting `default-value`, `TabBar` can't automatically select the last item[#488](https://github.com/didi/mand-mobile/issues/488)
|
269 | - Fix `Selector` and `CheckList` click icons can't select current item[#491](https://github.com/didi/mand-mobile/issues/491)
|
270 | - Fix this problem `Popup` can't cover `NoticeBar`[#492](https://github.com/didi/mand-mobile/issues/492)
|
271 | - Fix partial `stylus` variable assignment error in `Stepper`
|
272 |
|
273 | ### 2.3.2
|
274 |
|
275 | `2019-07-05`
|
276 |
|
277 | - Fix
|
278 | - fix `Codebox` value could not be assigned when initializing
|
279 | - fix the problem that the `NumberKeyboard` keys may be clicked incorrectly[#477](https://github.com/didi/mand-mobile/issues/477)
|
280 |
|
281 | ### 2.3.1
|
282 |
|
283 | `2019-06-22`
|
284 |
|
285 | - Feature
|
286 | - `NumberKeyboard` adds property `isHideConfirm`, used to control whether the confirmation button click action automatically hides the keyboard[#474](https://github.com/didi/mand-mobile/issues/474)
|
287 | - `NumberKeyboard` add default slot
|
288 |
|
289 | - Fix
|
290 | - fix 'Slider` progress bar width calculation error[#472](https://github.com/didi/mand-mobile/issues/472)
|
291 | - fix the problem that the `NumberKeyboard` keys may be clicked incorrectly[#477](https://github.com/didi/mand-mobile/issues/477)
|
292 |
|
293 | ### 2.3.0
|
294 |
|
295 | `2019-06-13`
|
296 |
|
297 | - Feature
|
298 | - `Check` and `CheckList` increase the icon size, location and other related configuration properties[#383](https://github.com/didi/mand-mobile/issues/383)
|
299 | - `CheckList` slot adds `index`, `selected` field
|
300 |
|
301 | ```html
|
302 | <template>
|
303 | <md-check-list :options="data">
|
304 | <template slot-scope="{ option, index, selected }">
|
305 | <!-- xxx -->
|
306 | </template>
|
307 | </md-check-list>
|
308 | </template>
|
309 | ```
|
310 |
|
311 | - `RadioList` slot adds `index`, `selected` fields, and does not display icons when `icon` is empty
|
312 | - `Selector` adds property `multi` to support multiple selections[#296](https://github.com/didi/mand-mobile/issues/296)
|
313 | - `Toast` adds the attribute `component`, which is used and customized in component form[#445](https://github.com/didi/mand-mobile/issues/445)
|
314 | - ScrollView` adds property `is-prevent` to support setting whether to prevent the default behavior when scrolling in non-scrollable areas[#454](https://github.com/didi/mand-mobile/issues/454)
|
315 |
|
316 | - Fix
|
317 | - Fix autoplay invalidation when `Swiper` property isLoop is true[#452](https://github.com/didi/mand-mobile/issues/452)
|
318 | - Fix error caused by closing dialog, when `Dialog` property `maskClosable` is true[#471](https://github.com/didi/mand-mobile/issues/471)
|
319 |
|
320 | ### 2.2.4
|
321 |
|
322 | `2019-05-26`
|
323 |
|
324 | - Fix
|
325 | - Fix the problem that the first and last items of `TabBar` cannot be automatically repaired after they are selected[#434](https://github.com/didi/mand-mobile/issues/434)
|
326 | - Texts of `TabBar` items cannot be selected
|
327 |
|
328 | ### 2.2.3
|
329 |
|
330 | `2019-05-25`
|
331 |
|
332 | - Fix
|
333 | - Utility style `hairline` replaces `width` and `height` with `border`
|
334 |
|
335 | ### 2.2.2
|
336 |
|
337 | `2019-05-11`
|
338 |
|
339 | - Feature
|
340 | - `TabPicker`add event `select`[#436](https://github.com/didi/mand-mobile/issues/436)
|
341 |
|
342 | - Fix
|
343 | - When the option in the tab list of each level of `TabPicker` is selected, the internal container is reset to the top
|
344 | - `RadioList` automatically clears the filled out text box when switching to a non-text option
|
345 | - `DatePicker` prop `custom-types` support `HH`[#433](https://github.com/didi/mand-mobile/issues/433)
|
346 | - Add `onCancel` to the type declaration of `Dialog`
|
347 | - Optimize some components documentation
|
348 |
|
349 | ### 2.2.1
|
350 |
|
351 | `2019-04-22`
|
352 |
|
353 | - Feature
|
354 | - `Stepper` add slots `unreached`、`icon`[#405](https://github.com/didi/mand-mobile/issues/405)
|
355 | - `InputItem` add prop `solid`, used to set the title with unfixed width[#411](https://github.com/didi/mand-mobile/issues/411)
|
356 | - `Ruler` add props `stepTextPosition`、`stepTextRender`
|
357 |
|
358 | - Fix
|
359 | - Fix the exception thrown by `Picker` when setting a wrong `default-index`[#416](https://github.com/didi/mand-mobile/issues/416)
|
360 | - Optimize some component styles
|
361 |
|
362 | ### 2.2.0
|
363 |
|
364 | `2019-04-13`
|
365 |
|
366 | - Feature
|
367 | - New `Ruler` Component
|
368 | - `ScrollViewRefresh` add prop `rollerColor`, used to set the progress bar color of pull-down refreshing[#399](https://github.com/didi/mand-mobile/issues/399)
|
369 | - Optimize `WaterMark` component by using `canvas` to render watermark
|
370 | - `Stepper` add `increase`, `decrease` events
|
371 |
|
372 | - Fix
|
373 | - `Swiper` incorrect index jumping with method `goto`[#366](https://github.com/didi/mand-mobile/issues/366)
|
374 | - `Progress` hide inner circle when value is `0`[#381](https://github.com/didi/mand-mobile/issues/381)
|
375 |
|
376 | ### 2.1.7
|
377 |
|
378 | `2019-03-22`
|
379 |
|
380 | - Fix
|
381 | - `InputItem` not update when slots change
|
382 | - `Codebox` bottom border not shown on some devices
|
383 |
|
384 | ### 2.1.6
|
385 |
|
386 | `2019-03-15`
|
387 |
|
388 | - Fix
|
389 | - `Swiper` not destroy properly[#338](https://github.com/didi/mand-mobile/issues/338)
|
390 | - `InputItem` support string type `virtual-keyboard-vm` prop[#355](https://github.com/didi/mand-mobile/issues/355)
|
391 |
|
392 | ### 2.1.4
|
393 |
|
394 | `2019-03-08`
|
395 |
|
396 | - Feature
|
397 | - Optimize `Swiper` gestures
|
398 |
|
399 | - Fix
|
400 | - Some build bugs
|
401 | - `ScrollView` move out screen not trigger scroll end action
|
402 | - `Popup` synchronously operate problem[#341](https://github.com/didi/mand-mobile/issues/341)
|
403 |
|
404 | ### 2.1.2
|
405 |
|
406 | `2019-02-25`
|
407 |
|
408 | - Fix
|
409 | - Fix `ScrollView` is not able to trigger the problem when the content is not full.[#335](https://github.com/didi/mand-mobile/issues/335)
|
410 | - Fixed a problem with the line break when the `InputItem` title floated
|
411 |
|
412 | ### 2.1.1
|
413 |
|
414 | `2019-02-23`
|
415 |
|
416 | - Fix
|
417 | - Fix the problem that `postcss` is not in effect at build time, causing assets such as images in `mand-mobile.css` not to be processed by url inline。
|
418 |
|
419 | ### 2.1.0
|
420 |
|
421 | `2019-02-22`
|
422 |
|
423 | - Feature
|
424 | - `Seletor`: `defaultValue` prop remove type limits[#305](https://github.com/didi/mand-mobile/issues/305)
|
425 | - `ScrollView`: add `immediateCheckEndReaching` prop,in order to check reach bottom immediately and emit `endReached` event[#312](https://github.com/didi/mand-mobile/issues/312)
|
426 | - `Picker` and `DatePicker`: add `lineHeight` prop, which is used to customize option line height[#323](https://github.com/didi/mand-mobile/issues/323)
|
427 | - `ScrollView`: add `touchAngle` prop, in order to control scroll angle[#326](https://github.com/didi/mand-mobile/issues/326)
|
428 | - `Amount`: use system default font
|
429 |
|
430 | - Fix
|
431 | - Update type declaration
|
432 | - `WaterMark`: fix can not click content area[#304](https://github.com/didi/mand-mobile/issues/304)
|
433 | - `Swiper`: fix when set `isLoop` as `false` and `transition` as `slideY`, can not scroll problem[#311](https://github.com/didi/mand-mobile/issues/311)
|
434 | - `TabPicker`: fix scroll and click bug[#319](https://github.com/didi/mand-mobile/issues/319)
|
435 | - `InputItem`: fix wrong cursor position[#322](https://github.com/didi/mand-mobile/issues/322)
|
436 | - `InputItem`: fix bug at `Vue 2.6+`[#324](https://github.com/didi/mand-mobile/issues/324)
|
437 | - Update docs
|
438 |
|
439 | ### 2.0.0
|
440 |
|
441 | `2019-01-30`
|
442 |
|
443 | - Feature
|
444 | - `DetailItem` increase supported types of `content`[#285](https://github.com/didi/mand-mobile/issues/285)
|
445 | - `Dialog` add default value `true` of `preventScroll`[#286](https://github.com/didi/mand-mobile/issues/286)
|
446 | - `Radio` increase supported types of `value`[#289](https://github.com/didi/mand-mobile/issues/289)
|
447 | - `Icon` font type increases without prefix class name[#295](https://github.com/didi/mand-mobile/issues/295)
|
448 | - `Check`,`CheckBox`increase supported types of `name` and `value`[#297](https://github.com/didi/mand-mobile/issues/297)
|
449 | - `InputItem` add prop `virtual-keyboard-vm`, used to support external custom financial keyboards
|
450 | - `Cashier` add scoped slot `footer` and `channels` add property `img`
|
451 |
|
452 | - Fix
|
453 | - `InputItem` remove setting cursor for native type [#268](https://github.com/didi/mand-mobile/issues/268)
|
454 | - supplement `index.d.ts`
|
455 | - fix part of components style issues
|
456 |
|
457 | ### 2.0.0-rc.5
|
458 |
|
459 | `2019-01-04`
|
460 |
|
461 | - Feature
|
462 | - Add `PascalCase` name to global components[#261](https://github.com/didi/mand-mobile/issues/261)
|
463 | - `ScrollView` add prop `manual-init` and method `init`
|
464 | - `TabBar`, `Tabs` add prop `immediate`
|
465 | - `Swiper` add prop `transition-duration`
|
466 |
|
467 | - Fix
|
468 | - fix part of components style issues
|
469 |
|
470 | ### 2.0.0-rc.4
|
471 |
|
472 | `2018-12-21`
|
473 |
|
474 | - Feature
|
475 | - Optimize `NumberKeyboard` input experience
|
476 | - `Cashier` adds slot `scene`
|
477 | - `Picker` adds prop `default-value`[#255](https://github.com/didi/mand-mobile/issues/255)
|
478 |
|
479 | - Fix
|
480 | - Fix `Popup` continuous "show & hide" invalidation problem
|
481 | - Fix `Steps` style compatibility issues
|
482 | - Fix `InputItem` style problem, increase close button click area
|
483 | - `setError` of `Captcha` no longer clears codes
|
484 |
|
485 | ### 2.0.0-rc.3
|
486 |
|
487 | `2018-12-14`
|
488 |
|
489 | 🎉🎉🎉 👏👏👏 Learn more in the<a href="#/en-US/docs/migration">Migration from 1.x</a>.
|
490 |
|
491 | ### 1.x
|
492 |
|
493 | Visit [GitHub](https://github.com/didi/mand-mobile/blob/1.x/CHANGELOG.en-US.md) to read `1.x` change logs.
|
494 |
|
495 |
|
\ | No newline at end of file |