Commit Graph

264 Commits

Author SHA1 Message Date
Satyajit Sahoo
e09b7429e7 fix: properly center icons in bottom navigation 2018-06-05 14:22:32 +02:00
Satyajit Sahoo
7e1938e1de fix: accessibility improvements (#411) 2018-06-05 14:15:56 +02:00
Satyajit Sahoo
c0f0a2a865 fix: hide icon from screen readers 2018-06-04 23:47:46 +02:00
Satyajit Sahoo
ecf30e4c7e fix: disable chip elevation on iOS
Animating the elevation for Chip looks glitchy on iOS
2018-06-04 17:01:55 +02:00
Satyajit Sahoo
233bf45244 fix: vertically center label on iOS 2018-06-04 16:35:58 +02:00
Grzegorz Gawrysiak
1d3276a2ab BREAKING: Redesign Chips. Closes #369 2018-06-04 15:46:45 +02:00
Satyajit Sahoo
302f4e220a fix: close speed dial on pressing action in FABGroup 2018-06-04 11:57:47 +02:00
Satyajit Sahoo
3b18d4cefb fix: fix flow error in FABGroup 2018-06-04 11:36:47 +02:00
Satyajit Sahoo
bad3c54329 feat: make bottom navigation accessible 2018-06-04 01:56:06 +02:00
Satyajit Sahoo
3dc48719f3 fix: make sure tabs are vertically centered
https://github.com/react-navigation/react-navigation-material-bottom-tab-navigator/issues/4
2018-06-03 23:47:22 +02:00
Satyajit Sahoo
c4e5582adf feat: support using BottomNavigation.SceneMap inside component's render 2018-06-03 23:34:10 +02:00
Satyajit Sahoo
d8182b48f2 refactor: simplify dialog logic 2018-06-03 17:55:39 +02:00
Satyajit Sahoo
b6bc327e39 refactor: simplify appbar logic 2018-06-03 17:55:08 +02:00
Dawid
a2a3bc34d5 fix: show ripple in same position where user touched (#394) 2018-06-03 16:37:31 +02:00
Satyajit Sahoo
bedfd24bfa refactor: remove extra view wrapper from portal 2018-06-03 16:35:55 +02:00
Julian Hundeloh
397da928cb fix: make Modal nestable (#398) 2018-06-03 16:33:50 +02:00
Satyajit Sahoo
b838b40cf8 fix: check if component is valid before cloning. fixes #407 2018-06-03 16:33:31 +02:00
Satyajit Sahoo
d9a3d77d34 BREAKING: rename Toolbar to Appbar and add Appbar.Header 2018-05-31 16:05:38 +02:00
Satyajit Sahoo
8959640f56 chore: upgrade deps 2018-05-31 07:44:55 +02:00
Satyajit Sahoo
2f5154f4d3 BREAKING: update toolbar design on iOS 2018-05-30 17:54:32 +02:00
Satyajit Sahoo
651e3e1b23 fix: faster tab switching for bottom navigation 2018-05-26 23:10:00 +02:00
Dawid
bc5d967772 BREAKING: redesign Snackbar 2018-05-26 22:51:08 +02:00
Satyajit Sahoo
54660ef0b8 chore: update drawer item snapshot 2018-05-26 02:22:59 +02:00
Satyajit Sahoo
1d511ccfc7 BREAKING: use static properties for related components 2018-05-26 02:16:11 +02:00
Satyajit Sahoo
c3bf6b09ae BREAKING: drop dark prop in favor of color prop in various components 2018-05-26 02:14:31 +02:00
Satyajit Sahoo
a522b60c5f refactor: remove elevation handling from Portal implementation 2018-05-26 02:14:05 +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
Grzegorz Gawrysiak
c696883da4 refactor: use touchable disabled prop (#372) 2018-05-26 02:11:12 +02:00
Satyajit Sahoo
951572fb07 feat: add ability to hide tab labels in bottom navigation 2018-05-26 02:11:12 +02:00
Satyajit Sahoo
fa694fbf80 feat: add support for active and inactive tint color in bottom navigation 2018-05-26 02:11:12 +02:00
Satyajit Sahoo
9ad9532051 BREAKING: remove default margins. fixes #334 2018-05-26 02:11:12 +02:00
Satyajit Sahoo
991ac5e6ce BREAKING: simplify bottom navigation design
https://material.io/design/components/bottom-navigation.html
2018-05-26 02:11:12 +02:00
Satyajit Sahoo
37091c7616 BREAKING: redesign button. fixes #356 2018-05-26 02:11:11 +02:00
Satyajit Sahoo
fb361299e4 BREAKING: change default theme colors 2018-05-26 02:11:11 +02:00
Satyajit Sahoo
8fede4a086 BREAKING: Change default roundness and error color 2018-05-26 02:11:11 +02:00
Satyajit Sahoo
3485402a1f BREAKING: rename Paper to Surface 2018-05-26 02:11:11 +02:00
Satyajit Sahoo
65ad2a0457 BREAKING: Remove support for React elements for icon prop
Use render callback instead
2018-05-26 02:11:11 +02:00
Satyajit Sahoo
8c5bc5165b BREAKING: remove SearchBar export 2018-05-26 02:11:10 +02:00
Satyajit Sahoo
5525f55d6d fix: fix statusbar style in FABGroup 2018-05-26 02:04:06 +02:00
Grzegorz Gawrysiak
880aba2a3d docs: fix typos (#385) 2018-05-26 01:59:18 +02:00
Grzegorz Gawrysiak
5a65241691 fix: use paper's typography for drawer (#387) 2018-05-26 01:58:39 +02:00
Julian Hundeloh
c8472ce6fc fix: avoid "this" in static properties in snackbar. fixes #383 2018-05-26 01:56:09 +02:00
Satyajit Sahoo
cc6408b882 fix: properly respect value and focused state. fixes #388 2018-05-26 01:47:25 +02:00
Satyajit Sahoo
f3260036c6 fix: fix drawer icon styling. fixes #386 2018-05-26 00:48:12 +02:00
Luke Walczak
e1c795e7de feat: add FABGroup component for FAB with speed dial (#218)
Fixes #210
2018-05-25 12:14:53 +02:00
Satyajit Sahoo
70742a0235 fix: call onTabPress before navigating in bottom navigation 2018-05-16 14:43:15 +02:00
Grzegorz Gawrysiak
c9515219c3 docs: Improve the DrawerSection example (#363) 2018-05-16 11:42:02 +02:00
Satyajit Sahoo
629b57aed2 feat: add extended FAB according to material design
https://material.io/design/components/buttons-floating-action-button.html\#extended-fab
2018-05-11 15:51:02 +02:00
Grzegorz Gawrysiak
20843efa3d docs: fix Text imports (#353) 2018-05-09 11:56:05 +02:00
Grzegorz Gawrysiak
b9aa79503c feat: add Chip component 2018-05-06 18:33:30 +02:00