12 Commits

Author SHA1 Message Date
Satyajit Sahoo
61c6fef264 BREAKING: replace ListSection.* and DrawerSection.* with List.* and Drawer.* (#524) 2018-09-02 03:46:33 +02:00
iyad
ce97d1558b chore: add RTL toggle to example app. closes #503 2018-09-01 02:00:03 +02:00
Satyajit Sahoo
1d511ccfc7 BREAKING: use static properties for related components 2018-05-26 02:16:11 +02:00
Grzegorz Gawrysiak
734cd9892a BREAKING: Drawer redesign (#377)
Drawer redesign for 2.0. Changes:
- changed the active state styling
- colors are now theme based, not fixed
- theme based roundness
- removed the "color" prop - it can be now controller with the primaryColor (see [the expo app example](https://github.com/callstack/react-native-paper/pull/377/files#diff-cf8d6e3323746c5c486de08cb0c333c3R59))
- added snapshot tests

<img width="248" alt="screen shot 2018-05-16 at 23 59 54" src="https://user-images.githubusercontent.com/7827311/40146708-e58bf92c-5966-11e8-8916-e76cb42e2f86.png">
<img width="248" alt="screen shot 2018-05-17 at 00 00 02" src="https://user-images.githubusercontent.com/7827311/40146727-f26662a4-5966-11e8-9cee-dc01e3cd5599.png">

Fixes #358.

Snapshot tests added. Run `yarn test`.
2018-05-26 02:14:05 +02:00
Satyajit Sahoo
3485402a1f BREAKING: rename Paper to Surface 2018-05-26 02:11:11 +02:00
Satyajit Sahoo
a3bbb4e934 chore: update dependencies and fix flow 2018-04-17 09:07:23 +02:00
Satyajit Sahoo
0edfdc6393 fix: fix padding in drawer item 2018-02-01 18:38:40 +01:00
Satyajit Sahoo
105d337a19 docs: update documentation (#228) 2018-02-01 16:28:10 +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
Satyajit Sahoo
bb51586351 chore: upgrade flow and dependencies (#200) 2017-11-07 11:21:17 +01: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
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