149 Commits

Author SHA1 Message Date
Satyajit Sahoo
1766fd10b6 refactor: use create-react-context for theming 2018-03-03 14:31:08 +01:00
Satyajit Sahoo
e54ba17257 chore: fix card example 2018-03-03 13:16:49 +01:00
Satyajit Sahoo
865ca05f19 fix: handle status bar automatically on Expo. fixes #251 2018-03-03 13:07:19 +01:00
Satyajit Sahoo
4b4492831d fix: fix toolbar issues with dark prop 2018-03-03 12:37:59 +01:00
Grzegorz Gawrysiak
3a2f3f8e3c fix: align card actions to the left (#262) 2018-03-03 12:16:32 +01:00
Satyajit Sahoo
228749346c fix: rework portal to isolate rendering of portals. fixes #216 (#261) 2018-03-03 12:14:15 +01:00
Clayton Ray
c3fedbd51b docs: add imports to doc examples - closes #223 (#256) 2018-03-02 15:35:37 +01:00
Grzegorz Gawrysiak
442653cdb1 docs: add the missing CardCover props (#260) 2018-03-02 11:41:34 +01:00
Michał Pierzchała
3e1cfa8e93 chore: use eslint-config-callstack-io (#250) 2018-02-26 13:17:25 +01:00
Satyajit Sahoo
665f8fd801 fix: use hoist-non-react-statics 2018-02-24 17:56:25 +01:00
ferrannp
d8e7c17178 docs: make screenshots for Dialog 2018-02-22 16:37:03 +01:00
Satyajit Sahoo
72f7567a08 docs: add screenshots for radio, checkbox and toolbar 2018-02-22 16:37:03 +01:00
Satyajit Sahoo
cf5c9b9a43 BREAKING: remove GridView for now 2018-02-22 12:29:47 +01:00
Satyajit Sahoo
91bf179df0 docs: Improvements to the documentation 2018-02-21 15:40:25 +01:00
Satyajit Sahoo
59de0c99ff fix: fix typo 2018-02-21 13:31:49 +01:00
Ferran Negre
4c842341d1 fix: properly align icon in back button on iOS (#242) 2018-02-20 15:33:07 +01:00
Ferran Negre
83b9e3641d fix: use correct color for TouchableRipple in dark theme (#244) 2018-02-20 15:25:31 +01:00
Satyajit Sahoo
1185c0df7a docs: add screenshots for Card and Typography (#236) 2018-02-20 15:21:57 +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
K. P. Sroka
144388439d docs: Adding screenshots for TextInput (#233) 2018-02-06 16:56:26 +01:00
Satyajit Sahoo
710d25e403 fix: various fixes to dark theme 2018-02-06 08:26:23 +01:00
K. P. Sroka
b9cdbe43fe docs: add screenshots of FAB, Paper, ProgressBar and Switch components (#227) 2018-02-05 13:08:04 +01:00
Satyajit Sahoo
0edfdc6393 fix: fix padding in drawer item 2018-02-01 18:38:40 +01:00
Satyajit Sahoo
f58ae2e400 fix: avoid setState after update in Portal 2018-02-01 18:33:43 +01:00
Satyajit Sahoo
105d337a19 docs: update documentation (#228) 2018-02-01 16:28:10 +01:00
Satyajit Sahoo
fdb426f211 docs: setup screenshots (#224) 2018-01-31 17:31:32 +01:00
Satyajit Sahoo
f624c2b41f fix: return correct key for portal 2018-01-28 04:27:09 +01:00
Satyajit Sahoo
1ea7def251 fix: fix flow typing with withTheme (#213)
There seems to be some issue with defaultProps after this change, but it's better than not typechecking props at all
2017-12-20 11:57:24 +01:00
Luke Walczak
1f3cedb62b fix: components color style refactor (#212) 2017-12-12 14:26:33 +01:00
Luke Walczak
fe2123bc5e fix: correct components using dark theme (#203) 2017-12-12 03:36:39 +05:30
Luke Walczak
f9e4d8ddd0 docs: Fix component usage (#209)
* chore: upgrade dependencies

* docs: fix components usage
2017-11-29 14:57:14 +01:00
Satyajit Sahoo
206963adc9 chore: upgrade dependencies 2017-11-27 01:29:42 +05:30
lukewalczak
230f8ca2ef docs: set js inside component for proper highlight 2017-11-08 09:26: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
Luke Walczak
bf0d65a17f docs: sort components alphabetically (#190) 2017-10-25 00:46:25 +05:30
Ahmed Elhanafy
8ce0a18b7f fix: Buttons shadow (#195) 2017-10-24 10:50:43 +02:00
Paul Brewczynski
3410a6b5d4 Closed xml tags for card element example (#194) 2017-10-19 22:18:22 +02:00
Krzysztof Karol
288ca9d222 Remove checkAnim (#193) 2017-10-19 22:06:21 +02:00
Ferran Negre
2dac4f606e docs: update toolbar example. (#186) 2017-10-19 14:49:09 +02:00
Luke Walczak
497ae55256 docs: Add missing example usage
* docs: documented modal and switch usage

* docs: documented checkbox

* docs: documented checkbox

* docs: documented radio button

* docs: refactor component usage description

* docs: documented typography styles

* docs: documented search bar

* docs: documented fab

* docs: documented divider

* docs: documented icon

* docs: documented paper

* docs: documented toolbar

* docs: documented card

* docs: proptypes refactor

* docs: documented drawer section

* docs: fix state in drawer section

* docs: documented drawer item

* docs: documented grid view

* docs: documented touchable ripple

* docs: remove static proptypes

* docs: fix typography

* docs: update icon component
2017-10-19 14:29:17 +02:00
Luke Walczak
04d1836fc1 refactor: disable shadow on ios toolbar (#176)
* refactor: disable shadow on ios toolbar

* Update toolbar.js
2017-10-18 13:46:14 +02:00
Ahmed Elhanafy
c6a59d3cac feat: add TextInput component (#85) 2017-10-18 11:33:03 +02:00
Satyajit Sahoo
3e7e59b977 fix: don't do unnecessary merges for theme when not needed 2017-10-17 23:19:25 +02:00
ferrannp
879571ead0 fix: Be able to override nested theme component. 2017-10-17 16:23:50 +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
lukewalczak
bd1d481f58 fix: wrap icon in view 2017-10-13 15:27:43 +02:00
lukewalczak
05c8d10817 fix: fix checkbox container dimensions 2017-10-13 14:44:08 +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