Skip to content

Commit

Permalink
chore: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 8, 2025
2 parents e0fa461 + 86911b0 commit 1dbdc56
Show file tree
Hide file tree
Showing 270 changed files with 1,358 additions and 2,560 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cancel-text | String | - | 设置取消按钮的文本 | N
count | Number | 8 | 设置每页展示菜单的数量,仅当 type=grid 时有效 | N
description | String | - | `0.29.0`。动作面板描述文字 | N
items | Array | - | 必需。菜单项。TS 类型:`Array<string \| ActionSheetItem>` `interface ActionSheetItem { label: string; color?: string; disabled?: boolean; icon?: string; suffixIcon?: string }`[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | Y
popup-props | Object | {} | popupProps透传。TS 类型:`PopupProps`[Popup API Documents](./popup?tab=api)[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | N
popup-props | Object | {} | 透传 Popup 组件全部属性。TS 类型:`PopupProps`[Popup API Documents](./popup?tab=api)[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | N
show-cancel | Boolean | true | 是否显示取消按钮 | N
show-overlay | Boolean | true | 是否显示遮罩层 | N
theme | String | list | 展示类型,列表和表格形式展示。可选项:list/grid | N
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const props: TdActionSheetProps = {
type: Array,
required: true,
},
/** popupProps透传 */
/** 透传 Popup 组件全部属性 */
popupProps: {
type: Object,
value: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface TdActionSheetProps {
required?: boolean;
};
/**
* popupProps透传
* 透传 Popup 组件全部属性
* @default {}
*/
popupProps?: {
Expand Down
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 | \-
Loading

0 comments on commit 1dbdc56

Please sign in to comment.