Skip to content

Commit

Permalink
v0.1.7
Browse files Browse the repository at this point in the history
- upgrade to react-native v0.4.0
  • Loading branch information
gcanti committed Apr 17, 2015
1 parent 6a61000 commit 3d3cd81
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.log
node_modules
AwesomeProject.xcodeproj
AwesomeProjectTests
index.ios.js
iOS
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.1.7

- upgrade to react-native v0.4.0

v0.1.6

- upgrade to react-native v0.3.4
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ The following standard options are available (see http://facebook.github.io/reac
- `password`
- `placeholderTextColor`
- `returnKeyType`
- `selectTextOnFocus`
- `secureTextEntry`
- `selectionState`

Expand Down Expand Up @@ -572,6 +573,12 @@ Let's see an example: the `locals` object passed in the `checkbox` template:
}
```

# Tests

```
npm test
```

# License

MIT
5 changes: 1 addition & 4 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ class Component extends React.Component {

class Textbox extends Component {

constructor(props) {
super(props);
}

getTransformer() {
if (this.props.options.transformer) {
return this.props.options.transformer;
Expand Down Expand Up @@ -172,6 +168,7 @@ class Textbox extends Component {
'password',
'placeholderTextColor',
'returnKeyType',
'selectTextOnFocus',
'secureTextEntry',
'selectionState'
].forEach((name) => locals[name] = options[name]);
Expand Down
1 change: 1 addition & 0 deletions lib/templates/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function textbox(locals) {
password={locals.password}
placeholderTextColor={locals.placeholderTextColor}
returnKeyType={locals.returnKeyType}
selectTextOnFocus={locals.selectTextOnFocus}
secureTextEntry={locals.secureTextEntry}
selectionState={locals.selectionState}
onChangeText={(value) => locals.onChange(value)}
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "tcomb-form-native",
"version": "0.1.6",
"version": "0.1.7",
"description": "react-native powered UI library for developing forms writing less code",
"main": "index.js",
"scripts": {
"test": "node test"
"test": "node test | tap-spec"
},
"repository": {
"type": "git",
Expand All @@ -17,10 +17,11 @@
},
"homepage": "https://github.com/gcanti/tcomb-form-native",
"peerDependencies": {
"react-native": "^0.3.4",
"react-native": "^0.4.0",
"tcomb-validation": "^1.0.3"
},
"devDependencies": {
"tap-spec": "^3.0.0",
"tape": "^3.5.0"
},
"tags": [
Expand Down

0 comments on commit 3d3cd81

Please sign in to comment.