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

View File

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

View File

@ -53,5 +53,5 @@
"publishConfig": {
"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"
}