Compare commits

...

24 Commits

Author SHA1 Message Date
Zhi
af8267f948 [release] 2.5.2 2019-01-27 21:29:27 +08:00
Zhi
eb2087747b [build] 2.5.2 2019-01-27 21:29:27 +08:00
Zhi Cun
e7abfcfaa3 Merge pull request #14234 from island205/docs/changelog
Docs: add v2.5.2 changelog
2019-01-27 21:13:43 +08:00
Zhi
2f678f8dfd Docs: add v2.5.2 changelog 2019-01-27 21:06:34 +08:00
Zhi Cun
c2c4b071ad Merge pull request #14232 from island205/bugfix/nuxt-error
Build: fix export error fired in commonjs module used in nuxt.js
2019-01-27 20:46:58 +08:00
Zhi Cun
d351c075c2 Merge pull request #14233 from island205/bugfix/remove-comments-in-umd-module
Build: delete unremoved comments in umd module `lib/index.js`
2019-01-27 20:46:31 +08:00
Zhi
6d05ccc882 Build: delete unremoved comments in umd module lib/index.js
fixed #14230
2019-01-27 20:39:48 +08:00
Zhi
daeb18c6fa Build: fix export error fired in commonjs module used in nuxt.js 2019-01-27 20:03:22 +08:00
Zhi Cun
8a27259d50 Merge pull request #14231 from Gonzalo2310/dev
Update ChangeLog ES 2.5.1
2019-01-27 12:43:53 +08:00
Gonzalo Nandez
32b0ed2b1f Update ChangeLog ES 2.5.1 2019-01-27 05:17:45 +01:00
Zhi Cun
15b76faef0 Merge pull request #14228 from iamkun/bugfix/2.5.1fix
chore: 2.5.1 fix
2019-01-26 20:56:20 +08:00
iamkun
3ea5da6038 chore: 2.5.1 fix 2019-01-26 20:48:25 +08:00
Zhi
a86947892c [release] 2.5.1 2019-01-26 20:19:30 +08:00
Zhi
773123987b [build] 2.5.1 2019-01-26 20:19:30 +08:00
Zhi Cun
47c4050596 Merge pull request #14227 from island205/feature/changelog-2.5.1
chore: add 2.5.1 changelog
2019-01-26 18:34:02 +08:00
Zhi
513394d959 chore: add 2.5.1 changelog 2019-01-26 18:25:28 +08:00
Zhi Cun
bd74c57b10 Merge pull request #14222 from iamkun/bugfix/revert-2.4.11-doc
docs: keep 2.4.11 docs && new sub folder for 2.5+
2019-01-26 18:06:54 +08:00
Zhi Cun
f96dcae003 Merge pull request #14217 from wacky6/chore-250-changelog
chore: update 2.5.0 changelog
2019-01-26 18:06:27 +08:00
Zhi Cun
4d9dbade19 Merge pull request #14220 from island205/dev
chore: fix export issue generate by webpack upgrading
2019-01-26 18:06:02 +08:00
Zhi
6b4413f829 chore: fix export issue generate by webpack upgrading 2019-01-26 17:39:39 +08:00
iamkun
11e874f757 docs: keep 2.4.11 docs && new sub folder for 2.5+ 2019-01-26 15:24:00 +08:00
Zhi
d57d79bd61 Merge remote-tracking branch 'eleme/master' into dev 2019-01-26 14:25:23 +08:00
Jiewei Qian
42e172265e chore: update 2.5.0 changelog 2019-01-25 22:36:59 +08:00
Debiancc
0ddc10d652 date-picker: highlight current month and year (#14211) 2019-01-25 18:39:39 +08:00
15 changed files with 301 additions and 41 deletions

View File

@@ -15,6 +15,14 @@
"plugins": ["transform-vue-jsx"],
"env": {
"utils": {
"presets": [
[
"env",
{
"modules": "commonjs",
}
],
],
"plugins": [
["module-resolver", {
"root": ["element-ui"],

View File

@@ -1,5 +1,31 @@
## Changelog
### 2.5.2
*2019-01-27*
#### Optimization
- Docs:
- Update ChangeLog ES 2.5.1 (by @Gonzalo2310 in #14231)
#### Bug fixes
- Build:
- Delete unremoved comments in umd module `lib/index.js` (by @island205 in #14233)
- Fix export error fired in commonjs module used in nuxt.js (by @island205 in #14232)
- Fix 2.5.1 build issues (by @iamkun in #14228)
### 2.5.1
*2019-01-26*
#### Optimization
- DatePicker: highlight current month and year (by @Debiancc in #14211)
- Update 2.5.0 changelog (by @wacky6 in #14217)
#### Bug fixes
- Fix export issue generate by webpack upgrading (by @island205 in #14220)
- Keep 2.4.11 docs && new sub folder for 2.5+ (by @iamkun in #14222)
### 2.5.0
*2019-01-25*
@@ -7,20 +33,74 @@
#### New features
- DatePicker
- Add `validate-event` attribute (by @ziyoung in #13531)
- Tag
- Add `click` event (by @licdream in #14106)
- DateTimePicker
- `pickerOptions` support `selectableRange` option (by @eeeeeeeason)
- Tag
- Add `click` event (by @licdream in #14106)
- I18n
- support Kyrgyz language (by @zzjframework in #14174)
#### Optimization
- Upgrade to webpack@4 (by @jikkai in #14173)
- Input
- Simplify implementation (by @wacky6 in #13471)
- Update Axure fileadd new components(by @ziyoung in #13773)
- Simplify implementation, follow one-way data flow. Fix several related bugs. (by @wacky6 in #13471)
- Update Axure fileadd new components (by @ziyoung in #13773)
A lot of bugfixes in Autocomplete, Table, Cascader, Tree and so on, [more info](https://github.com/ElemeFE/element/releases/tag/v2.5.0).
#### Bug fixes
- Autocomplete
- Fix dropdown's last line beging clipped (#13597) (by @ziyoung)
- Fix missing popper arrow (#13762) (by @liuchuzhang)
- Carousel
- Cleanup timer when component is destroyed (#13820) (by @elfman)
- Cascader
- Remove deprecated property of computed props (#13737) (by @iamkun)
- Fix CascaderOption's type definition in TypeScript (#13613) (by @NateScarlet)
- Fix icon covering the text (#13596) (by @ziyoung)
- Checkbox
- Refine style (by @PanJiaChen)
- DatePicker
- Add missing v-for `key` in TimeSpinner (#13547) (by @Ende93)
- Fix week highlight on year boundary (#13883) (by @suyi91)
- Input
- Fix textarea DOM node reference (#13803) (by @laomu1988 @island205)
- Pagination
- Input value won't be less than 1 (#13727) (by @elfman)
- Popover
- Fix popover issues with hover trigger (#13104) (by @goldengecko)
- Fix popper instance memory leak (#13988) (by @qpxtWhite)
- Radio
- Refine style (by @ohhoney1)
- Table
- Enhanced table sorting when clicking on the sorting arrow (#12890) (by @ohhoney1)
- Fix empty text vertical alignment issue on IE10+ (#13638) (by @imzjy)
- Fix index type documentation (#13628) (by @ilovefafa)
- Fix `show-summary` display issue when multilevel header has fixed attr (#13914) (by @luckyCao)
- Tabs
- Fix auto scroll bug (#13696) (by @iamkun)
- Get the correct tab through tab name (#13705) (by @iamkun)
- Use paneName instead of name to determine pane style (#13733) (by @iamkun)
- Tree
- Fix `showCheckbox` prop on `Tree` can not affect their children `tree-node` (by @KidneyFlower)
- Update doc and definition file (#13540) (by @ziyoung)
- Upload
- Add `url` prop to upload file when `list-type` changed (#13771) (by @elfman)
- Slider
- Fix source code indentation (#13955) (by @wacky6)
- I18n
- Add missing Catalan translations (by @jaumesala)
- Add missing ru translation (#13658) (by @justlp)
- Fix Finnish translations (#14137) (by @jenkrisu)
- Doc
- Update Spanish doc 2.4.11 (#13522) (by @Gonzalo2310)
- Others
- Remove unnecessary script (by @ziyoung)
- Fix error anchor link (#13753) (by @iamkun)
- Fix inconsistent capitalization in documentation (by @wonderjar)
- Add DingDing chat group qr code to readme (#13957) (by @iamkun)
- Add yarn logs to .gitignore (#13922) (by @mimimi)
- Remove sponsor duotai (#14156) (by @island205)
- Update readme qr code src (#13960) (by @iamkun)
- Update CDN link, fix typo (by @ziyoung)
### 2.4.11

View File

@@ -1,26 +1,90 @@
## Changelog
### 2.5.2
*2019-01-27*
#### Optimization
- Docs:
- Update ChangeLog ES 2.5.1 (by @Gonzalo2310 in #14231)
#### Bug fixes
- Build:
- Delete unremoved comments in umd module `lib/index.js` (by @island205 in #14233)
- Fix export error fired in commonjs module used in nuxt.js (by @island205 in #14232)
- Fix 2.5.1 build issues (by @iamkun in #14228)
### 2.5.1
*2019-01-26*
#### Optimization
- DatePicker: resalta el mes y año actual (por @Debiancc en #14211)
- Actualizacion del changelog 2.5.0 (por @wacky6 en #14217)
#### Bug fixes
- Arreglado el problema de exportación generado por la actualización de webpack (por @island205 en #14220)
- Guardados los documentos 2.4.11 y la nueva subcarpeta para 2.5+ (por @iamkun en #14222)
### 2.5.0
*2019-01-25*
#### New features
#### Bug fixes
- Autocompletar
- Corregida la última línea del menú desplegable que comenzaba recortada (#13597) (por @ziyoung)
- Arreglada la popper arrow que faltaba (#13762) (por @liuchuzhang)
- Carrusel
- Contador de limpieza cuando el componente es destruido (#13820) (por @elfman)
- Cascader
- Retirada de los props computados obsoletos (#13737) (por @iamkun)
- Se corrigió la definición de tipo de las opciónes de Cascader en TypeScript (#13613) (por @NateScarlet)
- Corregido icono que cubre el texto (#13596) (por @ziyoung)
- Checkbox
- Refinado el estilo (por @PanJiaChen)
- DatePicker
- Add `validate-event` attribute (by @ziyoung in #13531)
- Tag
- Add `click` event (by @licdream in #14106)
- DateTimePicker
- `pickerOptions` support `selectableRange` option (by @eeeeeeeason)
- I18n
- support Kyrgyz language (by @zzjframework in #14174)
#### Optimization
- Upgrade to webpack@4 (by @jikkai in #14173)
- Añade el `key` en v-for de TimeSpinner (#13547) (por @Ende93)
- Corregido el resaltado de la semana en el límite del año (#13883) (por @suyi91)
- Input
- Simplify implementation (by @wacky6 in #13471)
- Update Axure fileadd new componentsby @ziyoung in #13773
A lot of bugfixes in Autocomplete, Table, Cascader, Tree and so on, [more info](https://github.com/ElemeFE/element/releases/tag/v2.5.0).
- Corregida la referencia del nodo DOM del textarea (#13803) (por @laomu1988 @island205)
- Pagination
- El valor de entrada no será menor que 1 (#13727) (por @elfman)
- Popover
- Corrección de problemas de popover con el disparador de hover (#13104) (por @goldengecko)
- Corregido el fallo de memoria de instancia de popper (#13988) (por @qpxtWhite)
- Radio
- Refinado el estilo (por @ohhoney1)
- Table
- Mejorada la ordenación de tablas al hacer clic en la flecha de ordenación (#12890) (por @ohhoney1)
- Solucionado el problema de alineación vertical de texto vacío en IE10+ (#13638) (por @imzjjy)
- Corregida la documentación del tipo de índice (#13628) (por @ilovefafa)
- Corrección del problema de visualización de `show-summary` cuando el encabezado multinivel tiene el attr fixed (#13914) (por @luckyCao)
- Tabs
- Corregido error de autodesplazamiento (#13696) (por @iamkun)
- Obtener la tab correcta a través del nombre de tab (#13705) (por @iamkun)
- Uso de paneName en lugar de name para determinar el estilo del panel (#13733) (por @iamkun)
- Tree
- Corregido que `showCheckbox` prop en `Tree` no puede afectar a los hijos `tree-node` (por @KidneyFlower)
- Actualizado documento y archivo de definición (#13540) (por @ziyoung)
- Upload
- Agregada la prop `url` para subir el archivo cuando `list-type` cambia (#13771) (por @elfman)
- Slider
- Corrección de la sangría del código fuente (#13955) (por @wacky6)
- I18n
- Añadidas las traducciones de catalán que faltaban (por @jaumesala)
- Añadidas las traducciónes de ruso que faltaban (#13658) (por @justlp)
- Corrección de las traducciones al finés (#14137) (por @jenkrisu)
- Doc
- Actualización del documento 2.4.11 (#13522) (por @Gonzalo2310)
- Otros
- Eliminar scripts innecesarios (por @ziyoung)
- Corregido el error de anchor link (#13753) (por @iamkun)
- Corrección de la capitalización inconsistente en la documentación (por @wonderjar)
- Añadido código qr del grupo de chat DingDing al readme (#13957) (by @iamkun)
- Añadido logs de hilo a .gitignore (#13922) (por @mimimi)
- Eliminada la cuota de patrocinadores (#14156) (por @island205)
- Actualizado readme qr code src (#13960) (por @iamkun)
- Actualizado enlace CDN, corregido error tipográfico (por @ziyoung)
### 2.4.11
@@ -775,4 +839,4 @@ A lot of bugfixes in Autocomplete, Table, Cascader, Tree and so on, [more info](
# #
<i><sup>*</sup> El procesamiento dinámico de HTML arbitrario en su sitio web puede ser muy peligroso porque puede conducir fácilmente a [ataques XSS](https://en.wikipedia.org/wiki/Cross-site_scripting). Por lo tanto, cuando `dangerouslyUseHTMLString` está encendido, por favor asegúrese de que el contenido de `message` es confiable, y **nunca** asigne el `message` al contenido proporcionado por el usuario.</i>
<i><sup>*</sup> El procesamiento dinámico de HTML arbitrario en su sitio web puede ser muy peligroso porque puede conducir fácilmente a [ataques XSS](https://en.wikipedia.org/wiki/Cross-site_scripting). Por lo tanto, cuando `dangerouslyUseHTMLString` está encendido, por favor asegúrese de que el contenido de `message` es confiable, y **nunca** asigne el `message` al contenido proporcionado por el usuario.</i>``

View File

@@ -1,29 +1,108 @@
## 更新日志
### 2.5.2
*2019-01-27*
#### 优化
- 文档:
- 2.5.1 版本西班牙语文档更新 (by @Gonzalo2310 in #14231)
#### 修复
- 构建:
- 删除 umd 模块 `lib/index.js` 中本没有的注释 (by @island205 in #14233)
- 修复 nuxt.js 中关于 `export` 关键字的报错 (by @island205 in #14232)
- 修复发布 2.5.1 过程中的错误 (by @iamkun in #14228)
### 2.5.1
*2019-01-26*
#### 优化
- DatePicker添加月、年高亮的样式by @Debiancc in #14211
- 更新 2.5.0 changelog by @wacky6 in #14217
#### 修复
- 修复升级 Webpack 4 产生的问题,无法具名 `import` 组件,`ELEMENT.locale()` 调用报错。by @island205 in #14220
- 恢复 2.4.11 文档 (by @iamkun in #14222)
### 2.5.0
*2019-01-25*
#### 新特性
- DatePicker
- 添加 `validate-event` 属性by @ziyoung in #13531
- Tag
- 添加 `click` 事件 by @licdream in #14106
- 新增 `validate-event` 属性 (by @ziyoung in #13531)
- DateTimePicker
- `pickerOptions` 支持 `selectableRange` 选项by @eeeeeeeason
- `pickerOptions` 支持 `selectableRange` 选项 (by @eeeeeeeason)
- Tag
- 新增 `click` 事件 (by @licdream in #14106)
- I18n
- 新增吉尔吉斯坦语(by @zzjframework in #14174
- 新增 柯尔克孜语 (Kyrgyz) (by @zzjframework in #14174)
#### 优化
- 升级 Webpack 到 4.x by @jikkai in #14173
- 升级到 webpack@4 (by @jikkai in #14173)
- Input
- 简化 `el-input` 的实现 by @wacky6 in #13471
- 更新 Axure 文件,新增组件(by @ziyoung in #13773
- 简化内部实现,遵循单向数据流;修复若干相关 Bug (by @wacky6 in #13471)
- 更新 Axure 文件,增加新组件 (by @ziyoung in #13773)
#### 其他
- `README.md` 新增钉钉群二维码,欢迎扫码加入!
还有包括 Autocomplete、Table、Cascader、Tree 等等组件的问题修复和优化,[详情](https://github.com/ElemeFE/element/releases/tag/v2.5.0)
#### 修复
- Autocomplete
- 修正下拉框最后一行显示不完整的问题 (#13597) (by @ziyoung)
- 修正下拉框箭头 (#13762) (by @liuchuzhang)
- Carousel
- 组件销毁时释放内部 Timer (#13820) (by @elfman)
- Cascader
- 移除已废弃的计算属性的 cache 属性 (#13737) (by @iamkun)
- 修正 TypeScript 中 CascaderOption 类型定义 (#13613) (by @NateScarlet)
- 修正图标覆盖文字的问题 (#13596) (by @ziyoung)
- Checkbox
- 改进显示样式 (by @PanJiaChen)
- DatePicker
- 修正 TimeSpinner 中缺失的 v-for `key` 属性 (#13547) (by @Ende93)
- 修正周选择器在跨年时的高亮行为 (#13883) (by @suyi91)
- Input
- 修复 textarea 时的 DOM 节点引用 (#13803) (by @laomu1988 @island205)
- Pagination
- 输入框的值不会小于 1 (#13727) (by @elfman)
- Popover
- 修正 hover 的触发行为 (#13104) (by @goldengecko)
- 修正弹出框的内存泄漏 (#13988) (by @qpxtWhite)
- Radio
- 改进显示样式 (by @ohhoney1)
- Table
- 改进点击排序箭头时的行为 (#12890) (by @ohhoney1)
- 修正 IE10+ 中 “暂无数据” 提示的垂直布局 (#13638) (by @imzjy)
- 修正文档中 `index` 的类型说明 (#13628) (by @ilovefafa)
- 修正多级表头使用 `fixed` 属性时,表尾合计行的显示样式 (#13914) (by @luckyCao)
- Tabs
- 修正自动滚动 (#13696) (by @iamkun)
- 通过面板名称查找面板 (#13705) (by @iamkun)
- 使用 `paneName` 计算面板样式 (#13733) (by @iamkun)
- Tree
- 修正 `showCheckbox` 不能影响子节点的问题 (by @KidneyFlower)
- 更新文档和 TypeScript 定义 (#13540) (by @ziyoung)
- Upload
- `list-type` 改变时,保留 `url` 属性 (#13771) (by @elfman)
- Slider
- 修正源代码缩进 (#13955) (by @wacky6)
- I18n
- 补充加泰罗尼亚语 (Catalan) 翻译 (by @jaumesala)
- 补充俄语 (Russian) 翻译 (#13658) (by @justlp)
- 补充芬兰语 (Finnish) 翻译 (#14137) (by @jenkrisu)
- Doc
- 更新西班牙语文档至 2.4.11 (#13522) (by @Gonzalo2310)
- 其它
- 移除多余的构建脚本 (by @ziyoung)
- 修正文档超链接 (#13753) (by @iamkun)
- 修正文档中不一致的大小写 (by @wonderjar)
- 增加钉钉群的二维码 (#13957) (by @iamkun)
- .gitignore 增加 yarn 日志文件 (#13922) (by @mimimi)
- 移除赞助商 多态 (#14156) (by @island205)
- Update readme qr code src (#13960) (by @iamkun)
- 更新 CDN 链接,修正错别字 (by @ziyoung)
### 2.4.11

View File

@@ -1,6 +1,6 @@
var fs = require('fs');
var path = require('path');
var version = process.env.VERSION || require('../../package.json').version;
var content = { '1.4.13': '1.4', '2.0.11': '2.0', '2.1.0': '2.1', '2.2.2': '2.2', '2.3.9': '2.3' };
if (!content[version]) content[version] = '2.4';
var content = { '1.4.13': '1.4', '2.0.11': '2.0', '2.1.0': '2.1', '2.2.2': '2.2', '2.3.9': '2.3', '2.4.11': '2.4' };
if (!content[version]) content[version] = '2.5';
fs.writeFileSync(path.resolve(__dirname, '../../examples/versions.json'), JSON.stringify(content));

View File

@@ -40,7 +40,7 @@ if [ "$TRAVIS_TAG" ]; then
# build sub folder
echo $TRAVIS_TAG
SUB_FOLDER='2.4'
SUB_FOLDER='2.5'
mkdir $SUB_FOLDER
rm -rf *.js *.css *.map static
rm -rf $SUB_FOLDER/**

View File

@@ -5,7 +5,7 @@ cd temp_web
git clone --depth 1 -b gh-pages --single-branch https://github.com/ElemeFE/element.git && cd element
# build sub folder
SUB_FOLDER='2.4'
SUB_FOLDER='2.5'
mkdir $SUB_FOLDER
rm -rf *.js *.css *.map static
rm -rf $SUB_FOLDER/**

View File

@@ -14,6 +14,8 @@ module.exports = {
publicPath: '/dist/',
filename: 'element-ui.common.js',
chunkFilename: '[id].js',
libraryExport: 'default',
library: 'ELEMENT',
libraryTarget: 'commonjs2'
},
resolve: {

View File

@@ -1,6 +1,7 @@
const path = require('path');
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const TerserPlugin = require('terser-webpack-plugin');
const config = require('./config');
@@ -15,6 +16,7 @@ module.exports = {
filename: 'index.js',
chunkFilename: '[id].js',
libraryTarget: 'umd',
libraryExport: 'default',
library: 'ELEMENT',
umdNamedDefine: true
},
@@ -25,6 +27,17 @@ module.exports = {
externals: {
vue: config.vue
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
output: {
comments: false
}
},
})
]
},
performance: {
hints: false
},

View File

@@ -1 +1 @@
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.5.0":"2.4"}
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.2":"2.5"}

View File

@@ -1,6 +1,6 @@
{
"name": "element-ui",
"version": "2.5.0",
"version": "2.5.2",
"description": "A Component Library for Vue.js.",
"main": "lib/element-ui.common.js",
"files": [

View File

@@ -1,6 +1,6 @@
{
"name": "element-theme-chalk",
"version": "2.5.0",
"version": "2.5.2",
"description": "Element component chalk theme.",
"main": "lib/index.css",
"style": "lib/index.css",

View File

@@ -10,6 +10,13 @@
padding: 20px 3px;
cursor: pointer;
&.today {
.cell {
color: $--color-primary;
font-weight: bold;
}
}
&.disabled .cell {
background-color: $--background-color-base;
cursor: not-allowed;

View File

@@ -14,6 +14,13 @@
padding: 20px 3px;
cursor: pointer;
&.today {
.cell {
color: $--color-primary;
font-weight: bold;
}
}
&.disabled .cell {
background-color: $--background-color-base;
cursor: not-allowed;

View File

@@ -172,7 +172,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
export default {
version: '2.5.0',
version: '2.5.2',
locale: locale.use,
i18n: locale.i18n,
install,