386 Commits

Author SHA1 Message Date
Satyajit Sahoo
81827f6028 fix: fix flow errors and snapshots 2019-01-27 13:59:48 +01:00
Satyajit Sahoo
bf992597a5 fix: fix bottom navigation layout on web 2019-01-27 13:29:41 +01:00
Satyajit Sahoo
c2980c5a9f fix: fix fonts and some warnings when using with react-native-web 2019-01-27 12:44:35 +01:00
Jose G
844daf3501 fix: replace 'orderRadius' with 'borderRadius' in Snackbar component (#750) 2019-01-23 14:54:12 +01:00
Dawid
8184d26d25 fix: add progressBarComponent as fallback for generic platforms. (#749) 2019-01-23 11:10:34 +01:00
Satyajit Sahoo
83f61585e8 fix: fix badge border radius on iOS 2019-01-23 10:57:15 +01:00
Satyajit Sahoo
ac5fe1668d feat: add badge support in bottom navigation. closes #288 2019-01-23 10:27:27 +01:00
Julian Hundeloh
1de5095d13 feat: add Badge component 2019-01-22 15:02:36 +01:00
Julian Hundeloh
b68fac70b0 feat: add Avatar component 2019-01-22 12:55:16 +01:00
Chris Zelenak
c3cfb31894 feat: allow Chip to expand to font size changes (#697)
### Motivation

The `Chip` component had a strict height on its `Text` component, which would clip the text internally if the user had adjusted the font size of the application.

### Test plan

1. Create an app with a `Chip` component
1. Adjust your font size in the device's Accessibility settings to the largest possible font size
1. Start the app
1. Observe that the text is not clipped inside the `Chip` component
2019-01-22 12:00:37 +01:00
Satyajit Sahoo
2618c067f6 fix: fix elevation not animating in some components
On Android P, if a view with elevation is inside another view which animates the opacity, the elevation doesn't animate when the opacity changes.
This PR refactors components to animate opacity on the same views those have elevation to workaround this behaviour
2019-01-22 11:55:46 +01:00
Satyajit Sahoo
4572af2bea chore: add a comment regarding ripple effect on Android P 2019-01-21 18:38:19 +01:00
Satyajit Sahoo
d49e41badc fix: disable ripple when not supported in bottom navigation 2019-01-21 12:53:37 +01:00
Satyajit Sahoo
c863e4c756 feat: hide bottom navigation when keyboard is shown. closes #676 2019-01-21 12:51:45 +01:00
Hasan Hejdari Nasab
bcb8702600 fix: use fontFamily of theme for Searchbar (#724) 2019-01-08 16:26:07 +01:00
Satyajit Sahoo
e4e8d6ccd6 chore: fix snapshots 2019-01-08 01:00:55 +01:00
Julian Hundeloh
54f1ece31c feat: add smooth icon change in IconButton component (#672)
* feat: smooth icon change in `IconButton`

* test: update snapshots
2019-01-07 13:18:29 +01:00
Julian Hundeloh
1059b50d12 feat: add animated visibility for FAB (#720)
* feat: animated FAB

* feat: animated FAB

* fix: decrease hide animation duration.
2019-01-07 12:35:55 +01:00
Hamdi Wanis
00cc575020 fix: textInput label wrong position in RTL (#721) 2019-01-07 10:35:50 +01:00
Satyajit Sahoo
23cdb3cd20 fix: disable ripple effect on Android P
Ripple effect has a lot of issues on Android P https://github.com/facebook/react-native/issues/6480

Let's disable it for now and figure out how to fix/workaround it
2018-12-19 13:37:58 +01:00
Rajendran Nadar
79e1ef2282 feat: add onpress prop for appbar content (#700) 2018-12-18 13:46:04 +05:30
Satyajit Sahoo
c80ca3fa26 chore: use babel-test for testing the babel plugin 2018-12-17 18:32:09 +01:00
Satyajit Sahoo
23b963b3d6 fix: rename right to numeric for tables 2018-12-10 12:54:26 +01:00
Erkan Ertürk
3a8ca88113 docs: fix typo in AppbarContent.js (#692) 2018-12-10 12:28:32 +01:00
Rajendran Nadar
ae9cc91fbf feat: ability to change button text case (#674) 2018-12-10 12:23:09 +01:00
Antonio Moreno Valls
c0f7f90e67 feat: ToggleButton component (#575) 2018-12-10 12:17:18 +01:00
KevinG
0ad98f3bf2 fix: pass down testID from Card props to Touchable for Detox tests (#683) 2018-11-27 12:29:34 +01:00
Julian Hundeloh
68a5b78ac1 feat: DataTable component (#446) 2018-11-27 12:29:01 +01:00
Satyajit Sahoo
268b7bb56a docs: fix vector icons on snack.expo.io. fixes #675 2018-11-23 16:18:48 +01:00
KevinG
da9f234343 fix: pass down testID from chip props to touchable for Detox tests. (#661) 2018-11-22 18:19:26 +01:00
ferrannp
7b52832702 fix: fix flow errors 2018-11-22 16:47:45 +01:00
Ferran Negre
47d9b0ddfa Update types.js 2018-11-22 16:24:41 +01:00
Julian Hundeloh
e1b81c2f42 fix: do not pass on elevation as property (#664)
### Motivation

Otherwise the `elevation` prop will be passed on to `Animated.View` in `Surface` component and cause this warning on web: You are setting the style `{ elevation: ... }` as a prop. You should nest it in a style object. E.g. `{ style: { elevation: ... } }`

### Test plan

n/a
2018-11-21 11:25:18 +01:00
Luís
60afd02df0 fix: TextInput align top with multiline (#651) 2018-11-13 14:32:16 +01:00
Satyajit Sahoo
dec191f5c7 refactor: export types from the main entry instead of /types 2018-11-08 17:26:19 +01:00
Satyajit Sahoo
f295272bf8 fix: use exact types when possible 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
Satyajit Sahoo
aee06f3638 fix: fix chip snapshot tests 2018-11-08 16:39:58 +01:00
Satyajit Sahoo
a95eb10a48 fix: don't pass all props down to Text 2018-11-08 16:39:23 +01:00
Satyajit Sahoo
38b14c1bf2 fix: add a check to ensure Jest doesn't throw error. closes #644 2018-11-07 12:38:35 +01:00
Satyajit Sahoo
e31a33e92d fix: fix textinput not animating on changing error. fixes #611 2018-11-06 15:40:25 +01:00
Satyajit Sahoo
0f52b7c3fb fix: get version from native modules instead of haste. closes #642 2018-11-06 12:13:56 +01:00
Satyajit Sahoo
4aa7addb87 fix: use new Switch API from RN >= 0.57. fixes #571 2018-11-05 23:25:20 +01:00
Satyajit Sahoo
dcc5bf12d7 test: fix list accordion snapshot 2018-11-05 23:25:19 +01:00
Dylan Companjen
124f52f598 fix: change the keyboard appearance according to theme (#593)
If the dark theme is active, currently there is still a light keyboard shown (iOS).
2018-11-05 22:23:45 +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
Andrei Barabas
8764f60370 fix: add tests for snackbar visibility on mount 2018-11-05 15:33:32 +01:00
Satyajit Sahoo
e4a48ba7dc test: fix bottom navigation tests 2018-11-05 15:28:10 +01:00
Brent Vatne
627aa90c2b Fix tab focus animation bug from react-native@~0.57 on Android (#637)
* Fix tab focus animation bug from react-native@~0.57
https://github.com/react-navigation/react-navigation-material-bottom-tabs/issues/22

* Add a comment to provide context for the change
2018-11-05 15:23:19 +01:00