Commit 280c3a3
merge next to master (#817)
* feat(iOS): change Fabric implementation to UIScrollView (#672)
* feat(iOS): change Fabric implementation to UIScrollView
* fix: fix offset values in vertical orientation
* feat: add initialPage props support
* feat: add RTL language support
* feat: add pageMargin prop support
* fix: fix typescript error
* feat: remove React.cloneElement
* feat(ios): add getPageOffset method
* fix: fix styles in old example
* fix: behavior on page remove
* chore: add GH actions (#680)
Co-authored-by: Piotr Trocki <piotr.trocki@callstack.com>
* feat(iOS): rewrite old arch to use UIScrollView (#681)
* feat: rewrite old arch to use UIScrollView
* feat: update example styles
* fix: sending event on scrollViewDidEndDecelerating
* feat: properly calculate width using orientation
* fix: change way of disabing scroll
* feat: rename to RNCPagerView
* fix: removing last page
* fix: remove unused properties, set animated
* chore: update release script
* Release 7.0.0-rc.0
* wip
* wip
* fabric example
* nit: comment
* make init consistent
* fix: multiple updates of frame and contentSize
* feat: add button to quickly switch layout direction
* sync with master (#756)
Co-authored-by: Piotr Trocki <piotr.trocki@callstack.com>
* chore: upgrade RN (paper example)
* chore: upgrade rn & fix issues (fabric example)
* chore: bump versions in package.json
* chore: fix eslint issue
* chore: exclude example from tsc
* feat(next): remove fabric example
* chore: update README
* fix broken overdrag on notch (#787)
Co-authored-by: Kuba Juszczyk <jakub.juszczyk@flipfit.com>
* feat(iOS): Add a `useLegacy` flag to switch between the old/new iOS implementation (#783)
* wip: unsuspicious changes
* wip: unsuspicious changes v2
* FABRIC NEW IMPL -> OLD IMPL
* wip: bring back useLegacy on the RN side
* wip: bring back duplicate types to fix codegen issues
* wip: remove #705 related code for now
* wip: old/new impl division first draft
* wip: old/new impl division continued
* wip: old/new impl v3
* wip: add a `LEGACY_` prefix to all legacy implementation-related symbols
* wip: fix styles for new implementation on Fabric
* wip: move old/new impl into separate folders
* wip: fix old impl fabric symbol names
* wip: xcode changes
* wip: clean up & unify the naming convention
* wip: fix linter issues
* wip: fix styles for new implementation on Paper
* wip: make Fabric example run on another port by default to make it possible to run both examples in parallel
* wip: implement an abstraction over native commands invocations to reduce branching
* refactor: remove the unnecessary value for boolean props
* fix: bump react-native-safe-area-context to a Fabric-enabled version
* feat: bring back & adjust the `bootstrap-fabric` script
* feat: adjust the home screen title depending on the used architecture
* chore: update example/Podfile.lock
* chore: update an Xcode project file after building
* ci: make next branch events trigger ios/android build workflows
* chore: remove commented-out code related to #705 for now
* chore: add legacy implementation explanation comment
* wip: Android fixes
* fix: unnecessary comma in MainActivity.java
* feat: readme makeover
* chore: bump react-native-screens & react-native-gesture-handler in example
* refactor(android): extract module name to shared variable, add comment for context
* chore: remove unnecessary yarn.lock deps
* chore(ios): bring back removed build flags
* chore(ios): remove unnecessary concurrentRootEnabled method
According to React Native Upgrade Helper, this method is to be removed when updating to RN 0.72:
https://react-native-community.github.io/upgrade-helper/?from=0.71.14&to=0.72.0#RnDiffApp-ios-RnDiffApp-AppDelegate.mm
* fix(android): adjust incorrect param type on Fabric
* chore: remove unnecessary tsconfig.json comment
* chore(ios): bring back (currently unused) code related to #712 and #705
* Release 7.0.0-rc.1
* fix(ios): fix freezing when navigating to same index (#804)
* Release 7.0.0-rc.2
* fix iOS issue
* Change Legacy basic example into the next basic example
* revert documentatation
---------
Co-authored-by: Kacper Rożniata <56474758+krozniata@users.noreply.github.com>
Co-authored-by: Piotr Trocki <piotr.trocki@callstack.com>
Co-authored-by: Oskar Kwaśniewski <oskarkwasniewski@icloud.com>
Co-authored-by: Nishan <nishanbende@gmail.com>
Co-authored-by: Kuba Juszczyk <juszczyk.jakub@gmail.com>
Co-authored-by: Kuba Juszczyk <jakub.juszczyk@flipfit.com>
Co-authored-by: Igor Bejnarowicz <igor.bejnarowicz@callstack.com>1 parent 0662c31 commit 280c3a3
File tree
48 files changed
+1943
-1774
lines changed- .github/workflows
- android/src
- fabric/java/com/reactnativepagerview
- main/java/com/reactnativepagerview
- paper/java/com/reactnativepagerview
- common/cpp/react/renderer/components/RNCViewPager
- example
- android
- app/src/main/java/com/pagerviewexample
- ios
- PagerViewExample.xcodeproj
- src
- ios
- Fabric
- LEGACY
- Fabric
- src
- LEGACY_PagerViewNativeComponent
- PagerViewNativeComponent
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+1943
-1774
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 50 | | |
57 | 51 | | |
58 | 52 | | |
| |||
76 | 70 | | |
77 | 71 | | |
78 | 72 | | |
| 73 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
176 | 181 | | |
177 | 182 | | |
178 | 183 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments