Nicolas Gallagher
8d5ecb84d5
[add] ScrollResponder: adjust to work on Web
2016-03-15 13:49:03 -07:00
Nicolas Gallagher
b4a9177ce3
[add] dismissKeyboard module
2016-03-15 13:44:50 -07:00
Nicolas Gallagher
56549cf794
[add] NativeMethodsMixin: 'measureInWindow' support
2016-03-15 13:24:36 -07:00
Nicolas Gallagher
ba9fa2a7a0
[add] upstream 'merge' module
2016-03-15 11:34:09 -07:00
Nicolas Gallagher
e26edfb9ea
Move NativeMethodsDecorator
2016-03-14 23:25:58 -07:00
Nicolas Gallagher
9a8a9ad209
Use 'module.exports' over 'export default'
...
The use of CommonJS require in RN modules makes it simpler to use
CommonJS exports everywhere.
2016-03-14 23:21:12 -07:00
IjzerenHein
651d519500
[add] NativeModules shim
...
The `NativeModules` namespace is import by some libraries, which will
throw an error if missing.
Close #86
2016-03-08 09:32:14 -08:00
Nicolas Gallagher
4845de5cb5
[add] Update components with native methods
...
Hack in touch event normalization within `View` to produce events that
contain `pageX`, `pageY` for React Native compatibility.
2016-02-22 16:41:50 -08:00
Nicolas Gallagher
715c71b215
Refactor StyleSheet to support arrays
2016-02-18 16:45:23 -08:00
Nicolas Gallagher
1c7fb4cb45
Add APIs
...
- AppRegistry
- AppState
- AsyncStorage
- Dimensions
- NativeMethods
- NetInfo
- PixelRatio
- Platform
- UIManager
2016-02-16 23:54:06 -08:00
Nicolas Gallagher
5c74c0efb7
Move StyleSheet into 'apis' directory
2016-02-16 23:40:50 -08:00
Nicolas Gallagher
97b3a91c0e
[add] StyleSheet: immutable style in development
...
Fix #66
2015-12-30 14:10:15 -08:00
Nicolas Gallagher
8ac84f6da5
[change] StyleSheet: support code-splitting / export smaller API
...
Quick-fix for code-splitting support by updating the rendered style
sheet in place. Reduce the API to `create`, as the rest is now internal
to the framework.
Fix #34
2015-12-27 11:54:53 +00:00
Nicolas Gallagher
69166b1502
[fix] StyleSheet: support textAlign 'inherit'
2015-12-27 11:46:03 +00:00
Nicolas Gallagher
c850a5fa8c
[add] CSS textShadow and reintroduce enums
2015-12-26 17:54:56 +00:00
Nicolas Gallagher
1efe5a533f
[add] StyleSheet: support 'flex' style prop
...
Fix #63
2015-12-26 17:54:13 +00:00
Nicolas Gallagher
0ab984f507
[change] TextInput: implement placeholder and placeholderTextColor
...
Without access to the Shadow DOM pseudo-elements, the placeholder
behaviour needs to be reimplemented.
Update to match React Native's modification to `TextInput` to include
all `View` props and use the `Text` style props.
Fix #12
Fix #48
2015-12-20 03:11:39 -08:00
Nicolas Gallagher
c77ce19f1b
[fix] StyleSheet: escaping of class names in CSS
...
Fix #47
2015-12-19 04:22:00 -08:00
Nicolas Gallagher
25b74d30c4
[fix] Text: style props
2015-12-19 03:57:04 -08:00
Nicolas Gallagher
11b861ae64
[add] support for 'list' and 'listitem' accessibilityRole mapping
...
Fix #49
2015-12-19 03:25:40 -08:00
Nicolas Gallagher
68bf08112a
[fix] StylePropTypes: add support for 'verticalAlign'
...
Fix #45
2015-12-19 03:11:55 -08:00
Nicolas Gallagher
b277b3e509
[fix] StylePropTypes: add support for 'boxShadow'
...
Fix #44
2015-12-19 03:11:12 -08:00
Nicolas Gallagher
c135dddbd1
[fix] StyleSheet: isStyleObject check
2015-12-14 15:28:40 -08:00
Nicolas Gallagher
501c19fe9b
[fix] StyleSheet: shorthand properties
...
Expand shorthand properties to preserve the one-rule-to-one-style
isolation. Resolve styles like React Native - most specific comes last.
Add support for the hz and vt properties for margin and padding.
Fix #40
2015-12-13 12:48:26 -08:00
Nicolas Gallagher
2c52d41b75
[fix] -ms- CSS vendor prefix
2015-10-19 16:02:41 -07:00
Nicolas Gallagher
885d4586a9
[change] obfuscated selector prefix
2015-10-18 22:15:03 -07:00
Nicolas Gallagher
35385e7b69
[change] pointerEvents CSS
2015-10-18 22:08:36 -07:00
Nicolas Gallagher
08300f624f
[change] remove 'component' prop; accessibility docs
...
- infer underlying HTML tag from 'accessibilityRole'
- move accessibility props to 'CoreComponent'
- remove the 'component' prop from exported Components
Fix gh-23
2015-10-18 15:24:59 -07:00
Nicolas Gallagher
1c444569ae
[change] React 0.14 support
2015-10-18 08:54:09 -07:00
Nicolas Gallagher
cd89f88d96
[add] StyleSheet API
...
Initial StyleSheet implementation for Web. Converts style object
declarations to "atomic" CSS rules.
Close gh-25
2015-10-17 17:52:01 -07:00
Nicolas Gallagher
b59bdb17b2
[change] Unit test setup and reporter
2015-10-17 17:51:54 -07:00
Nicolas Gallagher
39b273f9d8
Moves
2015-09-20 21:00:15 -07:00
Nicolas Gallagher
84e06564d4
Accessibility fixes for Image and Text
2015-09-20 19:21:01 -07:00
Nicolas Gallagher
e727193809
TextInput: props and tests
2015-09-20 15:43:52 -07:00
Nicolas Gallagher
b5aa68dc7a
specHelpers: accept props
2015-09-13 22:59:04 -07:00
Nicolas Gallagher
1e04dfc306
filterObjectProps: props -> propKeys
2015-09-12 18:08:21 -07:00
Nicolas Gallagher
09dd9a224a
Remove type tests; fix code style
2015-09-11 21:28:03 -07:00
Nicolas Gallagher
c7524b7b6f
Add Flow type checking; React >= 0.13
2015-09-11 21:17:48 -07:00
Nicolas Gallagher
4aa87c79fa
Fix tests and code style
2015-09-08 14:21:17 -07:00
Nicolas Gallagher
3b848fe378
View: additional accessibility props
...
* Add `accessibilityLiveRegion` for `aria-live` support.
* Add `accessibilityRole` for `role` support.
Fix #11
2015-09-08 00:09:09 -07:00
Nicolas Gallagher
7eff1a644e
Spec helpers
2015-09-07 23:37:36 -07:00
Nicolas Gallagher
cd215a916d
Remove legacy react-native-web-style module
2015-09-07 09:44:18 -07:00
Nicolas Gallagher
90e015112a
Update Image props and implementation
2015-09-07 09:42:23 -07:00
Nicolas Gallagher
cfdbd351f0
Update TextInput props and implementation
2015-09-07 09:42:02 -07:00
Nicolas Gallagher
08013daa23
Update Text props and implementation
2015-09-07 09:41:37 -07:00
Nicolas Gallagher
e7a5d56058
Create CoreComponent; update View implementation
2015-09-07 09:40:51 -07:00
Nicolas Gallagher
77f73a8929
Reorganize modules
2015-09-03 19:37:20 -07:00
Nicolas Gallagher
fb7a997256
Add 'Image' tests
2015-09-02 17:28:07 -07:00
Nicolas Gallagher
1417dd2e6a
Install eslint and fix code style
2015-09-02 17:15:05 -07:00
Nicolas Gallagher
ff5c8f64cc
Text tests
2015-09-01 16:45:11 -07:00