Skip to content

feat(empty): update svg ElementAttrs#3628

Merged
uyarn merged 4 commits intodevelopfrom
fix/empty
Jun 20, 2025
Merged

feat(empty): update svg ElementAttrs#3628
uyarn merged 4 commits intodevelopfrom
fix/empty

Conversation

@liweijie0812
Copy link
Copy Markdown
Collaborator

@liweijie0812 liweijie0812 commented Jun 17, 2025

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

💡 需求背景和解决方案

Error: src/empty/assets/EmptySvg.tsx(16,15): error TS2322: Type '{ fillRule: string; clipRule: string; d: string; fill: string; }' is not assignable to type 'ElementAttrs<SVGAttributes>'.
  Property 'fillRule' does not exist on type 'ElementAttrs<SVGAttributes>'. Did you mean ''fill-rule''?
Error: src/empty/assets/FailSvg.tsx(9,11): error TS2322: Type '{ fillRule: string; clipRule: string; d: string; fill: string; }' is not assignable to type 'ElementAttrs<SVGAttributes>'.
  Property 'fillRule' does not exist on type 'ElementAttrs<SVGAttributes>'. Did you mean ''fill-rule''?
Error: src/empty/assets/SuccessSvg.tsx(9,11): error TS23[22](https://github.com/Tencent/tdesign-vue/actions/runs/15703441307/job/44243566167?pr=3624#step:8:23): Type '{ fillRule: string; clipRule: string; d: string; fill: string; }' is not assignable to type 'ElementAttrs<SVGAttributes>'.
  Property 'fillRule' does not exist on type 'ElementAttrs<SVGAttributes>'. Did you mean ''fill-rule''?

📝 更新日志

  • fix(组件名称): 处理问题或特性描述 ...

  • 本条 PR 不需要纳入 Changelog

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

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

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

@liweijie0812 liweijie0812 changed the title chore: update ElementAttrs feat(empty): update svg ElementAttrs Jun 17, 2025
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Jun 17, 2025

tdesign-vue2-demo-compiler-2-6

npm i https://pkg.pr.new/tdesign-vue@3628

commit: dfa5d3a

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 17, 2025

完成

@liweijie0812
Copy link
Copy Markdown
Collaborator Author

/update-snapshot

@github-actions
Copy link
Copy Markdown
Contributor

⏳ 正在运行快照更新。。。 CI: Open

@liweijie0812 liweijie0812 mentioned this pull request Jun 17, 2025
16 tasks
@uyarn uyarn merged commit a718117 into develop Jun 20, 2025
9 checks passed
@uyarn uyarn deleted the fix/empty branch June 20, 2025 03:47
uyarn pushed a commit that referenced this pull request Jul 3, 2025
* chore: update ElementAttrs

* Update DatePicker.tsx

* fix: bug

* chore: update snapshot

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
uyarn added a commit that referenced this pull request Jul 3, 2025
* chore(submodule): update common (#3626)

* fix: update HTMLAttributes (#3625)

* fix: ondblclick => onDblclick

* chore: update attr name

* chore: fix type

* feat(empty): update svg ElementAttrs (#3628)

* chore: update ElementAttrs

* Update DatePicker.tsx

* fix: bug

* chore: update snapshot

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat(site): add a changelog for each component page (#3627)

* feat(site): add a changelog for each component page

* fix: process last version entry and precisely match component name

* chore: update CHANGELOG.md

* refactor: optimize parsing

* fix: support English and Chinese punctuation in description parsing

* chore: update CHANGELOG.md

* chore: fix type

* chore: fix lint

* chore: fix build

* chore: update common

* chore: move plugin script to common

---------

Co-authored-by: Uyarn <uyarnchen@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: update CHANGELOG (#3634)

* perf(image):  use composition api (#3635)

* perf(image):  use composition api

* chore: withInstall

* fix(image-viewer): fix i18n text (#3636)

* chore(submodule): update common (#3639)

* feat(locale): add i18n plural for pagination.total (#3641)

* feat(locale): add i18n plural for pagination.total

* chore: update common

* fix(locale): update example {count} for test

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: release 1.12.1 (#3647)

* chore: release 1.12.1

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: release 1.12.1-naruto

---------

Co-authored-by: TDesign bot <93915689+tdesign-bot@users.noreply.github.com>
Co-authored-by: liweijie0812 <674416404@qq.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rylan <rylanbot@qq.com>
Co-authored-by: 云游君 <me@yunyoujun.cn>
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.

2 participants