diff --git a/.eslintignore b/.eslintignore index aa95173977b..a446c8da85f 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/.eslintrc b/.eslintrc index 71aefcfa96e..ad4aa56f7fb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,6 +1,7 @@ { "globals": { - "ga": true + "ga": true, + "chrome": true }, "plugins": ["html", "json"], "extends": "elemefe", diff --git a/.github/CONTRIBUTING.en-US.md b/.github/CONTRIBUTING.en-US.md index aa2bc51dc60..ee651f77d43 100644 --- a/.github/CONTRIBUTING.en-US.md +++ b/.github/CONTRIBUTING.en-US.md @@ -43,7 +43,7 @@ npm run dev # open http://localhost:8085 ``` -> **Notice**: modify `examples/play/index.vue` file, use the component you contribute, then run `npm run dev:play`, go ahead http://localhost:8085, get result, more quickly and friendly. +> **Notice**: modify `examples/play/index.vue` file, use the component you contribute, then run `npm run dev:play`, go ahead [http://localhost:8085](http://localhost:8085), get result, more quickly and friendly. To build: diff --git a/.github/CONTRIBUTING.es.md b/.github/CONTRIBUTING.es.md index 22fe13be76e..d5c6022a5ff 100644 --- a/.github/CONTRIBUTING.es.md +++ b/.github/CONTRIBUTING.es.md @@ -47,7 +47,7 @@ npm run dev # abra http://localhost:8085 ``` -> **Notice**: modify `examples/play/index.vue` file, use the component you contribute, then run `npm run dev:play`, go ahead http://localhost:8085, get result, more quickly and friendly. +> **Notice**: modify `examples/play/index.vue` file, use the component you contribute, then run `npm run dev:play`, go ahead [http://localhost:8085](http://localhost:8085), get result, more quickly and friendly. Para armar: diff --git a/.github/CONTRIBUTING.fr-FR.md b/.github/CONTRIBUTING.fr-FR.md index 492105c7eda..f8112be219d 100644 --- a/.github/CONTRIBUTING.fr-FR.md +++ b/.github/CONTRIBUTING.fr-FR.md @@ -43,7 +43,7 @@ npm run dev # open http://localhost:8085 ``` -> **Remarque** : modifiez le fichier `examples/play/index.vue`, utilisez le composant auquel vous contribuez, puis lancez `npm run dev:play`, allez sur http://localhost:8085, regardez le résultat rapidement et facilement. +> **Remarque** : modifiez le fichier `examples/play/index.vue`, utilisez le composant auquel vous contribuez, puis lancez `npm run dev:play`, allez sur [http://localhost:8085](http://localhost:8085), regardez le résultat rapidement et facilement. Pour le build: diff --git a/.github/CONTRIBUTING.zh-CN.md b/.github/CONTRIBUTING.zh-CN.md index 53803fbccc8..17b3cc8553e 100644 --- a/.github/CONTRIBUTING.zh-CN.md +++ b/.github/CONTRIBUTING.zh-CN.md @@ -41,7 +41,7 @@ npm run dev # open http://localhost:8085 ``` -> **提示**:可以运行 `npm run dev:play`,修改 `examples/play/index.vue` 文件,调用你修改后的组件,仍然访问 http://localhost:8085,查看修改效果,更快更方便。 +> **提示**:可以运行 `npm run dev:play`,修改 `examples/play/index.vue` 文件,调用你修改后的组件,仍然访问 [http://localhost:8085](http://localhost:8085),查看修改效果,更快更方便。 打包代码: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..149bb4e4cea --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Create new issue + url: https://elementui.github.io/issue-generator + about: The issue which is not created via https://elementui.github.io/issue-generator will be closed immediately. diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml new file mode 100644 index 00000000000..c5b1b0fa40b --- /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 00000000000..d04775d437d --- /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 a9b3749c717..e9a3f06ee16 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 def99ceb3e1..b8b32a2d525 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,7 +1,660 @@ ## 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* + +#### Bug fixes + +- Cascader + - fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707) + - optimize performance (#21231 by @cs1707) +- Select + - fix long text overflow in multiple mode (#21237 by @cs1707) +- Dropdown + - add disabled property (#21235 by @mshioda) +- Radio + - fix checked state when browser go back (#21250 by @cs1707) +- Descriptions + - fix type declaration (#21265 by @adaex) + - avoid table style conflict (#21254 by @adaex) +- Drawer + - fix append to body (#21264 by @cs1707) +- Local + - fix italian mistake (#21012 by @ricardotondello) + +### 2.15.5 + +*2021-08-04* + +#### Bug fixes + +- Select + - fix resetInputHeight (#21201 by @cs1707) + +### 2.15.4 + +*2021-08-03* + +#### New features + +- Descriptions + - add description component (#21129 by @cs1707) +- Result + - add result component (#21171 by @cs1707) + +#### Bug fixes + +- Utils + - fix isScroll (#21098 by @canvascat) +- Translation + - update it.js (#21133 by @bliberi) +- RadioGroup + - fix RadioGroup used in component causes exception #17908 (#20783 by @lceric) +- Message + - fix message[type] (#21088 by @cs1707) +- Carousel + - reset the timer when setActiveItem method is called (#20846 by @Nekojita1) +- Cascader + - fix emitPath (#21185 by @cs1707) +- Select + - fix select filterable bug (#17494 by @profore) + - fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707) +- Tree + - fix insertChild (#21194 by @cs1707) + +### 2.15.3 + +*2021-06-29* + +#### New features + +- Skeleton + - add skeleton component (#21038 by @cs1707) +- Empty + - add empty component (#21080 by @cs1707) + +#### Bug fixes + +- Local + - fix week translations for hr locale (#21040 by @cs1707) +- Table + - fix lazy load data (#21041 by @cs1707) +- Docs + - fix form hide-required-asterisk description (#21045 by @cs1707) +- Drawer: + - fix destroy (#20715 by @zj9495) +- Row + - fix align top (#20963 by @cs1707) +- Select + - fix the bug when the value is Boolean (#21052 by @cs1707) +- Calendar + - fix first-day-of-week (#21057 by @cs1707) +- Utils + - fix isScroll (#21065 by @cs1707) + - fix(utils.dom by @fw6) +- TypeScript + - add CascaderPanel export type (#21070 by @qige2016) + - add spinner.d.ts (#21090 by @qige2016) + +### 2.15.2 + +*2021-05-28* + +#### Bug fixes + +- Image + - fix z-index and keydown event add stopPropagation (#20859 by @cs1707) +- Input + - fix show password cursor (#20870 by @cs1707) + - fix show password icon in edge (#20902 by @cs1707) +- Carousel + - fix interval and scale bug (#20931 by @cs1707) +- Cascader + - fix delete tag bug (#20939 by @cs1707) +- Drawer + - add overflow auto (#20948 by @cs1707) +- Others + - fix isFunction (#20912 by @cs1707) + +### 2.15.1 + +*2021-02-23* + +#### Bug fixes + +- Drawer + - bugfix (by @cs1707) +- Image + - fix incorrect image object fit ratio in IE (#19583 by @charlie0228) +- Cascader + - fix cascader panel active path (#20730 by @cs1707) +- Calendar + - fix calendar component i18n bug (#20758 by @iamkun) +- ColorPicker + - fix bugs (by @UxieVerity) + +#### Optimization + +- Doc + - update Axure resource v2.1.0 (by @iamkun) + +### 2.15.0 + +*2021-01-15* + +#### Bug fixes + +- Select + - Fix placeholder i18n bug (#17644 by @nzh63) +- Popconfirm + - Popconfirm i18n bug by @iamkun) +- Drawer + - Fix focus bug (#20626 by @cs1707) +- Image + - Preview optimization (#20652 by @cs1707) + +#### Optimization + +- Doc + - Fix typo in french translation of datetime-picker.md (#20543 by @lonk) + - Add format attribute description to the progress component (#20641 by @cs1707) + +### 2.14.1 + +*2020-11-11* + +#### Bug fixes + +- Popover + - Compatible with Vue 2.6 new v-slot syntax (#20424 by @iamkun) + +#### Optimization + +- I18n + - Update Arabic translation (#20202 by @elkattan) + - Update Uighur translation (#20177 by @IlhamTahir) + +### 2.14.0 + +*2020-10-29* + +#### Breaking changes + +- Popconfirm + - Rename event name to `confirm`, `cancel` (#20240 by @hugiron) + +#### Bug fixes + +- Progress + - Fix attribute error (#19985 by @Caaalabash) + +#### Optimization + +- I18n + - Update Russian translation (#19451 by @yangirov) + - Update Khmer translation (#20077 by @Sovai) + - Update Ukrainian translation (#20344 by @MammutAlex) + +### 2.13.2 + +*2020-05-18* + +#### Bug fixes + +- Autocomplete + - Fix change event bug (#19200 by @sxzz) +- Image + - Update error status (#19194 by @lhx6538665) + +#### Optimization + +- I18n + - Update ru-RU popconfirm translation (#19220 by @Opppex) + - Update vi translation (#19244 by @quangln2810) + - Update Catalan and Spanish translations (#19296 by @Ismaaa) + - Update Indonesia translation (#19320) by @therour) + - Update Brazilian Portuguese translation (#19374 by @diegomengarda) + +### 2.13.1 + +*2020-04-13* + +#### New features +- Autocomplete + - Add change event (#17913 by @sxzz) + +#### Bug fixes + +- Autocomplete + - Fix suggestion error when textarea (#18478 by @Roojay) +- Carousel + - Fix console typo bug (#18264 by @IceFox) +- Image + - Fix preview dose not show when preview list not contain src issue (#18975) (#19130 by @luckyCao) + - Fix shortcut key not work at second time issue (#18983) (#19156 by @luckyCao) + - Don't show image-viewer when preview is false (#18967 by @inooNgt) +- Transfer + - Fix incorrect line-height of el-transfer's first list item when it was used with el-form-item (#18917 by @Hanx) +- InputNumber + - Correctly compute inputNumberDisabled (#18439 by @ashuser-pendo) +- Chore + - Remove index intro (#19155 by @iamkun) +- Doc + - Popconfirm doc update (#18324 by @iamkun) + - Fix step-strictly docs typo (#18705 by @dream2023) + - Fix a type error in document of steps component (#17555 by @haoranyu) + +### 2.13.0 + +*2019-11-26* + +#### New features + +- Popconfirm + - Add popconfirm component (#17548 by @iamkun) + +#### Bug fixes + +- BackTop + - Use cubic bezier scrolling (by @lon) +- DatePicker + - Fix bug of only select min date of date range problem (#17191 by @smk0621) +- Select + - Fix select test cases by (@msidolphin) +- Tree + - Add font-size for the style of tree empty-text (#17094 by @spengjie) +- Table + - Column header can be costumed (#17291 by @ziyoung) + - Update table header cell style (#17284 by @ziyoung) + - Fix table header height after filter (#17348 by @ziyoung) + - Fixed row-style with display not work (#17002 by @a631807682) + - Fix header table not display (#17341 by @ziyoung) +- Calendar + - Import el-button and el-button-group (#17376 by @masongzhi) +- MessageBox + - Fix icon position error (#17410 by @nullptru) +- TimePicker + - Set the selection range after scrolling up or down (#16868 by @mattheyan) +- Message + - Fix close instace offsetHeight(#17564) (#17852 by @gzwgq222) +- Form + - Callback of validateField should be optional (#17314 by @CarterLi) +- Cascader + - Fix TypeScript 3.7 compatibility (#17881 by @CarterLi) +- Menu + - Fix router NavigationDuplicated error when using vue-router@^3.1.0 (#17269 by @iamkun) +- Dropdown + - Update type file (#17550 by @iamkun) +- Progress + - Add strokeLinecap prop (#17552 by @iamkun) +- InfiniteScroll + - Skip trigger event on invisible element (#17553 by @iamkun) +- Image + - Perfect picture preview behavior (#16985 by @luckyCao) + - Fix shield the page when preview big image (#16796 by @luckyCao) +- Drawer + - Bugfix drawer-append-to-body-not-working (#16953 by @JeremyWuuuuu) +- Select + - Fix tag show value or empty issue (17199 by @luckyCao) +- Scrollbar + - Fix FireFox scroll bar width (#18091 by @iamkun) + +#### Optimization + +- I18n + - Update sv-SE.js (#17926 by @FOLLGAD) + - Update avatar component fr doc (#17762 by @blombard) +- Docs + - Fix time-select typo (#17250 by @wacky6) + - Fix Drawer attribute accepted value typo in es (#17122 by @haoranyu) + - Update Spanish changelog 2.12.0 (#17364 by @Gonzalo2310) + - Fix Changelog typo (#17874 by @renlixin) + - Fix Loading demo (#17862 by @MBearo) + - Add input event in input Events Table (#18061 by @zhouxinyong) + - Delete Input repeat change event (#18085 by @zhouxinyong) + +### 2.12.0 + +*2019-08-29* + +#### New features + +- Popover + - Add close-delay prop (#16671 by @LachlanStuart) +- Theme + - Add Chrome Extension: Element Theme Extension (#16686 by @iamkun) +- Icon + - Add font-display to @font-face declaration (#16805 by @iamfaizalandyka) + +#### Bug fixes + +- Carousel + - Fix onChange emit value (#16705 by @iamkun) +- Notification + - Fix modifying incoming option object (#16704 by @iamkun) +- DatePicker + - Add className for picker option (#16632 by @iamkun) +- DateTimePicker + - Fix time-spinner not scroll to right position (#16854 by @jesse-li) +- Table + - Prevent click handler after drag (#16850 by @ziyoung) + - Fix chrome crash when set thead css display to none (#16956 by @luckyCao) + - Fix wrong empty block height (#16861 by @ziyoung) + - Not throw error when calling toggleExpansion (#16304 by @yyjjqq94) + - Not trigger sort-change event when mounted (#17113 by @a631807682) + - Fix setCurrentRow unable to clear highlight row (#16879 by @ziyoung) + - Fix expand-row-keys not work when data is loaded asynchronously (#16899 by @ziyoung) + - set toggleAllSelection as instance property (#17137 by @ziyoung) +- Tree + - Fix distance between label and checkbox (#16799 by @Hazlank) +- Tabs + - Fix incorrect TabItem's position (#16520 by @victorting) + - Fix activated tab is out of visual range bug (#17033 by @nullptru) +- Calendar + - Fix weekdays i18n issue (#16772 by @ubitoffee) + - fix locale error (#17208 by @iamkun) +- Cascader + - Fix CascaderPanel display error (#16716 by @zhangHongEn) + - Fix disable status and close button issue (#16224 by @yyjjqq94) +- Input + - Fix Korean composition event (#15069 by @MoonHyuk) + - Fix click event of clear button not trigger when using v-loading (#16576 by @a631807682) +- Select + - Not toggle dropdown when filtering (#17205 by @luckyCao) +- Transfer + - Fix style error (#17206 by @iamkun) +- Dialog + - update sass var (#16365 by @haoranyu) +- RadioGroup + - Not produce invalid HTML in table if "is" attribute is specify (#17070 by @nullptru) +- Divider + - Support custom classes (#17078 by @island205) + +#### Optimization + +- Checkbox + - Improve screen reader experience (#16575 by @tylertrotter) +- Docs + - Update changelog (#16773 by @SimonaliaChen) + - Update contributing guide (#14800 by @sinchang) + - Fix typo in Drawer docs (#16848 by @winkay) + - Update custom theme (#16983 by @iamkun) + - Add Esperanto translation (#16955 by @maxkoryukov) + - Update input-number document about change event (#16316 by @luckyCao) + - Update spanish doc 2.11.1 (#16961 by @Gonzalo2310) +- I18n + - Remove translation of 'year' in catalan language as in the other languages (#14722 by @oscaralbareda) + - Update spanish changelog 2.10.0 and 2.10.1 (#16548 by @Gonzalo2310) + - Update ar.js (#16653 by @l3op) +- Test + - Correct spelling error (#16672 by @boomler) + - Refactor unit test to use data-uri (#16847 by @a631807682) +- Types + - Fix httprequest type (#16633 by @luckyCao) + +### 2.11.1 + +*2019-07-26* + +#### Bug fixes + +- Image + - Fix Image component SSR compatibility (#16737 by @luckyCao) +- Chore + - Update dart-sass compatibility (#16744 by @LewisChennnnn) + +### 2.11.0 + +*2019-07-25* + +#### New features + +- Drawer + - Add drawer component (#16577 by @JeremyWuuuuu) + +#### Bug fixes + +- Checkbox + - Enhance css selector (#16006 by @Hazlank) +- Tree + - Make el-tree generic (#15934 by @JeremyWuuuuu) + - Set isCurrent prop to False (#15870 by @kkkisme) +- Dropdown + - Fix split-button caret default color (#15931 by @JuniorTour) +- Cascader + - Fix level 1 children is empty update problem (#16399 by @luckyCao) + - Add sets default values when lazy is true (#16420 by @luckyCao) + - Fix display errors when node value is duplicate (#15935 by @junyiz) + - Expose getCheckedNodes and fix options change bug (#16709 by @SimonaliaChen) +- Calendar + - Display correct header when range is specified (#16354 by @ziyoung) +- Submenu + - Fix prop append-to-body (#16289 by @a631807682) +- Table + - Fix tree table when updating data (#16481 by @island205) +- Select + - Fix memory leak issue (#16463 by @island205) +- InfiniteScroll + - Update naming & doc (#16698 by @iamkun) +- Avatar + - Fix image not center vertically issue (#16489 by @luckyCao) +- Dialog + - Add destroyOnClose attribute (#16455 by @ziyoung) +- Image + - Add big Image preview feature (#16333 by @luckyCao) + +#### Optimization + +- Docs + - Fix dropdown demo (#16193 by @webxmsj) + - Fix typo in table documents (#15971 by @howiefh) +- I18n + - Update translation of Thai language (#16689 by @ponkrit) +- Chore + - Update theme base api (#16607 by @iamkun) + - Add form theme token (#16699 by @iamkun) + - Mark ali inner user's access (#16609 by @iamkun) + - Fix doc anchor bug (#16692 by @iamkun) + ### 2.10.1 +*2019-07-02* + #### Bug fixes - Table diff --git a/CHANGELOG.es.md b/CHANGELOG.es.md index 420e23a5db7..b3b5112d5b5 100644 --- a/CHANGELOG.es.md +++ b/CHANGELOG.es.md @@ -1,105 +1,757 @@ ## Changelog -### 2.10.1 +### 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 sort icon (#15439 by @bezany) - - Fix layout breaks when append slot exists (#16332 by @ziyoung) - - Fix showOverflowTooltip not reactive (#16295 by @a631807682) - - Register scrollbar in filter-panel (#16246 by @ziyoung) + - 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 - - Fix 2.9 docs (#16233 by @ziyoung) - - Fix index page theme intro english css style issue (#16254 by @iamkun) + - 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* + +#### Bug fixes + +- Cascader + - fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707) + - optimize performance (#21231 by @cs1707) +- Select + - fix long text overflow in multiple mode (#21237 by @cs1707) +- Dropdown + - add disabled property (#21235 by @mshioda) +- Radio + - fix checked state when browser go back (#21250 by @cs1707) +- Descriptions + - fix type declaration (#21265 by @adaex) + - avoid table style conflict (#21254 by @adaex) +- Drawer + - fix append to body (#21264 by @cs1707) +- Local + - fix italian mistake (#21012 by @ricardotondello) + +### 2.15.5 + +*2021-08-04* + +#### Bug fixes + +- Select + - fix resetInputHeight (#21201 by @cs1707) + +### 2.15.4 + +*2021-08-03* + +#### New features + +- Descriptions + - add description component (#21129 by @cs1707) +- Result + - add result component (#21171 by @cs1707) + +#### Bug fixes + +- Utils + - fix isScroll (#21098 by @canvascat) +- Translation + - update it.js (#21133 by @bliberi) +- RadioGroup + - fix RadioGroup used in component causes exception #17908 (#20783 by @lceric) +- Message + - fix message[type] (#21088 by @cs1707) +- Carousel + - reset the timer when setActiveItem method is called (#20846 by @Nekojita1) +- Cascader + - fix emitPath (#21185 by @cs1707) +- Select + - fix select filterable bug (#17494 by @profore) + - fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707) +- Tree + - fix insertChild (#21194 by @cs1707) + +### 2.15.3 + +*2021-06-29* + +#### New features + +- Skeleton + - add skeleton component (#21038 by @cs1707) +- Empty + - add empty component (#21080 by @cs1707) + +#### Bug fixes + +- Local + - fix week translations for hr locale (#21040 by @cs1707) +- Table + - fix lazy load data (#21041 by @cs1707) +- Docs + - fix form hide-required-asterisk description (#21045 by @cs1707) +- Drawer: + - fix destroy (#20715 by @zj9495) +- Row + - fix align top (#20963 by @cs1707) +- Select + - fix the bug when the value is Boolean (#21052 by @cs1707) +- Calendar + - fix first-day-of-week (#21057 by @cs1707) +- Utils + - fix isScroll (#21065 by @cs1707) + - fix(utils.dom by @fw6) +- TypeScript + - add CascaderPanel export type (#21070 by @qige2016) + - add spinner.d.ts (#21090 by @qige2016) + +### 2.15.2 + +*2021-05-28* + +#### Bug fixes + +- Image + - fix z-index and keydown event add stopPropagation (#20859 by @cs1707) +- Input + - fix show password cursor (#20870 by @cs1707) + - fix show password icon in edge (#20902 by @cs1707) +- Carousel + - fix interval and scale bug (#20931 by @cs1707) +- Cascader + - fix delete tag bug (#20939 by @cs1707) +- Drawer + - add overflow auto (#20948 by @cs1707) +- Others + - fix isFunction (#20912 by @cs1707) + +### 2.15.1 + +*2021-02-23* + +#### Bug fixes + +- Drawer + - bugfix (by @cs1707) +- Image + - fix incorrect image object fit ratio in IE (#19583 by @charlie0228) +- Cascader + - fix cascader panel active path (#20730 by @cs1707) +- Calendar + - fix calendar component i18n bug (#20758 by @iamkun) +- ColorPicker + - fix bugs (by @UxieVerity) + +#### Optimization + +- Doc + - update Axure resource v2.1.0 (by @iamkun) +### 2.15.0 + +*2021-01-15* + +#### Bug fixes + +- Select + - Fix placeholder i18n bug (#17644 by @nzh63) +- Popconfirm + - Popconfirm i18n bug by @iamkun +- Drawer + - Fix focus bug (#20626 by @cs1707) +- Image + - Preview optimization (#20652 by @cs1707) + +#### Optimization + +- Doc + - Fix typo in french translation of datetime-picker.md (#20543 by @lonk) + - Add format attribute description to the progress component (#20641 by @cs1707) + +### 2.14.1 + +*2020-11-11* + +#### Bug fixes + +- Popover + - Compatible with Vue 2.6 new v-slot syntax (#20424 by @iamkun) + +#### Optimization + +- I18n + - Update Arabic translation (#20202 by @elkattan) + - Update Uighur translation (#20177 by @IlhamTahir) + +### 2.14.0 + +*2020-10-29* + +#### Breaking changes + +- Popconfirm + - Rename event name to `confirm`, `cancel` (#20240 by @hugiron) + +#### Bug fixes + +- Progress + - Fix attribute error (#19985 by @Caaalabash) #### Optimization +- I18n + - Update Russian translation (#19451 by @yangirov) + - Update Khmer translation (#20077 by @Sovai) + - Update Ukrainian translation (#20344 by @MammutAlex) + +### 2.13.2 + +*2020-05-18* + +#### Corrección de errores + +- Autocomplete + - Arreglado el error cuando se daba el evento change (#19200 by @sxzz) +- Image + - Actualizado el estado de error (#19194 by @lhx6538665) + +#### Optimización + +- I18n + - Actualización de la traducción del popconfirm al Ruso (#19220 by @Opppex) + - Actualización de la traducción al vi (#19244 by @quangln2810) + - Actualización de la traducción al Catalán y al Español (#19296 by @Ismaaa) + - Actualización de la traducción al Indonesio (#19320) by @therour) + - Actualización de la traducción al Portugués Brasileño (#19374 by @diegomengarda) + + +### 2.13.1 + +*2020-04-13* + +#### Nuevas características +- Autocomplete + - Agregado el evento change (#17913 by @sxzz) + +#### Corrección de errores + +- Autocomplete + - Solucionado el error de la sugerencia en textarea (#18478 by @Roojay) +- Carousel + - Arreglado el error de escritura de la consola (#18264 by @IceFox) +- Image + - Solucionado el error de que no se mostraba el preview si no existía el src (#18975) (#19130 by @luckyCao) + - Arreglado el problema de que el shortcut key no funcionaba la segunda vez (#18983) (#19156 by @luckyCao) + - No muestra la imagen cuando preview es falso (#18967 by @inooNgt) +- Transfer + - Corregida la altura (line-height) incorrecta del primer elemento del el-transfer cuando era usado con el-form-item (#18917 by @Hanx) +- InputNumber + - Calculo correcto de inputNumberDisabled (#18439 by @ashuser-pendo) +- Tarea + - Se quito la introducción del index (#19155 by @iamkun) +- Documentación + - Actualización de la documentación de Popconfirm (#18324 by @iamkun) + - Arreglado el error tipográfico de la documentación de Fix step-strictly (#18705 by @dream2023) + - Corregido un type error en la documentación de steps component (#17555 by @haoranyu) + +### 2.13.0 + +*2019-11-26* + +#### Nuevas características + +- Popconfirm + - Agregado componente popconfirm (#17548 by @iamkun) + +#### Corrección de errores + +- BackTop + - Se usa cubic bezier para el scroll (by @lon) +- DatePicker + - Arreglado el fallo cuando solo se elegía fecha mínima en un rango de fechas (#17191 by @smk0621) +- Select + - Arreglado los casos de test del select (by @msidolphin) +- Tree + - Agregado font-size para el estilo del texto cuando esta vacío el tree (#17094 by @spengjie) +- Table + - La cabecera de la columna puede modificarse (#17291 by @ziyoung) + - Se actualizo el estilo de la cabecera de la tabla de la celda (#17284 by @ziyoung) + - Se soluciono el problema de height de la cabecera de la tabla después de un filtro (#17348 by @ziyoung) + - Corregido el estilo de la fila que con display no funcionaba (#17002 by @a631807682) + - Arreglado que la cabecera de la tabla no se mostraba (#17341 by @ziyoung) +- Calendar + - La importación de el-button y el-button-group (#17376 by @masongzhi) +- MessageBox + - Corregido el error de posición del icono (#17410 by @nullptru) +- TimePicker + - Establecido el rango de selección después de hacer scroll (#16868 by @mattheyan) +- Message + - Corregido el offsetHeight al cerrar la instancia(#17564) (#17852 by @gzwgq222) +- Form + - La función de llamada de validateField es opcional (#17314 by @CarterLi) +- Cascader + - Corregida la compatibilidad con TypeScript 3.7 (#17881 by @CarterLi) +- Menu + - Corregido el error de la ruta de navegación duplicada cuando se usaba vue-router@^3.1.0 (#17269 by @iamkun) +- Dropdown + - Actualización del tipo de archivo (#17550 by @iamkun) +- Progress + - Agregada la prop strokeLinecap (#17552 by @iamkun) +- InfiniteScroll + - Salto del disparo de evento en elementos invisibles (#17553 by @iamkun) +- Image + - Comportamiento perfecto de personalización de imágenes (#16985 by @luckyCao) + - Corregida la pagina cuando se hace preview de imágenes grandes (#16796 by @luckyCao) +- Drawer + - Corregido el fallo del append-to-body del drawer que no funcionaba (#16953 by @JeremyWuuuuu) +- Select + - Corregido: ahora muestra el tag o el valor vacío (17199 by @luckyCao) +- Scrollbar + - Arreglado el ancho del scroll en FireFox (#18091 by @iamkun) + +#### Optimización + +- I18n + - Actualizado sv-SE.js (#17926 by @FOLLGAD) + - Actualizada la documentación para francés para el componente avatar (#17762 by @blombard) +- Docs + - Arreglada la typografia de time-select (#17250 by @wacky6) + - Arreglado en Drawer, ahora el atributo value acepta tipografías en español (#17122 by @haoranyu) + - Actualización del Changelog 2.12.0 al español (#17364 by @Gonzalo2310) + - Arreglo de la tipografía del Changelog (#17874 by @renlixin) + - Arreglada la demo de Loading (#17862 by @MBearo) + - Agregado el evento input en los inputs de Table (#18061 by @zhouxinyong) + - Eliminado el evento repetitivo change de los input (#18085 by @zhouxinyong) + +### 2.12.0 + +*2019-08-29* + +#### Nuevas características + +- Popover + - Agregada la prop close-delay (#16671 by @LachlanStuart) +- Theme + - Añadida la extensión Chrome: Element Theme Extensión (#16686 by @iamkun) +- Icon + - Añadido font-display a la declaración @font-face (#16805 by @iamfaizalandyka) + +#### Corrección de errores + +- Carousel + - Corregido el valor emitido por onChange (#16705 by @iamkun) +- Notification + - Corrección de la modificación del objeto de opción entrante (#16704 by @iamkun) +- DatePicker + - Agregado el className para la opción picker (#16632 by @iamkun) +- DateTimePicker + - Corrección del time-spinner que no se desplazaba a la posición correcta (#16854 by @jesse-li) +- Table + - Evitar la propagación del click después del arrastre (#16850 by @ziyoung) + - Corregido una error en chrome que se producía cuando el css de thead tenia display: none (#16956 by @luckyCao) + - Corregida la altura incorrecta de los bloques vacíos (#16861 by @ziyoung) + - No hay lanzamiento de error cuando se llama a toggleExpansion (#16304 by @yyjjqq94) + - No se lanza el evento sort-change cuando esta montado (#17113 by @a631807682) + - Corregido que el setCurrentRow no borraba la linea resaltada (#16879 by @ziyoung) + - Corregido que expand-row-keys no funcionaba cuando los datos eran cargados asincrónicamente (#16899 by @ziyoung) + - Establecido toggleAllSelection como propiedad instanciada (#17137 by @ziyoung) +- Tree + - Corregida la distancia entre label y checkbox (#16799 by @Hazlank) +- Tabs + - Corregida la posición incorrecta de los item's del Tab (#16520 by @victorting) + - Corregido el error de que la pestaña activada estaba fuera del rango visual (#17033 by @nullptru) +- Calendar + - Arreglado el problema de los días de la semana con i18n (#16772 by @ubitoffee) + - Corregido el error de localización (#17208 by @iamkun) +- Cascader + - Corregido un error de visualización del CascaderPanel (#16716 by @zhangHongEn) + - Corregido el problema de disable status y close button (#16224 by @yyjjqq94) +- Input + - Arreglado el evento de composición coreana (#15069 by @MoonHyuk) + - Arreglado el evento click del botón clear que no se lanzaba cuando se usaba v-loading (#16576 by @a631807682) +- Select + - No cambiaba el dropdown cuando se filtraba (#17205 by @luckyCao) +- Transfer + - Arreglado un error de estilo (#17206 by @iamkun) +- Dialog + - Actualizada las variables Sass (#16365 by @haoranyu) +- RadioGroup + - No produce HTML invalido en la tabla si el atributo 'is' es especificado (#17070 by @nullptru) +- Divider + - Soporta clases personalizadas (#17078 by @island205) + +#### Optimización + +- Checkbox + - Mejorada la experiencia del lector de pantalla (#16575 by @tylertrotter) +- Docs + - Actualizado changelog (#16773 by @SimonaliaChen) + - Actualizada la guía de contribución (#14800 by @sinchang) + - Arreglado typo en la documentación de Drawer (#16848 by @winkay) + - Actualizado el tema personalizado (#16983 by @iamkun) + - Agregada traducción en Esperanto (#16955 by @maxkoryukov) + - Actualizada la documentación de input-number sobre el evento change (#16316 by @luckyCao) + - Actualizada la documentación en Español 2.11.1 (#16961 by @Gonzalo2310) +- I18n + - Eliminada la traducción de 'year' en idioma Catalán como en otros idiomas (#14722 by @oscaralbareda) + - Actualizado el changelog de las versiones 2.10.0 y 2.10.1 en Español (#16548 by @Gonzalo2310) + - Actualizado ar.js (#16653 by @l3op) +- Test + - Corregir error ortográfico (#16672 by @boomler) + - Refractorizacion del unit test para usar data-uri (#16847 by @a631807682) +- Types + - Corrección del tipo httprequest (#16633 by @luckyCao) + +### 2.11.1 + +*2019-07-26* + +#### Corrección de errores + +- Image + - Corregido el componente Image para compatibilidad SSR (#16737 by @luckyCao) +- Tarea + - Actualizado para compatibilidad con dart-sass by @LewisChennnnn) + +### 2.11.0 + +*2019-07-25* + +#### Nuevas características + +- Drawer + - Agregado componente drawer (#16577 by @JeremyWuuuuu) + +#### Corrección de errores + +- Checkbox + - Mejora del selector css (#16006 by @Hazlank) +- Tree + - Establecido el el-tree como genérico (#15934 by @JeremyWuuuuu) + - Establecido la prop isCurrent como False (#15870 by @kkkisme) +- Dropdown + - Corregido el color predeterminado de los split-button (#15931 by @JuniorTour) +- Cascader + - Corregido un problema de actualización cuando el nivel 1 de children estaba vació (#16399 by @luckyCao) + - Ahora se muestra correctamente header cuando range esta especificado (#16354 by @ziyoung) + - Agregados valores por defecto cuando lazy es true (#16420 by @luckyCao) + - Solucionado problemas de visualización (#15935 by @junyiz) + - Expuestos los getCheckedNodes y corrección de errores en el cambio de opciones (#16709 by @SimonaliaChen) +- Submenu + - Corregida la prop append-to-body (#16289 by @a631807682) +- Table + - Arreglado un fallo en la actualizacion de los datos de tree table (#16481 by @island205) +- Select + - Arreglado un problema de fuga de memoria (#16463 by @island205) +- InfiniteScroll + - Actualizada la nomenclatura y la documentacion (#16698 by @iamkun) +- Avatar + - Arreglado que la imagen no se centraba verticalmente (#16489 by @luckyCao) +- Dialog + - Agregado el atributo destroyOnClosee (#16455 by @ziyoung) +- Image + - Agregada la función de vista previa grande de imágenes (#16333 by @luckyCao) + +#### Optimización + +- Documentación + - Arreglada la demo de dropdown (#16193 by @webxmsj) + - Corrección de errores tipográficos en las tablas de documentos (#15971 by @howiefh) +- I18n + - Actualizada la traduccion del lenguage Thai (#16689 by @ponkrit) +- Tareas + - Actualizada la api base del tema (#16607 by @iamkun) + - Añadido token del formulario del tema (#16699 by @iamkun) + - Marcar todos los accesos internos del usuario (#16609 by @iamkun) + - Corrección del error de anclaje del documento (#16692 by @iamkun) + +### 2.10.1 + +*2019-07-02* + +#### Corrección de errores + + +- Table + - Corregido el icono de ordenación (#15439 by @bezany) + - Corregidas las rupturas del layout cuando existía un slot (#16332 by @ziyoung) + - Corregido showOverflowTooltip no era reactivo (#16295 by @a631807682) + - Registrada la scrollbar en el panel de filtro (#16246 by @ziyoung) +- Tareas + - Arreglada la documentación 2.9 (#16233 by @ziyoung) + - Corregido el índice de la página de introducción del tema en inglés que tenia un error en los estilos css (#16254 by @iamkun) + +#### Optimización + - Tag - - Compatible with IE (#16334 by @ziyoung) -- Chore - - Update Dingtalk Group QR image (#16236 by @iamkun) + - Compatible con IE (#16334 by @ziyoung) +- Tarea + - Actualizada la imagen QR de Dingtalk Group (#16236 by @iamkun) - Doc - - Update online theme roller doc (#16244 by @iamkun) + - Actualizada la documentación online del theme roller (#16244 by @iamkun) ### 2.10.0 *2019-06-25* -#### New features +#### Nuevas características - I18n - - Added Uzbek language (#15796 by @ogabek96) + - Añadido idioma Uzbeko (#15796 by @ogabek96) - Calendar - - Add first-day-of-week attribute (#16047 by @ziyoung) + - Añadido el atributo del primer día de la semana (#16047 by @ziyoung) - Avatar - - Add avatar component (#16144 by @luckyCao) + - Agregado componente Avatar (#16144 by @luckyCao) - Upload: - - Add capability to customize thumbnail template (#13192 by @victorzhuk) + - Añade capacidad para personalizar la plantilla de miniaturas (#13192 by @victorzhuk) -#### Bug fixes +#### Corrección de errores - Tree - - Not highlight tree node when currentKey is null (#15668 by @yyjjqq94) - - Fix issue #15538 caused by two Tree sharing the same data. (#15615 by @VanMess) + - No resaltar el nodo de árbol cuando currentKey es nulo (#15668 by @yyjjqq94) + - Solucionado el problema #15538 causado por dos Tree que compartian los mismos datos.(#15615 by @VanMess) - Upload - - Update the parameter `fileList` type (#15716 by @underfin) + - Actualizado el tipo del parámetro `fileList` (#15716 by @underfin) - Table - - Fix loading icon not display (#15868 by @ziyoung) - - Fix background color of complex table when hovering (#15504 by @cnlon) - - Fix current-row-key and select event bug (#15983 by @ziyoung) - - Height accepts more units (#16013 by @ziyoung) - - Fix reserve-selection not work (#16135 by @ziyoung) + - Solucionado que el icono de loading no se mostraba (#15868 by @ziyoung) + - Corregido el color de fondo de una tabla compleja cuando se desplaza el cursor (#15504 by @cnlon) + - Corregido current-row-key y el bug del evento select (#15983 by @ziyoung) + - Height acepta más unidades (#16013 by @ziyoung) + - Solucionado reserve-selection no funcionaba (#16135 by @ziyoung) - Docs - - Fix Divider attribute type in zh-cn (#15889 by @haoranyu) + - Corregido el tipo de atributo Divider en zh-cn (#15889 by @haoranyu) + - Se elimina una etiqueta html de cierre incorrecta y el código de bloque vacío (#16194 por @Alexeykhr) - Menu - - Fixed submenu hidden bug after adding popper-append-to-body (#15391 by @PanJiaChen) + - Corregido un error oculto en el submenú después de añadir popper-append-to-body (#15391 by @PanJiaChen) - Select - - Fix initialInputHeight (#15989 by @yyjjqq94) - - Fix default-first-option behavior when typing Chinese (#15431 by @VanMess) - - fix double import problem (#16215 by @lengband) + - Arreglado initialInputHeight (#15989 by @yyjjqq94) + - Corregido el comportamiento de default-first-option cuando se escribe chino (#15431 by @VanMess) + - Corregido el problema de importación doble (#16215 by @lengband) - Message - - Add type def for offset option (#16027 by @matjaz) + - Añadida la opción type def para offset (#16027 by @matjaz) - Timeline - - Fix reverse broken (#16091 by @ziyoung) + - Arreglado reverso roto (#16091 by @ziyoung) - Slider - - Fix #15545 by adding explains about "input" event in Chinese (#15588 by @VanMess) + - Corregido #15545 agregando explicaciones sobre el evento "input" en chino (#15588 by @VanMess) - InfiniteScroll - - Update package name (#16125 by @iamkun) + - Actualización del nombre del paquete (#16125 by @iamkun) - MessageBox - - Fix  distinguishCancelAndClose action not same as docs bug (#15438 by @qingdengyue) + - Arreglado el bug de distinguishCancelAndClose, la acción no era la misma que la documentada (#15438 by @qingdengyue) - PopupManager - - Fix z-index cannot be rewritten at first using (#15738 by @luckyCao) -- Docs - - Delete an incorrect closing html tag and empty block code (#16194 by @Alexeykhr) -- Chore - - Update test api host (#15807 by @iamkun) + - Arreglado que el z-index no podía ser reescrito la primera vez que se usaba (#15738 by @luckyCao) +- Tarea + - Actualizado el test del api host (#15807 by @iamkun) -#### Optimization +#### Optimizacion - Tree - - Modify loop conditions to improve performance (#15699 by @KingJeason) + - Modificar las condiciones del bucle para mejorar el rendimiento (#15699 by @KingJeason) - Theme - - Refine GA track & Update footer link forward to online theme roller (#16007 by @island205) + - Refinado GA track & actualizado el link del pie que lleva al theme roller online (#16007 by @island205) - Badge - - Update badge prop check (#16198 by @iamkun) + - Actualizado el check del prop badge (#16198 by @iamkun) - Avatar - - Update theme config var (#16202 by @luckyCao) + - Actualizado el var del config del theme (#16202 by @luckyCao) - I18n - - Update pt-br.js (#15776 by @gigioSouza) - - Update Farsi translation (#15881 by @pamenary) + - Actualizada la traducción del portugués (#15776 by @gigioSouza) + - Actualizada la traducción del idioma Farsi (#15881 by @pamenary) - Docs - - Add missing components in quickstart (#16063 by @pape2016) - - Update french translation (#16208 by @blombard) - - Add description $slots.default (#15444 by @Alexeykhr) - - Update Spanish Doc 2.9.1 (#15840 by @Gonzalo2310) - - Fix spelling mistakes in fr (#15837 by @blombard) - - Update changelog 2.9.2 Spanish (#16185 by @Gonzalo2310) + - Agregado componentes faltantes en el quick start (#16063 by @pape2016) + - Actualizada la traducción al francés (#16208 by @blombard) + - Agregada descripción $slots.default (#15444 by @Alexeykhr) + - Actualizada la Doc en Español 2.9.1 (#15840 by @Gonzalo2310) + - Corrección de errores ortográficos en fr (#15837 by @blombard) + - Actualizado el changelog 2.9.2 en español (#16185 by @Gonzalo2310) #### Breaking changes - Form - - Remove success status (#16159 by @ziyoung) + - Eliminado el estado success (#16159 by @ziyoung) ### 2.9.2 @@ -1438,4 +2090,4 @@ # # -* 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.`` +* 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.`` \ No newline at end of file diff --git a/CHANGELOG.fr-FR.md b/CHANGELOG.fr-FR.md index e939eca5f4e..cbf4198c9c0 100644 --- a/CHANGELOG.fr-FR.md +++ b/CHANGELOG.fr-FR.md @@ -1,7 +1,661 @@ ## 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* + +#### Bug fixes + +- Cascader + - fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707) + - optimize performance (#21231 by @cs1707) +- Select + - fix long text overflow in multiple mode (#21237 by @cs1707) +- Dropdown + - add disabled property (#21235 by @mshioda) +- Radio + - fix checked state when browser go back (#21250 by @cs1707) +- Descriptions + - fix type declaration (#21265 by @adaex) + - avoid table style conflict (#21254 by @adaex) +- Drawer + - fix append to body (#21264 by @cs1707) +- Local + - fix italian mistake (#21012 by @ricardotondello) + +### 2.15.5 + +*2021-08-04* + +#### Bug fixes + +- Select + - fix resetInputHeight (#21201 by @cs1707) + +### 2.15.4 + +*2021-08-03* + +#### New features + +- Descriptions + - add description component (#21129 by @cs1707) +- Result + - add result component (#21171 by @cs1707) + +#### Bug fixes + +- Utils + - fix isScroll (#21098 by @canvascat) +- Translation + - update it.js (#21133 by @bliberi) +- RadioGroup + - fix RadioGroup used in component causes exception #17908 (#20783 by @lceric) +- Message + - fix message[type] (#21088 by @cs1707) +- Carousel + - reset the timer when setActiveItem method is called (#20846 by @Nekojita1) +- Cascader + - fix emitPath (#21185 by @cs1707) +- Select + - fix select filterable bug (#17494 by @profore) + - fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707) +- Tree + - fix insertChild (#21194 by @cs1707) + +### 2.15.3 + +*2021-06-29* + +#### New features + +- Skeleton + - add skeleton component (#21038 by @cs1707) +- Empty + - add empty component (#21080 by @cs1707) + +#### Bug fixes + +- Local + - fix week translations for hr locale (#21040 by @cs1707) +- Table + - fix lazy load data (#21041 by @cs1707) +- Docs + - fix form hide-required-asterisk description (#21045 by @cs1707) +- Drawer: + - fix destroy (#20715 by @zj9495) +- Row + - fix align top (#20963 by @cs1707) +- Select + - fix the bug when the value is Boolean (#21052 by @cs1707) +- Calendar + - fix first-day-of-week (#21057 by @cs1707) +- Utils + - fix isScroll (#21065 by @cs1707) + - fix(utils.dom by @fw6) +- TypeScript + - add CascaderPanel export type (#21070 by @qige2016) + - add spinner.d.ts (#21090 by @qige2016) + +### 2.15.2 + +*2021-05-28* + +#### Bug fixes + +- Image + - fix z-index and keydown event add stopPropagation (#20859 by @cs1707) +- Input + - fix show password cursor (#20870 by @cs1707) + - fix show password icon in edge (#20902 by @cs1707) +- Carousel + - fix interval and scale bug (#20931 by @cs1707) +- Cascader + - fix delete tag bug (#20939 by @cs1707) +- Drawer + - add overflow auto (#20948 by @cs1707) +- Others + - fix isFunction (#20912 by @cs1707) + +### 2.15.1 + +*2021-02-23* + +#### Bug fixes + +- Drawer + - bugfix (by @cs1707) +- Image + - fix incorrect image object fit ratio in IE (#19583 by @charlie0228) +- Cascader + - fix cascader panel active path (#20730 by @cs1707) +- Calendar + - fix calendar component i18n bug (#20758 by @iamkun) +- ColorPicker + - fix bugs (by @UxieVerity) + +#### Optimization + +- Doc + - update Axure resource v2.1.0 (by @iamkun) + +### 2.15.0 + +*2021-01-15* + +#### Bug fixes + +- Select + - Fix placeholder i18n bug (#17644 by @nzh63) +- Popconfirm + - Popconfirm i18n bug by @iamkun +- Drawer + - Fix focus bug (#20626 by @cs1707) +- Image + - Preview optimization (#20652 by @cs1707) + +#### Optimization + +- Doc + - Fix typo in french translation of datetime-picker.md (#20543 by @lonk) + - Add format attribute description to the progress component (#20641 by @cs1707) + +### 2.14.1 + +*2020-11-11* + +#### Bug fixes + +- Popover + - Compatible with Vue 2.6 new v-slot syntax (#20424 by @iamkun) + +#### Optimization + +- I18n + - Update Arabic translation (#20202 by @elkattan) + - Update Uighur translation (#20177 by @IlhamTahir) + +### 2.14.0 + +*2020-10-29* + +#### Breaking changes + +- Popconfirm + - Rename event name to `confirm`, `cancel` (#20240 by @hugiron) + +#### Bug fixes + +- Progress + - Fix attribute error (#19985 by @Caaalabash) + +#### Optimization + +- I18n + - Update Russian translation (#19451 by @yangirov) + - Update Khmer translation (#20077 by @Sovai) + - Update Ukrainian translation (#20344 by @MammutAlex) + +### 2.13.2 + +*2020-05-18* + +#### Bug fixes + +- Autocomplete + - Fix change event bug (#19200 by @sxzz) +- Image + - Update error status (#19194 by @lhx6538665) + +#### Optimization + +- I18n + - Update ru-RU popconfirm translation (#19220 by @Opppex) + - Update vi translation (#19244 by @quangln2810) + - Update Catalan and Spanish translations (#19296 by @Ismaaa) + - Update Indonesia translation (#19320) by @therour) + - Update Brazilian Portuguese translation (#19374 by @diegomengarda) + + +### 2.13.1 + +*2020-04-13* + +#### New features +- Autocomplete + - Add change event (#17913 by @sxzz) + +#### Bug fixes + +- Autocomplete + - Fix suggestion error when textarea (#18478 by @Roojay) +- Carousel + - Fix console typo bug (#18264 by @IceFox) +- Image + - Fix preview dose not show when preview list not contain src issue (#18975) (#19130 by @luckyCao) + - Fix shortcut key not work at second time issue (#18983) (#19156 by @luckyCao) + - Don't show image-viewer when preview is false (#18967 by @inooNgt) +- Transfer + - Fix incorrect line-height of el-transfer's first list item when it was used with el-form-item (#18917 by @Hanx) +- InputNumber + - Correctly compute inputNumberDisabled (#18439 by @ashuser-pendo) +- Chore + - Remove index intro (#19155 by @iamkun) +- Doc + - Popconfirm doc update (#18324 by @iamkun) + - Fix step-strictly docs typo (#18705 by @dream2023) + - Fix a type error in document of steps component (#17555 by @haoranyu) + +### 2.13.0 + +*2019-11-26* + +#### New features + +- Popconfirm + - Add popconfirm component (#17548 by @iamkun) + +#### Bug fixes + +- BackTop + - Use cubic bezier scrolling (by @lon) +- DatePicker + - Fix bug of only select min date of date range problem (#17191 by @smk0621) +- Select + - Fix select test cases (by @msidolphin) +- Tree + - Add font-size for the style of tree empty-text (#17094 by @spengjie) +- Table + - Column header can be costumed (#17291 by @ziyoung) + - Update table header cell style (#17284 by @ziyoung) + - Fix table header height after filter (#17348 by @ziyoung) + - Fixed row-style with display not work (#17002 by @a631807682) + - Fix header table not display (#17341 by @ziyoung) +- Calendar + - Import el-button and el-button-group (#17376 by @masongzhi) +- MessageBox + - Fix icon position error (#17410 by @nullptru) +- TimePicker + - Set the selection range after scrolling up or down (#16868 by @mattheyan) +- Message + - Fix close instace offsetHeight(#17564) (#17852 by @gzwgq222) +- Form + - Callback of validateField should be optional (#17314 by @CarterLi) +- Cascader + - Fix TypeScript 3.7 compatibility (#17881 by @CarterLi) +- Menu + - Fix router NavigationDuplicated error when using vue-router@^3.1.0 (#17269 by @iamkun) +- Dropdown + - Update type file (#17550 by @iamkun) +- Progress + - Add strokeLinecap prop (#17552 by @iamkun) +- InfiniteScroll + - Skip trigger event on invisible element (#17553 by @iamkun) +- Image + - Perfect picture preview behavior (#16985 by @luckyCao) + - Fix shield the page when preview big image (#16796 by @luckyCao) +- Drawer + - Bugfix drawer-append-to-body-not-working (#16953 by @JeremyWuuuuu) +- Select + - Fix tag show value or empty issue (17199 by @luckyCao) +- Scrollbar + - Fix FireFox scroll bar width (#18091 by @iamkun) + +#### Optimization + +- I18n + - Update sv-SE.js (#17926 by @FOLLGAD) + - Update avatar component fr doc (#17762 by @blombard) +- Docs + - Fix time-select typo (#17250 by @wacky6) + - Fix Drawer attribute accepted value typo in es (#17122 by @haoranyu) + - Update Spanish changelog 2.12.0 (#17364 by @Gonzalo2310) + - Fix Changelog typo (#17874 by @renlixin) + - Fix Loading demo (#17862 by @MBearo) + - Add input event in input Events Table (#18061 by @zhouxinyong) + - Delete Input repeat change event (#18085 by @zhouxinyong) + +### 2.12.0 + +*2019-08-29* + +#### New features + +- Popover + - Add close-delay prop (#16671 by @LachlanStuart) +- Theme + - Add Chrome Extension: Element Theme Extension (#16686 by @iamkun) +- Icon + - Add font-display to @font-face declaration (#16805 by @iamfaizalandyka) + +#### Bug fixes + +- Carousel + - Fix onChange emit value (#16705 by @iamkun) +- Notification + - Fix modifying incoming option object (#16704 by @iamkun) +- DatePicker + - Add className for picker option (#16632 by @iamkun) +- DateTimePicker + - Fix time-spinner not scroll to right position (#16854 by @jesse-li) +- Table + - Prevent click handler after drag (#16850 by @ziyoung) + - Fix chrome crash when set thead css display to none (#16956 by @luckyCao) + - Fix wrong empty block height (#16861 by @ziyoung) + - Not throw error when calling toggleExpansion (#16304 by @yyjjqq94) + - Not trigger sort-change event when mounted (#17113 by @a631807682) + - Fix setCurrentRow unable to clear highlight row (#16879 by @ziyoung) + - Fix expand-row-keys not work when data is loaded asynchronously (#16899 by @ziyoung) + - set toggleAllSelection as instance property (#17137 by @ziyoung) +- Tree + - Fix distance between label and checkbox (#16799 by @Hazlank) +- Tabs + - Fix incorrect TabItem's position (#16520 by @victorting) + - Fix activated tab is out of visual range bug (#17033 by @nullptru) +- Calendar + - Fix weekdays i18n issue (#16772 by @ubitoffee) + - fix locale error by (#17208 by @iamkun) +- Cascader + - Fix CascaderPanel display error (#16716 by @zhangHongEn) + - Fix disable status and close button issue (#16224 by @yyjjqq94) +- Input + - Fix Korean composition event (#15069 by @MoonHyuk) + - Fix click event of clear button not trigger when using v-loading (#16576 by @a631807682) +- Select + - Not toggle dropdown when filtering (#17205 by @luckyCao) +- Transfer + - Fix style error (#17206 by @iamkun) +- Dialog + - update sass var (#16365 by @haoranyu) +- RadioGroup + - Not produce invalid HTML in table if "is" attribute is specify (#17070 by @nullptru) +- Divider + - Support custom classes (#17078 by @island205) + +#### Optimization + +- Checkbox + - Improve screen reader experience (#16575 by @tylertrotter) +- Docs + - Update changelog (#16773 by @SimonaliaChen) + - Update contributing guide (#14800 by @sinchang) + - Fix typo in Drawer docs (#16848 by @winkay) + - Update custom theme (#16983 by @iamkun) + - Add Esperanto translation (#16955 by @maxkoryukov) + - Update input-number document about change event (#16316 by @luckyCao) + - Update spanish doc 2.11.1 (#16961 by @Gonzalo2310) +- I18n + - Remove translation of 'year' in catalan language as in the other languages (#14722 by @oscaralbareda) + - Update spanish changelog 2.10.0 and 2.10.1 (#16548 by @Gonzalo2310) + - Update ar.js (#16653 by @l3op) +- Test + - Correct spelling error (#16672 by @boomler) + - Refactor unit test to use data-uri (#16847 by @a631807682) +- Types + - Fix httprequest type (#16633 by @luckyCao) + +### 2.11.1 + +*2019-07-26* + +#### Bug fixes + +- Image + - Fix Image component SSR compatibility (#16737 by @luckyCao) +- Chore + - Update dart-sass compatibility (#16744 by @LewisChennnnn) + +### 2.11.0 + +*2019-07-25* + +#### New features + +- Drawer + - Add drawer component (#16577 by @JeremyWuuuuu) + +#### Bug fixes + +- Checkbox + - Enhance css selector (#16006 by @Hazlank) +- Tree + - Make el-tree generic (#15934 by @JeremyWuuuuu) + - Set isCurrent prop to False (#15870 by @kkkisme) +- Dropdown + - Fix split-button caret default color (#15931 by @JuniorTour) +- Cascader + - Fix level 1 children is empty update problem (#16399 by @luckyCao) + - Add sets default values when lazy is true (#16420 by @luckyCao) + - Fix display errors when node value is duplicate (#15935 by @junyiz) + - Expose getCheckedNodes and fix options change bug (#16709 by @SimonaliaChen) +- Calendar + - Display correct header when range is specified (#16354 by @ziyoung) +- Submenu + - Fix prop append-to-body (#16289 by @a631807682) +- Table + - Fix tree table when updating data (#16481 by @island205) +- Select + - Fix memory leak issue (#16463 by @island205) +- InfiniteScroll + - Update naming & doc (#16698 by @iamkun) +- Avatar + - Fix image not center vertically issue (#16489 by @luckyCao) +- Dialog + - Add destroyOnClose attribute (#16455 by @ziyoung) +- Image + - Add big Image preview feature (#16333 by @luckyCao) + +#### Optimization + +- Docs + - Fix dropdown demo (#16193 by @webxmsj) + - Fix typo in table documents (#15971 by @howiefh) +- I18n + - Update translation of Thai language (#16689 by @ponkrit) +- Chore + - Update theme base api (#16607 by @iamkun) + - Add form theme token (#16699 by @iamkun) + - Mark ali inner user's access (#16609 by @iamkun) + - Fix doc anchor bug (#16692 by @iamkun) + ### 2.10.1 +*2019-07-02* + #### Bug fixes - Table diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 3a006a8b622..337a3e8c26c 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,7 +1,659 @@ ## 更新日志 +### 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* + +#### Bug 修复 + +- Cascader + - 修复浏览器缩放模式下抖动的 bug (#21207 by @cs1707) + - 优化性能 (#21231 by @cs1707) +- Select + - 修复多选模式下文字溢出的 bug (#21237 by @cs1707) +- Dropdown + - 增加 disabled 属性 (#21235 by @mshioda) +- Radio + - 修复浏览器返回后保留状态的 bug (#21250 by @cs1707) +- Descriptions + - 修复类型定义 (#21265 by @adaex) + - 修复与表格组件混用样式冲突的问题 (#21254 by @adaex) +- Drawer + - 修复 append-to-body (#21264 by @cs1707) +- Local + - 修复 italian 翻译错误 (#21012 by @ricardotondello) + +### 2.15.5 + +*2021-08-04* + +#### Bug 修复 + +- Select + - 修复 resetInputHeight 报错的 bug (#21201 by @cs1707) + +### 2.15.4 + +*2021-08-03* + +#### 新特性 + +- Descriptions + - 新增 Descriptions 组件 (#21129 by @cs1707) +- Result + - 新增 Result 组件 (#21171 by @cs1707) + +#### Bug 修复 + +- Utils + - 修复 isScroll (#21098 by @canvascat) +- Translation + - 更新 it.js (#21133 by @bliberi) +- RadioGroup + - 修复 RadioGroup 与 component 兼容的 bug (#20783 by @lceric) +- Message + - 修复 message[type] (#21088 by @cs1707) +- Carousel + - 修复 setActiveItem 重置计时 (#20846 by @Nekojita1) +- Cascader + - 修复 emitPath (#21185 by @cs1707) +- Select + - 修复 filterable bug (#17494 by @profore) + - 修复浏览器缩放模式下抖动的 bug (#21197 by @cs1707) +- Tree + - 修复 insertChild (#21194 by @cs1707) + +### 2.15.3 + +*2021-06-29* +#### 新特性 + +- Skeleton + - 新增 Skeleton 组件 (#21038 by @cs1707) +- Empty + - 新增 Empty 组件 (#21080 by @cs1707) + +#### Bug 修复 + +- Local + - 修复 hr 语言 week 翻译 (#21040 by @cs1707) +- Table + - 修复 lazy load data (#21041 by @cs1707) +- Docs + - 修改 form 组件 hide-required-asterisk 描述 (#21045 by @cs1707) +- Drawer: + - 修复 destroy (#20715 by @zj9495) +- Row + - 修复 align top (#20963 by @cs1707) +- Select + - 修复 value 为 Boolean 类型的bug (#21052 by @cs1707) +- Calendar + - 修复 first-day-of-week (#21057 by @cs1707) +- Utils + - 修复 fix isScroll (#21065 by @cs1707) + - 修复 (utils.dom by @fw6) +- TypeScript + - 增加 CascaderPanel 类型导出 (#21070 by @qige2016) + - 增加 spinner.d.ts (#21090 by @qige2016) + +### 2.15.2 + +*2021-05-28* + +#### Bug 修复 + +- Image + - 修复 z-index 增加 keydown 事件 添加 stopPropagation (#20859 by @cs1707) +- Input + - 修复 password cursor 展示 (#20870 by @cs1707) + - 修复 password icon 在 edge 下的展示 (#20902 by @cs1707) +- Carousel + - 修复 interval 和 scale bug (#20931 by @cs1707) +- Cascader + - 修复 delete tag bug (#20939 by @cs1707) +- Drawer + - 支持 overflow auto (#20948 by @cs1707) +- 其他 + - 修复 isFunction (#20912 by @cs1707) + +### 2.15.1 + +*2021-02-23* + +#### Bug 修复 + +- Drawer + - 修复 Drawer bug (by @cs1707) +- Image + - 修复 image object fit ratio 在 IE 下的 bug (#19583 by @charlie0228) +- Cascader + - 修复 cascader panel active path (#20730 by @cs1707) +- Calendar + - 修复 calendar 国际化 bug (#20758 by @iamkun) +- ColorPicker + - 修复 bugs (by @UxieVerity) + +#### 优化 + +- Doc + - 更新 Axure 设计资源 v2.1.0 (by @iamkun) + +### 2.15.0 + +*2021-01-15* + +#### Bug 修复 + +- Select + - 修复 placeholder 国际化 bug (#17644 by @nzh63) +- Popconfirm + - 修复 Popconfirm 国际化 bug by @iamkun +- Drawer + - 修复 focus bug (#20626 by @cs1707) +- Image + - 图片预览优化 (#20652 by @cs1707) + +#### 优化 + +- Doc + - 更新法语文档 datetime-picker.md (#20543 by @lonk) + - 更新 Progress 组件文档 (#20641 by @cs1707) + +### 2.14.1 + +*2020-11-11* + +#### Bug 修复 + +- Popover + - 兼容 Vue 2.6 新 v-slot 语法 (#20424 by @iamkun) + +#### 优化 + +- I18n + - 更新阿拉伯语翻译 (#20202 by @elkattan) + - 更新维吾尔语翻译 (#20177 by @IlhamTahir) + +### 2.14.0 + +*2020-10-29* + +#### 非兼容性更新 + +- Popconfirm + - 事件名称修改为 `confirm`, `cancel` (#20240 by @hugiron) + +#### Bug 修复 + +- Progress + - 修复参数错误的问题 (#19985 by @Caaalabash) + +#### 优化 + +- I18n + - 更新俄语翻译 (#19451 by @yangirov) + - 更新高棉语翻译 (#20077 by @Sovai) + - 更新乌克兰语翻译 (#20344 by @MammutAlex) + +### 2.13.2 + +*2020-05-18* + +#### Bug 修复 + +- Autocomplete + - 修复 'change event' 错误 (#19200 by @sxzz) +- Image + - 更新错误状态 (#19194 by @lhx6538665) + +#### 优化 + +- I18n + - 更新 ru-RU popconfirm 翻译 (#19220 by @Opppex) + - 更新 vi 翻译 (#19244 by @quangln2810) + - 更新 Catalan 和 Spanish 翻译 (#19296 by @Ismaaa) + - 更新 Indonesia 翻译 (#19320) by @therour) + - 更新 Brazilian Portuguese 翻译 (#19374 by @diegomengarda) + + +### 2.13.1 + +*2020-04-13* + +#### 新特性 +- Autocomplete + - 添加 change 事件 (#17913 by @sxzz) + +#### Bug 修复 + +- Autocomplete + - 修复类型为 textarea 时建议错误问题 (#18478 by @Roojay) +- Carousel + - 修复 console.warn 文案拼写错误 (#18264 by @IceFox) +- Image + - 修复当 preview-src-list 属性不包含 src 时图片预览大图展示为空的问题 (#18975) (#19130 by @luckyCao) + - 修复第二次图片预览时快捷键失效问题 (#18983) (#19156 by @luckyCao) + - 修复 preview-src-list 为空时点击图片会给 body 添加 overflow: scroll 的问题 (#18967 by @inooNgt) +- Transfer + - 修复和 Form 组件一起使用时错误的行高问题 (#18917 by @Hanx) +- InputNumber + - 正确计算 inputNumberDisabled (#18439 by @ashuser-pendo) +- Chore + - 更新首页文案 (#19155 by @iamkun) +- Doc + - 更新 Popconfirm 文档 (#18324 by @iamkun) + - 修复 step-strictly 文档拼写问题 (#18705 by @dream2023) + - 修复 Steps 组件文档问题 (#17555 by @haoranyu) + +### 2.13.0 + +*2019-11-26* + +#### 新特性 + +- Popconfirm + - 新增 Popconfirm 组件 (#17548 by @iamkun) + +#### Bug fixes + +- BackTop + - 平滑过渡动画 (by @lon) +- DatePicker + - 修复选择最小日期的 bug (#17191 by @smk0621) +- Select + - 修复测试用例 (by @msidolphin) +- Tree + - 增加 font-size 样式 (#17094 by @spengjie) +- Table + - 头部可自定义 (#17291 by @ziyoung) + - 更新头部样式 (#17284 by @ziyoung) + - 修复时候 filter 之后高度问题 (#17348 by @ziyoung) + - 修复 row-style 失效的 bug (#17002 by @a631807682) + - 修复头部消失的 bug (#17341 by @ziyoung) +- Calendar + - 导入 el-button 和 el-button-group (#17376 by @masongzhi) +- MessageBox + - 修复图表位置 (#17410 by @nullptru) +- TimePicker + - 滚动后设置正确的位置 (#16868 by @mattheyan) +- Message + - 修复关闭的 offsetHeight(#17564) (#17852 by @gzwgq222) +- Form + - ValidateField 的回调应为可选项 (#17314 by @CarterLi) +- Cascader + - 修复 TypeScript 3.7 的兼容问题 (#17881 by @CarterLi) +- Menu + - 修复 NavigationDuplicated 在 vue-router@^3.1.0 的报错 (#17269 by @iamkun) +- Dropdown + - 更新类型文件 (#17550 by @iamkun) +- Progress + - 增加 strokeLinecap 属性 (#17552 by @iamkun) +- InfiniteScroll + - 跳过不可见元素触发 (#17553 by @iamkun) +- Image + - 优化用户体验 (#16985 by @luckyCao) + - 优化大图片展示问题 (#16796 by @luckyCao) +- Drawer + - 修复 drawer-append-to-body 失效的 bug (#16953 by @JeremyWuuuuu) +- Select + - 修复空 tag 的 bug (17199 by @luckyCao) +- Scrollbar + - 修复 FireFox 双滚动条的 bug (#18091 by @iamkun) + +#### Optimization + +- I18n + - 更新 sv-SE.js (#17926 by @FOLLGAD) + - 更新 avatar 组件法语文档 (#17762 by @blombard) +- Docs + - 修复 time-select 文档错误 (#17250 by @wacky6) + - 修复 Drawer 文档错误 (#17122 by @haoranyu) + - 更新 Spanish changelog 2.12.0 (#17364 by @Gonzalo2310) + - 修复 Changelog 文档错误 (#17874 by @renlixin) + - 修复 Loading 示例 (#17862 by @MBearo) + - 增加 input event 相关文档 (#18061 by @zhouxinyong) + - 移除 Input repeat change event 相关文档 (#18085 by @zhouxinyong) + +### 2.12.0 + +*2019-08-29* + +#### 新特性 + +- Popover + - 添加 close-delay 属性 (#16671 by @LachlanStuart) +- Theme + - 增加 Chrome 插件: Element Theme Extension (#16686 by @iamkun) +- Icon + - 支持 font-display 属性的配置 (#16805 by @iamfaizalandyka) + +#### Bug fixes + +- Table + - 在表头拖拽后阻止 click 事件的触发 (#16850 by @ziyoung) + - 修复表头 display 为 none 造成浏览器崩溃的问题 (#16956 by @luckyCao) + - 修复没有数据的时表格高度问题 (#16861 by @ziyoung) + - 调用 toggleExpansion 不再抛出异常 (#16304 by @yyjjqq94) + - 挂载时不再触发 sort-change 事件 (#17113 by @a631807682) + - 修复 setCurrentRow 方法不生效的问题 (#16879 by @ziyoung) + - 修复当数据异步加载时,expand-row-keys 不生效的问题 (#16899 by @ziyoung) + - 把 toggleAllSelection 设置为 Table 示例的属性 (#17137 by @ziyoung) +- Tree + - 修复文字与复选框之间的距离 (#16799 by @Hazlank) +- Tabs + - 修复 TabItem 位置不正确的问题 (#16520 by @victorting) + - 修复高亮的 Tab 不在可视区的问题 (#17033 by @nullptru) +- Calendar + - 修复日期的显示问题 (#16772 by @ubitoffee) + - 修复在夏令时的显示问题 (#17208 by @iamkun) +- Cascader + - 修复 CascaderPanel 的显示问题 (#16716 by @zhangHongEn) + - 禁用状态下,关闭按钮不显示 (#16224 by @yyjjqq94) +- Input + - 修复韩语输入问题 (#15069 by @MoonHyuk) + - 触发清除按钮的点击事件 (#16576 by @a631807682) +- Select + - 过滤时,不收起下拉框 (#17205 by @luckyCao) +- Transfer + - 修复样式问题 (#17206 by @iamkun) +- Dialog + - 添加 SCSS 变量 (#16365 by @haoranyu) +- RadioGroup + - is 指定时,不产生非法的 HTML 片段 (#17070 by @nullptru) +- Divider + - 支持自定义类 (#17078 by @island205) +- Carousel + - 修复 change 的触发时机 (#16705 by @iamkun) +- Notification + - 不修改传入的 option (#16704 by @iamkun) +- DatePicker + - 给 picker-option 添加 className 属性 (#16632 by @iamkun) +- DateTimePicker + - 修复时间选择滚动条的问题 (#16854 by @jesse-li) + +#### Optimization + +- Checkbox + - 提高可访问性 (#16575 by @tylertrotter) +- Docs + - 更新 changelog (#16773 by @SimonaliaChen) + - 更新贡献指南 (#14800 by @sinchang) + - 修复 Drawer 文档中的拼写错误 (#16848 by @winkay) + - 更新自定义主题 (#16983 by @iamkun) + - 新增 Esperanto 翻译 (#16955 by @maxkoryukov) + - 更新 input-number 文档 (#16316 by @luckyCao) + - 更新 Spanish 文档 (#16961 #16548 by @Gonzalo2310) +- I18n + - 更新加泰罗尼亚语翻译 (#14722 by @oscaralbareda) + - 更新阿拉伯语翻译 (#16653 by @l3op) +- Test + - 修复拼写错误 (#16672 by @boomler) + - 优化 image 的单元测试 (#16847 by @a631807682) +- Types + - 修复 httprequest 的类型 (#16633 by @luckyCao) + +### 2.11.1 + +*2019-07-26* + +#### Bug 修复 + +- Image + - 修复 Image 组件 SSR 兼容性 (#16737 by @luckyCao) +- Chore + - 更新 dart-sass 的兼容性 (#16744 by @LewisChennnnn) + +### 2.11.0 + +*2019-07-25* + +#### 新特性 + +- Drawer + - 新增抽屉组件 (#16577 by @JeremyWuuuuu) + +#### Bug 修复 + +- Checkbox + - 修复 CSS 样式问题 (#16006 by @Hazlank) +- Tree + - 更新类型定义为泛类型 (#15934 by @JeremyWuuuuu) + - 修复设置节点 isCurrent 的为 false 的问题 (#15870 by @kkkisme) +- Dropdown + - 更新 split-button 默认颜色 (#15931 by @JuniorTour) +- Cascader + - 修复一级菜单更新问题 (#16399 by @luckyCao) + - 懒加载时设默认值 (#16420 by @luckyCao) + - 修复当节点值重复时的显示问题 (#15935 by @junyiz) + - 对外暴露 getCheckedNodes 和修复 options 改变会影响选中的问题 (#16709 by @SimonaliaChen) +- Calendar + - 更新显示正确的 header 的逻辑 (#16354 by @ziyoung) +- Submenu + - 修复 append-to-body 问题 (#16289 by @a631807682) +- Table + - 修复 tree table 数据更新问题 (#16481 by @island205) +- Select + - 修复内存泄漏问题 (#16463 by @island205) +- InfiniteScroll + - 更新命名和说明 (#16698 by @iamkun) +- Avatar + - 修复图片不居中的问题 (#16489 by @luckyCao) +- Dialog + - 增加 destroyOnClose 属性 (#16455 by @ziyoung) +- Image + - 增加大图预览 (#16333 by @luckyCao) + +#### 优化 + +- Docs + - 修复 dropdown 示例 (#16193 by @webxmsj) + - 修正笔误 (#15971 by @howiefh) +- I18n + - 更新泰文翻译 (#16689 by @ponkrit) +- Chore + - 更新基础 API 地址 (#16607 by @iamkun) + - 增加 Form 的主题 token (#16699 by @iamkun) + - 更新统计 (#16609 by @iamkun) + - 修复文档锚点问题 (#16692 by @iamkun) + ### 2.10.1 +*2019-07-02* + #### Bug 修复 - Table diff --git a/README.md b/README.md index 3b518603d78..efac89b849e 100644 --- a/README.md +++ b/README.md @@ -36,41 +36,23 @@

-

- Special thanks to the generous sponsorship by: -

- - - - - - - - -
- - - - - - - - - - - -
- > A Vue.js 2.0 UI Toolkit for Web. +Element will stay with Vue 2.x + +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) - [FAQ](./FAQ.md) +- [Vue.js 3.0 migration](https://github.com/element-plus/element-plus) - [Customize theme](http://element.eleme.io/#/en-US/component/custom-theme) - [Preview and generate theme online](https://elementui.github.io/theme-chalk-preview) - [Element for React](https://github.com/elemefe/element-react) @@ -126,8 +108,6 @@ We have collected some [frequently asked questions](https://github.com/ElemeFE/e ## Contribution Please make sure to read the contributing guide ([中文](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.zh-CN.md) | [English](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.en-US.md) | [Español](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.es.md) | [Français](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.fr-FR.md)) before making a pull request. -[![Let's fund issues in this repository](https://issuehunt.io/static/embed/issuehunt-button-v1.svg)](https://issuehunt.io/repos/67274736) - ## Special Thanks English documentation is brought to you by SwiftGG Translation Team: - [raychenfj](https://github.com/raychenfj) @@ -157,87 +137,11 @@ French documentation is made possible by these community developers: - [smalesys](https://github.com/smalesys) - [blombard](https://github.com/blombard) -## Donation -If you find Element useful, you can buy us a cup of coffee - -donation - -## Backers - -Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/element#backer)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## Sponsors - -Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/element#sponsor)] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -## Join Discusion Group - -Scan the QR code using [Dingtalk App](https://www.dingtalk.com/) to join in discusion group : - -Join Discusion Group +## Join Discussion Group + +Scan the QR code using [Dingtalk App](https://www.dingtalk.com/) to join in discussion group : + +Join Discusion Group ## LICENSE diff --git a/build/bin/version.js b/build/bin/version.js index 4e293d3fbe4..94584b78e7e 100644 --- a/build/bin/version.js +++ b/build/bin/version.js @@ -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', '2.4.11': '2.4', '2.5.4': '2.5', '2.6.3': '2.6', '2.7.2': '2.7', '2.8.2': '2.8', '2.9.2': '2.9' }; -if (!content[version]) content[version] = '2.10'; +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', '2.5.4': '2.5', '2.6.3': '2.6', '2.7.2': '2.7', '2.8.2': '2.8', '2.9.2': '2.9', '2.10.1': '2.10', '2.11.1': '2.11', '2.12.0': '2.12', '2.13.2': '2.13', '2.14.1': '2.14' }; +if (!content[version]) content[version] = '2.15'; fs.writeFileSync(path.resolve(__dirname, '../../examples/versions.json'), JSON.stringify(content)); diff --git a/build/config.js b/build/config.js index eaaa990afdd..493673099dc 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/deploy-ci.sh b/build/deploy-ci.sh index aa0b6eb445d..cf76f0df5f3 100644 --- a/build/deploy-ci.sh +++ b/build/deploy-ci.sh @@ -40,7 +40,7 @@ if [ "$TRAVIS_TAG" ]; then # build sub folder echo $TRAVIS_TAG - SUB_FOLDER='2.10' + SUB_FOLDER='2.15' mkdir $SUB_FOLDER rm -rf *.js *.css *.map static rm -rf $SUB_FOLDER/** diff --git a/build/deploy-faas.sh b/build/deploy-faas.sh index 2853d38efa1..699bcf8d41d 100644 --- a/build/deploy-faas.sh +++ b/build/deploy-faas.sh @@ -6,7 +6,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.10' +SUB_FOLDER='2.15' mkdir -p $SUB_FOLDER rm -rf *.js *.css *.map static rm -rf $SUB_FOLDER/** @@ -15,5 +15,5 @@ cp -rf ../../examples/element-ui/** $SUB_FOLDER/ cd ../.. # deploy domestic site -faas deploy alpha -P element +faas deploy daily -P element rm -rf temp_web diff --git a/build/release.sh b/build/release.sh index 5d13b43199c..29711a2e990 100644 --- a/build/release.sh +++ b/build/release.sh @@ -15,6 +15,9 @@ then # build VERSION=$VERSION npm run dist + # ssr test + node test/ssr/require.test.js + # publish theme echo "Releasing theme-chalk $VERSION ..." cd packages/theme-chalk diff --git a/build/webpack.demo.js b/build/webpack.demo.js index 8b770fd3396..ff4c657726c 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'); @@ -16,8 +17,7 @@ const isPlay = !!process.env.PLAY_ENV; const webpackConfig = { mode: process.env.NODE_ENV, entry: isProd ? { - docs: './examples/entry.js', - 'element-ui': './src/index.js' + docs: './examples/entry.js' } : (isPlay ? './examples/play.js' : './examples/entry.js'), output: { path: path.resolve(process.cwd(), './examples/element-ui/'), @@ -34,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 @@ -148,6 +157,16 @@ if (isProd) { }), new OptimizeCSSAssetsPlugin({}) ); + // https://webpack.js.org/configuration/optimization/#optimizationsplitchunks + webpackConfig.optimization.splitChunks = { + cacheGroups: { + vendor: { + test: /\/src\//, + name: 'element-ui', + chunks: 'all' + } + } + }; webpackConfig.devtool = false; } diff --git a/build/webpack.extension.js b/build/webpack.extension.js new file mode 100644 index 00000000000..2f8752c5956 --- /dev/null +++ b/build/webpack.extension.js @@ -0,0 +1,33 @@ +const path = require('path'); +const CopyWebpackPlugin = require('copy-webpack-plugin'); +const demoConfig = require('./webpack.demo'); +const webpack = require('webpack'); +const ProgressBarPlugin = require('progress-bar-webpack-plugin'); +const VueLoaderPlugin = require('vue-loader/lib/plugin'); + +demoConfig.entry = { + background: path.join(process.cwd(), './examples/extension/src/background'), + entry: path.join(process.cwd(), './examples/extension/src/entry') +}; +demoConfig.output = { + path: path.join(process.cwd(), './examples/extension/dist'), + filename: '[name].js' +}; +demoConfig.plugins = [ + new CopyWebpackPlugin([ + { from: 'examples/extension/src/manifest.json' }, + { from: 'examples/extension/src/icon.png' } + ]), + new VueLoaderPlugin(), + new ProgressBarPlugin(), + new webpack.LoaderOptionsPlugin({ + vue: { + compilerOptions: { + preserveWhitespace: false + } + } + }), + new webpack.HotModuleReplacementPlugin() +]; +demoConfig.module.rules.find(a => a.loader === 'url-loader').query = {}; +module.exports = demoConfig; diff --git a/components.json b/components.json index c9322ecd0c1..76515c4149d 100644 --- a/components.json +++ b/components.json @@ -78,5 +78,14 @@ "infinite-scroll": "./packages/infinite-scroll/index.js", "page-header": "./packages/page-header/index.js", "cascader-panel": "./packages/cascader-panel/index.js", - "avatar": "./packages/avatar/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", + "empty": "./packages/empty/index.js", + "descriptions": "./packages/descriptions/index.js", + "descriptions-item": "./packages/descriptions-item/index.js", + "result": "./packages/result/index.js" } diff --git a/examples/assets/images/duohui.svg b/examples/assets/images/duohui.svg deleted file mode 100644 index f395bfa9654..00000000000 --- a/examples/assets/images/duohui.svg +++ /dev/null @@ -1,24 +0,0 @@ - -duohui-element -Created using Figma - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/assets/images/tipe.svg b/examples/assets/images/tipe.svg deleted file mode 100644 index e4026a1c5e7..00000000000 --- a/examples/assets/images/tipe.svg +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Asset 3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/components/demo-block.vue b/examples/components/demo-block.vue index 0a1d2f38a30..3a2f5544af6 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 d24ca4063c8..88162429c99 100644 --- a/examples/components/footer.vue +++ b/examples/components/footer.vue @@ -10,6 +10,7 @@ {{ langConfig.theme }} Element-React Element-Angular + MorJS