Docs/sync/api - #420
Open
liweijie0812 wants to merge 25 commits into
Open
Conversation
Contributor
|
Size Change: +257 B (+0.05%) Total Size: 487 kB 📦 View Changed
ℹ️ View Unchanged
|
Contributor
TDesign Component Site Preview Open
|
@tdesign/web-components
@tdesign/web-components-chat
commit: |
@tdesign/web-components
@tdesign/web-components-chat
commit: |
Contributor
|
Size Change: +185 B (+0.02%) Total Size: 867 kB 📦 View Changed
ℹ️ View Unchanged
|
- 将 ChatLoading 文档引用从 README.md 改为 chat-loading.md - 新增 chat-loading 示例组件,展示多种动画及文本加载效果 - 使用 @tdesign/common-docs 包解析公共文档,替代相对路径查找
liweijie0812
force-pushed
the
docs/sync/api
branch
from
August 24, 2026 17:23
15288be to
a78ae38
Compare
chat-loading 组件文档由 README.md 重构为 chat-loading.md / chat-loading.en-US.md, 且类型接口由 ChatLoadingProps 变更为 TdChatLoadingProps。同步更新 scripts/check-chat-contracts.mjs 的契约检查逻辑,避免 README.md 缺失导致 check:chat-contracts 失败(ENOENT)。
content 为文档与类型中已声明的新增 API,此前仅用于判断 hasContent, 内容本身未渲染。现当 content 存在时渲染 content,否则回退到 children slot, 与 notification 等组件的 parseTNode 处理保持一致。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
@tdesign/web-components
@tdesign/web-components-chat
☑️ 请求合并前的自查清单