Skip to content

fix(alert): add closeBtn API and set close as deprecated #5621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 26, 2025

Conversation

ngyyuusora
Copy link
Contributor

@ngyyuusora ngyyuusora commented Jun 19, 2025

closed #5618

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

#5618

💡 需求背景和解决方案

增加closeBtn,先保留close,逐渐过渡。

📝 更新日志

  • 本条 PR 不需要纳入 Changelog

tdesign-vue-next

  • feat(Alert): 新增 closeBtn API,与其他组件保持一致,close 将在未来版本废弃,请尽快调整为closeBtn 使用

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@tdesign-bot
Copy link
Collaborator

tdesign-bot commented Jun 19, 2025

TDesign Component Site Preview Open

Component Preview
tdesign-vue-next 完成
@tdesign-vue-next/chat 完成

Copy link

pkg-pr-new bot commented Jun 19, 2025

tdesign-vue-next-demo

npm i https://pkg.pr.new/Tencent/tdesign-vue-next@5621
npm i https://pkg.pr.new/Tencent/tdesign-vue-next/@tdesign-vue-next/chat@5621

commit: 0aca3d8

@uyarn uyarn changed the title fix(alert): close属性同步为closeBtn,close即将废弃 fix(alert): add closeBtn API and set close as deprecated Jun 19, 2025
@tdesign-bot tdesign-bot requested a review from zydemail as a code owner June 26, 2025 02:39
@uyarn uyarn merged commit 9f1c3f5 into Tencent:develop Jun 26, 2025
1 check passed
@ngyyuusora ngyyuusora mentioned this pull request Jun 26, 2025
16 tasks
@tdesign-bot tdesign-bot mentioned this pull request Jun 26, 2025
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Alert] 属性close应统一为closable
3 participants