123 Commits

Author SHA1 Message Date
Satyajit Sahoo
dec191f5c7 refactor: export types from the main entry instead of /types 2018-11-08 17:26:19 +01:00
Satyajit Sahoo
0294209504 fix: merge types with the props of the component used internally 2018-11-08 17:26:19 +01:00
Iyad Thayyil
aed0bfd4c9 fix: add RTL support to searchbar(#565) 2018-11-05 22:22:17 +01:00
Lucas Vieira
decbedbd82 feat: allow List.Accordion to behave as a controlled component (#638)
fixes #616, #635
closes #618
2018-11-05 22:13:41 +01:00
Satyajit Sahoo
5265fb4e52 chore: upgrade deps 2018-11-05 15:10:54 +01:00
Bruno Castro
706c13d888 fix: TextInput example (accept upperCase and lowerCase letters) (#619)
It should accept both uppercase and lowercase letters
2018-10-23 08:56:57 +02:00
Satyajit Sahoo
5a51af4378 fix: fix helper text not shown the first time it's visible 2018-10-18 16:54:26 +02:00
Rajendran Nadar
39ceec618c docs: add keyboardavoidingview to text input example (#588)
Added KeyBoardAvoidingView because it is hard to check the last TextInput in the example
2018-10-18 16:02:43 +02:00
Altaf Shaikh
ee954e8a8d fix: RadioButton dialog example should use status props. (#592)
* fix: use correct props in radio button dialog example

* fix: use correct props in radio button dialog example
2018-10-12 08:23:04 +02:00
Dawid
d3a7c48eee Add implementation of banner component. (#441)
* feat: initial implementation of banner component.

* feat: add props description.

* refactor: Change the way banner is structured.

* refactor: small refactor of banner component and example.

* refactor: remove some not needed logic from banner and add example.

* refactor: refactor of banner props description and little clean up in component.

* refactor: simplify implementation of banner

* feat: add snapshot tests for banner.

* feat: add banner gif.

* fix: fix example.

* fix: reduce banner gif size.

* fix: reduce gif size even more.
2018-09-27 13:58:08 +02:00
Drew Rothstein
2397715aa4 feat: add onLongPress to Card (#538)
* feat: add onLongPress to Card

* feat: add onLongPress to Card: disable correction

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2018-09-25 10:49:58 +03:00
Satyajit Sahoo
137124da85 feat: pass color prop to left and right items 2018-09-04 14:54:46 +02:00
Satyajit Sahoo
6785992d8f docs: improve examples 2018-09-04 13:48:30 +02:00
Satyajit Sahoo
0da377684a chore: wrap dialogs in example with portal 2018-09-04 13:16:43 +02:00
Satyajit Sahoo
06f929bd5c BREAKING: change left and right props to render callbacks 2018-09-03 17:04:58 +02:00
Satyajit Sahoo
61c6fef264 BREAKING: replace ListSection.* and DrawerSection.* with List.* and Drawer.* (#524) 2018-09-02 03:46:33 +02:00
Satyajit Sahoo
27c196fad2 BREAKING: replace icon and avatar props of ListItem with left and right
Fixes #365
2018-09-02 03:00:12 +02:00
Julian Hundeloh
89db7c14ab feat: disabled FAB. closes #445 2018-09-01 01:06:36 +02:00
Julian Hundeloh
3b09171aff BREAKING: add status prop to checkbox and radio 2018-09-01 00:42:22 +02:00
Satyajit Sahoo
f1cde8a3fc BREAKING: TextInput redesign (#522) 2018-09-01 00:31:40 +02:00
Iyad Thayyil
4a7d2e6466 fix: broken menu button of example app (#510)
<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Motivation

<!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? -->

### Test plan

<!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. -->
2018-08-29 11:43:28 +02:00
Satyajit Sahoo
1c8cf5c732 BREAKING: remove Portal wrapper from components (#439)
Currently, we wrap certain components such as FAB.Group and Snackbar in Portal by default.
This means they are always rendered on top of everything and there's no way to control it.
This makes it hard to integrate with navigation libraries such as React Navigation.
The PR removes the Portal wrapper by default and exports PortalHost so users can control where the components are rendered.

In future React Navigation could provide an API to render things on top of the screen and users would be able to take advantage of it.
2018-07-06 12:21:09 +02:00
Grzegorz Gawrysiak
1d3276a2ab BREAKING: Redesign Chips. Closes #369 2018-06-04 15:46:45 +02:00
Satyajit Sahoo
c4e5582adf feat: support using BottomNavigation.SceneMap inside component's render 2018-06-03 23:34:10 +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
Dawid
bc5d967772 BREAKING: redesign Snackbar 2018-05-26 22:51:08 +02:00
Satyajit Sahoo
1d511ccfc7 BREAKING: use static properties for related components 2018-05-26 02:16:11 +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
3485402a1f BREAKING: rename Paper to Surface 2018-05-26 02:11:11 +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
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
b9aa79503c feat: add Chip component 2018-05-06 18:33:30 +02:00
Satyajit Sahoo
772b82ac36 fix: center icon in button along with text 2018-05-06 17:05:20 +02:00
K. P. Sroka
7c054c0028 feat: implement helper and error text support in TextInput (#243) 2018-05-05 18:06:14 +02:00
Grzegorz Gawrysiak
b6462b7a4f feat: add ListAccordion component 2018-05-05 17:39:42 +02:00
Satyajit Sahoo
174af0debb chore: use ListItem in example 2018-05-05 17:05:10 +02:00
Satyajit Sahoo
9fb3df0504 fix: fix icon styling in Searchbar 2018-05-05 16:46:54 +02:00
Satyajit Sahoo
df7fcd248e feat: support render function for icon prop 2018-05-05 16:25:07 +02:00
Dawid
870a4570e3 feat: add snackbar component 2018-05-01 11:13:21 +02:00
Satyajit Sahoo
89fd20e220 docs: update bottom navigation docs. fixes #270 2018-04-30 14:06:53 +02:00
Satyajit Sahoo
4e3e9290bb refactor: rename SearchBar -> Searchbar for consistency 2018-04-19 20:44:36 +02:00
Satyajit Sahoo
1fabaae6f5 refactor: flow tweaks 2018-04-18 10:38:58 +02:00
Satyajit Sahoo
090ce9484d fix: loosen flow types of bottom navigation 2018-04-17 14:39:44 +02:00
Satyajit Sahoo
a3bbb4e934 chore: update dependencies and fix flow 2018-04-17 09:07:23 +02:00
Satyajit Sahoo
85decc73b0 fix: support static properties in withTheme HOC 2018-04-17 07:26:35 +02:00
Grzegorz Gawrysiak
7b2948f570 feat: Add ListSection and ListItem components 2018-04-12 17:29:01 +02:00
Satyajit Sahoo
a8137337ac refactor: don't use deprecated React lifecycles. closes #285 2018-04-05 12:07:20 +02:00