97 Commits

Author SHA1 Message Date
James Ide
ac0ad3acdd [TextInput] returnKeyType, enablesReturnKeyAutomatically, secureTextEntry, more keyboardTypes
Summary:
This diff completes adding support for the following UITextField properties:

- returnKeyType: what the return key on the keyboard says
- enablesReturnKeyAutomatically: the return key is disabled iff there is no text entered. This too could be implemented in React but it feels better in UIKit right now because it is handled synchronously.
- secureTextEntry: obscure passwords
- keyboardType: added all the keyboard types, they are useful in different scenarios

There were varying degrees of support for these properties so it looks like this diff continues some unfinished work. I also updated the keyboardType enum to use native constants instead of strings like the other properties here.

Added examples to the UIExplorer.
Closes https://github.com/facebook/react-native/pull/265
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-30 18:13:30 -08:00
Nick Lockwood
a2cfc5feca Changed LayoutAnimation to use ms instead of seconds for consistency 2015-03-30 06:31:42 -08:00
Nick Lockwood
961f301d65 Renamed throttleScrollCallbackMS to scrollEventThrottle 2015-03-30 04:56:59 -08:00
Radu Marin
5865cfa956 [iOS][Assets]: Cleaning up more 1x png from Libraries 2015-03-29 11:42:30 -08:00
Amjad Masad
c94f7c3656 [React Native] Sync from github 2015-03-27 22:09:11 -08:00
Tadeu Zagallo
0fdf8b4a95 [ReactNative] Use one key and add comment on the movies app 2015-03-27 15:33:26 -08:00
Alex Kotliarskyi
edff192c9e [ReactNative] Make it easier to generate offline bundles 2015-03-27 09:31:24 -08:00
Nick Lockwood
698988017c Added support for text padding 2015-03-27 09:21:27 -08:00
Leonardo YongUk Kim
701dd1f9b4 Fix sourceTree of RCTActionSheet.xcodeproj
Summary:
`File not found` occurs in AppCode.

`sourceTree` of `RCTActionSheet.xcodeproj` is `<absolute>`. Because path is `../../Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj`, that sourceTree is wrong.

Closes #338
Closes https://github.com/facebook/react-native/pull/344
Github Author: Leonardo YongUk Kim <dalinaum@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-27 07:46:57 -08:00
Krzysztof Magiera
02ff4955fd [react_native] Update default bundle name to org.reactjs.native.* 2015-03-26 11:01:52 -08:00
Alex Kotliarskyi
d88716fba8 [ReactNative] UIViewControllerBasedStatusBarAppearance = NO in SampleApp 2015-03-26 07:25:19 -08:00
Eric Vicenti
2448946a7e [ReactNative] Navigator Example Overhaul 2015-03-26 05:58:38 -08:00
Tadeu Zagallo
20291a02df [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
Nick Lockwood
330c1abbff [React Native] [FRC - Don't accept] View border support 2015-03-26 01:32:26 -08:00
Eric Vicenti
5b8aad5fdc [ReactNative] License headers and renaming 2015-03-26 00:34:14 -08:00
Tadeu Zagallo
558b8c65e0 [ReactNative] s/ReactNavigator/Navigator/ 2015-03-25 20:20:57 -08:00
Tadeu Zagallo
8679c0bc96 [ReactNative] Add deep linking api 2015-03-25 19:01:08 -08:00
Alex Kotliarskyi
f53510a2af [ReactNative] Add gitignore example for SampleApp 2015-03-25 18:50:32 -08:00
Alex Kotliarskyi
c5a6b44c76 [RFC][ReactNative] Integrate dev menu directly into RootView 2015-03-25 17:16:42 -08:00
Nick Lockwood
f124c32143 [WIP] Added support for italics and additional font weights 2015-03-25 16:09:08 -08:00
Alex Kotliarskyi
d0d6dbffb3 [ReactKit] Add shake development menu 2015-03-25 10:36:37 -08:00
Alex Kotliarskyi
20585eb935 [ReactNative] Add debugger and change SampleApp files structure 2015-03-25 10:25:14 -08:00
Spencer Ahrens
15f6783f34 [ReactNative] Add snapshot tests for examples 2015-03-24 21:48:49 -08:00
Eric Vicenti
7311260e58 [ReactNative] Rename JSNavigationStack to ReactNavigator, rename scene config 2015-03-24 19:27:59 -08:00
Spencer Ahrens
af95e95043 [ReactNative] cleanup view example 2015-03-24 19:20:46 -08:00
Nick Lockwood
94db4facf5 Unfork UIManager 2015-03-24 17:24:51 -08:00
Eric Vicenti
9b03bec662 [ReactNative] rename navigationOperations to navigator 2015-03-24 15:28:36 -08:00
Basil Hosmer
6daf7d2634 last batch of UIExplorer flowification 2015-03-24 13:17:41 -08:00
Eric Vicenti
23094dbfc3 [ReactNative] JSNavigationStack rename routeMapper to renderSceneForRoute 2015-03-24 11:48:42 -08:00
Eric Vicenti
f9f219efcb [ReactNative] OSS Responder example 2015-03-24 11:13:48 -08:00
Tadeu Zagallo
57ee9e7dc0 [ReactNative] Use oss TimerMixin 2015-03-24 10:46:05 -08:00
Eric Vicenti
c9a40a989b [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
Tadeu Zagallo
8ae0eacf17 [ReactNative] Open Source PushNotifications and move Badge Number methods and permission into it 2015-03-24 04:31:34 -08:00
Amjad Masad
2cafe228e4 [ReactNative] Use deprecated ix in TabBarExample 2015-03-23 13:43:37 -08:00
Christopher Chedeau
1aeb02ada3 [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
Christopher Chedeau
e1ef0328d9 [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
Basil Hosmer
d6bb48d972 more UIExplorer flow 2015-03-23 11:21:08 -08:00
Basil Hosmer
45a7b5cdcb UIExplorer flowification 2015-03-23 00:24:47 -08:00
Christopher Chedeau
87f42ab450 [ReactNative] Remove react-native/package.json 2015-03-22 20:17:01 -08:00
Basil Hosmer
10b6c57731 declare timeoutID 2015-03-20 17:51:06 -08:00
Basil Hosmer
ca3be21484 clean Examples/2048 2015-03-20 16:33:03 -08:00
Amjad Masad
f1746ac83e [react-packager] change all but one ix to require 2015-03-20 15:26:58 -08:00
Alex Kotliarskyi
6d88898404 [ReactNative] Init script that bootstraps new Xcode project 2015-03-20 13:41:50 -08:00
Alex Kotliarskyi
d56a57c956 [ReactNative] New SampleApp 2015-03-20 13:41:49 -08:00
Alex Kotliarskyi
3fd4ed1464 [ReactNative] Put all iOS-related files in a subfolder 2015-03-19 14:37:44 -08:00
Tadeu Zagallo
da2b122e21 [ReactNative] Add search to UIExplorer 2015-03-19 11:03:28 -08:00
Alex Kotliarskyi
0de49ab0d5 [ReactNative][RFC] Bring Chrome debugger to OSS. Part 1 2015-03-19 09:32:52 -08:00
Christopher Chedeau
48f7399cfc [ReactNative] Remove ListViewDataSource from require('react-native') 2015-03-18 18:53:16 -08:00
Christopher Chedeau
13e054a714 Convert UIExplorer to ListView
Summary:
Using <ListView> is not that much more work but gives us section headers for free :) Now there are two groups: Components and APIs. It mirrors the documentation.

Closes https://github.com/facebook/react-native/pull/163
Github Author: Christopher Chedeau <vjeux@fb.com>

Test Plan: ![ios simulator screen shot mar 17 2015 9 09 07 pm](https://cloud.githubusercontent.com/assets/197597/6702577/d40c00ae-ccea-11e4-8035-cfb46367ea1d.png)
2015-03-18 17:52:53 -08:00
Christopher Chedeau
4b42f8c9e9 [ReactNative] s/render*View/render/ in <WebView> 2015-03-18 16:02:19 -08:00