Julian Hundeloh
7cf91296b3
fix: limit search bar width ( #790 )
2019-01-31 12:17:26 +01:00
Satyajit Sahoo
b329305909
docs: fix documentation for react-native-web
2019-01-30 21:21:01 +01:00
Satyajit Sahoo
8fbe725610
docs: fix typo
2019-01-30 01:25:20 +01:00
Satyajit Sahoo
77936b8d17
chore: release 2.7.0
2019-01-29 20:56:54 +01:00
Satyajit Sahoo
0bad9af2ae
test: fix snapshots
2019-01-29 20:56:38 +01:00
jaulz
3600cad667
fix: prevent changing width of search bar on web
2019-01-29 20:52:47 +01:00
Julian Hundeloh
2bca3d8278
feat: introduce animated property on IconButton
2019-01-29 20:50:12 +01:00
Satyajit Sahoo
1cf1179834
chore: make it possible to run "yarn example start" etc.
2019-01-29 20:45:24 +01:00
Satyajit Sahoo
ec872a5c61
fix: handle animated value in the shadow helper
2019-01-29 20:29:06 +01:00
jaulz
99b33ece80
fix: improve fonts on web
2019-01-29 20:23:58 +01:00
Satyajit Sahoo
eefcff37b5
fix: support image URLs as icons on web
2019-01-29 01:19:37 +01:00
Satyajit Sahoo
90450fc0d2
chore: fix errors in web configuration
2019-01-29 01:15:30 +01:00
Satyajit Sahoo
163aa29d65
docs: add react-native-paper dep when opening the snacks
2019-01-29 01:07:31 +01:00
Satyajit Sahoo
4a882594e7
docs: add instructions for react-native-web
2019-01-29 01:03:49 +01:00
Grzegorz Gawrysiak
5246ad04d5
docs: FAB.Group should use padding instead of margin ( #755 )
2019-01-28 22:23:54 +05:30
Grzegorz Gawrysiak
b799a1e5f8
feat: allow to change background for FAB Group ( #758 )
...
### Motivation
It's currently possible to change the background color for FAB and also items within FAB.Group components. Changing the background color in FAB Group causes the overlay background to change.
This PR makes it possible to change the background for the FAB Group main button.
Current behavior:
<img width="377" alt="screen shot 2019-01-25 at 17 41 56" src="https://user-images.githubusercontent.com/7827311/51761486-797b0280-20cd-11e9-93de-1eaf1ba64ff8.png ">
### Test plan
https://snack.expo.io/ryjNEaO7E
2019-01-28 12:13:43 +01:00
Satyajit Sahoo
e08eb2ba1f
fix: delay portal rendering to avoid infinite loop
2019-01-27 17:57:42 +01:00
Satyajit Sahoo
28762277bf
chore: use css grid in the examples
2019-01-27 16:10:49 +01:00
Robert Collins
2d0a1c3f53
fix: makes icon load errors more informative ( #769 )
2019-01-27 15:43:30 +01:00
Satyajit Sahoo
22ffb9ae73
chore: add react-native-web example. closes #671
...
This example is missing the drawer, but all other examples are there. There are rendering issues with few components on the web. Hopefully this example will make it easier to identify these issues and fix them in future.
2019-01-27 14:38:27 +01:00
Satyajit Sahoo
4cfc1e6af4
chore: release 2.6.3
v2.6.3
2019-01-27 14:00:13 +01:00
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
Satyajit Sahoo
34aff3a91b
chore: release 2.6.2
v2.6.2
2019-01-27 10:56:41 +01:00
Yukiya Nakagawa
4c918ffb9b
fix: fix TypeScript typings for TextInput methods ( #753 )
...
### Motivation
* paper version: v2.6.1
* typescript version: v3.2.2
The `TextInput` class has public methods `isFocused`, `clear`, `focus`, `blur`.
https://github.com/callstack/react-native-paper/blob/v2.6.1/src/components/TextInput.js#L348-L374
However, they are not declared in d.ts as below.

### Test plan
Typecheck for below function.
```typescript
import { TextInput } from "react-native-paper";
function doAnything(textInput: TextInput) {
textInput.isFocused();
textInput.clear();
textInput.focus();
textInput.blur();
}
```
2019-01-24 10:59:28 +01:00
Satyajit Sahoo
02a9a0e7b0
chore: release 2.6.1
v2.6.1
2019-01-23 18:28:34 +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
e1dcfbd7e0
chore: release 2.6.0
v2.6.0
2019-01-23 10:58:04 +01:00
Satyajit Sahoo
83f61585e8
fix: fix badge border radius on iOS
2019-01-23 10:57:15 +01:00
Satyajit Sahoo
e55f6cc205
fix: update typescript types for bottom navigation
2019-01-23 10:48:08 +01:00
napolev
e1102a6385
fix: fix parenthesis locations in example app ( #747 )
...
* fixing parenthesis locations
* fix: fixing parenthesis locations
2019-01-23 10:40:26 +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
Satyajit Sahoo
fa1fd5e16f
docs: fix edit link and try on snack link
2019-01-22 13:02:00 +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
d969f021c6
fix: make type optional for helper text in TS definitions
2019-01-22 11:57:34 +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
raajnadar
65fc420c35
fix: typo in bottom navigation example
2019-01-21 12:45:17 +01:00
Satyajit Sahoo
bcef4a60ba
chore: release 2.5.0
v2.5.0
2019-01-18 10:52:59 +01:00
Satyajit Sahoo
e4ca933f38
docs: don't use a form for icon list
2019-01-14 14:42:02 +01:00
Satyajit Sahoo
f261f36b60
docs: show a message when no matching icon was found
2019-01-14 14:28:03 +01:00
Satyajit Sahoo
a35e3e0380
chore: upgrade component-docs
2019-01-14 13:49:17 +01:00
lukewalczak
7313202436
docs: add a list of icons in the Icons page
2019-01-14 13:15:56 +01:00
Hasan Hejdari Nasab
bcb8702600
fix: use fontFamily of theme for Searchbar ( #724 )
2019-01-08 16:26:07 +01:00