Commit Graph

828 Commits

Author SHA1 Message Date
Julian Hundeloh
4e57e64cc3 feat: add contentStyle prop to banner (#1143) 2019-07-05 13:15:27 +02:00
satyajit.happy
7212ed83a0 chore: fix webpack config for TS and remove @flow annotations 2019-07-05 11:35:13 +02:00
Satyajit Sahoo
c07d629ed7 fix: use Partial<Props> for type of defaultProps (#1170) 2019-07-03 15:51:19 +02:00
Satyajit Sahoo
c6d5e081a5 chore: migrate example to TS fully and suppress warnings (#1172) 2019-07-03 15:50:29 +02:00
Julian Hundeloh
95750486ab fix: adjustsFontSizeToFit does not exist on TextInput (#1131) 2019-07-03 09:59:04 +02:00
Iyad Thayyil
4e8622c38f fix: disable menu interaction while hiding (#1166) 2019-07-01 14:45:16 +02:00
raajnadar
12f3cf1096 fix: optimize images to remove warning from expo cli 2019-06-27 13:19:01 +02:00
Trancever
14bb16a6f3 chore: release 3.0.0-alpha.2 v3.0.0-alpha.2 2019-06-27 11:55:29 +02:00
Bruno Castro
acdd012345 refactor: make ListItem accepts a custom description (#996)
* refactor: make ListItem accepts a custom description

* fix: update prop description type
2019-06-27 11:25:01 +02:00
Taym Haddadi
cce403fcfc fix: add contentContainerStyle type to ModalProps interface (#1052) 2019-06-27 11:10:40 +02:00
Mike Stone
ef00256abe fix: correct Chip component typings (#1044)
As of version 2.15.2 the Chip component accepts the prop `selectedColor`
which it defines as an optional string prop. Though this change was
introduced to the Chip component itself, the typings for the component
were not updated which causes Typescript to complain when using the
`selectedColor` prop. This change adds the missing type to appease
Typescript.
2019-06-27 11:09:19 +02:00
Dizy
6d5345c1eb fix: add inputStyle prop tying to Searchbar (#1049) 2019-06-27 11:05:06 +02:00
Satyajit Sahoo
ad3eb6284a fix: make the menu keyboard-accessible in browser (#1046)
This PR makes sure that
- The correct item is focused when showing/hiding the menu
- The menu can be dismissed by the keyboard
- The menu is not rendered when not visible
2019-06-27 11:01:08 +02:00
Bruno Castro
72da47ed2d fix: warning in console when running tests (#1028) 2019-06-27 10:56:15 +02:00
Iyad Thayyil
72b201fbbd fix: properly handle back button press in menu (#1032) 2019-06-27 10:55:11 +02:00
Iyad Thayyil
391fe53bab fix: typo in menu component 2019-06-27 10:54:04 +02:00
Satyajit Sahoo
17c1f81d94 fix: dismiss menu on window layout change. closes #1005 (#1026) 2019-06-27 10:53:03 +02:00
Kuba
4974b8cf16 feat: missing titleStyle and descriptionStyle for List.Accordion and List.Section (#997)
This PR introduces missing style props:
List.Accordion:
- `titleStyle`
- `descriptionStyle`

List.Section
- `titleStyle`

Also improves `style` prop type and description in these components.

Fixes #973
2019-06-27 10:30:09 +02:00
David undefined
b5b8ed107a fix: fix Card flow type (#1012) 2019-06-27 10:24:00 +02:00
Taym Haddadi
87855b86cf fix: check if portal manager is not null for update and unmount and fix the modal doc example (#995)
* fix(portal): check if a portal manager is not null for update and unmount

* docs(portal): fix Modal example
2019-06-27 10:19:12 +02:00
Bruno Castro
446ad94cbd fix(appbar): do not pass any additional props to custom children components (#972) 2019-06-27 09:57:12 +02:00
Bruno Castro
cb9923bc09 feat: add prop textStyle to Chip (#954) 2019-06-27 09:55:50 +02:00
Rajendran Nadar
c23d4eb9e7 feat: custom icon for clear in seachbar (#965) 2019-06-27 09:53:28 +02:00
Satyajit Sahoo
adb3337fd6 chore: update bot comment 2019-06-26 16:19:35 +02:00
Wojtek Szafraniec
d3db78f926 feat: migrate from Flow to TS (#1114) 2019-06-26 14:55:22 +02:00
Julian Hundeloh
fcf3ec9f87 fix: pass flattened styles to adjustPadding (#1132) 2019-06-26 13:48:27 +02:00
Vojtech Novak
cbfa18194c docs: fix typo in Menu docs (#1142) 2019-06-21 00:37:32 +02:00
Rodrigo Vieira
f266ca1156 docs: Adding <Text> to avoid errors (#1124)
* Adding <Text> to avoid errors

When copying the code and trying in the editor, an error is returning, demanding that the "This is a scrollable area" text be wrapped in a `<Text>` component.

* docs: importing <Text> from react-native-paper
2019-06-14 11:16:41 +02:00
José Chaves Neto
3b19f18822 docs: fix example erros in docs (#1109)
* docs: fix fab group example error

* docs: fix modal example error
2019-06-13 20:17:58 +02:00
Mars Lan
3349a4fc28 fix: disable interaction when fading out modal (#1116)
While the animation only last < 300ms, it is possible for user to interact with the modal during the transition.
This is based on a fix suggested in https://github.com/facebook/react-native/issues/6732
2019-06-13 20:12:59 +02:00
Jason Cooke
b5878741f2 docs: fix typo (#1121) 2019-06-13 20:11:12 +02:00
Mark Murphy
eab6a0e61c docs: add Dark Hacker News to app showcase (#1125) 2019-06-12 14:02:07 +02:00
Satyajit Sahoo
57393dc94a docs: add a page for recommended libraries (#1095) 2019-06-11 12:44:55 +02:00
Trancever
635d647f46 chore: bump component-docs version 2019-06-03 13:35:09 +02:00
Mars Lan
8746abab9d fix: use "active" instead of "text" for ripple color (#1060) 2019-05-30 12:28:46 +02:00
jbinda
ffe8ce0477 refactor: extract inputs label and clean code (#1071)
* initial refactor of label

* refactor inputs and split label to separate components
2019-05-30 12:25:39 +02:00
Jose
ac59126012 fix: move paddingHorizontal out from content style (#1078) 2019-05-30 12:25:16 +02:00
Bruno Castro
cd1e414f55 ci: cache jest tests and fix flaky tests (#1094) 2019-05-30 12:12:36 +02:00
Trancever
93c3760e3e chore: release 3.0.0-alpha.1 v3.0.0-alpha.1 2019-05-23 12:37:47 +02:00
Taym Haddadi
4d47b4e063 feat: aad scale property to control cross fade icon animation time (#1067) 2019-05-23 12:14:00 +02:00
jbinda
b852293f24 feat: add ability to change TextInput fontSize and height (#1020) 2019-05-16 11:40:57 +02:00
jbinda
327749f037 feat: allow to make inputs uncontrolled with defaultValue (#1068) 2019-05-16 09:42:56 +02:00
jbinda
6a37dc9982 fix: fix editable disable props on TextInput (#1069) 2019-05-16 09:35:07 +02:00
jbinda
45b86446e3 fix: remove duplicate type import 2019-05-15 17:29:17 +02:00
Bruno Castro
fb2bacb3ba fix: fix bug with applying backgroundColor to DrawerSection (#1063) 2019-05-15 11:55:31 +02:00
Taym Haddadi
16b9dd1306 fix: fix icon type for FABGroup actions (#1057) 2019-05-09 12:40:35 +02:00
sritharan
f6ac53fe4a feat: support loading indicator for FAB (#985) 2019-05-09 12:26:40 +02:00
Julian Hundeloh
fbade97eca fix: use own ActivityIndicator in Button (#979) 2019-05-09 12:25:45 +02:00
Chad Lavimoniere
ffc0d5e2b4 feat: add props leftStyle and rightStyle to Card.Title so devs can style the left and right independently (#1016) 2019-05-09 12:20:35 +02:00
Jordy Wijman
79f98d9b6a fix: elevation being applied after mode changes on a button while it shouldn't (#1037) 2019-05-09 12:19:35 +02:00