diff --git a/.eslintignore b/.eslintignore index aa9517397..a446c8da8 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,6 @@ src/utils/popper.js src/utils/date.js +src/utils/lodash.js examples/play *.sh node_modules diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml new file mode 100644 index 000000000..c5b1b0fa4 --- /dev/null +++ b/.github/workflows/preview-build.yml @@ -0,0 +1,45 @@ +name: Preview Build + +on: pull_request + +jobs: + build: + name: Build + runs-on: ubuntu-latest + env: + PULL_REQUEST_NUMBER: ${{ github.event.number }} + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Setup node + uses: actions/setup-node@v2 + with: + node-version: '10.15.0' + registry-url: https://registry.npmjs.com/ + + - name: Build + run: npm run bootstrap && npm run deploy:build + + + # share website dist + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: docs + path: examples/element-ui/ + retention-days: 1 + + # write pr.txt for share + - name: Save pr number + if: ${{ always() }} + run: echo ${PULL_REQUEST_NUMBER} > ./pr.txt + + # share pr number + - name: Upload pr number + if: ${{ always() }} + uses: actions/upload-artifact@v2 + with: + name: pr + path: ./pr.txt + retention-days: 1 diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml new file mode 100644 index 000000000..d04775d43 --- /dev/null +++ b/.github/workflows/preview-deploy.yml @@ -0,0 +1,83 @@ +name: Preview Deploy + +on: + workflow_run: + workflows: ['Preview Build'] + types: + - completed + +jobs: + success: + runs-on: ubuntu-latest + if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' + steps: + - name: download pr artifact + uses: dawidd6/action-download-artifact@v2 + with: + workflow: ${{ github.event.workflow_run.workflow_id }} + name: pr + + - name: save PR id + id: pr + run: echo "::set-output name=id::$( + + body-include: '' + number: ${{ steps.pr.outputs.id }} + + - name: The job failed + if: ${{ failure() }} + uses: actions-cool/maintain-one-comment@v1.2.1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + body: | + 😭 Deploy PR Preview failed. + + + body-include: '' + number: ${{ steps.pr.outputs.id }} + + failed: + runs-on: ubuntu-latest + if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure' + steps: + - name: download pr artifact + uses: dawidd6/action-download-artifact@v2 + with: + workflow: ${{ github.event.workflow_run.workflow_id }} + name: pr + + - name: save PR id + id: pr + run: echo "::set-output name=id::$( + + body-include: '' + number: ${{ steps.pr.outputs.id }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index a9b3749c7..e9a3f06ee 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ coverage waiter.config.js build/bin/algolia-key.js .envrc +.history/ \ No newline at end of file diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index ea336871d..b8b32a2d5 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,199 @@ ## Changelog +### 2.15.14 + +*2023-08-24* + +#### Bug fixes +- Img + - Delete referrerpolicy prop (#22651 by @xinguanhua) +#### Optimization +- Docs + - Update readme and website example links (#22642 by @lyfeyaj) + - Update popper links (#22539 by @brizer) +- I18n + - Update translation of Spanish (#22430 by @jcardus) + - Add sr-Latn translation (#22567 by @N-M) + - Update Uzbek translation (#22390 by @akahon) +- Statistics + - Fix doc; Optimized code (#22384 by @webvs2) +- Table + - Add highlight selection row (#22382 by @wangdaodao) + +### 2.15.13 + +*2023-02-12* + +#### Bug fixes +- Docs + - Fix Statistic docs (#22383 by @JUST-Limbo) + - Fix Input docs (#22093 by @lm312) + - Fix en-US docs (#22268 #22269 #22270 by @Hazel-Lin) + - Fix Pagination docs (#22288 by @xujintai123) + - Fix: Links docs (#22370 by @itmier) +- Statistics + - fix slot display bug (#22375 by @webvs2) +- Chore + - missing web-type after publishing (#22271 by @loosheng) +#### Optimization +- InputNumber + - Fix touch one click trigger twice on the window touch pad (#22185 by @mrsai) +- Image + - Add initialIndex prop (#22346 by @inkroom) +- Statistics + - Updated countdown feature to localize lodash Closes (#22260 by @webvs2) + - Update code and doc (#22276 by @webvs2) +- Other + - fix web-types type props (#22281 by @whzxc) + +### 2.15.12 + +*2022-11-16* + +#### Bug fixes +- Statistic: + - Fixed the thousandth bit bug (#22252 by @webvs2) +- Other + - Fix 2.15.11 element-theme-chalk publish fail bug + +### 2.15.11 + +*2022-11-15* + +#### Bug fixes +- Docs + - Fix Radio docs (#22178 by @bchen1029) + - Fix Progress docs +#### Optimization +- I18n + - Update translation of Malaysian (#22185 by @z4q) + - Update translation of Norwegian (#22145 by @Barsnes) +- Progress + - Add defineBackColor and textColor prop (#22089 by @lm312) +- Statistics + - Add new component Statistics (#22159 by @webvs2) +- Other + - Add Web Types to improve code assistance in WebStorm IDE and other JetBrains IDEs (#22135 by @piotrtomiak) + +### 2.15.10 + +*2022-09-13* + +#### Bug fixes + +- DatePicker + - Fix props placement error (#21908 by @lqzhgood) +- Loading + - Fix sticky DOM error (#22087 by @zzjjhh001) +- Docs + - Fix Popover docs (#22083 by @lm312) + - Fix Skeleton docs (#22092 by @lm312) + - Fix DatePicker docs (#21970 by @guojiongwei) +- Tree: + - fix lazy-load default check problem (#21934 by @kiss-yu) + +#### Optimization + +- I18n + - Add translation of Sinhalese (#21936 by @sayuri-gi) + - Update translation of Spanish (#21924 by @jcardus) + - Add translation of Malaysian (#22028 by @iorange0411) + - Update translation of Swahili (#21904 by @Cholowao) +- Utils + - update date-util.js (#22099 by @Due07) +- DatePicker + - add months And years type (#21918 by @akiko123456) + +### 2.15.9 + +*2022-06-02* + +#### Bug fixes + +- Table + - Fix Tabl-header shake bug (#21863 by @bofeng) + - Fix when partial import show `el-checkbox not imported` error (#21828 by @bobohuochai) +- FormItem + - Fix change rules verification not reset bug (#21892 by @bofeng) +- Cascader + - Fix change options unexpect error (#21759 by @louiebb) +- Docs + - Fix Popover docs (#21843 by @lod61) + - Fix Calendar docs (#21814 by @GoJam11) + - Fix TimePicker docs (#21803 by @Alanscut) + - Fix DatePicker docs (#21877 by @Nirvanaiu) +- Other + - Fix codepen display bug (#21863 by @bofeng) + +#### Optimization + +- I18n + - Add translation of Swahili (#21895 by @quilltouch) +- Chore + - Use launch-editor-middleware in dev environment (#21633 by @polemices) +- DatePicker & Cascader + - Optimize the dropdown animation direction (#21806 by @XivLaw) +- Tooltip + - Optimize `getFirstElement` code (#21886 by @zhankang) +- Input + - Optimize scss code (#21558 by @cheese-git) + +### 2.15.8 + +*2022-04-12* + +#### Bug fixes + +- Drawer + - Fix appendToBody failure problem (#21264 by @cs1707) +- Switch + - Fix toggling value problem(#19473 by @EdwinBetanc0urt) +- Docs + - Fix input docs (#21723 by @justforuse) + - Fix DatePicker docs (#21663 by @justforuse) + - Fix Skeleton docs (#21601 by @yanwydxf) +- Others + - Fix vue version (#21736 by @ckvv) + +#### Optimization + +- I18n + - add translation of Azerbaijani (#21012 by @ricardotondello) + - update translation of Slovenian (#21729 by @patik123) + - update translation of Slovak (#21711 by @sjaustirni ) + - add translation of Icelandic (#21709 by @aronhr) + - add translation of Bengali (#21485 by @llwwtt) + +#### Others + +- Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation. + +### 2.15.7 + +*2021-11-18* + +#### Bug fixes + +- Select + - fix click icon triggering dropdown (#21314 by @dennyak47) + - fix keydown event when composition (#21336 by @bchen1029) +- Badge + - fix type class when is-dot (#21308 by @adaex) +- Form + - validate method reject error info (#21374 by @cs1707) +- Table + - fix resizeObserver loop limit exceeded (#21255 by @tomieric) + - fix toggleAllSelection bug when table is empty (#21456 by @cs1707) + - optimize performance (#21330 by @cs1707) +- Button + - fix disabled priority (#21375 by @cs1707) +- Descriptions + - fix label slot bug (#21462 by @cs1707) +- SASS + - replace node-sass with dart-sass (#21019 by @linxsbox) +- Docs + - fix skeleton typos (#21408 by @zhhbstudio) + ### 2.15.6 *2021-09-02* diff --git a/CHANGELOG.es.md b/CHANGELOG.es.md index bbc103ce7..b3b5112d5 100644 --- a/CHANGELOG.es.md +++ b/CHANGELOG.es.md @@ -1,5 +1,199 @@ ## Changelog +### 2.15.14 + +*2023-08-24* + +#### Bug fixes +- Img + - Delete referrerpolicy prop (#22651 by @xinguanhua) +#### Optimization +- Docs + - Update readme and website example links (#22642 by @lyfeyaj) + - Update popper links (#22539 by @brizer) +- I18n + - Update translation of Spanish (#22430 by @jcardus) + - Add sr-Latn translation (#22567 by @N-M) + - Update Uzbek translation (#22390 by @akahon) +- Statistics + - Fix doc; Optimized code (#22384 by @webvs2) +- Table + - Add highlight selection row (#22382 by @wangdaodao) + +### 2.15.13 + +*2023-02-12* + +#### Bug fixes +- Docs + - Fix Statistic docs (#22383 by @JUST-Limbo) + - Fix Input docs (#22093 by @lm312) + - Fix en-US docs (#22268 #22269 #22270 by @Hazel-Lin) + - Fix Pagination docs (#22288 by @xujintai123) + - Fix: Links docs (#22370 by @itmier) +- Statistics + - fix slot display bug (#22375 by @webvs2) +- Chore + - missing web-type after publishing (#22271 by @loosheng) +#### Optimization +- InputNumber + - Fix touch one click trigger twice on the window touch pad (#22185 by @mrsai) +- Image + - Add initialIndex prop (#22346 by @inkroom) +- Statistics + - Updated countdown feature to localize lodash Closes (#22260 by @webvs2) + - Update code and doc (#22276 by @webvs2) +- Other + - fix web-types type props (#22281 by @whzxc) + +### 2.15.12 + +*2022-11-16* + +#### Bug fixes +- Statistic: + - Fixed the thousandth bit bug (#22252 by @webvs2) +- Other + - Fix 2.15.11 element-theme-chalk publish fail bug + +### 2.15.11 + +*2022-11-15* + +#### Bug fixes +- Docs + - Fix Radio docs (#22178 by @bchen1029) + - Fix Progress docs +#### Optimization +- I18n + - Update translation of Malaysian (#22185 by @z4q) + - Update translation of Norwegian (#22145 by @Barsnes) +- Progress + - Add defineBackColor and textColor prop (#22089 by @lm312) +- Statistics + - Add new component Statistics (#22159 by @webvs2) +- Other + - Add Web Types to improve code assistance in WebStorm IDE and other JetBrains IDEs (#22135 by @piotrtomiak) + +### 2.15.10 + +*2022-09-13* + +#### Bug fixes + +- DatePicker + - Fix props placement error (#21908 by @lqzhgood) +- Loading + - Fix sticky DOM error (#22087 by @zzjjhh001) +- Docs + - Fix Popover docs (#22083 by @lm312) + - Fix Skeleton docs (#22092 by @lm312) + - Fix DatePicker docs (#21970 by @guojiongwei) +- Tree: + - fix lazy-load default check problem (#21934 by @kiss-yu) + +#### Optimization + +- I18n + - Add translation of Sinhalese (#21936 by @sayuri-gi) + - Update translation of Spanish (#21924 by @jcardus) + - Add translation of Malaysian (#22028 by @iorange0411) + - Update translation of Swahili (#21904 by @Cholowao) +- Utils + - update date-util.js (#22099 by @Due07) +- DatePicker + - add months And years type (#21918 by @akiko123456) + +### 2.15.9 + +*2022-06-02* + +#### Bug fixes + +- Table + - Fix Tabl-header shake bug (#21863 by @bofeng) + - Fix when partial import show `el-checkbox not imported` error (#21828 by @bobohuochai) +- FormItem + - Fix change rules verification not reset bug (#21892 by @bofeng) +- Cascader + - Fix change options unexpect error (#21759 by @louiebb) +- Docs + - Fix Popover docs (#21843 by @lod61) + - Fix Calendar docs (#21814 by @GoJam11) + - Fix TimePicker docs (#21803 by @Alanscut) + - Fix DatePicker docs (#21877 by @Nirvanaiu) +- Other + - Fix codepen display bug (#21863 by @bofeng) + +#### Optimization + +- I18n + - Add translation of Swahili (#21895 by @quilltouch) +- Chore + - Use launch-editor-middleware in dev environment (#21633 by @polemices) +- DatePicker & Cascader + - Optimize the dropdown animation direction (#21806 by @XivLaw) +- Tooltip + - Optimize `getFirstElement` code (#21886 by @zhankang) +- Input + - Optimize scss code (#21558 by @cheese-git) + +### 2.15.8 + +*2022-04-12* + +#### Bug fixes + +- Drawer + - Fix appendToBody failure problem (#21264 by @cs1707) +- Switch + - Fix toggling value problem(#19473 by @EdwinBetanc0urt) +- Docs + - Fix input docs (#21723 by @justforuse) + - Fix DatePicker docs (#21663 by @justforuse) + - Fix Skeleton docs (#21601 by @yanwydxf) +- Others + - Fix vue version (#21736 by @ckvv) + +#### Optimization + +- I18n + - add translation of Azerbaijani (#21012 by @ricardotondello) + - update translation of Slovenian (#21729 by @patik123) + - update translation of Slovak (#21711 by @sjaustirni ) + - add translation of Icelandic (#21709 by @aronhr) + - add translation of Bengali (#21485 by @llwwtt) + +#### Others + +- Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation. + +### 2.15.7 + +*2021-11-18* + +#### Bug fixes + +- Select + - fix click icon triggering dropdown (#21314 by @dennyak47) + - fix keydown event when composition (#21336 by @bchen1029) +- Badge + - fix type class when is-dot (#21308 by @adaex) +- Form + - validate method reject error info (#21374 by @cs1707) +- Table + - fix resizeObserver loop limit exceeded (#21255 by @tomieric) + - fix toggleAllSelection bug when table is empty (#21456 by @cs1707) + - optimize performance (#21330 by @cs1707) +- Button + - fix disabled priority (#21375 by @cs1707) +- Descriptions + - fix label slot bug (#21462 by @cs1707) +- SASS + - replace node-sass with dart-sass (#21019 by @linxsbox) +- Docs + - fix skeleton typos (#21408 by @zhhbstudio) + ### 2.15.6 *2021-09-02* diff --git a/CHANGELOG.fr-FR.md b/CHANGELOG.fr-FR.md index e6b027381..cbf4198c9 100644 --- a/CHANGELOG.fr-FR.md +++ b/CHANGELOG.fr-FR.md @@ -1,5 +1,199 @@ ## Changelog +### 2.15.14 + +*2023-08-24* + +#### Bug fixes +- Img + - Delete referrerpolicy prop (#22651 by @xinguanhua) +#### Optimization +- Docs + - Update readme and website example links (#22642 by @lyfeyaj) + - Update popper links (#22539 by @brizer) +- I18n + - Update translation of Spanish (#22430 by @jcardus) + - Add sr-Latn translation (#22567 by @N-M) + - Update Uzbek translation (#22390 by @akahon) +- Statistics + - Fix doc; Optimized code (#22384 by @webvs2) +- Table + - Add highlight selection row (#22382 by @wangdaodao) + +### 2.15.13 + +*2023-02-12* + +#### Bug fixes +- Docs + - Fix Statistic docs (#22383 by @JUST-Limbo) + - Fix Input docs (#22093 by @lm312) + - Fix en-US docs (#22268 #22269 #22270 by @Hazel-Lin) + - Fix Pagination docs (#22288 by @xujintai123) + - Fix: Links docs (#22370 by @itmier) +- Statistics + - fix slot display bug (#22375 by @webvs2) +- Chore + - missing web-type after publishing (#22271 by @loosheng) +#### Optimization +- InputNumber + - Fix touch one click trigger twice on the window touch pad (#22185 by @mrsai) +- Image + - Add initialIndex prop (#22346 by @inkroom) +- Statistics + - Updated countdown feature to localize lodash Closes (#22260 by @webvs2) + - Update code and doc (#22276 by @webvs2) +- Other + - fix web-types type props (#22281 by @whzxc) + +### 2.15.12 + +*2022-11-16* + +#### Bug fixes +- Statistic: + - Fixed the thousandth bit bug (#22252 by @webvs2) +- Other + - Fix 2.15.11 element-theme-chalk publish fail bug + +### 2.15.11 + +*2022-11-15* + +#### Bug fixes +- Docs + - Fix Radio docs (#22178 by @bchen1029) + - Fix Progress docs +#### Optimization +- I18n + - Update translation of Malaysian (#22185 by @z4q) + - Update translation of Norwegian (#22145 by @Barsnes) +- Progress + - Add defineBackColor and textColor prop (#22089 by @lm312) +- Statistics + - Add new component Statistics (#22159 by @webvs2) +- Other + - Add Web Types to improve code assistance in WebStorm IDE and other JetBrains IDEs (#22135 by @piotrtomiak) + +### 2.15.10 + +*2022-09-13* + +#### Bug fixes + +- DatePicker + - Fix props placement error (#21908 by @lqzhgood) +- Loading + - Fix sticky DOM error (#22087 by @zzjjhh001) +- Docs + - Fix Popover docs (#22083 by @lm312) + - Fix Skeleton docs (#22092 by @lm312) + - Fix DatePicker docs (#21970 by @guojiongwei) +- Tree: + - fix lazy-load default check problem (#21934 by @kiss-yu) + +#### Optimization + +- I18n + - Add translation of Sinhalese (#21936 by @sayuri-gi) + - Update translation of Spanish (#21924 by @jcardus) + - Add translation of Malaysian (#22028 by @iorange0411) + - Update translation of Swahili (#21904 by @Cholowao) +- Utils + - update date-util.js (#22099 by @Due07) +- DatePicker + - add months And years type (#21918 by @akiko123456) + +### 2.15.9 + +*2022-06-02* + +#### Bug fixes + +- Table + - Fix Tabl-header shake bug (#21863 by @bofeng) + - Fix when partial import show `el-checkbox not imported` error (#21828 by @bobohuochai) +- FormItem + - Fix change rules verification not reset bug (#21892 by @bofeng) +- Cascader + - Fix change options unexpect error (#21759 by @louiebb) +- Docs + - Fix Popover docs (#21843 by @lod61) + - Fix Calendar docs (#21814 by @GoJam11) + - Fix TimePicker docs (#21803 by @Alanscut) + - Fix DatePicker docs (#21877 by @Nirvanaiu) +- Other + - Fix codepen display bug (#21863 by @bofeng) + +#### Optimization + +- I18n + - Add translation of Swahili (#21895 by @quilltouch) +- Chore + - Use launch-editor-middleware in dev environment (#21633 by @polemices) +- DatePicker & Cascader + - Optimize the dropdown animation direction (#21806 by @XivLaw) +- Tooltip + - Optimize `getFirstElement` code (#21886 by @zhankang) +- Input + - Optimize scss code (#21558 by @cheese-git) + +### 2.15.8 + +*2022-04-12* + +#### Bug fixes + +- Drawer + - Fix appendToBody failure problem (#21264 by @cs1707) +- Switch + - Fix toggling value problem(#19473 by @EdwinBetanc0urt) +- Docs + - Fix input docs (#21723 by @justforuse) + - Fix DatePicker docs (#21663 by @justforuse) + - Fix Skeleton docs (#21601 by @yanwydxf) +- Others + - Fix vue version (#21736 by @ckvv) + +#### Optimization + +- I18n + - add translation of Azerbaijani (#21012 by @ricardotondello) + - update translation of Slovenian (#21729 by @patik123) + - update translation of Slovak (#21711 by @sjaustirni ) + - add translation of Icelandic (#21709 by @aronhr) + - add translation of Bengali (#21485 by @llwwtt) + +#### Others + +- Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation. + +### 2.15.7 + +*2021-11-18* + +#### Bug fixes + +- Select + - fix click icon triggering dropdown (#21314 by @dennyak47) + - fix keydown event when composition (#21336 by @bchen1029) +- Badge + - fix type class when is-dot (#21308 by @adaex) +- Form + - validate method reject error info (#21374 by @cs1707) +- Table + - fix resizeObserver loop limit exceeded (#21255 by @tomieric) + - fix toggleAllSelection bug when table is empty (#21456 by @cs1707) + - optimize performance (#21330 by @cs1707) +- Button + - fix disabled priority (#21375 by @cs1707) +- Descriptions + - fix label slot bug (#21462 by @cs1707) +- SASS + - replace node-sass with dart-sass (#21019 by @linxsbox) +- Docs + - fix skeleton typos (#21408 by @zhhbstudio) + ### 2.15.6 *2021-09-02* diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 450d9a82e..337a3e8c2 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,199 @@ ## 更新日志 +### 2.15.14 + +*2023-08-24* + +#### Bug 修复 +- Img + - 删除 referrerpolicy 属性 (#22651 by @xinguanhua) +#### 优化 +- Docs + - 更新 readme and website example links (#22642 by @lyfeyaj) + - 更新 popper 官方文档链接 (#22539 by @brizer) +- I18n + - 更新 西班牙语 翻译 (#22430 by @jcardus) + - 新增 塞尔维亚语(拉丁) 翻译 (#22567 by @N-M) + - 更新 乌兹别克语 翻译 (#22390 by @akahon) +- Statistics + - 文档更新; 代码优化 (#22384 by @webvs2) +- Table + - 增加高亮选中行属性 (#22382 by @wangdaodao) + +### 2.15.13 + +*2023-02-12* + +#### Bug 修复 +- Docs + - 修复 Statistic 文案 (#22383 by @JUST-Limbo) + - 修复 Input 文案 (#22093 by @lm312) + - 修复 en-US 文案 (#22268 #22269 #22270 by @Hazel-Lin) + - 修复 Pagination 文案 (#22288 by @xujintai123) + - 修复 Links 文案 (#22370 by @itmier) +- Statistics + - 修复 slot 显示问题 (#22375 by @webvs2) +- Chore + - 修复 web-type 文件丢失问题 (#22271 by @loosheng) +#### 优化 +- InputNumber + - windows触摸屏响应优化 (#22185 by @mrsai) +- Image + - 新增 initialIndex 属性 (#22346 by @inkroom) +- Statistics + - countdown 特性更新 (#22260 by @webvs2) + - 代码优化及doc更新 (#22276 by @webvs2) +- 其他 + - web-type代码优化 (#22281 by @whzxc) + +### 2.15.12 + +*2022-11-16* + +#### Bug 修复 +- Statistics + - 修改 千分位 问题 (#22252 by @webvs2) +- 其他 + - 修复 2.15.11版本element-theme-chalk未成功发布 问题 + +### 2.15.11 + +*2022-11-15* + +#### Bug 修复 +- Docs + - 修复 Radio 文案 (#22178 by @bchen1029) + - 修复 Progress 文案 +#### 优化 +- I18n + - 更新 马来西亚语 翻译 (#22185 by @z4q) + - 更新 挪威语 翻译 (#22145 by @Barsnes) +- Progress + - 新增 defineBackColor 和 textColor 属性 (#22089 by @lm312) +- Statistics + - 新增组件 Statistics (#22159 by @webvs2) +- Other + - 改进WebStorm IDE和其他JetBrains IDE中的代码帮助 (#22135 by @piotrtomiak) + +### 2.15.10 + +*2022-09-13* + +#### Bug 修复 + +- DatePicker + - 修复 props placement 报错信息 问题 (#21908 by @lqzhgood) +- Loading + - 修复 使用 Loading 的DOM元素 sticky失效 问题 (#22087 by @zzjjhh001) +- Docs + - 修复 Popover 文案 (#22083 by @lm312) + - 修复 Skeleton 文案 (#22092 by @lm312) + - 修复 DatePicker 文案 (#21970 by @guojiongwei) +- Tree + - 修复 懒加载默认选中 问题 (#21934 by @kiss-yu) + +#### 优化 + +- I18n + - 新增 僧伽罗语 翻译 (#21936 by @sayuri-gi) + - 更新 西班牙语 翻译 (#21924 by @jcardus) + - 新增 马来西亚语 翻译 (#22028 by @iorange0411) + - 更新 斯瓦希里语 翻译 (#21904 by @Cholowao) +- Utils + - 更新 date-util.js (#22099 by @Due07) +- DatePicker + - 新增 months 和 years 类型 (#21918 by @akiko123456) + +### 2.15.9 + +*2022-06-02* + +#### Bug 修复 + +- Table + - 表头抖动修复 (#21863 by @bofeng) + - 按需引用时 `el-checkbox not imported` 修复 (#21828 by @bobohuochai) +- FormItem + - 修复 rules 切换为 null 时校验未重置 问题 (#21892 by @bofeng) +- Cascader + - 修复 切换 options 时错误报错信息 问题 (#21759 by @louiebb) +- Docs + - 修复 Popover 文案 (#21843 by @lod61) + - 修复 Calendar 文案 (#21814 by @GoJam11) + - 修复 TimePicker 文案 (#21803 by @Alanscut) + - 修复 DatePicker 文案 (#21877 by @Nirvanaiu) +- 其他 + - 官网在线演示功能修复 (#21863 by @bofeng) + +#### 优化 + +- I18n + - 新增 斯瓦希里语 翻译 (#21895 by @quilltouch) +- Chore + - 本地开发时可从 devTools 工具跳转源代码 (#21633 by @polemices) +- DatePicker & Cascader + - 弹窗方向优化 (#21806 by @XivLaw) +- Tooltip + - 优化 `getFirstElement` 代码 (#21886 by @zhankang) +- Input + - 优化 scss 代码 (#21558 by @cheese-git) + +### 2.15.8 + +*2022-04-12* + +#### Bug 修复 + +- Drawer + - 修复 appendToBody 失效问题 (#21264 by @cs1707) +- Switch + - 修复 toggling value 问题(#19473 by @EdwinBetanc0urt) +- Docs + - 修复 input 文案 (#21723 by @justforuse) + - 修复 DatePicker 文案 (#21663 by @justforuse) + - 修复 Skeleton 文案 (#21601 by @yanwydxf) +- 其他 + - 修复 vue 版本(#21736 by @ckvv) + +#### 优化 + +- I18n + - 新增 阿塞拜疆语 翻译 (#21012 by @ricardotondello) + - 更新 斯洛文尼亚语 翻译 (#21729 by @patik123) + - 更新 斯洛伐克语 翻译 (#21711 by @sjaustirni ) + - 新增 冰岛语 的翻译 (#21709 by @aronhr) + - 新增 孟加拉 语的翻译 (#21485 by @llwwtt) + +#### 其他 + +- 因兼容性考虑,撤回2.15.7关于node-sass的更新(#21019 by @linxsbox),重新评估后会在后续合适版本上线 + +### 2.15.7 + +*2021-11-18* + +#### Bug 修复 + +- Select + - 修复 filter 模式下,点击图标不能触发下拉的 bug (#21314 by @dennyak47) + - 修复 composition 模式下 keydown 事件 (#21336 by @bchen1029) +- Badge + - 修复 is-dot class (#21308 by @adaex) +- Form + - validate 方法返回错误信息 (#21374 by @cs1707) +- Table + - 修复 resizeObserver loop limit exceeded (#21255 by @tomieric) + - 修复 toggleAllSelection (#21456 by @cs1707) + - 优化 table 性能 (#21330 by @cs1707) +- Button + - 修复 disabled 优先级 (#21375 by @cs1707) +- Descriptions + - 修复 label slot bug (#21462 by @cs1707) +- SASS + - node-sass 替换为 dart-sass (#21019 by @linxsbox) +- Docs + - 修复 skeleton 文案 (#21408 by @zhhbstudio) + ### 2.15.6 *2021-09-02* diff --git a/README.md b/README.md index c42986591..efac89b84 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,16 @@ > A Vue.js 2.0 UI Toolkit for Web. -Element will stay with Vue 2.x +Element will stay with Vue 2.x -For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus) from the same team +For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus)(Element Plus is a community develop project) + +For MiniProgram development, we recommend using [MorJS](https://github.com/eleme/morjs) ## Links - Homepage and documentation - [International users](http://element.eleme.io/#/en-US) - - [Chinese users](http://element-cn.eleme.io/#/zh-CN) + - [Chinese users](http://element.eleme.io/#/zh-CN) - [Spanish users](http://element.eleme.io/#/es) - [French users](http://element.eleme.io/#/fr-FR) - [awesome-element](https://github.com/ElementUI/awesome-element) diff --git a/build/config.js b/build/config.js index eaaa990af..493673099 100644 --- a/build/config.js +++ b/build/config.js @@ -46,4 +46,4 @@ exports.vue = { amd: 'vue' }; -exports.jsexclude = /node_modules|utils\/popper\.js|utils\/date\.js/; +exports.jsexclude = /node_modules|utils\/popper\.js|utils\/date\.js|utils\/lodash\.js/; diff --git a/build/webpack.demo.js b/build/webpack.demo.js index 4ad30ae1f..ff4c65772 100644 --- a/build/webpack.demo.js +++ b/build/webpack.demo.js @@ -7,6 +7,7 @@ const ProgressBarPlugin = require('progress-bar-webpack-plugin'); const VueLoaderPlugin = require('vue-loader/lib/plugin'); const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); +const launchEditorMiddleware = require('launch-editor-middleware'); const config = require('./config'); @@ -33,7 +34,16 @@ const webpackConfig = { host: '0.0.0.0', port: 8085, publicPath: '/', - hot: true + hot: true, + before: (app) => { + /* + * 编辑器类型 :此处的指令表示的时各个各个编辑器在cmd或terminal中的命令 + * webstorm + * code // vscode + * idea + */ + app.use('/__open-in-editor', launchEditorMiddleware('code')); + } }, performance: { hints: false diff --git a/components.json b/components.json index 36137a640..55005213c 100644 --- a/components.json +++ b/components.json @@ -80,6 +80,7 @@ "cascader-panel": "./packages/cascader-panel/index.js", "avatar": "./packages/avatar/index.js", "drawer": "./packages/drawer/index.js", + "statistic": "./packages/statistic/index.js", "popconfirm": "./packages/popconfirm/index.js", "skeleton": "./packages/skeleton/index.js", "skeleton-item": "./packages/skeleton-item/index.js", diff --git a/examples/components/demo-block.vue b/examples/components/demo-block.vue index 0a1d2f38a..3a2f5544a 100644 --- a/examples/components/demo-block.vue +++ b/examples/components/demo-block.vue @@ -205,7 +205,7 @@ goCodepen() { // since 2.6.2 use code rather than jsfiddle https://blog.codepen.io/documentation/api/prefill/ const { script, html, style } = this.codepen; - const resourcesTpl = '' + + const resourcesTpl = '' + '\n'; let jsTpl = (script || '').replace(/export default/, 'var Main =').trim(); let htmlTpl = `${resourcesTpl}\n
\n${html.trim()}\n
`; diff --git a/examples/components/footer.vue b/examples/components/footer.vue index d24ca4063..88162429c 100644 --- a/examples/components/footer.vue +++ b/examples/components/footer.vue @@ -10,6 +10,7 @@ {{ langConfig.theme }} Element-React Element-Angular + MorJS