-
Notifications
You must be signed in to change notification settings - Fork 741
Picker - migrate prop deprecation end #3737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
M-i-k-e-l
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adids1221 please add docs to https://wix.github.io/react-native-ui-lib/docs/getting-started/v8
|
@M-i-k-e-l you assigned me without any comment ? |
It was pending, look at the PM and improve the docs please |
…Picker components
…recated props and updating value handling
…fy label handling
docs/getting-started/v8.md
Outdated
| - `getItemValue` - Removed (value extraction is now automatic from `item.value`) | ||
| - `getItemLabel` - Removed (label extraction is now automatic from `item.label`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe: "Use item.<X> to get <X>"
* Remove old dialog * Move Incubator.Dialog to Dialog * Remove PanGestureView * Remove PanDismissibleView * Remove PanResponderView * Remove PanListenerView * Remove PanningProvider * Remove asPanViewConsumer * Remove PanningContext * Promote PanView and hooks from Incubator to standard components * Fix category * Add v8 doc * Move PanViewScreen and sort a little * Add StackAggregator doc (#3745) * Remove SharedTransition * StackAggregator - several fixes * Picker - migrate prop deprecation end (#3737) * Remove deprecated 'migrate' prop and related migration code from Picker component * refactor: PickerItem removed itemValue * docs: update Picker documentation to remove `migrate` prop and clarify value format * refactor: remove deprecated getItemLabel and getItemValue props from Picker components * refactor: simplify Picker API and enhance type safety by removing deprecated props and updating value handling * refactor: remove getItemLabel usage from Picker components and simplify label handling * docs: update Picker migration notes * refactor: remove unused getItemValue/Label --------- Co-authored-by: Miki Leib <[email protected]> * Upgrade to react native 0.76.9 (#3720) * Upgrade to react native 0.76.9 Some errors in native code that I did not want to commit fixes just yet docuilib has issues (hopefully will be solved in 0.77.2 * Downgrading reanimated and gesture handler * Fix snapshot * Fix TS --------- Co-authored-by: Inbal Tish <[email protected]> * RN77 new arch (#3721) * Upgrade to react native 0.76.9 Some errors in native code that I did not want to commit fixes just yet docuilib has issues (hopefully will be solved in 0.77.2 * RN77 upgrade + new arch Android runs (still need to fix native) | iOS red screen | docuilib still has errors * Remove TextInputDelKeyHandlerPackage (Android) * KeyboardAccessoryView on Android - fix crash (one bug left) Pressing on dismiss (x) only fully works the second time * Pressing on dismiss (x) only fully works the second time - a very complex fix * Remove unused code * HighlighterViewManager - fix (use new API) * Fix gesture handler changed style * Fix images (unrelated) * Fix PanViewScreen (unrelated) * Fix dragging in SortableList and SortableGridList * Update navigation * Change iOS back to Objective-C * Fix screen - border color * Revert to older reanimated and gesture-handler versions * Drawer - fix animation flickering * Remove comment * StackAggregator - several fixes - see #3210 * Drawer - fix color not being shown with multiple buttons (RectButton bug) * Fix * Downgrading reanimated and gesture handler * Fix * Fix iOS (setimmediate) * remove UIManager.setLayoutAnimationEnabledExperimental * Update RNN * Fix snapshot * Fix TS * Fix TS * Fix snapshot * Native lib reorder and fix ios (#3750) * Native lib - reorganize components in folders for convenience + bump version to 5.0.0 * pointing to index * revert naming change * fix api files * rename HighlighterOverlay web * Moving sub components to the parent * fix api file and move KeyboardUtils outside folder * Revert "fix api file and move KeyboardUtils outside folder" This reverts commit ff64327. * fix api json * fix folder name to match component name * remove specs * fix highligther view native registration * fix for SafeAreaSpacerView * fix types * fix for KeyboardTrackingView * trying to fix failed CI build * SafeAreaSpacesView - moving to react implementation using native SafeAreaManager * manager changes * fix safe area * fix SafeAreaSpacerView again * removing logs * Fix highlightViewTag type * Fix TS error * Typescript fixes \ revert * Revert --------- Co-authored-by: Miki Leib <[email protected]> Co-authored-by: M-i-k-e-l <[email protected]> * KeyboardAwareBase - fix error * Fix menu - "native" tag should show all (and only) native components * Update uilib-native to snapshot * Fix tests * Update uilib-native to snapshot * Fix TS error and web type * Change from codegenNativeComponent to requireNativeComponent in order to fix error after transpilation (#3768) * Change from codegenNativeComponent to requireNativeComponent * Update snapshot * Revert, move to specs and publish the typescript vesion (#3769) * Another try * Do not transpile specs * Another one * Update snapshot * SafeAreaSpacerView - fix race condition and a small refactor (#3770) * SafeAreaSpacerView - fix race condition and a small refactor * Update snapshot * Remove extra backgroundColor --------- Co-authored-by: Inbal Tish <[email protected]> Co-authored-by: Inbal Tish <[email protected]> * Rn77 new arch fixes 2 (#3772) * Fix Constants.statusBarHeight on iOS * SafeAreaInsetsManager - add tests and small fixes * Fix typo * Fix type * Update iOS' project * Fix reanimated interaction with RN's Modal on Android * Remove (unused) AppDelegate.swift * Update react-native-navigation * Upgrade @react-native-community/datetimepicker (known issue in iOS) * UI-LIB scrollview fix for new arch #3775 (#3775) * Revert "UI-LIB scrollview fix for new arch" This reverts commit 083661c. * UI-LIB scrollview fix for new arch #3775 (#3776) * UI-LIB scrollview fix for new arch #3775 * Update snapshot --------- Co-authored-by: M-i-k-e-l <[email protected]> * Allow overriding includeHiddenElements in (some) drivers * Change some insets to consts --------- Co-authored-by: Mark de Vocht <[email protected]> Co-authored-by: mark.dev <[email protected]> * Support includeHiddenElements in text * Update RNN to 8.1.2 and workaround for DateTimePicker's issue on iOS * UI-LIB Custom keyboard fix #3779 (#3787) * Update uilib-native to 7266 (fix AccessoryView and TrackingView) * chore(dependencies): update react-native-reanimated to 3.17.5 (#3803) * chore(dependencies): update react-native peer dependency to 0.77.0 (#3804) * chore(dependencies): update react-native-reanimated to 3.17.5 * chore(dependencies): update react-native peer dependency to 0.77.0 * yarn dedupe * Align reanimated and react-native-linear-gradient * Fix webDemo * Update to 0.77.3 and align * Prettify * AnimatedImage - use useEffect instead of onLoadStart (#3806) * AnimatedImage - use useEffect instead of onLoadStart * Fix snapshot * Replace nonexistent image * Fix test * Update snapshots * Update uilib-native to 5.0.0-snapshot.7358 * Text - fix text default alignment (#3815) * Text - fix text default alignment * Fix tests * Add docs * Add iOS to doc * Update TODO * Image - fix showing errorSource when source is undefined (iOS) (#3820) * Move uilib-native to peerDependencies (#3819) * Move logs to terminal (add --client-logs) (#3821) * AnimatedImage - use useEffect instead of onLoadStart - revert for Android (#3823) * Keyboard Accessory View not appearing at right position (#3824) * Removal of RNNAppDelegate for public repo (#3825) * Remove auto-linking from react-native-ui-lib It is not needed as uilib-native is a peerDependency * Update uilib-native snapshot * Update uilib-native docs * Dialog - add disableAnimation (#3826) * TabController - fix touch events not triggered on real Android device when scrolling with zIndex change (#3829) * TabController - fix touch events not triggered on real Android device when scrolling with zIndex change * Do not return null, use opacity\zIndex in a regular style * Improve the comment * Fix warning (#3831) * Fix warning * fix: Update Hint component snapshots by removing unused props * ts ignore --------- Co-authored-by: adids1221 <[email protected]> * MADS-4855 ConnectedKeyboardAcc tracks incorrectly (#3830) * Infra/slider error improve data (#3836) * Slider (old) - allow equal values * Slider (incubator) - improve error * Remove Dialog from the Incubator package (#3837) * Remove Dialog from the Incubator package 2 * Fix docs and web (#3838) * Update version to 8 --------- Co-authored-by: Adi Mordo <[email protected]> Co-authored-by: Inbal Tish <[email protected]> Co-authored-by: Inbal Tish <[email protected]> Co-authored-by: Mark de Vocht <[email protected]> Co-authored-by: mark.dev <[email protected]> Co-authored-by: Nitzan Yizhar <[email protected]> Co-authored-by: Nikita Shavit <[email protected]>
Description
Picker -
migrate, getItemLabel, getItemLabelprop deprecation end, remove themigrate, getItemLabel, getItemLabelprop from component usage.Based on #3718
Changelog
Picker -
migrate, getItemLabel, getItemLabelprop deprecation end.Additional info
MADS-4195