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/.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 1bc6382d253..b8b32a2d525 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,444 @@ ## 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* diff --git a/CHANGELOG.es.md b/CHANGELOG.es.md index db7fcd6e691..b3b5112d5b5 100644 --- a/CHANGELOG.es.md +++ b/CHANGELOG.es.md @@ -1,73 +1,512 @@ ## Changelog -### 2.13.0 +### 2.15.14 -*2019-11-26* +*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 - - Add popconfirm component (#17548 by @iamkun) + - 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 - - Use cubic bezier scrolling (by @lon) + - Se usa cubic bezier para el scroll (by @lon) - DatePicker - - Fix bug of only select min date of date range problem (#17191 by @smk0621) + - Arreglado el fallo cuando solo se elegía fecha mínima en un rango de fechas (#17191 by @smk0621) - Select - - Fix select test cases by (@msidolphin) + - Arreglado los casos de test del select (by @msidolphin) - Tree - - Add font-size for the style of tree empty-text (#17094 by @spengjie) + - Agregado font-size para el estilo del texto cuando esta vacío el tree (#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) + - 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 - - Import el-button and el-button-group (#17376 by @masongzhi) + - La importación de el-button y el-button-group (#17376 by @masongzhi) - MessageBox - - Fix icon position error (#17410 by @nullptru) + - Corregido el error de posición del icono (#17410 by @nullptru) - TimePicker - - Set the selection range after scrolling up or down (#16868 by @mattheyan) + - Establecido el rango de selección después de hacer scroll (#16868 by @mattheyan) - Message - - Fix close instace offsetHeight(#17564) (#17852 by @gzwgq222) + - Corregido el offsetHeight al cerrar la instancia(#17564) (#17852 by @gzwgq222) - Form - - Callback of validateField should be optional (#17314 by @CarterLi) + - La función de llamada de validateField es opcional (#17314 by @CarterLi) - Cascader - - Fix TypeScript 3.7 compatibility (#17881 by @CarterLi) + - Corregida la compatibilidad con TypeScript 3.7 (#17881 by @CarterLi) - Menu - - Fix router NavigationDuplicated error when using vue-router@^3.1.0 (#17269 by @iamkun) + - Corregido el error de la ruta de navegación duplicada cuando se usaba vue-router@^3.1.0 (#17269 by @iamkun) - Dropdown - - Update type file (#17550 by @iamkun) + - Actualización del tipo de archivo (#17550 by @iamkun) - Progress - - Add strokeLinecap prop (#17552 by @iamkun) + - Agregada la prop strokeLinecap (#17552 by @iamkun) - InfiniteScroll - - Skip trigger event on invisible element (#17553 by @iamkun) + - Salto del disparo de evento en elementos invisibles (#17553 by @iamkun) - Image - - Perfect picture preview behavior (#16985 by @luckyCao) - - Fix shield the page when preview big image (#16796 by @luckyCao) + - 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 - - Bugfix drawer-append-to-body-not-working (#16953 by @JeremyWuuuuu) + - Corregido el fallo del append-to-body del drawer que no funcionaba (#16953 by @JeremyWuuuuu) - Select - - Fix tag show value or empty issue (17199 by @luckyCao) + - Corregido: ahora muestra el tag o el valor vacío (17199 by @luckyCao) - Scrollbar - - Fix FireFox scroll bar width (#18091 by @iamkun) + - Arreglado el ancho del scroll en FireFox (#18091 by @iamkun) -#### Optimization +#### Optimización - I18n - - Update sv-SE.js (#17926 by @FOLLGAD) - - Update avatar component fr doc (#17762 by @blombard) + - Actualizado sv-SE.js (#17926 by @FOLLGAD) + - Actualizada la documentación para francés para el componente avatar (#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) + - 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 @@ -1651,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 d1e570f9b7e..cbf4198c9c0 100644 --- a/CHANGELOG.fr-FR.md +++ b/CHANGELOG.fr-FR.md @@ -1,5 +1,445 @@ ## 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* diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 5b801c2b10c..337a3e8c26c 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,444 @@ ## 更新日志 +### 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* diff --git a/README.md b/README.md index c9f072a0c50..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 Discussion Group Scan the QR code using [Dingtalk App](https://www.dingtalk.com/) to join in discussion group : -Join Discusion Group +Join Discusion Group ## LICENSE diff --git a/build/bin/version.js b/build/bin/version.js index 696e3fbfdef..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', '2.10.1': '2.10', '2.11.1': '2.11', '2.12.0': '2.12' }; -if (!content[version]) content[version] = '2.13'; +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 76117e3668e..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.13' + 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 708fd18d9b2..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.13' +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/webpack.demo.js b/build/webpack.demo.js index 4ad30ae1f85..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'); @@ -33,7 +34,16 @@ const webpackConfig = { host: '0.0.0.0', port: 8085, publicPath: '/', - hot: true + hot: true, + before: (app) => { + /* + * 编辑器类型 :此处的指令表示的时各个各个编辑器在cmd或terminal中的命令 + * webstorm + * code // vscode + * idea + */ + app.use('/__open-in-editor', launchEditorMiddleware('code')); + } }, performance: { hints: false diff --git a/components.json b/components.json index 754da2b61ec..76515c4149d 100644 --- a/components.json +++ b/components.json @@ -80,5 +80,12 @@ "cascader-panel": "./packages/cascader-panel/index.js", "avatar": "./packages/avatar/index.js", "drawer": "./packages/drawer/index.js", - "popconfirm": "./packages/popconfirm/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