fix: 🐛 Tag assets

This commit is contained in:
春希 2020-08-14 15:39:38 +08:00
parent e8e281549f
commit b460dcf727
3 changed files with 30 additions and 59 deletions

View File

@ -10488,11 +10488,6 @@
"destructuring": true "destructuring": true
}, },
"props": [ "props": [
{
"name": "prefix",
"propType": "string",
"defaultValue": "next-"
},
{ {
"name": "type", "name": "type",
"propType": { "propType": {
@ -10526,11 +10521,6 @@
"propType": "bool", "propType": "bool",
"description": "是否开启动效" "description": "是否开启动效"
}, },
{
"name": "afterAppear",
"propType": "func",
"description": "标签出现动画结束后执行的回调"
},
{ {
"name": "onClick", "name": "onClick",
"propType": "func", "propType": "func",
@ -10538,17 +10528,11 @@
}, },
{ {
"name": "children", "name": "children",
"propType": { "propType": "string",
"type": "instanceOf", "description": "内容"
"value": "node"
}
} }
], ],
"configure": { "configure": {}
"component": {
"isContainer": true
}
}
}, },
{ {
"componentName": "Tag.Selectable", "componentName": "Tag.Selectable",
@ -10564,11 +10548,6 @@
"subName": "Selectable" "subName": "Selectable"
}, },
"props": [ "props": [
{
"name": "prefix",
"propType": "string",
"defaultValue": "next-"
},
{ {
"name": "checked", "name": "checked",
"propType": "bool", "propType": "bool",
@ -10591,17 +10570,11 @@
}, },
{ {
"name": "children", "name": "children",
"propType": { "propType": "string",
"type": "instanceOf", "description": "内容"
"value": "node"
}
} }
], ],
"configure": { "configure": {}
"component": {
"isContainer": true
}
}
}, },
{ {
"componentName": "Tag.Closeable", "componentName": "Tag.Closeable",
@ -10617,11 +10590,6 @@
"subName": "Closeable" "subName": "Closeable"
}, },
"props": [ "props": [
{
"name": "prefix",
"propType": "string",
"defaultValue": "next-"
},
{ {
"name": "closeArea", "name": "closeArea",
"propType": { "propType": {
@ -10650,11 +10618,6 @@
"propType": "func", "propType": "func",
"description": "点击关闭按钮时的回调,返回值 true 则关闭, false 阻止关闭" "description": "点击关闭按钮时的回调,返回值 true 则关闭, false 阻止关闭"
}, },
{
"name": "afterClose",
"propType": "func",
"description": "标签关闭后执行的回调"
},
{ {
"name": "onClick", "name": "onClick",
"propType": "func", "propType": "func",
@ -10662,17 +10625,11 @@
}, },
{ {
"name": "children", "name": "children",
"propType": { "propType": "string",
"type": "instanceOf", "description": "内容"
"value": "node"
}
} }
], ],
"configure": { "configure": {}
"component": {
"isContainer": true
}
}
}, },
{ {
"componentName": "TimePicker", "componentName": "TimePicker",
@ -13422,7 +13379,13 @@
"screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tag.png", "screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tag.png",
"schema": { "schema": {
"componentName": "Tag", "componentName": "Tag",
"props": {} "props": {
"prefix": "next-",
"type": "normal",
"size": "medium",
"animation": false,
"children": "Tag"
}
} }
} }
] ]
@ -13439,7 +13402,12 @@
"screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tag.png", "screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tag.png",
"schema": { "schema": {
"componentName": "Tag.Closeable", "componentName": "Tag.Closeable",
"props": {} "props": {
"prefix": "next-",
"closeArea": "tail",
"size": "medium",
"children": "Tag"
}
} }
} }
] ]
@ -13456,7 +13424,10 @@
"screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tag.png", "screenshot": "https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_tag.png",
"schema": { "schema": {
"componentName": "Tag.Selectable", "componentName": "Tag.Selectable",
"props": {} "props": {
"prefix": "next-",
"children": "Tag"
}
} }
} }
] ]

View File

@ -1,5 +1,5 @@
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import { Editor, Title } from '@ali/lowcode-editor-core'; import { Editor } from '@ali/lowcode-editor-core';
import Icon from '@ali/ve-icons'; import Icon from '@ali/ve-icons';
import { Button } from '@alifd/next'; import { Button } from '@alifd/next';
import { Designer } from '@ali/lowcode-designer'; import { Designer } from '@ali/lowcode-designer';
@ -81,7 +81,7 @@ export default class UndoRedo extends PureComponent<IProps, IState> {
return ( return (
<div className="lowcode-plugin-undo-redo"> <div className="lowcode-plugin-undo-redo">
<Button <Button
size="18px" size="medium"
data-tip="撤销" data-tip="撤销"
data-dir="bottom" data-dir="bottom"
className="ve-local-history-item" className="ve-local-history-item"
@ -92,7 +92,7 @@ export default class UndoRedo extends PureComponent<IProps, IState> {
<Icon name="amindUndo" size="18px" /> <Icon name="amindUndo" size="18px" />
</Button> </Button>
<Button <Button
size="18px" size="medium"
data-tip="恢复" data-tip="恢复"
data-dir="bottom" data-dir="bottom"
className="ve-local-history-item" className="ve-local-history-item"

View File

@ -53,5 +53,5 @@
"publishConfig": { "publishConfig": {
"registry": "http://registry.npm.alibaba-inc.com" "registry": "http://registry.npm.alibaba-inc.com"
}, },
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@0.8.13/build/index.html" "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@0.8.17/build/index.html"
} }