update 0.10.2

This commit is contained in:
hufeixiong
2021-11-05 11:25:39 +08:00
parent 015383492b
commit 0c953e1d6f
6 changed files with 14 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
## changelog
## 0.10.2
修改timeline选中底色增加item类名方便修改。
## 0.10.1
修改timeline类名方便修改样式。

View File

@@ -4,6 +4,10 @@ order: 1
---
## changelog
## 0.10.2
修改timeline选中底色增加item类名方便修改。
## 0.10.1
修改timeline类名方便修改样式。

View File

@@ -1,5 +1,5 @@
{
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/dooringx-lib.esm.js",

View File

@@ -53,6 +53,7 @@ const SortableItem = SortableElement(
}}
>
<div
className="yh-timeline-item"
onClick={() => {
const store = value.config.getStore();
const clone = deepcopy(store.getData());
@@ -73,7 +74,7 @@ const SortableItem = SortableElement(
minWidth: leftWidth,
borderRight: borderColor,
borderBottom: borderColor,
backgroundColor: value.value.focus ? '#eeeeee' : 'initial',
backgroundColor: value.value.focus ? 'rgb(118 118 118)' : 'initial',
cursor: 'pointer',
}}
>
@@ -168,7 +169,7 @@ export function TimeLine(props: TimeLineProps) {
return (
<div
className={`${props.classes} ant-menu yh-timeline`}
className={`${props.classes} ant-menu yh-timeline-wrap`}
style={{
width: '100%',
position: 'absolute',

View File

@@ -1,6 +1,6 @@
{
"name": "dooringx-plugin-template",
"version": "0.10.1",
"version": "0.10.2",
"description": "> TODO: description",
"author": "yehuozhili <673632758@qq.com>",
"homepage": "https://github.com/H5-Dooring/dooringx#readme",

View File

@@ -40,7 +40,7 @@
"@rollup/plugin-node-resolve": "^13.0.4",
"@rollup/plugin-url": "^6.1.0",
"@svgr/rollup": "^5.5.0",
"dooringx-lib": "^0.10.1",
"dooringx-lib": "^0.10.2",
"postcss": "^8.3.6",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.1",