Skip to content

Commit

Permalink
v3.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bplok20010 committed Aug 5, 2020
1 parent 0281660 commit d057646
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 51 deletions.
4 changes: 2 additions & 2 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"index.css": "static/css/index.45e9b4e2.chunk.css",
"index.js": "static/js/index.45e9b4e2.chunk.js",
"index.css": "static/css/index.28412c68.chunk.css",
"index.js": "static/js/index.28412c68.chunk.js",
"runtime-index.js": "static/js/runtime-index.70097ef2.js",
"static/js/2.fa911bdb.chunk.js": "static/js/2.fa911bdb.chunk.js",
"index.html": "index.html"
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html style="width:100%;height:100%;overflow:hidden"><head><meta charset="utf-8"><title>popup</title><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><style>.demo{width:800px;height:450px;margin:100px auto;background:#fff;font-size:12px;overflow:auto}</style><link href="static/css/index.45e9b4e2.chunk.css" rel="stylesheet"></head><body style="background:#f5f5f5"><div class="demo" id="demo"></div><script src="static/js/runtime-index.70097ef2.js"></script><script src="static/js/2.fa911bdb.chunk.js"></script><script src="static/js/index.45e9b4e2.chunk.js"></script></body></html>
<!doctype html><html style="width:100%;height:100%;overflow:hidden"><head><meta charset="utf-8"><title>popup</title><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><style>.demo{width:800px;height:450px;margin:100px auto;background:#fff;font-size:12px;overflow:auto}</style><link href="static/css/index.28412c68.chunk.css" rel="stylesheet"></head><body style="background:#f5f5f5"><div class="demo" id="demo"></div><script src="static/js/runtime-index.70097ef2.js"></script><script src="static/js/2.fa911bdb.chunk.js"></script><script src="static/js/index.28412c68.chunk.js"></script></body></html>
File renamed without changes.

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions examples/demos/demo1.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default class DEMO extends Component {
visible: false,
};

toggleClick = e => {
toggleClick = (e) => {
const { visible } = this.state;
this.setState({
visible: !visible,
Expand Down Expand Up @@ -37,15 +37,15 @@ export default class DEMO extends Component {
visible={visible}
transition={{
timeout: 500,
onEnter: node => {
onEnter: (node) => {
$(node).hide();
$(node).stop().fadeIn(500);
},
onExit: node => {
onExit: (node) => {
$(node).stop().fadeOut(500);
},
}}
getPosition={dom => {
getPosition={(dom) => {
console.log(dom);
return {
left: "50%",
Expand Down
56 changes: 15 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-widget-popup",
"version": "3.4.6",
"version": "3.4.7",
"description": "",
"main": "cjs/index.js",
"module": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ export class Popup extends React.Component<PopupProps, {}> {
} = this.props;

const RootComponent = rootComponent!;
const Component = rootComponent!;
const Component = component!;

delete childProps.mask;
delete childProps.maskProps;
Expand Down

0 comments on commit d057646

Please sign in to comment.