diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index e6e69f2a2a..3807c2772e 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,19 @@ ## Changelog +### 2.7.5 + +_2024-06-07_ + +#### Features + +- Components [input] add `is-focus` class name when textarea focus (#17049 by @btea) + +#### Refactors + +- Components [watermark] change textBaseline default value to `hanging` (#17036 by @warmthsea) +- Style(components): [table] th text can be selected (#17039 by @warmthsea) +- Style(docs): fix fill color of badge in dark mode (#17078 by @tyj-321) + ### 2.7.4 _2024-05-31_ diff --git a/README.md b/README.md index cbd67dc321..2ac81f0a2f 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,8 @@ You can also try Element Plus out with the components built-in playground. - - + + diff --git a/docs/.vitepress/config/sponsors.ts b/docs/.vitepress/config/sponsors.ts index d48f2e97ed..018e482c89 100644 --- a/docs/.vitepress/config/sponsors.ts +++ b/docs/.vitepress/config/sponsors.ts @@ -18,16 +18,16 @@ export const rightLogoSmallSponsors = [ img: '/images/sponsors/buildadmin.png', imgL: '/images/sponsors/buildadmin-l.png', url: 'https://doc.buildadmin.com/?from=element-plus', - slogan: 'Vue3 opensource admin system', + slogan: 'Vue3 open source admin system', slogan_cn: 'Vue3企业级开源后台管理系统', }, { - name: 'Fantastic-admin', - img: '/images/sponsors/fantastic-admin.png', - imgL: '/images/sponsors/fantastic-admin-l.png', - url: 'https://fantastic-admin.github.io/', - slogan: 'Out-of-the-box Vue3 management system framework', - slogan_cn: '一款开箱即用的 Vue3 中后台管理系统框架', + name: '百搭云', + img: '/images/sponsors/baidayun-logo.png', + imgL: '/images/sponsors/baidayun.png', + url: 'http://www.i-renderer.love/home/index', + slogan: 'Fast and elegant low-code dev platform', + slogan_cn: '快速且优雅的低代码平台', }, { name: 'bit', diff --git a/docs/.vitepress/vitepress/components/overview-icons/ov-badge.vue b/docs/.vitepress/vitepress/components/overview-icons/ov-badge.vue index f3006c4c20..d0da372278 100644 --- a/docs/.vitepress/vitepress/components/overview-icons/ov-badge.vue +++ b/docs/.vitepress/vitepress/components/overview-icons/ov-badge.vue @@ -12,7 +12,7 @@ fill-rule="evenodd" clip-rule="evenodd" d="M150.036 81.6713C151.08 82.0326 152 82.8954 152 84V98C152 99.1046 151.105 100 150 100H114C112.895 100 112 99.1046 112 98V78C112 76.8954 112.895 76 114 76H144C145.105 76 145.967 76.92 146.329 77.9638C146.929 79.6978 148.302 81.0709 150.036 81.6713Z" - fill="var(--el-fill-color-blank)" + fill="var(--el-bg-color-overlay)" /> void` | -| error | same as native error. | ^[Function]`(e: Error) => void` | +| error | same as native error. | ^[Function]`(e: Event) => void` | | switch | trigger when switching images. | ^[Function]`(index: number) => void` | | close | trigger when clicking on close button or when `hide-on-click-modal` enabled clicking on backdrop. | ^[Function]`() => void` | | show | trigger when the viewer displays | ^[Function]`() => void` | diff --git a/docs/en-US/component/watermark.md b/docs/en-US/component/watermark.md index 45abdc52a2..6cd45c22fd 100644 --- a/docs/en-US/component/watermark.md +++ b/docs/en-US/component/watermark.md @@ -73,7 +73,7 @@ watermark/custom | fontFamily | font family | ^[string] | sans-serif | | fontStyle | font style | ^[enum]`'none' \| 'normal' \| 'italic' \| 'oblique'` | normal | | textAlign | text align | ^[enum]`'left' \| 'right' \| 'center'\| 'start' \| 'end' ` | center | -| textBaseline | text baseline | ^[enum]`'top' \| 'hanging' \| 'middle' \| 'alphabetic' \| 'ideographic' \| 'bottom'` | top | +| textBaseline | text baseline | ^[enum]`'top' \| 'hanging' \| 'middle' \| 'alphabetic' \| 'ideographic' \| 'bottom'` | hanging | ### Slots diff --git a/docs/en-US/guide/installation.md b/docs/en-US/guide/installation.md index 688219dc32..da1cf8109e 100644 --- a/docs/en-US/guide/installation.md +++ b/docs/en-US/guide/installation.md @@ -96,7 +96,7 @@ the method to lock the version. With CDN, we can easily use Element Plus to write a Hello World page. [Online Demo](https://codepen.io/iamkun/pen/YzWMaVr) - diff --git a/docs/en-US/guide/quickstart.md b/docs/en-US/guide/quickstart.md index 24a91c8520..4fe46f2202 100644 --- a/docs/en-US/guide/quickstart.md +++ b/docs/en-US/guide/quickstart.md @@ -219,10 +219,10 @@ export default defineComponent({ ## Using Nuxt.js -We can also use [Nuxt.js](https://v3.nuxtjs.org/): +We can also use [Nuxt.js](https://nuxt.com):
- +
## Let's Get Started diff --git a/docs/public/images/sponsors/baidayun-logo.png b/docs/public/images/sponsors/baidayun-logo.png new file mode 100644 index 0000000000..4b5dd546ef Binary files /dev/null and b/docs/public/images/sponsors/baidayun-logo.png differ diff --git a/docs/public/images/sponsors/baidayun.png b/docs/public/images/sponsors/baidayun.png new file mode 100644 index 0000000000..5b4fecba8c Binary files /dev/null and b/docs/public/images/sponsors/baidayun.png differ diff --git a/packages/components/input/src/input.vue b/packages/components/input/src/input.vue index 6a2e708931..6ae622a24a 100644 --- a/packages/components/input/src/input.vue +++ b/packages/components/input/src/input.vue @@ -108,7 +108,7 @@