File tree Expand file tree Collapse file tree 10 files changed +27
-27
lines changed
ios/reactnativeuilib/keyboardtrackingview Expand file tree Collapse file tree 10 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 1818 "light-date" : " ^1.2.0"
1919 },
2020 "devDependencies" : {
21- "react-native-ui-lib" : " 7.46.3-snapshot.7426 " ,
21+ "react-native-ui-lib" : " 8.0.0 " ,
2222 "shell-utils" : " ^1.0.10"
2323 },
2424 "peerDependencies" : {
Original file line number Diff line number Diff line change 4848 "react-dom" : " 18.3.1" ,
4949 "react-native-linear-gradient" : " 2.6.2" ,
5050 "react-native-shimmer-placeholder" : " ^2.0.9" ,
51- "react-native-ui-lib" : " 7.46.3-snapshot.7426 " ,
51+ "react-native-ui-lib" : " 8.0.0 " ,
5252 "shell-utils" : " ^1.0.10" ,
5353 "typescript" : " ~5.2.2"
5454 },
Original file line number Diff line number Diff line change @@ -11293,9 +11293,9 @@ __metadata:
1129311293 languageName : node
1129411294 linkType : hard
1129511295
11296- " react-native-ui-lib@npm:7.46.3-snapshot.7426 " :
11297- version : 7.46.3-snapshot.7426
11298- resolution : " react-native-ui-lib@npm:7.46.3-snapshot.7426 "
11296+ " react-native-ui-lib@npm:8.0.0 " :
11297+ version : 8.0.0
11298+ resolution : " react-native-ui-lib@npm:8.0.0 "
1129911299 dependencies :
1130011300 babel-plugin-transform-inline-environment-variables : ^0.0.2
1130111301 color : ^3.1.0
@@ -11318,8 +11318,8 @@ __metadata:
1131811318 react-native-gesture-handler : " >=2.24.0"
1131911319 react-native-reanimated : " >=3.17.5"
1132011320 react-native-ui-lib : " *"
11321- uilib-native : 5.0.0-snapshot.7390
11322- checksum : 3505464044b97fa9c35525fa54063e6a4f9ad116baa4e7a50718e6bb468eaf2b318fb1dbbe8a715859da0a1249f8b3f0c0211e192676e8c61eac7ff4f4f84726
11321+ uilib-native : 5.0.0
11322+ checksum : fbed64ac48b08ecd79f5c45f0ab4fd4faaf276ea6ede3860c5694a3ee3f5f29c3e93eb949e200957f6cfdea2e9bffee61bfc5b2a485f78cbaf86ed38a5763e08
1132311323 languageName : node
1132411324 linkType : hard
1132511325
@@ -13187,7 +13187,7 @@ __metadata:
1318713187 react-html-parser : ^2.0.2
1318813188 react-native-linear-gradient : 2.6.2
1318913189 react-native-shimmer-placeholder : ^2.0.9
13190- react-native-ui-lib : 7.46.3-snapshot.7426
13190+ react-native-ui-lib : 8.0.0
1319113191 react-native-web : ^0.19.12
1319213192 sass : ^1.39.0
1319313193 shell-utils : ^1.0.10
Original file line number Diff line number Diff line change 2727 "react-native-screens" : " ~3.20.0" ,
2828 "react-native-svg" : " 15.11.2" ,
2929 "react-native-svg-transformer" : " 1.5.0" ,
30- "react-native-ui-lib" : " 7.46.3-snapshot.7426 " ,
30+ "react-native-ui-lib" : " 8.0.0 " ,
3131 "react-native-web" : " ~0.18.12" ,
32- "unicorn-demo-app" : " 7.46.3-snapshot.7426 "
32+ "unicorn-demo-app" : " 8.0.0 "
3333 },
3434 "devDependencies" : {
3535 "@babel/core" : " ^7.25.2" ,
Original file line number Diff line number Diff line change @@ -207,7 +207,9 @@ - (void)initializeAccessoryViewsAndHandleInsets
207207 {
208208 if (_scrollViewToManage == nil )
209209 {
210- if ([NSStringFromClass ([subview class ]) isEqualToString: @" RCTScrollViewComponentView" ]) {
210+ if ([NSStringFromClass ([subview class ]) isEqualToString: @" RCTScrollViewComponentView" ] &&
211+ subview.superview != self) {
212+
211213 UIScrollView *scrollView = [self extractUIScrollView: subview];
212214
213215 if ([scrollView isKindOfClass: [UIScrollView class ]])
@@ -434,9 +436,7 @@ - (NSArray*)getAllReactSubviewsForView:(UIView*)view
434436
435437- (void )_updateScrollViewInsets
436438{
437- // Because our view is now being transformed inside it's superview (from RN77 it inherited a RCTLegacyViewManagerInteropComponentView as superview) we no longer need the scrollview to also update because it's inside our view
438- return ;
439- /* if(self.scrollViewToManage != nil)
439+ if (self.scrollViewToManage != nil )
440440 {
441441 UIEdgeInsets insets = self.scrollViewToManage .contentInset ;
442442 CGFloat bottomSafeArea = [self getBottomSafeArea ];
@@ -483,7 +483,7 @@ - (void)_updateScrollViewInsets
483483 insets.bottom = bottomInset;
484484 }
485485 self.scrollViewToManage .scrollIndicatorInsets = insets;
486- }*/
486+ }
487487}
488488
489489#pragma mark - bottom view
Original file line number Diff line number Diff line change 11{
22 "name" : " uilib-native" ,
3- "version" : " 5.0.0 " ,
3+ "version" : " 5.0.1 " ,
44 "homepage" : " https://github.com/wix/react-native-ui-lib" ,
55 "description" : " uilib native components (separated from js components)" ,
66 "main" : " components/index" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-ui-lib" ,
3- "version" : " 7 .0.0" ,
3+ "version" : " 8 .0.0" ,
44 "main" : " src/index.ts" ,
55 "types" : " src/index.d.ts" ,
66 "author" :
" Ethan Sharabi <[email protected] >" ,
129129 "setimmediate" : " ^1.0.5" ,
130130 "shell-utils" : " ^1.0.10" ,
131131 "typescript" : " 5.0.4" ,
132- "uilib-native" : " 5.0.0 "
132+ "uilib-native" : " 5.0.1 "
133133 },
134134 "peerDependencies" : {
135135 "react" : " >=18.3.1" ,
136136 "react-native" : " >=0.77.3" ,
137137 "react-native-gesture-handler" : " >=2.24.0" ,
138138 "react-native-reanimated" : " >=3.17.5" ,
139139 "react-native-ui-lib" : " *" ,
140- "uilib-native" : " 5.0.0 "
140+ "uilib-native" : " ^ 5.0.1 "
141141 },
142142 "jest" : {
143143 "preset" : " react-native" ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const Toast = (props: PropsWithChildren<ToastProps>) => {
2929 icon,
3030 iconColor,
3131 preset,
32- zIndex = Constants . isAndroid ? 100 : undefined ,
32+ zIndex = 100 ,
3333 elevation,
3434 style,
3535 containerStyle,
Original file line number Diff line number Diff line change 2828 "react-native-shimmer-placeholder" : " ^2.0.8" ,
2929 "react-native-svg" : " 15.11.2" ,
3030 "react-native-svg-transformer" : " 1.5.0" ,
31- "react-native-ui-lib" : " 7.46.3-snapshot.7426 " ,
31+ "react-native-ui-lib" : " 8.0.0 " ,
3232 "react-native-web" : " ^0.18.6" ,
3333 "typescript" : " ^4.4.2"
3434 },
Original file line number Diff line number Diff line change @@ -9777,7 +9777,7 @@ __metadata:
97779777 shell-utils : ^1.0.10
97789778 tinycolor2 : ^1.4.2
97799779 typescript : 5.0.4
9780- uilib-native : 5.0.0
9780+ uilib-native : 5.0.1
97819781 url-parse : ^1.2.0
97829782 wix-react-native-text-size : 1.0.9
97839783 peerDependencies :
@@ -9786,7 +9786,7 @@ __metadata:
97869786 react-native-gesture-handler : " >=2.24.0"
97879787 react-native-reanimated : " >=3.17.5"
97889788 react-native-ui-lib : " *"
9789- uilib-native : 5.0.0
9789+ uilib-native : ^ 5.0.1
97909790 languageName : unknown
97919791 linkType : soft
97929792
@@ -11344,16 +11344,16 @@ __metadata:
1134411344 languageName : node
1134511345 linkType : hard
1134611346
11347- " uilib-native@npm:5.0.0 " :
11348- version : 5.0.0
11349- resolution : " uilib-native@npm:5.0.0 "
11347+ " uilib-native@npm:5.0.1 " :
11348+ version : 5.0.1
11349+ resolution : " uilib-native@npm:5.0.1 "
1135011350 dependencies :
1135111351 lodash : ^4.17.21
1135211352 prop-types : ^15.5.10
1135311353 peerDependencies :
1135411354 react : " >=18.3.1"
1135511355 react-native : " >=0.77.3"
11356- checksum : 2f8c8eec6957c21be3c67f83bb8e73b6d4e6fd94afb066c3ae28a38c7c46930f24783922d1ea53f090e810eeea31337b21b7fddf4a84b3d853ca936c498dc570
11356+ checksum : d8b063c9915208dc0230dc3708c65095b3eef0ad4bf3ee41606814ee005e03fcc98f988a0ddbc400fe8f12a218bbfcb119d10bba6aa5e851c219729cd401e940
1135711357 languageName : node
1135811358 linkType : hard
1135911359
You can’t perform that action at this time.
0 commit comments