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/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 efef2f07ed4..b8b32a2d525 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,359 @@ ## 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* diff --git a/CHANGELOG.es.md b/CHANGELOG.es.md index cfc25dc9873..b3b5112d5b5 100644 --- a/CHANGELOG.es.md +++ b/CHANGELOG.es.md @@ -1,5 +1,358 @@ ## 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* diff --git a/CHANGELOG.fr-FR.md b/CHANGELOG.fr-FR.md index 1d42848db8c..cbf4198c9c0 100644 --- a/CHANGELOG.fr-FR.md +++ b/CHANGELOG.fr-FR.md @@ -1,5 +1,359 @@ ## 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* diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 89b19e44682..337a3e8c26c 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,358 @@ ## 更新日志 +### 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* diff --git a/README.md b/README.md index c4298659174..efac89b849e 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,16 @@ > A Vue.js 2.0 UI Toolkit for Web. -Element will stay with Vue 2.x +Element will stay with Vue 2.x -For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus) from the same team +For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus)(Element Plus is a community develop project) + +For MiniProgram development, we recommend using [MorJS](https://github.com/eleme/morjs) ## Links - Homepage and documentation - [International users](http://element.eleme.io/#/en-US) - - [Chinese users](http://element-cn.eleme.io/#/zh-CN) + - [Chinese users](http://element.eleme.io/#/zh-CN) - [Spanish users](http://element.eleme.io/#/es) - [French users](http://element.eleme.io/#/fr-FR) - [awesome-element](https://github.com/ElementUI/awesome-element) diff --git a/build/bin/version.js b/build/bin/version.js index e11970b84f1..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', '2.13.2': '2.13' }; -if (!content[version]) content[version] = '2.14'; +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 34549b11dbb..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.14' + 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 fe17136d0bf..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.14' +SUB_FOLDER='2.15' mkdir -p $SUB_FOLDER rm -rf *.js *.css *.map static rm -rf $SUB_FOLDER/** diff --git a/build/webpack.demo.js b/build/webpack.demo.js index c64ca6b48c8..7188801f0e8 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 054ef539dc7..b9dccbd877e 100644 --- a/components.json +++ b/components.json @@ -72,5 +72,16 @@ "time-picker": "./packages/time-picker/index.js", "alert": "./packages/alert/index.js", - "slider": "./packages/slider/index.js" + "slider": "./packages/slider/index.js", + "page-header": "./packages/page-header/index.js", + "cascader-panel": "./packages/cascader-panel/index.js", + "avatar": "./packages/avatar/index.js", + "drawer": "./packages/drawer/index.js", + "statistic": "./packages/statistic/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/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