Skip to content

Commit

Permalink
Merge branch 'next'
Browse files Browse the repository at this point in the history
* next: (72 commits)
  Add normal "horizontal" exemple
  Fix rtl test not working anymore after switch to "translate" instead of "left"
  Switch from debounce to throttle so method is called at regular time (fix #166)
  Fix horizontal scrollbar not positionned properly in RTL mode
  Make sure to position scrollbar properly on init
  Update Babel and Rollup to latest versions
  Fix implementation of RAQ not performance efficient
  Add sourcemap generation to Rollup
  Do not call showScrollbar() when scrollbar already visible (avoids adding/cancelling settimeout on every scroll event)
  Use RAQ when animating for performances optimisation
  Use translate3d instead of top/left to avoid paint flashing
  Switch from bind to transform class properties syntax
  Add support for scroll on track (thanks Facebook Messenger for the trick :) )
  Add Bable transform-class-properties plugin so we can use the () => {} form and don't have to .bind() everything (easier for events adding/removal)
  Add Babel-eslint
  Lerna ≠ npm link!!!!!
  Travis plz
  Let try to update Yarn on Travis and Babel to latest version (build still fails...)
  Rename simplebar-react main output file
  Try a different way of importing modules as Travis doesn't find them
  ...
  • Loading branch information
Adrien Denat committed Jul 14, 2018
2 parents 393b004 + 960fb94 commit 81ed171
Show file tree
Hide file tree
Showing 96 changed files with 21,511 additions and 12,007 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

31 changes: 26 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
"es6": true
},
"extends": "eslint:recommended",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"sourceType": "module"
}
"sourceType": "module",
"ecmaVersion": 2018
},
"overrides": [
{
"files": [
"**/*.test?(.*).js"
],
"env": {
"jest": true,
"jest/globals": true
},
"globals": {
"page": true
},
"plugins": [
"jest"
]
}
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
.temp
dist
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9.5.0
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: node_js

before_install:
- npm i -g lerna

install:
- lerna bootstrap

script:
- yarn build
- yarn test

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
on:
branch: gh-pages
local-dir: packages/simplebar/demo
105 changes: 0 additions & 105 deletions dist/simplebar.css

This file was deleted.

17 changes: 0 additions & 17 deletions dist/simplebar.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/simplebar.js.map

This file was deleted.

14 changes: 0 additions & 14 deletions jest/cssTransform.js

This file was deleted.

6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"lerna": "2.11.0",
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
}
Loading

0 comments on commit 81ed171

Please sign in to comment.