diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index ff3d7c2468..0bbeacc10a 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,24 @@ ## Changelog +### 2.4.9 + +*2018-10-26* + +- The parameter of Form's `clearValidate` supports string, #12990 (by @codinglobster) +- Added type attribute for Badge, #12991 +- Users can use scoped-slot to customize table column header #13012 (by @ivanseidel) +- Fixed the input box of Select unable to type text under IE, #13034 (by @GaliMU) +- Select option does not wrap when space is enough, #12329 (by @akki-jat) +- When dropdown list of Select is expanded, the arrow icon will also display correctly, #12353 (by @firesh) +- Fixed that the size attribute of Select does not work, #13070 +- Select multiple values can be cleared, #13049 (by @ZSkycat) +- Fixed the last TabNav unable be deleted, #13039 +- Fixed that TabNav label is not displayed correctly, #13178 +- Added title slot for Alert, #13082 (by @Kingwl) +- Fixed an issue where the tooltip content in Table was incorrect, #13159 (by @elfman) +- Optimize the animation of Upload when file is deleted, #12987 +- Adjusted style of InputNumber when control button is not displayed, #13052 + ### 2.4.8 - Not displaying outline when Switch is focused, #12771 diff --git a/CHANGELOG.es.md b/CHANGELOG.es.md index c8287c302f..f154318e96 100644 --- a/CHANGELOG.es.md +++ b/CHANGELOG.es.md @@ -1,16 +1,35 @@ ## Changelog +### 2.4.9 + +*2018-10-26* + +- The parameter of Form's `clearValidate` supports string, #12990 (by @codinglobster) +- Added type attribute for Badge, #12991 +- Users can use scoped-slot to customize table column header #13012 (by @ivanseidel) +- Fixed the input box of Select unable to type text under IE, #13034 (by @GaliMU) +- Select option does not wrap when space is enough, #12329 (by @akki-jat) +- When dropdown list of Select is expanded, the arrow icon will also display correctly, #12353 (by @firesh) +- Fixed that the size attribute of Select does not work, #13070 +- Select multiple values can be cleared, #13049 (by @ZSkycat) +- Fixed the last TabNav unable be deleted, #13039 +- Fixed that TabNav label is not displayed correctly, #13178 +- Added title slot for Alert, #13082 (by @Kingwl) +- Fixed an issue where the tooltip content in Table was incorrect, #13159 (by @elfman) +- Optimize the animation of Upload when file is deleted, #12987 +- Adjusted style of InputNumber when control button is not displayed, #13052 + ### 2.4.8 -- Not displaying outline when Switch is focused, #12771 -- Fixed Dropdown's style in ButtonGroup, #12819 (by @bluejfox) -- Added opened event for Dialog, #12828 -- Fixed the incorrect display order of TabNav, #12846 -- Fixed the problem that Tabs did not scroll to the selected tab, #12948 -- Fixed the problem that the identifier does not display when the Tree node is dragged, #12854 -- The validate event parameter of Form contains the validation message, #12860 (by @YamenSharaf) -- Fixed DatePicker not to verify the validity of user input time, #12898 -- Fixed the problem that `render-header` attribute of Table header doesn't work, #12914 +- No se muestra el contorno cuando Switch está enfocado, #12771 +- Arreglado el estilo del Dropdown en ButtonGroup, #12819 (por @bluejfox) +- Añadido evento opened para Dialog, #12828 +- Corregido el orden incorrecto de visualización de TabNav, #12846 +- Corregido el problema de que Tabs no se desplazaba a la pestaña seleccionada, #12948 +- Corregido el problema de que el identificador no se mostraba cuando se arrastraba el Tree node, #12854 +- El parámetro validar evento de Form contiene el mensaje de validación, #12860 (por @YamenSharaf) +- Se ha corregido el DatePicker que no verificaba la validez de la hora de entrada del usuario, #12898 +- Arreglado el problema de que el atributo `render-header` del encabezado de Table no funcionaba, #12914 ### 2.4.7 @@ -351,8 +370,10 @@ - Corregido el layout que no se actualizaba cuando el ancho de columna era cambiado por el usuario arrastrando, #9668 - Corregido problema de estilo cuando la fila de resumen coexistia con columnas fijas, #9667 - Container + - Corregido componentes del Container que no se estiraban en IE11, #9655 - Loading + - Corregido Loading no se mostraba cuando el valor de `v-loading` era cambiado a true en el `hook` `mounted`, #9722 - Switch - Corregido se disparaban los dos eventos nativos de click cuando se hacia click en el Switch, #9760 diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 1d86e79f0e..975a4aa673 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,43 @@ ## 更新日志 +### 1.4.29 +*2018-11-01* + +同步至Element-UI 2.4.9版本 + +### 新特性 + +- Alert + - 新增 `title slot`,#13082(by @Kingwl) +- Badge + - 新增 `type` 属性,#12991 +- Select + - 多选时可以清除 Select 已选中的值,#13049(by @ZSkycat) +- Table + - 用户可以使用 scoped-slot 来自定义表头,#13012(by @ivanseidel) + +### 修复 + +- Form + - `clearValidate` 方法参数支持字符串,#12990 (by @codinglobster) +- InputNumber + - 当 InputNumber 控制按钮不显示时,调整了边距,#13052 +- List + - 加载时不显示 `Empty` 内容 + - loading区域背景色改为透明 +- Select + - 修复 IE 下 Select 输入框不能输入的问题,#13034(by @GaliMU) + - Select 多选时,选项不换行,#12329 (by @akki-jat) + - Select 下拉列表展开后,箭头图标也可以正确显示,#12353(by @firesh) + - 修复 Select 的 size 属性不生效的问题,#13070 +- Tab + - 修复最后一个 TabNav 不能删除的问题,#13039 + - 修复 TabNav 中 label 显示不正确的问题,#13178 +- Table + - 修复 Table 中的 tooltip 内容不正确的问题,#13159(by @elfman) +- Upload + - 优化 Upload 文件列表删除时的动画,#12987 + ### 1.4.28 *2018-10-26* diff --git a/examples/docs/en-US/alert.md b/examples/docs/en-US/alert.md index b8034a85b8..cd1583baf2 100644 --- a/examples/docs/en-US/alert.md +++ b/examples/docs/en-US/alert.md @@ -216,6 +216,11 @@ Description includes a message with more detailed information. | close-text | customized close button text | string | — | — | | show-icon | if a type icon is displayed | boolean | — | false | +### Slot + +| Name | Description | +|------|--------| +| title | content of the Alert title | ### Events | Event Name | Description | Parameters | diff --git a/examples/docs/en-US/badge.md b/examples/docs/en-US/badge.md index 347e2caa67..0636dd0efb 100644 --- a/examples/docs/en-US/badge.md +++ b/examples/docs/en-US/badge.md @@ -15,6 +15,12 @@ Displays the amount of new messages. replies + + comments + + + replies + @@ -130,9 +136,10 @@ Use a red dot to mark content that needs to be noticed. ### Attributes -| Attribute | Description | Type | Accepted Values | Default | +| Attribute | Description | Type | Accepted Values | Default | |------------- |---------------- |---------------- |---------------------- |-------- | -| value | display value | string, number | — | — | -| max | maximum value, shows '{max}+' when exceeded. Only works if `value` is a `Number` | number | — | — | -| is-dot | if a little dot is displayed | boolean | — | false | -| hidden | hidden badge | boolean | — | false | +| value | display value | string, number | — | — | +| max | maximum value, shows '{max}+' when exceeded. Only works if `value` is a `Number` | number | — | — | +| is-dot | if a little dot is displayed | boolean | — | false | +| hidden | hidden badge | boolean | — | false | +| type | button type | string | primary / success / warning / danger / info | — | diff --git a/examples/docs/en-US/dropdown.md b/examples/docs/en-US/dropdown.md index 9f5dd058a3..9b66fa0258 100644 --- a/examples/docs/en-US/dropdown.md +++ b/examples/docs/en-US/dropdown.md @@ -331,6 +331,13 @@ Besides default size, Dropdown component provides three additional sizes for you | show-timeout | Delay time before show a dropdown (only works when trigger is `hover`) | number | — | 250 | | hide-timeout | Delay time before hide a dropdown (only works when trigger is `hover`) | number | — | 150 | +### Dropdown Slots + +| Name | Description | +|------|--------| +| — | content of Dropdown. Notice: Must be a valid html dom element (ex. `,