Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation indicator and deprecation notes standardization #1493

Merged
merged 3 commits into from Feb 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/alertios.md
@@ -1,9 +1,9 @@
---
id: alertios
title: AlertIOS
title: 馃毀 AlertIOS
---

> **Deprecated.** `AlertIOS` has been moved to [`Alert`](alert.md)
> **Deprecated.** Use [`Alert`](alert.md) instead.

`AlertIOS` provides functionality to create an iOS alert dialog with a message or create a prompt for user input.

Expand Down
4 changes: 2 additions & 2 deletions docs/asyncstorage.md
@@ -1,9 +1,9 @@
---
id: asyncstorage
title: AsyncStorage
title: 馃毀 AsyncStorage
---

> **Deprecated.** Use [react-native-community/react-native-async-storage](https://github.com/react-native-community/react-native-async-storage) instead.
> **Deprecated.** Use [@react-native-community/async-storage](https://github.com/react-native-community/react-native-async-storage) instead.

`AsyncStorage` is an unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

Expand Down
6 changes: 3 additions & 3 deletions docs/datepickerandroid.md
@@ -1,11 +1,11 @@
---
id: datepickerandroid
title: DatePickerAndroid
title: 馃毀 DatePickerAndroid
---

Opens the standard Android date picker dialog.
> **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead.

> `DatePickerAndroid` has been merged with `DatePickerIOS` and `TimePickerAndroid` into a single component called [DateTimePicker](https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker) and will be removed in a future release.
Opens the standard Android date picker dialog.

### Example

Expand Down
6 changes: 3 additions & 3 deletions docs/datepickerios.md
@@ -1,11 +1,11 @@
---
id: datepickerios
title: DatePickerIOS
title: 馃毀 DatePickerIOS
---

Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is a controlled component, so you must hook in to the `onDateChange` callback and update the `date` prop in order for the component to update, otherwise the user's change will be reverted immediately to reflect `props.date` as the source of truth.
> **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead.

> `DatePickerIOS` has been merged with `TimePickerAndroid` and `DatePickerAndroid` into a single component called [DateTimePicker](https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker) and will be removed in a future release.
Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is a controlled component, so you must hook in to the `onDateChange` callback and update the `date` prop in order for the component to update, otherwise the user's change will be reverted immediately to reflect `props.date` as the source of truth.

### Example

Expand Down
2 changes: 1 addition & 1 deletion docs/imageeditor.md
@@ -1,6 +1,6 @@
---
id: imageeditor
title: ImageEditor
title: 馃毀 ImageEditor
---

> **Deprecated.** Use [@react-native-community/image-editor](https://github.com/react-native-community/react-native-image-editor) instead.
Expand Down
2 changes: 1 addition & 1 deletion docs/imagepickerios.md
@@ -1,6 +1,6 @@
---
id: imagepickerios
title: ImagePickerIOS
title: 馃毀 ImagePickerIOS
---

> **Deprecated.** Use [@react-native-community/image-picker-ios](https://github.com/react-native-community/react-native-image-picker-ios) instead.
Expand Down
2 changes: 1 addition & 1 deletion docs/pickerios.md
@@ -1,6 +1,6 @@
---
id: pickerios
title: PickerIOS
title: 馃毀 PickerIOS
---

> **Deprecated.** Use [Picker](picker.md) instead.
Expand Down
4 changes: 3 additions & 1 deletion docs/progressbarandroid.md
@@ -1,8 +1,10 @@
---
id: progressbarandroid
title: ProgressBarAndroid
title: 馃毀 ProgressBarAndroid
---

> **Deprecated.** Use [@react-native-community/progress-bar-android](https://github.com/react-native-community/react-native-progress-bar-android) instead.

Android-only React component used to indicate that the app is loading or there is some activity in the app.

Example:
Expand Down
4 changes: 3 additions & 1 deletion docs/progressviewios.md
@@ -1,8 +1,10 @@
---
id: progressviewios
title: ProgressViewIOS
title: 馃毀 ProgressViewIOS
---

> **Deprecated.** Use [@react-native-community/progress-view](https://github.com/react-native-community/react-native-progress-view) instead.

Uses `ProgressViewIOS` to render a UIProgressView on iOS.

---
Expand Down
2 changes: 1 addition & 1 deletion docs/pushnotificationios.md
@@ -1,6 +1,6 @@
---
id: pushnotificationios
title: PushNotificationIOS
title: 馃毀 PushNotificationIOS
---

> **Deprecated.** Use [@react-native-community/push-notification-ios](https://github.com/react-native-community/react-native-push-notification-ios) instead.
Expand Down
4 changes: 2 additions & 2 deletions docs/segmentedcontrolios.md
@@ -1,9 +1,9 @@
---
id: segmentedcontrolios
title: SegmentedControlIOS
title: 馃毀 SegmentedControlIOS
---

> **Deprecated.** Use [@react-native-community/react-native-segmented-control](https://github.com/react-native-community/react-native-segmented-control) instead.
> **Deprecated.** Use [@react-native-community/segmented-control](https://github.com/react-native-community/react-native-segmented-control) instead.

Uses `SegmentedControlIOS` to render a UISegmentedControl iOS.

Expand Down
4 changes: 2 additions & 2 deletions docs/slider.md
@@ -1,9 +1,9 @@
---
id: slider
title: Slider
title: 馃毀 Slider
---

> **Deprecated.** Use [react-native-community/react-native-slider](https://github.com/react-native-community/react-native-slider) instead.
> **Deprecated.** Use [@react-native-community/slider](https://github.com/react-native-community/react-native-slider) instead.

A component used to select a single value from a range of values.

Expand Down
4 changes: 2 additions & 2 deletions docs/statusbarios.md
@@ -1,8 +1,8 @@
---
id: statusbarios
title: StatusBarIOS
title: 馃毀 StatusBarIOS
---

> Use `StatusBar` for mutating the status bar.
> **Deprecated.** Use [`StatusBar`](statusbar.md) for mutating the status bar.

---
6 changes: 3 additions & 3 deletions docs/timepickerandroid.md
@@ -1,11 +1,11 @@
---
id: timepickerandroid
title: TimePickerAndroid
title: 馃毀 TimePickerAndroid
---

Opens the standard Android time picker dialog.
> **Deprecated.** Use [@react-native-community/datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) instead.

> `TimePickerAndroid` has been merged with `DatePickerIOS` and `DatePickerAndroid` into a single component called [DateTimePicker](https://github.com/react-native-community/react-native-datetimepicker#react-native-datetimepicker) and will be removed in a future release.
Opens the standard Android time picker dialog.

### Example

Expand Down
4 changes: 2 additions & 2 deletions docs/viewpagerandroid.md
@@ -1,9 +1,9 @@
---
id: viewpagerandroid
title: ViewPagerAndroid
title: 馃毀 ViewPagerAndroid
---

> **Deprecated.** Use [react-native-community/react-native-viewpager](https://github.com/react-native-community/react-native-viewpager) instead.
> **Deprecated.** Use [@react-native-community/viewpager](https://github.com/react-native-community/react-native-viewpager) instead.

Container that allows to flip left and right between child views. Each child view of the `ViewPagerAndroid` will be treated as a separate page and will be stretched to fill the `ViewPagerAndroid`.

Expand Down
30 changes: 15 additions & 15 deletions website/i18n/en.json
Expand Up @@ -21,7 +21,7 @@
"title": "Alert"
},
"alertios": {
"title": "AlertIOS"
"title": "馃毀 AlertIOS"
},
"animated": {
"title": "Animated"
Expand All @@ -45,7 +45,7 @@
"title": "AppState"
},
"asyncstorage": {
"title": "AsyncStorage"
"title": "馃毀 AsyncStorage"
},
"backhandler": {
"title": "BackHandler"
Expand Down Expand Up @@ -81,10 +81,10 @@
"title": "Custom WebView"
},
"datepickerandroid": {
"title": "DatePickerAndroid"
"title": "馃毀 DatePickerAndroid"
},
"datepickerios": {
"title": "DatePickerIOS"
"title": "馃毀 DatePickerIOS"
},
"debugging": {
"title": "Debugging"
Expand Down Expand Up @@ -141,10 +141,10 @@
"title": "ImageBackground"
},
"imageeditor": {
"title": "ImageEditor"
"title": "馃毀 ImageEditor"
},
"imagepickerios": {
"title": "ImagePickerIOS"
"title": "馃毀 ImagePickerIOS"
},
"images": {
"title": "Images"
Expand Down Expand Up @@ -234,7 +234,7 @@
"title": "Picker"
},
"pickerios": {
"title": "PickerIOS"
"title": "馃毀 PickerIOS"
},
"pixelratio": {
"title": "PixelRatio"
Expand All @@ -243,16 +243,16 @@
"title": "Platform Specific Code"
},
"progressbarandroid": {
"title": "ProgressBarAndroid"
"title": "馃毀 ProgressBarAndroid"
},
"progressviewios": {
"title": "ProgressViewIOS"
"title": "馃毀 ProgressViewIOS"
},
"props": {
"title": "Props"
},
"pushnotificationios": {
"title": "PushNotificationIOS"
"title": "馃毀 PushNotificationIOS"
},
"refreshcontrol": {
"title": "RefreshControl"
Expand All @@ -276,7 +276,7 @@
"title": "SectionList"
},
"segmentedcontrolios": {
"title": "SegmentedControlIOS"
"title": "馃毀 SegmentedControlIOS"
},
"settings": {
"title": "Settings"
Expand All @@ -291,7 +291,7 @@
"title": "Publishing to Google Play Store"
},
"slider": {
"title": "Slider"
"title": "馃毀 Slider"
},
"state": {
"title": "State"
Expand All @@ -300,7 +300,7 @@
"title": "StatusBar"
},
"statusbarios": {
"title": "StatusBarIOS"
"title": "馃毀 StatusBarIOS"
},
"style": {
"title": "Style"
Expand All @@ -324,7 +324,7 @@
"title": "TextInput"
},
"timepickerandroid": {
"title": "TimePickerAndroid"
"title": "馃毀 TimePickerAndroid"
},
"timers": {
"title": "Timers"
Expand Down Expand Up @@ -378,7 +378,7 @@
"title": "View"
},
"viewpagerandroid": {
"title": "ViewPagerAndroid"
"title": "馃毀 ViewPagerAndroid"
},
"virtualizedlist": {
"title": "VirtualizedList"
Expand Down