Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/components/action-sheet/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ActionSheet 动作面板
description: 由用户操作后触发的一种特定的模态弹出框 ,呈现一组与当前情境相关的两个或多个选项。
spline: data
spline: message
isComponent: true
---

Expand Down
2 changes: 2 additions & 0 deletions packages/components/badge/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ Name | Default Value | Description
--td-badge-large-height | 40rpx | -
--td-badge-large-padding | 10rpx | -
--td-badge-text-color | @text-color-anti | -
--td-line-height-mark-extraSmall | 32rpx | -
--td-line-height-mark-small | 40rpx | -
2 changes: 2 additions & 0 deletions packages/components/badge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,5 @@ t-class-count | 计数样式类
--td-badge-large-height | 40rpx | -
--td-badge-large-padding | 10rpx | -
--td-badge-text-color | @text-color-anti | -
--td-line-height-mark-extraSmall | 32rpx | -
--td-line-height-mark-small | 40rpx | -
2 changes: 1 addition & 1 deletion packages/components/color-picker/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ColorPicker 颜色选择器
description: 用于颜色选择,支持多种格式。
spline: data
spline: form
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/components/config-provider/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ConfigProvider 全局特性配置
description: 全局特性配置包含各个组件的文本语言配置及其他通用配置,可以减少重复的通用配置。
spline: data
spline: explain
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/components/date-time-picker/date-time-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export default class DateTimePicker extends SuperComponent {
for (let i = minEdge; i <= maxEdge; i += step) {
options.push({
value: `${i}`,
label: type === 'month' ? globalConfig.months[i] : `${i}${globalConfig[`${type}Label`]}`,
label: type === 'month' ? globalConfig.months?.[i] : `${i}${globalConfig[`${type}Label`]}`,
});
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/drawer/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Drawer 抽屉
description: 用作一组平行关系页面/内容的切换器,相较于Tab,同屏可展示更多的选项数量。
spline: message
spline: navigation
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/components/guide/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Guide 引导
description: 逐步骤进行指引或解释说明的组件,常用于用户不熟悉的或需进行特别强调的页面。
spline: base
spline: message
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/components/image/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Image 图片
description: 用于展示效果,主要为上下左右居中裁切、拉伸、平铺等方式。
spline: base
spline: data
isComponent: true
---

Expand Down
18 changes: 9 additions & 9 deletions packages/components/popover/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ t-class-content | \-
The component provides the following CSS variables, which can be used to customize styles.
Name | Default Value | Description
-- | -- | --
--td-popover-padding | 24rpx | -
--td-popover-dark-color | @text-color-anti | -
--td-popover-brand-bg-color | @primary-color-1 | -
--td-popover-brand-color | @primary-color-7 | -
--td-popover-dark-bg-color | @font-gray-1 | -
--td-popover-light-color | @text-color-primary | -
--td-popover-dark-color | @text-color-anti | -
--td-popover-error-bg-color | @error-color-1 | -
--td-popover-error-color | @error-color-6 | -
--td-popover-light-bg-color | @bg-color-container | -
--td-popover-brand-color | @primary-color-7 | -
--td-popover-brand-bg-color | @primary-color-1 | -
--td-popover-success-color | @success-color-5 | -
--td-popover-light-color | @text-color-primary | -
--td-popover-padding | 24rpx | -
--td-popover-success-bg-color | @success-color-1 | -
--td-popover-warning-color | @warning-color-5 | -
--td-popover-success-color | @success-color-5 | -
--td-popover-warning-bg-color | @warning-color-1 | -
--td-popover-error-color | @error-color-6 | -
--td-popover-error-bg-color | @error-color-1 | -
--td-popover-warning-color | @warning-color-5 | -
20 changes: 10 additions & 10 deletions packages/components/popover/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Popover 弹出气泡
description: 用于文字提示的气泡框。
spline: data
spline: message
isComponent: true
---

Expand Down Expand Up @@ -80,16 +80,16 @@ t-class-content | 内容样式类
组件提供了下列 CSS 变量,可用于自定义样式。
名称 | 默认值 | 描述
-- | -- | --
--td-popover-padding | 24rpx | -
--td-popover-dark-color | @text-color-anti | -
--td-popover-brand-bg-color | @primary-color-1 | -
--td-popover-brand-color | @primary-color-7 | -
--td-popover-dark-bg-color | @font-gray-1 | -
--td-popover-light-color | @text-color-primary | -
--td-popover-dark-color | @text-color-anti | -
--td-popover-error-bg-color | @error-color-1 | -
--td-popover-error-color | @error-color-6 | -
--td-popover-light-bg-color | @bg-color-container | -
--td-popover-brand-color | @primary-color-7 | -
--td-popover-brand-bg-color | @primary-color-1 | -
--td-popover-success-color | @success-color-5 | -
--td-popover-light-color | @text-color-primary | -
--td-popover-padding | 24rpx | -
--td-popover-success-bg-color | @success-color-1 | -
--td-popover-warning-color | @warning-color-5 | -
--td-popover-success-color | @success-color-5 | -
--td-popover-warning-bg-color | @warning-color-1 | -
--td-popover-error-color | @error-color-6 | -
--td-popover-error-bg-color | @error-color-1 | -
--td-popover-warning-color | @warning-color-5 | -
2 changes: 1 addition & 1 deletion packages/components/progress/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Progress 进度条
description: 用于展示任务当前的进度。
spline: message
spline: data
isComponent: true
---

Expand Down
8 changes: 4 additions & 4 deletions packages/components/qrcode/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: QRCode 二维码
description: 二维码能够将文本转换生成二维码的组件,支持自定义配色和 Logo 配置。
spline: message
spline: data
isComponent: true
---

Expand Down Expand Up @@ -101,7 +101,7 @@ status-render | 自定义状态渲染器
### CSS Variables

组件提供了下列 CSS 变量,可用于自定义样式。
名称 | 默认值 | 描述
名称 | 默认值 | 描述
-- | -- | --
--td-brand-color-hover | --td-brand-color-hover | -
--td-success-color | --td-success-color | -
--td-brand-color-hover | --td-brand-color-hover | -
--td-success-color | --td-success-color | -
2 changes: 1 addition & 1 deletion packages/components/slider/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Slider 滑动选择器
description: 用于选择横轴上的数值、区间、档位。
spline: data
spline: form
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/components/swiper/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Swiper 轮播图
description: 用于循环轮播一组图片或内容,也可以滑动进行切换,轮播动效时间可以设置。
spline: message
spline: data
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/attachments/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Attachments 文件附件
description: 用于聊天场景中上传、预览和管理附件的组件。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-actionbar/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatActionbar 对话操作
description: 包含重新生成,点赞,点踩,复制按钮。 内置 Clipboard 可以复制聊天内容,提供按钮的交互样式,监听 actions 相关事件由业务层实现具体逻辑。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-content/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatContent 对话正文
description: ChatContent 用于在聊天对话中渲染不同类型的聊天内容。它支持纯文本和Markdown格式的内容渲染,能够根据内容类型自动选择合适的渲染方式。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-list/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatList 对话列表
description: 用于展示对话或者普通对话场景的组件。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-loading/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatLoading 对话加载
description: 用于对话场景中的加载状态组件。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-markdown/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatMarkdown Markdown内容
description: 用于聊天场景中渲染 Markdown 格式文本的组件,内置 marked 解析器,支持多种 Markdown 语法和配置选项。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-message/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatMessage 对话消息体
description: 用于在聊天对话中显示单个消息项。它可以展示用户的头像、昵称、时间、聊天内容,支持多种消息状态和样式变体。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-sender/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatSender 对话输入
description: 用于聊天对话的输入框,可以扩展模型、多模态等能力。
spline: base
spline: chat
isComponent: true
---

Expand Down
2 changes: 1 addition & 1 deletion packages/pro-components/chat/chat-thinking/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ChatThinking 思考过程
description: 用于展示思考过程的组件。
spline: base
spline: chat
isComponent: true
---

Expand Down
Loading