164 Commits

Author SHA1 Message Date
Satyajit Sahoo
91bf179df0 docs: Improvements to the documentation 2018-02-21 15:40:25 +01:00
K. P. Sroka
7c426f9efc fix: disabling Touchables if onPress was not set to allow event handling in parent components 2018-02-16 12:36:01 +01:00
Satyajit Sahoo
e4ff9c8950 docs: rework ripple example 2018-02-06 08:26:23 +01:00
Satyajit Sahoo
38bfe108ca docs: fix spacing in radio button example 2018-02-06 08:26:23 +01:00
Satyajit Sahoo
4b61f4ffe6 docs: rework toolbar example 2018-02-06 08:26:23 +01:00
Satyajit Sahoo
1c19f02a02 docs: animate progressbar in example 2018-02-06 08:26:23 +01:00
K. P. Sroka
5d67167a40 Fixing 'remote image' button example (#221)
* fix: Updating uri link in ButtonExample (the current one gives 404 and no image displayed).

* fix: Updating uri link in ButtonExample (svg doesn't work well).
2018-01-31 11:39:34 +01:00
Luke Walczak
fe2123bc5e fix: correct components using dark theme (#203) 2017-12-12 03:36:39 +05:30
Satyajit Sahoo
206963adc9 chore: upgrade dependencies 2017-11-27 01:29:42 +05:30
Satyajit Sahoo
bb51586351 chore: upgrade flow and dependencies (#200) 2017-11-07 11:21:17 +01:00
Ahmed Elhanafy
c552aa0951 style: Adapt dialog to the dark theme (#196)
* style: Adapt dialog to the dark theme

* chore:  Remove unused default prop & set correct elevation style & rename import

* style: Fix textinput background color

* chore: Add missing proptypes

* chore: Update with latest master
2017-11-03 16:36:25 +01:00
hasparus
48892440eb feat: add hamburger to RootNavigator (#192) 2017-10-19 22:04:32 +02:00
Luke Walczak
3070020fc8 feat: add ripple example (#183)
* feat: add ripple example

* feat: extend ripple example

* docs: refactor ripple example
2017-10-19 12:46:59 +02:00
Ahmed Elhanafy
c6a59d3cac feat: add TextInput component (#85) 2017-10-18 11:33:03 +02:00
ferrannp
386a7c0a9b fix: Remove flex: 1 for ListView on example and set up light theme as default again. 2017-10-17 16:01:14 +02:00
Jakub Beneš
70427a8df7 feat: GridView: ListView upgraded to VirtualizedList (#150)
* feat(gridView): use VirtualizedList

* feat(gridView): orientation should work. start with public API.

* feat(gridView): polished code, added public API

* fix(gridView): removed comments which broke the CI

* docs(gridView): updated documentation

* refactor(gridView): better distinguish between private / public method in the example

* docs(gridView): fixed comments

* fix(gridView): round the layout width

* chore(docs): fixed docs generation. When you use flow you have to use named arguments of function

* refactor(gridView): renderItem shoud return valid react element

* BREAKING: migrate GridView to use VirtualizedList

* fix(gridView): we can use flewWrap. YEY!

* feat(gridView): use Animated.Value

* fix(gridView): polished code

* refactor(gridViewExample): polished code

* fix(gridView): unused variable
2017-10-16 11:26:30 +02:00
Ahmed Elhanafy
8adfa6751e feat: Dark Theme (#131)
* refactor: Add DarkTheme, new colors in theme & update components to use it

* chore: Remove 'console.log' statements

* chore: Change dark theme property from string to boolean

* feat: Add ability to toggle the theme from the drawer

* fix: Wrap typography example screen with 'withTheme'

* style: Update components to use correct dark theme colors

* style: Update dark theme primary color and rn-navigation toolbar now gets the color from the theme

* style: Add color prop to DrawerItem and update the example

* style: Change the unchecked color in both Checkbox and RadioButton

* chore: Add `yarn-error.log` to `.gitignore`

* chore: Use lodash instead of lodash.merge

* chore: Address PR comments
2017-10-13 15:29:28 +02:00
Ahmed Elhanafy
3f88a6e53a feat: add dialog component (#98)
* Add dialog component

* Fix: fix back button not functioning right

* Fix: fix action btns get added to the scrollview

* Fix: match the MD guidelines for margins

* Visual enhancements to the dialog example scene

* Fix: fix flow errors

* 🎨 Fix prettier errors

* Enhancements to the dialog component

* More enhancements to the dialog component

* 🎉 Introduce Modal component and refactor Dialog to use it

* Remove ThemedPortal from exported components

* 🐛 Fix shadow cutoff on Android

* Add a comment about a regression that is caused by a fix that was done for Android

* chore: Seperate example dialog components into their own files

* chore: Rename Dialog components to be prefixed with 'Dialog'

* chore: change DialogTitle color prop to style

* chore: Replace AnimatedPaper to Paper.Animated

* fix: Replace BackAndroid with BackHandler

* chore: Merge master with `dialog`

* chore: Addressed comments
2017-10-11 14:53:06 +02:00
Luke Walczak
129a4e4a9a refactor: use own toolbar in examples (#159)
* refactor: use own toolbar in examples

* refactor: fix missing space

* refactor: remove useless code line
2017-10-09 16:47:22 +02:00
Ferran Negre
153130093a feat: Toolbar platform adaptation for iOS (#146)
* feat: Toolbar platform adaptation for iOS: Title centered depending on the number of Actions.

* feat: Fix ToolbarAction when using TouchableRipple.

* feat: Use 'ios' for platform check.
2017-10-02 15:10:37 +02:00
Krzysztof Borowy
8cd3e75cbe fix: Remove elevation prop, use styles instead (#153) 2017-10-02 15:08:54 +02:00
Luke Walczak
f201e1f7ea feat: Controls adaptation to IOS (#155)
* feat: checkbox ios adaptation

* feat: switch component

* feat: radio button ios adaptation

* feat: refactor control components
2017-10-02 14:59:06 +02:00
lukewalczak
547b14ad5e refactor: checkbox as a part of a list item 2017-09-27 09:54:18 +02:00
Satyajit Sahoo
6b71968b2e chore: upgrade expo and react native (#148) 2017-09-26 12:46:56 +02:00
Luke Walczak
bbdf9f0423 Progress bar component (#144)
* feat: progress bar component

* feat: update progress bar example

* feat: refactor progress bar component

* feat: progress bar component finished
2017-09-25 11:53:05 +02:00
Adam Trzciński
572aa8ea1e feat: enhance Icon component (#125) 2017-08-22 10:31:04 +02:00
Ferran Negre
aa6271ddd6 feat: SearchBar - Add ability to use the left icon as a button (#121) 2017-07-26 17:10:40 +02:00
Satyajit Sahoo
6a4bb7d6a4 fix: fix searchbar 2017-07-05 22:47:59 +05:30
Ferran Negre
79cf42aaf1 feat: add a Toolbar component (#112) 2017-07-05 22:33:32 +05:30
Satyajit Sahoo
1479c76f77 chore: upgrade to React Native 0.45 (#120) 2017-07-04 21:52:12 +02:00
Raúl Gómez Acuña
d82e1a0d4f chore: fix linting errors + add precommit hook for flow and lint (#114) 2017-07-04 15:47:53 +05:30
Satyajit Sahoo
16c3ea2f60 feat: add a FAB component (#109) 2017-06-26 11:57:16 -04:00
Satyajit Sahoo
8af7551914 fix: fix searchbar styles (#110) 2017-06-26 11:47:06 -04:00
Satyajit Sahoo
0a203079f5 chore: use es5 trailing commas 2017-05-18 17:55:53 +05:30
Satyajit Sahoo
eee9b0372b chore: use prop-types package from npm 2017-05-18 17:55:53 +05:30
Satyajit Sahoo
ebada8fd6d chore: setup prettier 2017-05-18 17:55:53 +05:30
Satyajit Sahoo
fc1d59e44c chore: switch to react navigation 2017-05-18 17:55:53 +05:30
Satyajit Sahoo
c468b029e9 chore: improve dev workflow and upgrade deps 2017-05-18 17:55:53 +05:30
Ferran Negre
8f75241a3c feat: add searchBar component (#97) 2017-02-14 06:49:58 +05:30
Satyajit Sahoo
ba6ee19eb5 feat: add checkbox and radio animations on Android (#89)
Border animations aren't very nice on iOS, so I disabled animations on iOS for now. Let's add animations when we find a better way.
Also native animations don't support borders as of now, so can't enables native animations either, probably can enable in future
2016-11-29 02:36:41 +02:00
Ahmed Elhanafy
414ca296e3 Merge pull request #73 from react-native-paper/gridview
feat: add GridView component. fixes #44
2016-11-21 15:15:37 +02:00
Satyajit Sahoo
57ca9aa2e5 chore: use ListView for example list 2016-11-21 01:39:17 +05:30
Satyajit Sahoo
39d6fdd49b feat: add <GridView /> component. fixes #44 2016-11-21 01:21:35 +05:30
Satyajit Sahoo
5a964b3234 docs: add more card examples 2016-11-20 21:30:59 +05:30
Satyajit Sahoo
e1db4e51a0 fix: add minWidth of 64 to button 2016-11-20 20:30:42 +05:30
Satyajit Sahoo
f32a55f96b fix: adjust button and card styling 2016-11-20 19:33:44 +05:30
Satyajit Sahoo
0f3e1420a4 feat: add Card.Cover, Card.Actions and Card.Content
These components can adjust their styling automatically based on their siblings without any extra work on user's end. For example, the cover adjusts it's border radius, content adjusts it's padding, etc.
2016-11-20 17:48:14 +05:30
Ahmed Elhanafy
0a73f77f2b Revert "Revert "Add radio and check buttons"" 2016-11-13 21:41:16 +02:00
Ahmed Elhanafy
47efa8eb86 Revert "Add radio and check buttons" 2016-11-13 21:25:35 +02:00
Satyajit Sahoo
eeb8210ab9 feat: add <RadioButton /> component. fixes #13 2016-11-13 23:50:58 +05:30