Skip to content

Commit d057646

Browse files
committed
v3.4.7
1 parent 0281660 commit d057646

File tree

8 files changed

+25
-51
lines changed

8 files changed

+25
-51
lines changed

docs/asset-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"index.css": "static/css/index.45e9b4e2.chunk.css",
3-
"index.js": "static/js/index.45e9b4e2.chunk.js",
2+
"index.css": "static/css/index.28412c68.chunk.css",
3+
"index.js": "static/js/index.28412c68.chunk.js",
44
"runtime-index.js": "static/js/runtime-index.70097ef2.js",
55
"static/js/2.fa911bdb.chunk.js": "static/js/2.fa911bdb.chunk.js",
66
"index.html": "index.html"

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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>
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.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>

docs/static/js/index.45e9b4e2.chunk.js renamed to docs/static/js/index.28412c68.chunk.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/demos/demo1.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default class DEMO extends Component {
77
visible: false,
88
};
99

10-
toggleClick = e => {
10+
toggleClick = (e) => {
1111
const { visible } = this.state;
1212
this.setState({
1313
visible: !visible,
@@ -37,15 +37,15 @@ export default class DEMO extends Component {
3737
visible={visible}
3838
transition={{
3939
timeout: 500,
40-
onEnter: node => {
40+
onEnter: (node) => {
4141
$(node).hide();
4242
$(node).stop().fadeIn(500);
4343
},
44-
onExit: node => {
44+
onExit: (node) => {
4545
$(node).stop().fadeOut(500);
4646
},
4747
}}
48-
getPosition={dom => {
48+
getPosition={(dom) => {
4949
console.log(dom);
5050
return {
5151
left: "50%",

package-lock.json

Lines changed: 15 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-widget-popup",
3-
"version": "3.4.6",
3+
"version": "3.4.7",
44
"description": "",
55
"main": "cjs/index.js",
66
"module": "esm/index.js",

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ export class Popup extends React.Component<PopupProps, {}> {
365365
} = this.props;
366366

367367
const RootComponent = rootComponent!;
368-
const Component = rootComponent!;
368+
const Component = component!;
369369

370370
delete childProps.mask;
371371
delete childProps.maskProps;

0 commit comments

Comments
 (0)