Skip to content

Commit f790386

Browse files
authored
Merge pull request #54 from yjose/V1.3.1
V1.3.1
2 parents fa675cd + 2069e3b commit f790386

24 files changed

+642
-106
lines changed

.babelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"presets": [
3-
"env",
4-
"react"
3+
"@babel/preset-env",
4+
"@babel/preset-react"
55
],
66
"plugins": [
7-
"transform-class-properties"
7+
"@babel/plugin-proposal-class-properties"
88
]
99
}

build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const babelBiliConfig = {
2121
plugins: ["@babel/plugin-proposal-class-properties"]
2222
};
2323
const babelParcelConfig = {
24-
presets: ["env", "react"],
25-
plugins: ["transform-class-properties"]
24+
presets: ["@babel/preset-env", "@babel/preset-react"],
25+
plugins: ["@babel/plugin-proposal-class-properties"]
2626
};
2727

2828
// Copy package.json, LICENSE,README and npmignore files

docs/src/examples/BoundedTooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Warper from './Warper'
3-
import Popup from './reactjs-popup.es'
3+
import Popup from '../../../src/index'
44

55
const BoundedTooltip = () => (
66
<div

docs/src/examples/ControlledPopup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Warper from './Warper'
3-
import Popup from './reactjs-popup.es'
3+
import Popup from '../../../src/index'
44
//
55

66
class ControlledPopup extends React.Component {

docs/src/examples/CustomModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Warper from './Warper'
3-
import Popup from './reactjs-popup.es'
3+
import Popup from '../../../src/index'
44
//
55

66
const contentStyle = {

docs/src/examples/Demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Warper from './Warper'
3-
import Popup from './reactjs-popup.es'
3+
import Popup from '../../../src/index'
44
//
55

66
const contentStyle = {

docs/src/examples/Example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import Popup from './reactjs-popup.es'
2+
import Popup from '../../../src/index'
33
//
44

55
export default () => (

docs/src/examples/InputFocus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Warper from './Warper'
3-
import Popup from './reactjs-popup.es'
3+
import Popup from '../../../src/index'
44
//
55

66
const InputFocus = () => (

docs/src/examples/NestedToolTip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Warper from './Warper'
3-
import Popup from './reactjs-popup.es'
3+
import Popup from '../../../src/index'
44
//
55

66
const NestedToolTip = () => (

docs/src/examples/SimpleMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import Popup from './reactjs-popup.es'
2+
import Popup from '../../../src/index'
33
//
44

55
const SimpleMenu = () => (

0 commit comments

Comments
 (0)