19 Commits

Author SHA1 Message Date
Satyajit Sahoo
5265fb4e52 chore: upgrade deps 2018-11-05 15:10:54 +01:00
Dawid
e8ac805186 chore: update expo to latest version. (#580)
This PR upgrades expo in example app to latest version.

Actually, there is no issue for that, but It's good to use latest stable version of libraries.
2018-10-08 10:58:17 +02:00
Kacper Wiszczuk
9e0fe32e14 feat: add typescript support (#561) 2018-10-04 12:04:10 +02:00
Jakub Kłobus
2c27321968 refactor: use @callstack/react-theme-provider 2018-07-25 15:02:43 +02:00
Julian Hundeloh
63349a727d fix: ref set to null on updates (#410)
### Motivation

The ref function is called twice on updates (see https://reactjs.org/docs/refs-and-the-dom.html#caveats-with-callback-refs). This behaviour causes the variable `this._manager` sometimes to be null during rendering and in that case actions are pushed to the queue again. Since the queue is only processed once (during componentDidMount), somes changes will never be visible. The simple solution is to bind the ref-function as mentioned in the link above.

### Test plan

Dynamically change `visible` parameter of Modal. The Modal won't be visible on the second time.
2018-06-06 13:10:33 +02:00
Satyajit Sahoo
8959640f56 chore: upgrade deps 2018-05-31 07:44:55 +02:00
Satyajit Sahoo
a3bbb4e934 chore: update dependencies and fix flow 2018-04-17 09:07:23 +02:00
Satyajit Sahoo
a8137337ac refactor: don't use deprecated React lifecycles. closes #285 2018-04-05 12:07:20 +02:00
Satyajit Sahoo
316f3f53ca chore: tweak how vector icons are imported 2018-03-07 13:38:29 +01:00
Satyajit Sahoo
1766fd10b6 refactor: use create-react-context for theming 2018-03-03 14:31:08 +01:00
Satyajit Sahoo
228749346c fix: rework portal to isolate rendering of portals. fixes #216 (#261) 2018-03-03 12:14:15 +01:00
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
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
Satyajit Sahoo
6b71968b2e chore: upgrade expo and react native (#148) 2017-09-26 12:46:56 +02:00
Satyajit Sahoo
5b797a9ea5 chore: upgrade dependencies and fix flow errors 2017-08-19 07:08:40 +02:00
Satyajit Sahoo
c23d5d3ff9 chore: use CRNA for the example 2017-07-19 04:11:22 +05:30
Satyajit Sahoo
1479c76f77 chore: upgrade to React Native 0.45 (#120) 2017-07-04 21:52:12 +02:00
Satyajit Sahoo
c0f4341c76 chore: use yarn on travis (#116) 2017-07-04 14:30:30 +02:00