├── .babelrc ├── .gitignore ├── .npmignore ├── Example ├── AnimatedSegmentControl │ ├── .buckconfig │ ├── .flowconfig │ ├── .gitattributes │ ├── .gitignore │ ├── .watchmanconfig │ ├── App.js │ ├── __tests__ │ │ └── App-test.js │ ├── android │ │ ├── app │ │ │ ├── BUCK │ │ │ ├── build.gradle │ │ │ ├── build_defs.bzl │ │ │ ├── proguard-rules.pro │ │ │ └── src │ │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ │ └── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── animatedsegmentcontrol │ │ │ │ │ ├── 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 │ │ ├── keystores │ │ │ ├── BUCK │ │ │ └── debug.keystore.properties │ │ └── settings.gradle │ ├── app.json │ ├── babel.config.js │ ├── index.js │ ├── ios │ │ ├── AnimatedSegmentControl-tvOS │ │ │ └── Info.plist │ │ ├── AnimatedSegmentControl-tvOSTests │ │ │ └── Info.plist │ │ ├── AnimatedSegmentControl.xcodeproj │ │ │ ├── project.pbxproj │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ ├── AnimatedSegmentControl-tvOS.xcscheme │ │ │ │ └── AnimatedSegmentControl.xcscheme │ │ ├── AnimatedSegmentControl │ │ │ ├── AppDelegate.h │ │ │ ├── AppDelegate.m │ │ │ ├── Base.lproj │ │ │ │ └── LaunchScreen.xib │ │ │ ├── Images.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ └── Contents.json │ │ │ │ └── Contents.json │ │ │ ├── Info.plist │ │ │ └── main.m │ │ └── AnimatedSegmentControlTests │ │ │ ├── AnimatedSegmentControlTests.m │ │ │ └── Info.plist │ ├── metro.config.js │ ├── package-lock.json │ ├── package.json │ └── yarn.lock └── screenshots │ └── segment-control.gif ├── README.md ├── index.js ├── package.json ├── src └── SegmentControl │ ├── Segment.js │ ├── index.js │ └── styles.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/.npmignore -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/.buckconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/.buckconfig -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/.flowconfig -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/.gitignore -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/App.js -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/__tests__/App-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/__tests__/App-test.js -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/BUCK -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/build.gradle -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/build_defs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/build_defs.bzl -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/java/com/animatedsegmentcontrol/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/java/com/animatedsegmentcontrol/MainActivity.java -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/java/com/animatedsegmentcontrol/MainApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/java/com/animatedsegmentcontrol/MainApplication.java -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/build.gradle -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/gradle.properties -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/gradlew -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/gradlew.bat -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/keystores/BUCK: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/keystores/BUCK -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/android/keystores/debug.keystore.properties -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'AnimatedSegmentControl' 2 | 3 | include ':app' 4 | -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/app.json -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/babel.config.js -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/index.js -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl-tvOS/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl-tvOS/Info.plist -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl-tvOSTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl-tvOSTests/Info.plist -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl.xcodeproj/xcshareddata/xcschemes/AnimatedSegmentControl-tvOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl.xcodeproj/xcshareddata/xcschemes/AnimatedSegmentControl-tvOS.xcscheme -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl.xcodeproj/xcshareddata/xcschemes/AnimatedSegmentControl.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl.xcodeproj/xcshareddata/xcschemes/AnimatedSegmentControl.xcscheme -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/AppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/AppDelegate.h -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/AppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/AppDelegate.m -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Base.lproj/LaunchScreen.xib -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Images.xcassets/Contents.json -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/Info.plist -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControl/main.m -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControlTests/AnimatedSegmentControlTests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControlTests/AnimatedSegmentControlTests.m -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/ios/AnimatedSegmentControlTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/ios/AnimatedSegmentControlTests/Info.plist -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/metro.config.js -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/package-lock.json -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/package.json -------------------------------------------------------------------------------- /Example/AnimatedSegmentControl/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/AnimatedSegmentControl/yarn.lock -------------------------------------------------------------------------------- /Example/screenshots/segment-control.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/Example/screenshots/segment-control.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/package.json -------------------------------------------------------------------------------- /src/SegmentControl/Segment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/src/SegmentControl/Segment.js -------------------------------------------------------------------------------- /src/SegmentControl/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/src/SegmentControl/index.js -------------------------------------------------------------------------------- /src/SegmentControl/styles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/src/SegmentControl/styles.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kusalshrestha/react-native-animated-segment-control/HEAD/yarn.lock --------------------------------------------------------------------------------