diff --git a/.github/workflows/publish-pr-commit-pkg.yml b/.github/workflows/publish-pr-commit-pkg.yml index 9638bd5ddd..34cc99da57 100644 --- a/.github/workflows/publish-pr-commit-pkg.yml +++ b/.github/workflows/publish-pr-commit-pkg.yml @@ -1,11 +1,11 @@ name: Publish PR Commit Pkg on: - push: - branches: - - dev - tags: - - '!**' + # push: + # branches: + # - dev + # tags: + # - '!**' pull_request: branches: - dev @@ -13,6 +13,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: ${{ github.repository == 'element-plus/element-plus' }} steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 1a5a4b3463..5abc1176ae 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,34 @@ ## Changelog + +### 2.9.2 + +_2025-01-03_ + +#### Features + +- Components [select-v2] add `fit-input-width` prop (#18834 by @YiMo1) +- Components [select, select-v2] add loading class to validateIcon (#19379 by @LoTwT) +- Components [table] add allow-drag-last-column prop (#19374 by @btea) + +#### Bug fixes + +- Components [select] resolve 'false' display issue when dropdown hides on search clear (#19244 by @DDDDD12138) +- Components [date-picker] model-value unexpected changes when type is week (#16795 by @FrontEndDog) +- Components [menu] fix `sliceIndex` calculation error (#19164 by @wen-lun) +- Components [anchor] scroll whether link is selected at the top (#18047 by @k983551019) +- Components [focus-trap] tryFocus is invalid for document.body (#19272 by @tolking) +- Components [inputnumber, input] resolve styling issues caused by using `prefix` and `suffix` (#19042 by @DDDDD12138) +- Components [color-picker] optimize the flickering issue (#18872 by @momei-LJM) +- Theme-chalk [input-tag] correct input-tag placeholder color (#19386 by @DDDDD12138) +- Components prevent blur event when is disabled (#19320 by @DDDDD12138) +- Types packing unexpected types (#19419 by @btea) +- Components [table] the overflowTooltip cannot be refreshed (#19440 by @xingyixiang) +- Components [upload] unable to delete files in removeFile (#19437 by @ly-yewu) +- Components [page-header] use `$slots` instead of `useSlots` (#19455 by @Dsaquel) +- Components [select] input width fills the remaining width (#19292 by @tolking) +- Style(components): [notification] word wrap (#17052 by @Liao-js) +- Perf(components): [table] prioritize use rowKey to determine whether it is selected (#19451 by @tolking) ### 2.9.1 diff --git a/docs/.vitepress/config/nav.ts b/docs/.vitepress/config/nav.ts index 62a9e0f74f..2f6bb68bcc 100644 --- a/docs/.vitepress/config/nav.ts +++ b/docs/.vitepress/config/nav.ts @@ -1,3 +1,4 @@ +import { isExternal } from 'vitepress/dist/client/shared' import { ensureLang } from '../utils/lang' import navLocale from '../i18n/pages/sidebar.json' @@ -12,7 +13,7 @@ function getNav() { activeMatch?: string }[] = Object.values(locales).map((item) => ({ ...item, - link: `${ensureLang(lang)}${item.link}`, + link: `${isExternal(item.link) ? '' : ensureLang(lang)}${item.link}`, })) return [lang, item] diff --git a/docs/.vitepress/crowdin/en-US/pages/sidebar.json b/docs/.vitepress/crowdin/en-US/pages/sidebar.json index 62f08e19fe..f0fdfb15d6 100644 --- a/docs/.vitepress/crowdin/en-US/pages/sidebar.json +++ b/docs/.vitepress/crowdin/en-US/pages/sidebar.json @@ -13,5 +13,9 @@ "text": "Resource", "link": "/resource/index", "activeMatch": "/resource/" + }, + { + "text": "Playground", + "link": "https://element-plus.run" } ] diff --git a/docs/.vitepress/vitepress/components/vp-sponsors.vue b/docs/.vitepress/vitepress/components/vp-sponsors.vue index d5b87c2182..e61a647e60 100644 --- a/docs/.vitepress/vitepress/components/vp-sponsors.vue +++ b/docs/.vitepress/vitepress/components/vp-sponsors.vue @@ -10,7 +10,7 @@ const sponsor = computed(() => sponsorLocale[lang.value])