Skip to content
Open
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
Binary file modified db/TDesign.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,32 @@

## API

### Row Props

### Col 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
gutter | String / Number | - | \- | N
offset | String / Number | - | \- | N
span | String / Number | - | \- | N

### Row Slots
### Col Slots

name | Description
-- | --
\- | \-


### Col Props
### Row 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
offset | String / Number | - | \- | N
span | String / Number | - | \- | N
gutter | String / Number | - | \- | N

### Col Slots
### Row Slots

name | Description
-- | --
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,33 @@

## API

### Row Props

### Col Props

名称 | 类型 | 默认值 | 描述 | 必传
-- | -- | -- | -- | --
style | Object | - | 样式 | N
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
gutter | String / Number | - | 列之间的间距(默认单位px) | N
offset | String / Number | - | 列的偏移量(默认单位px) | N
span | String / Number | - | 列的宽度(默认单位px) | N

### Row Slots
### Col Slots

名称 | 描述
-- | --
\- | 默认插槽,行内容
\- | 默认插槽,列内容


### Col Props
### Row Props

名称 | 类型 | 默认值 | 描述 | 必传
-- | -- | -- | -- | --
style | Object | - | 样式 | N
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
offset | String / Number | - | 列的偏移量(默认单位px) | N
span | String / Number | - | 列的宽度(默认单位px) | N
gutter | String / Number | - | 列之间的间距(默认单位px) | N

### Col Slots
### Row Slots

名称 | 描述
-- | --
\- | 默认插槽,列内容
\- | 默认插槽,行内容
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
:: BASE_DOC ::

## API

### Paragraph 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
content | String | - | content of paragraph | N
ellipsis | Boolean / Object | false | add ellipsis style。Typescript: `boolean \| TypographyEllipsis `,[Text API Documents](./text?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/paragraph/type.ts) | N

### Paragraph Slots

name | Description
-- | --
content | content of paragraph


### Text 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
code | Boolean | false | add code style | N
content | String | - | content of text | N
copyable | Boolean | false | Typescript: `boolean \| TypographyCopyable ` `interface TypographyCopyable { text?: string }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/text/type.ts) | N
delete | Boolean | false | add delete line style | N
disabled | Boolean | false | add disabled style | N
ellipsis | Boolean / Object | false | add ellipsis style。Typescript: `boolean \| TypographyEllipsis ` `interface TypographyEllipsis { collapsible?: boolean; expandable?: boolean; row?: number;}`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/text/type.ts) | N
italic | Boolean | false | add italic style | N
keyboard | Boolean | false | add keyboard style | N
mark | String / Boolean | false | add mark style | N
strong | Boolean | false | add bold style | N
theme | String | - | theme of text。options: primary/secondary/success/warning/error | N
underline | Boolean | false | add underline style | N

### Text Slots

name | Description
-- | --
content | content of text


### Title 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
content | String | - | content of title | N
ellipsis | Boolean / Object | false | add ellipsis style。Typescript: `boolean \| TypographyEllipsis `,[Text API Documents](./text?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/title/type.ts) | N
level | String | h1 | level of title。options: h1/h2/h3/h4/h5/h6 | N

### Title Slots

name | Description
-- | --
content | content of title
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
:: BASE_DOC ::

## API

### Paragraph Props

名称 | 类型 | 默认值 | 描述 | 必传
-- | -- | -- | -- | --
style | Object | - | 样式 | N
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
content | String | - | 段落内容 | N
ellipsis | Boolean / Object | false | 是否省略展示,可通过配置参数自定义省略操作的具体功能和样式。TS 类型:`boolean \| TypographyEllipsis `,[Text API Documents](./text?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/paragraph/type.ts) | N

### Paragraph Slots

名称 | 描述
-- | --
content | 自定义 `content` 显示内容


### Text Props

名称 | 类型 | 默认值 | 描述 | 必传
-- | -- | -- | -- | --
style | Object | - | 样式 | N
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
code | Boolean | false | 是否添加代码样式 | N
content | String | - | 文本内容 | N
copyable | Boolean | false | 是否可复制。TS 类型:`boolean \| TypographyCopyable ` `interface TypographyCopyable { text?: string }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/text/type.ts) | N
delete | Boolean | false | 是否添加删除线样式 | N
disabled | Boolean | false | 是否添加不可用样式 | N
ellipsis | Boolean / Object | false | 是否省略展示,可通过配置参数自定义省略操作的具体功能和样式。TS 类型:`boolean \| TypographyEllipsis ` `interface TypographyEllipsis { collapsible?: boolean; expandable?: boolean; row?: number;}`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/text/type.ts) | N
italic | Boolean | false | 文本是否为斜体 | N
keyboard | Boolean | false | 是否添加键盘样式 | N
mark | String / Boolean | false | 是否添加标记样式,默认为黄色,可通过配置颜色修改标记样式,如#0052D9 | N
strong | Boolean | false | 文本是否加粗 | N
theme | String | - | 主题。可选项:primary/secondary/success/warning/error | N
underline | Boolean | false | 是否添加下划线样式 | N

### Text Slots

名称 | 描述
-- | --
content | 自定义 `content` 显示内容


### Title Props

名称 | 类型 | 默认值 | 描述 | 必传
-- | -- | -- | -- | --
style | Object | - | 样式 | N
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
content | String | - | 段落内容 | N
ellipsis | Boolean / Object | false | 是否省略展示,可通过配置参数自定义省略操作的具体功能和样式。TS 类型:`boolean \| TypographyEllipsis `,[Text API Documents](./text?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/packages/components/title/type.ts) | N
level | String | h1 | 标题等级。可选项:h1/h2/h3/h4/h5/h6 | N

### Title Slots

名称 | 描述
-- | --
content | 自定义 `content` 显示内容
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* eslint-disable */

/**
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */

import { TdParagraphProps } from './type';
const props: TdParagraphProps = {
/** 段落内容 */
content: {
type: String,
},
/** 是否省略展示,可通过配置参数自定义省略操作的具体功能和样式 */
ellipsis: {
type: null,
value: false,
},
};

export default props;
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* eslint-disable */

/**
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */

import { TypographyEllipsis } from '../text/index';

export interface TdParagraphProps {
/**
* 段落内容
*/
content?: {
type: StringConstructor;
value?: string;
};
/**
* 是否省略展示,可通过配置参数自定义省略操作的具体功能和样式
* @default false
*/
ellipsis?: {
type: null;
value?: boolean | TypographyEllipsis;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/* eslint-disable */

/**
* 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
* */

import { TdTextProps } from './type';
const props: TdTextProps = {
/** 是否添加代码样式 */
code: {
type: Boolean,
value: false,
},
/** 文本内容 */
content: {
type: String,
},
/** 是否可复制 */
copyable: {
type: Boolean,
value: false,
},
/** 是否添加删除线样式 */
delete: {
type: Boolean,
value: false,
},
/** 是否添加不可用样式 */
disabled: {
type: Boolean,
value: false,
},
/** 是否省略展示,可通过配置参数自定义省略操作的具体功能和样式 */
ellipsis: {
type: null,
value: false,
},
/** 文本是否为斜体 */
italic: {
type: Boolean,
value: false,
},
/** 是否添加键盘样式 */
keyboard: {
type: Boolean,
value: false,
},
/** 是否添加标记样式,默认为黄色,可通过配置颜色修改标记样式,如#0052D9 */
mark: {
type: null,
value: false,
},
/** 文本是否加粗 */
strong: {
type: Boolean,
value: false,
},
/** 主题 */
theme: {
type: String,
},
/** 是否添加下划线样式 */
underline: {
type: Boolean,
value: false,
},
};

export default props;
Loading