File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1+ node_modules /
Original file line number Diff line number Diff line change 11[ ![ Build Status] ( https://travis-ci.org/icd2k3/react-scroll-into-view-if-needed.svg?branch=master )] ( https://travis-ci.org/icd2k3/react-scroll-into-view-if-needed )
22[ ![ Coverage Status] ( https://coveralls.io/repos/github/icd2k3/react-scroll-into-view-if-needed/badge.svg )] ( https://coveralls.io/github/icd2k3/react-scroll-into-view-if-needed )
3- [ ![ dependencies Status] ( https://david-dm.org/icd2k3/react-scroll-into-view-if-needed/status.svg )] ( https://david-dm.org/icd2k3/react-scroll-into-view-if-needed )
43
54## Description
65
Original file line number Diff line number Diff line change 11{
22 "name" : " react-scroll-into-view-if-needed" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " A thin component wrapper around scroll-into-view-if-needed" ,
55 "main" : " dist/umd/index.js" ,
66 "module" : " dist/es/index.js" ,
77 "repository" : " git@github.com:icd2k3/react-scroll-into-view-if-needed.git" ,
8- "author" : " JUSTIN SCHRADER <icd2k3@gmail.com>" ,
8+ "author" : " Justin Schrader <icd2k3@gmail.com>" ,
9+ "keywords" : [
10+ " react" ,
11+ " scroll-into-view-if-needed" ,
12+ " scroll" ,
13+ " scrolling"
14+ ],
915 "license" : " MIT" ,
1016 "peerDependencies" : {
1117 "prop-types" : " ^15.6.1" ,
1218 "react" : " ^16.0.0"
1319 },
14- "dependencies" : {
15- "scroll-into-view-if-needed" : " ^1.5.0"
16- },
20+ "dependencies" : {},
1721 "devDependencies" : {
1822 "babel-cli" : " ^6.26.0" ,
1923 "babel-core" : " ^6.26.0" ,
3943 "rollup" : " ^0.58.1" ,
4044 "rollup-plugin-babel" : " ^3.0.3" ,
4145 "rollup-plugin-commonjs" : " ^9.1.0" ,
42- "rollup-plugin-node-resolve" : " ^3.3.0"
46+ "rollup-plugin-node-resolve" : " ^3.3.0" ,
47+ "scroll-into-view-if-needed" : " ^1.5.0"
4348 },
4449 "scripts" : {
4550 "build" : " rollup -c && cross-env BUILD_TYPE=standalone rollup -c" ,
Original file line number Diff line number Diff line change 11import { createElement , createRef , PureComponent } from 'react' ;
22import PropTypes from 'prop-types' ;
3+ // eslint-disable-next-line import/no-extraneous-dependencies
34import scrollIntoViewIfNeeded from 'scroll-into-view-if-needed' ;
45
56export default class ScrollIntoViewIfNeeded extends PureComponent {
You can’t perform that action at this time.
0 commit comments