Skip to content

Commit 3e0165b

Browse files
v1.4.0
1 parent c9b9366 commit 3e0165b

8 files changed

Lines changed: 143 additions & 157 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Version 1.4.0
2+
Released 2019-07-12
3+
4+
- Migrated to Emotion 10
5+
16
# Version 1.3.1
27
Released 2019-05-18
38

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-multi-bar-slider",
3-
"version": "1.3.1",
3+
"version": "1.4.0",
44
"description": "Slider component with multiple bars for React",
55
"repository": {
66
"type": "git",
@@ -19,11 +19,11 @@
1919
"react multi slider"
2020
],
2121
"peerDependencies": {
22-
"emotion": "^9.x",
22+
"@emotion/core": "^10.x",
23+
"@emotion/styled": "^10.x",
2324
"prop-types": "^15.x",
2425
"react": "^15.3.x || ^16.x",
25-
"react-dom": "^15.3.x || ^16.x",
26-
"react-emotion": "^9.x"
26+
"react-dom": "^15.3.x || ^16.x"
2727
},
2828
"scripts": {
2929
"build": "webpack --config webpack.config.babel.js",
@@ -33,6 +33,8 @@
3333
"lint": "eslint ./src"
3434
},
3535
"devDependencies": {
36+
"@emotion/core": "^10.0.14",
37+
"@emotion/styled": "^10.0.14",
3638
"babel-core": "^6.26.0",
3739
"babel-eslint": "^8.0.1",
3840
"babel-jest": "^22.1.0",
@@ -41,7 +43,6 @@
4143
"babel-preset-react": "^6.24.1",
4244
"babel-preset-stage-0": "^6.24.1",
4345
"clean-webpack-plugin": "^0.1.16",
44-
"emotion": "^9.2.8",
4546
"enzyme": "^3.3.0",
4647
"enzyme-adapter-react-16": "^1.1.1",
4748
"eslint": "^4.9.0",
@@ -51,7 +52,6 @@
5152
"prop-types": "^15.6.1",
5253
"react": "^16.2.0",
5354
"react-dom": "^16.2.0",
54-
"react-emotion": "^9.2.8",
5555
"react-test-renderer": "^16.2.0",
5656
"webpack": "^3.8.1"
5757
},

src/Dot/DotIcon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
2-
import styled from 'react-emotion';
2+
import styled from '@emotion/styled';
33

44
const DotIcon = styled('img')({
55
position: 'absolute',

src/Dot/StyledDot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
2-
import styled from 'react-emotion';
2+
import styled from '@emotion/styled';
33
import transition from '../utils/transition';
44

55
const StyledDot = styled('span')({

src/MultiSlider/SlidableZone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
2-
import styled from 'react-emotion';
2+
import styled from '@emotion/styled';
33

44
const SlidableZone = styled('div')({
55
position: 'absolute',

src/MultiSlider/StyledSlider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
2-
import styled from 'react-emotion';
2+
import styled from '@emotion/styled';
33
import transition from '../utils/transition';
44
import getHalf from '../utils/getHalf';
55

src/Progress/StyledProgress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
2-
import styled from 'react-emotion';
2+
import styled from '@emotion/styled';
33
import transition from '../utils/transition';
44
import getHalf from '../utils/getHalf';
55

0 commit comments

Comments
 (0)