update 0.10.2
This commit is contained in:
@@ -4,6 +4,10 @@ order: 1
|
||||
---
|
||||
## changelog
|
||||
|
||||
## 0.10.2
|
||||
|
||||
修改timeline选中底色,增加item类名方便修改。
|
||||
|
||||
## 0.10.1
|
||||
|
||||
修改timeline类名,方便修改样式。
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.10.1",
|
||||
"version": "0.10.2",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/dooringx-lib.esm.js",
|
||||
|
@@ -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',
|
||||
|
@@ -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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user