Announcing v2.2.0 - what's new #7578
Replies: 12 comments 5 replies
-
感谢大家的支持,我们会继续加油的,由于个人精力有限,有时候真的没办法回复那么快和全,实在抱歉 🙇 |
Beta Was this translation helpful? Give feedback.
-
Great job! 💯 |
Beta Was this translation helpful? Give feedback.
-
amazing 😘 |
Beta Was this translation helpful? Give feedback.
-
Awesome! |
Beta Was this translation helpful? Give feedback.
-
Good job! |
Beta Was this translation helpful? Give feedback.
-
希望能在 release 页面中加一项 breaking 列表 |
Beta Was this translation helpful? Give feedback.
-
well done |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for you awesome work! I've been looking for a data table component to be used in our product, We definitely need the virtual table because we deal with large amounts of data and performance is a requirement. Looking at this thread, it's been about a year to the day since the release.. I've been looking over some So my main concern is how still actively maintained is this library and feature. Is there a roadmap to have the virtual-table Can we trust that the team at element-plus will be responsive and review any comments/issues/PR's we open? I appreciate your time and hopeful to get a response on the status of development so we can make a decision :) Thank you. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Features (新特性) 🚀
For
2.2.0
, we finally brought dark mode and Virtualized Table into Element Plus.These are the biggest new features we are making this
minor
version about.If you find any issues while using these new features, please do not hesitate to report a bug.
Virtualized Table(虚拟化表格)
Virtualized Table is just like the other two features we released before
Virtualized Select
andVirtualized Tree
.虚拟化表格就跟它的两个姊妹组件 --
虚拟化选择器
和虚拟化树
一样,带来更高性能的表现。We had a lot of trade-offs on this component. Which API needs to be provided, and which does not. For the existing table component, a lot of APIs were given, making the component so complicated and difficult be maintained. So this time, we tried to provide a minimal set of APIs without sacrificing the ability of customization.
在做这个组件的过程中,我们遇到了很多需要权衡的地方。哪些 API 我们应该提供,哪些我们不应该。在现有的 Table 组件里,我们提供了大量的 API,这导致这个组件极其复杂并且难以维护。所以这一次我们尝试在提供那些必须的 API 的同时不牺牲可定制性。
This comes with a price which users are now in response to do the job themselves. As I said, there were trade-offs, for some users who don't need advanced features it would be a good thing, because they don't need to include all that unused code in their apps. For advanced users, this could be bad news because they will have to implement the features provided by table-v1 themselves, but we made a bunch of examples for helping you, basically, everything you need is included in these examples.
If you find that something was missing in the examples, you can make a PR to us or report an issue.
当然,这样做是有一定代价的 -- 现在用户需要自己来实现一些他们想要的功能。这些就像我上面提到的权衡点:
There could be bugs based on the way you use it. But if you find any you can also report to us or make a PR.
这个组件可能会有潜在的 bug,如果你觉得你发现了一个 bug,欢迎向我们提交 issue 或者 Pull Request。
A11y features(可访问性)
Shoutout to @Giwayume who made Element Plus more accessible for users with screen readers. Now we have a11y features:
在 @Giwayume 的大力帮助下,Element Plus 现在对屏幕阅读器(如 VoiceOver, Microsoft Narrator)
aria
attributes feat(components): [slider] aria keyboard controls and attrs #7389 (Slider 组件现在有了 ARIA 属性,能够更好地使用键盘来操作)Dark mode(暗黑模式)
With @YunYouJun and @huangzhongzhong's hard-working, we extracted most of our design tokens and implemented this feature on top of that.
在 @YunYouJun 和 @huangzhongzhong 的辛勤努力下,我们把很多设计的 Token 整理了出来,并在这个基础之上实现了暗黑模式。
Text Button(文字类的按钮)
We removed
type="text"
from Button component use an equivalent API text for doing that. We also made visual changes toText Button
。#7515我们移除掉了 Button 的
type="text"
这个选项,新加入了一个 text 字段来启用文字类的按钮。我们也对文字类的按钮做了视觉效果的更新。详情见 #7515Before this change,
Text Button
did not really look like a button, more like a text, so we made a visual enhancement for it to make it moreButton
. And becausetype="xx"
also represents the color of each button, we decided to introduce a new API forText Button
在这个改动之前,文字类的按钮看起来不太像一个按钮反而比较像一段文字,所以我们对它进行了视觉效果的升级让它看起来更像是按钮而不是文字。由于
type="xx"
同时决定了对应按钮的颜色属性,所以我们决定加入一个新的 API 来区分文字类的按钮和其它类型的按钮。Furthermore(接下来的一些计划)
For the next upcoming minor version, we are planning to release the missed out
Typography
component which allows you easily put your texts to the Apps.在接下来的一个 minor 版本中,我们计划加入
Typography
组件来方便快速地文字排版。We are also working on the a11y features with @Giwayume.
我们也在和 @Giwayume 一起努力为 Element Plus 添加更多可访问性的功能。
We are also planning on making a Theme Market so you can define your own theme easily.
我们同时也在计划发布一个主题市场的应用,方便你可以自定义你独有的 Element Plus 主题。
Appreciations(特别感谢)
Many thanks to our fellow developers, sponsors, and users. Thank you all for being so supportive, Element Plus is here because of every one of you:heart: We will continue to excel in our works, making Element Plus better!
非常感谢我们的开发者,赞助商,以及用户们。正因为你们的支持与包容,我们才能走到这里:heart: 我们会继续努力把 Element Plus 做得更好
Get involved(参与进来)
If you are interested in making Element Plus better, you can join our Discord to get in touch with the team, and the community.
如果你对 Element Plus 的开发或建议感兴趣,你可以加入我们的 Discord 频道来和我们快速取得联系,与社区进行沟通。
Beta Was this translation helpful? Give feedback.
All reactions