diff --git a/helper/attributes.json b/helper/attributes.json index b3d8bd7f8..792c5751e 100644 --- a/helper/attributes.json +++ b/helper/attributes.json @@ -1,12 +1,4 @@ { - "t-action-sheet/align": { - "type": "String", - "options": [ - "center", - "left" - ], - "description": "水平对齐方式\n\ndefault: center\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-props)" - }, "t-action-sheet/cancel-text": { "type": "String", "description": "设置取消按钮的文本\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-props)" @@ -15,10 +7,6 @@ "type": "Number", "description": "设置每页展示菜单的数量,仅当 type=grid 时有效\n\ndefault: 8\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-props)" }, - "t-action-sheet/description": { - "type": "String", - "description": "动作面板描述文字\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-props)" - }, "t-action-sheet/items": { "type": "Array", "description": "菜单项\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-props)" @@ -85,7 +73,7 @@ }, "t-avatar/size": { "type": "String", - "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件存在 AvatarGroup,默认值便由 AvatarGroup.size 决定\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props)" + "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等,默认为 large\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props)" }, "t-avatar/error": { "type": "event", @@ -169,8 +157,7 @@ "type": "String", "options": [ "circle", - "square", - "bubble", + "round", "ribbon" ], "description": "形状\n\ndefault: circle\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/badge?tab=api#badge-props)" @@ -182,8 +169,8 @@ "t-badge/size": { "type": "String", "options": [ - "medium", - "large" + "small", + "medium" ], "description": "尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/badge?tab=api#badge-props)" }, @@ -203,6 +190,10 @@ "type": "Boolean", "description": "make background-color to be transparent\n\n是否为幽灵按钮(镂空按钮)\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" }, + "t-button/href": { + "type": "String", + "description": "跳转地址。href 存在时,按钮标签默认使用 `` 渲染;如果指定了 `tag` 则使用指定的标签渲染\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" + }, "t-button/icon": { "type": "TNode", "description": "use it to set left icon in button\n\n按钮内部图标,可完全自定义\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" @@ -211,10 +202,6 @@ "type": "Boolean", "description": "set button to be loading state\n\n是否显示为加载状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" }, - "t-button/loading-props": { - "type": "Object", - "description": "透传加载组件全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" - }, "t-button/shape": { "type": "String", "options": [ @@ -228,36 +215,30 @@ "t-button/size": { "type": "String", "options": [ - "extra-small", "small", "medium", "large" ], - "description": "a button has four size\n\n组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" + "description": "a button has three size\n\n组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" }, - "t-button/suffix": { - "type": "TNode", - "description": "右侧内容,可用于定义右侧图标\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" + "t-button/tag": { + "type": "String", + "options": [ + "button", + "a", + "div" + ], + "description": "HTML Tag Element\n\n渲染按钮的 HTML 标签,默认使用标签 `