Commit Graph

696 Commits

Author SHA1 Message Date
Satyajit Sahoo
ca9fef071d fix: ignore pointer events on input outline. fixes #765 2019-02-06 20:10:57 +01:00
Satyajit Sahoo
5258ac131e feat: add a selectionColor prop to TextInput 2019-02-06 19:42:16 +01:00
Satyajit Sahoo
bd512f3bbc fix: only log icon load error when trying to use an icon. closes #818 2019-02-06 18:28:24 +01:00
Julian Hundeloh
8d48402f85 fix: collapsed content in DataTable (#816) 2019-02-06 16:15:05 +01:00
Julian Hundeloh
3df26e4d51 fix: disable unpressable DataTable title (#756) 2019-02-06 15:16:04 +01:00
Julian Hundeloh
ad6f253df8 feat: add card title component (#796)
* feat: card title

* fix: add action prop

* fix: harmonize props with List.Item

* fix: set fixed width of left element

* fix: optimize height
2019-02-06 10:21:01 +01:00
Satyajit Sahoo
6c2837d5ad chore: release 2.10.1 v2.10.1 2019-02-04 21:56:57 +01:00
Satyajit Sahoo
5ea17b84a3 fix: make activity indicator methods private 2019-02-04 21:56:34 +01:00
Satyajit Sahoo
e11a293f30 chore: release 2.10.0 v2.10.0 2019-02-04 21:52:47 +01:00
Satyajit Sahoo
6415ba54d1 fix: fix dialog closes even if you tap inside. fixes #809 2019-02-04 21:49:45 +01:00
Satyajit Sahoo
5ac1daf425 docs: fix instructions for web 2019-02-04 21:48:34 +01:00
Lukas Kurucz
852ed3eb79 fix: fix ToggleButton value change with ToggleButton.Group (#805) 2019-02-04 21:42:18 +01:00
Rajendran Nadar
c552f000e3 docs: fix broken image link activity indicator (#811)
<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Motivation

https://callstack.github.io/react-native-paper/activity-indicator.html

Gif not showing up in activity indicator example.
<!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? -->

### Test plan

Fixed the name of the gif file.

<!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. -->
2019-02-04 21:40:25 +01:00
Lukas Kurucz
f79c00d835 docs: remove whitespace around selection (#810) 2019-02-04 21:39:58 +01:00
Dawid
cf79f65c42 fix: fix path to ToggleButtonGroup component. (#806) 2019-02-04 12:08:49 +01:00
Julian Hundeloh
fb6762ee10 feat: ActivityIndicator component (#723)
This component serves as a drop-in replacement for the component that is delivered by React Native out of the box. It's design tries to imitate the indeterminate circular progress indicator from the Material guidelines:
https://material.io/design/components/progress-indicators.html#circular-progress-indicators
2019-02-04 08:34:56 +01:00
Satyajit Sahoo
428b5c5199 chore: release 2.9.1 v2.9.1 2019-02-02 14:32:04 +01:00
Satyajit Sahoo
22514d6f93 fix: hide banner if visible=false before height is measured. fixes #803 2019-02-02 14:25:02 +01:00
Satyajit Sahoo
c9a89efa52 chore: release 2.9.0 v2.9.0 2019-02-01 23:14:14 +01:00
Satyajit Sahoo
a07962638b fix: fix random onLayout events in Bottom Navigation. fixes #800 2019-02-01 23:13:01 +01:00
Satyajit Sahoo
c5ab9a3430 feat: add ripple effect on the web (#793)
![kapture 2019-01-31 at 21 00 58](https://user-images.githubusercontent.com/1174278/52082231-8b144c80-259c-11e9-8753-2df5f98e9ef4.gif)
2019-02-01 21:37:06 +01:00
Luís
550213b760 docs: adjust gestures distance for iOS on example app (#797)
### Motivation

Fixes #282 in example app. It gives extra space for gestures in `react-navigation`.
This is also a fix for the previous PR #754 

### Test plan

Open the example app, change screen and test the gestures in iOS.
2019-02-01 15:54:59 +01:00
Satyajit Sahoo
195d6bcb21 chore: release 2.8.0 v2.8.0 2019-02-01 12:14:02 +01:00
Ferran Negre
492230cb99 fix: Android P ripple effect using overflow hidden and useForeground (#788)
* fix: Android P ripple effect using overflow hidden and useForeground

* fix: simplify condition

* fix: IconButton when borderless on Android P.
2019-01-31 17:14:57 +01:00
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.

![2019-01-24 17 51 02](https://user-images.githubusercontent.com/434227/51666158-ab726300-2000-11e9-9da1-b5a8be0ad32d.png)

### 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