├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── example ├── .buckconfig ├── .editorconfig ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.tsx ├── __tests__ │ └── App-test.tsx ├── android │ ├── app │ │ ├── _BUCK │ │ ├── build.gradle │ │ ├── build_defs.bzl │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── rheostatexample │ │ │ │ └── ReactNativeFlipper.java │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── rheostatexample │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios │ ├── Podfile │ ├── rheostatExample.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── rheostatExample.xcscheme │ ├── rheostatExample │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ └── main.m │ └── rheostatExampleTests │ │ ├── Info.plist │ │ └── rheostatExampleTests.m ├── metro.config.js ├── package.json ├── screenshots │ ├── areaChartTwoHandles.gif │ ├── barChartTwoHandles.gif │ ├── fullExampleComp.gif │ ├── singleHandle.gif │ ├── styledComp.gif │ └── twoHandles.gif ├── tsconfig.json └── yarn.lock ├── package.json ├── src ├── algorithms │ └── linear.tsx ├── charts │ ├── AreaChart.tsx │ ├── BarChart.tsx │ └── types.tsx ├── components │ ├── DefaultHandler.tsx │ ├── DefaultProgressBar.tsx │ ├── styled-components.tsx │ └── styles.d.ts ├── constants │ └── SliderConstants.tsx ├── hoc │ └── withRheostat.tsx ├── index.tsx └── theme.tsx ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | android/ 2 | apple/ 3 | **/*.js 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | example 2 | .idea 3 | yarn.* -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/README.md -------------------------------------------------------------------------------- /example/.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/.buckconfig -------------------------------------------------------------------------------- /example/.editorconfig: -------------------------------------------------------------------------------- 1 | # Windows files 2 | [*.bat] 3 | end_of_line = crlf 4 | -------------------------------------------------------------------------------- /example/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | }; 5 | -------------------------------------------------------------------------------- /example/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/.gitattributes -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/.prettierrc.js -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/App.tsx -------------------------------------------------------------------------------- /example/__tests__/App-test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/__tests__/App-test.tsx -------------------------------------------------------------------------------- /example/android/app/_BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/_BUCK -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/build.gradle -------------------------------------------------------------------------------- /example/android/app/build_defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/build_defs.bzl -------------------------------------------------------------------------------- /example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/debug.keystore -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/debug/java/com/rheostatexample/ReactNativeFlipper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/debug/java/com/rheostatexample/ReactNativeFlipper.java -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/rheostatexample/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/java/com/rheostatexample/MainActivity.java -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/rheostatexample/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/java/com/rheostatexample/MainApplication.java -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/build.gradle -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/gradle.properties -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/gradlew -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/gradlew.bat -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/android/settings.gradle -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/app.json -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/index.js -------------------------------------------------------------------------------- /example/ios/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/Podfile -------------------------------------------------------------------------------- /example/ios/rheostatExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /example/ios/rheostatExample.xcodeproj/xcshareddata/xcschemes/rheostatExample.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample.xcodeproj/xcshareddata/xcschemes/rheostatExample.xcscheme -------------------------------------------------------------------------------- /example/ios/rheostatExample/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/AppDelegate.h -------------------------------------------------------------------------------- /example/ios/rheostatExample/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/AppDelegate.m -------------------------------------------------------------------------------- /example/ios/rheostatExample/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /example/ios/rheostatExample/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /example/ios/rheostatExample/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/Info.plist -------------------------------------------------------------------------------- /example/ios/rheostatExample/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/LaunchScreen.storyboard -------------------------------------------------------------------------------- /example/ios/rheostatExample/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExample/main.m -------------------------------------------------------------------------------- /example/ios/rheostatExampleTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExampleTests/Info.plist -------------------------------------------------------------------------------- /example/ios/rheostatExampleTests/rheostatExampleTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/ios/rheostatExampleTests/rheostatExampleTests.m -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/package.json -------------------------------------------------------------------------------- /example/screenshots/areaChartTwoHandles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/screenshots/areaChartTwoHandles.gif -------------------------------------------------------------------------------- /example/screenshots/barChartTwoHandles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/screenshots/barChartTwoHandles.gif -------------------------------------------------------------------------------- /example/screenshots/fullExampleComp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/screenshots/fullExampleComp.gif -------------------------------------------------------------------------------- /example/screenshots/singleHandle.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/screenshots/singleHandle.gif -------------------------------------------------------------------------------- /example/screenshots/styledComp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/screenshots/styledComp.gif -------------------------------------------------------------------------------- /example/screenshots/twoHandles.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/screenshots/twoHandles.gif -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/package.json -------------------------------------------------------------------------------- /src/algorithms/linear.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/algorithms/linear.tsx -------------------------------------------------------------------------------- /src/charts/AreaChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/charts/AreaChart.tsx -------------------------------------------------------------------------------- /src/charts/BarChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/charts/BarChart.tsx -------------------------------------------------------------------------------- /src/charts/types.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/charts/types.tsx -------------------------------------------------------------------------------- /src/components/DefaultHandler.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/components/DefaultHandler.tsx -------------------------------------------------------------------------------- /src/components/DefaultProgressBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/components/DefaultProgressBar.tsx -------------------------------------------------------------------------------- /src/components/styled-components.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/components/styled-components.tsx -------------------------------------------------------------------------------- /src/components/styles.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/components/styles.d.ts -------------------------------------------------------------------------------- /src/constants/SliderConstants.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/constants/SliderConstants.tsx -------------------------------------------------------------------------------- /src/hoc/withRheostat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/hoc/withRheostat.tsx -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/theme.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/src/theme.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DrChai/react-native-rheostat/HEAD/yarn.lock --------------------------------------------------------------------------------