Skip to content

Commit

Permalink
chore: remove invalid content (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Jan 8, 2025
1 parent 8347de2 commit 86911b0
Show file tree
Hide file tree
Showing 92 changed files with 107 additions and 2,283 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
23 changes: 0 additions & 23 deletions packages/products/tdesign-miniprogram/src/alert/README.en-US.md

This file was deleted.

23 changes: 0 additions & 23 deletions packages/products/tdesign-miniprogram/src/alert/README.md

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ visibility-height | Number | 200 | \- | N
name | params | description
-- | -- | --
to-top | \- | \-

### BackTop External Classes

className | Description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ visibility-height | Number | 200 | 滚动高度达到此参数值才出现 | N
名称 | 参数 | 描述
-- | -- | --
to-top | \- | 点击触发

### BackTop External Classes

类名 | 描述
Expand Down
5 changes: 0 additions & 5 deletions packages/products/tdesign-miniprogram/src/back-top/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ const props: TdBackTopProps = {
type: Number,
value: 0,
},
/** 自定义组件样式 */
style: {
type: String,
value: '',
},
/** 文案 */
text: {
type: String,
Expand Down
8 changes: 0 additions & 8 deletions packages/products/tdesign-miniprogram/src/back-top/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ export interface TdBackTopProps {
type: NumberConstructor;
value?: number;
};
/**
* 自定义组件样式
* @default ''
*/
style?: {
type: StringConstructor;
value?: string;
};
/**
* 文案
* @default ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ offset | Array | - | Typescript:`Array<string \| number>` | N
shape | String | circle | options: circle/square/bubble/ribbon | N
show-zero | Boolean | false | \- | N
size | String | medium | options: medium/large | N

### Badge External Classes

className | Description
Expand Down
1 change: 1 addition & 0 deletions packages/products/tdesign-miniprogram/src/badge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ offset | Array | - | 设置状态点的位置偏移,示例:[-10, 20] 或 ['1
shape | String | circle | 形状。可选项:circle/square/bubble/ribbon | N
show-zero | Boolean | false | 当数值为 0 时,是否展示徽标 | N
size | String | medium | 尺寸。可选项:medium/large | N

### Badge External Classes

类名 | 描述
Expand Down
9 changes: 0 additions & 9 deletions packages/products/tdesign-miniprogram/src/badge/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ const props: TdBadgeProps = {
type: Boolean,
value: false,
},
/** 组件类名,分别用于设置外层元素、默认内容、右上角内容等元素类名 */
externalClasses: {
type: Array,
},
/** 封顶的数字值 */
maxCount: {
type: Number,
Expand All @@ -54,11 +50,6 @@ const props: TdBadgeProps = {
type: String,
value: 'medium',
},
/** 自定义组件样式 */
style: {
type: String,
value: '',
},
};

export default props;
19 changes: 2 additions & 17 deletions packages/products/tdesign-miniprogram/src/badge/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ export interface TdBadgeProps {
type: BooleanConstructor;
value?: boolean;
};
/**
* 组件类名,分别用于设置外层元素、默认内容、右上角内容等元素类名
*/
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class', 't-class-content', 't-class-count'];
};
/**
* 封顶的数字值
* @default 99
Expand All @@ -65,7 +58,7 @@ export interface TdBadgeProps {
*/
shape?: {
type: StringConstructor;
value?: 'circle' | 'square' | 'round' | 'ribbon';
value?: 'circle' | 'square' | 'bubble' | 'ribbon';
};
/**
* 当数值为 0 时,是否展示徽标
Expand All @@ -81,14 +74,6 @@ export interface TdBadgeProps {
*/
size?: {
type: StringConstructor;
value?: 'small' | 'medium';
};
/**
* 自定义组件样式
* @default ''
*/
style?: {
type: StringConstructor;
value?: string;
value?: 'medium' | 'large';
};
}
5 changes: 0 additions & 5 deletions packages/products/tdesign-miniprogram/src/button/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ const props: TdButtonProps = {
type: String,
value: 'medium',
},
/** 自定义组件样式 */
style: {
type: String,
value: '',
},
/** 按钮标签id */
tId: {
type: String,
Expand Down
8 changes: 0 additions & 8 deletions packages/products/tdesign-miniprogram/src/button/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,14 +193,6 @@ export interface TdButtonProps {
type: StringConstructor;
value?: 'extra-small' | 'small' | 'medium' | 'large';
};
/**
* 自定义组件样式
* @default ''
*/
style?: {
type: StringConstructor;
value?: string;
};
/**
* 按钮标签id
* @default ''
Expand Down

This file was deleted.

19 changes: 0 additions & 19 deletions packages/products/tdesign-miniprogram/src/cell-group/README.md

This file was deleted.

11 changes: 4 additions & 7 deletions packages/products/tdesign-miniprogram/src/cell-group/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ const props: TdCellGroupProps = {
/** 是否显示组边框 */
bordered: {
type: Boolean,
value: false,
},
/** 组件类名 */
externalClasses: {
type: Array,
},
/** 自定义组件样式 */
style: {
/** 单元格组风格 */
theme: {
type: String,
value: '',
value: 'default',
},
/** 单元格组标题 */
title: {
Expand Down
16 changes: 5 additions & 11 deletions packages/products/tdesign-miniprogram/src/cell-group/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,19 @@
export interface TdCellGroupProps {
/**
* 是否显示组边框
* @default false
*/
bordered?: {
type: BooleanConstructor;
value?: boolean;
};
/**
* 组件类名
* 单元格组风格
* @default default
*/
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class'];
};
/**
* 自定义组件样式
* @default ''
*/
style?: {
theme?: {
type: StringConstructor;
value?: string;
value?: 'default' | 'card';
};
/**
* 单元格组标题
Expand Down
19 changes: 19 additions & 0 deletions packages/products/tdesign-miniprogram/src/cell/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ url | String | - | \- | N
name | params | description
-- | -- | --
click | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)

### Cell External Classes

className | Description
Expand All @@ -42,3 +43,21 @@ t-class-note | \-
t-class-right | \-
t-class-right-icon | \-
t-class-title | \-


### CellGroup Props

name | type | default | description | required
-- | -- | -- | -- | --
style | Object | - | CSS(Cascading Style Sheets) | N
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
bordered | Boolean | false | \- | N
theme | String | default | options: default/card | N
title | String | - | \- | N

### CellGroup External Classes

className | Description
-- | --
t-class | \-
t-class-title | \-
19 changes: 19 additions & 0 deletions packages/products/tdesign-miniprogram/src/cell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ url | String | - | 点击后跳转链接地址。如果值为空,则表示不
名称 | 参数 | 描述
-- | -- | --
click | - | 右侧内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)

### Cell External Classes

类名 | 描述
Expand All @@ -42,3 +43,21 @@ t-class-note | 右侧说明文字样式类
t-class-right | 右侧内容样式类
t-class-right-icon | 右侧图标样式类
t-class-title | 标题样式类


### CellGroup Props

名称 | 类型 | 默认值 | 描述 | 必传
-- | -- | -- | -- | --
style | Object | - | 样式 | N
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
bordered | Boolean | false | 是否显示组边框 | N
theme | String | default | 单元格组风格。可选项:default/card | N
title | String | - | 单元格组标题 | N

### CellGroup External Classes

类名 | 描述
-- | --
t-class | 根节点样式类
t-class-title | 标题样式类
Loading

0 comments on commit 86911b0

Please sign in to comment.