88 Commits

Author SHA1 Message Date
rajpootathar
5dc4627947
fixed crash if onFillChange is not provided
onFillChange is not required by default.
2020-10-05 16:32:03 +05:00
Markus Lindqvist
cef865aa16
Merge pull request #257 from yigithanyucedag/master
Function that returns current progress on every fill amount change
2020-08-27 13:10:19 +03:00
yigithanyucedag
b405cc4a74 listener added for fill animation 2020-08-27 10:29:48 +03:00
aboveyunhai
7fb589d302 chain isRequired 2020-08-20 16:13:27 -04:00
aboveyunhai
8ad84bb42c Fix the proptype warning on Animated.Value 2020-08-20 16:07:19 -04:00
Johan-dutoit
3358d3dda3 feat(linecap): add control fill line cap separately from arc line cap 2020-07-21 15:09:35 +02:00
Brian
c4df58abdc
Deprecates ViewPropTypes
replaces ViewPropTypes.style with PropTypes.object
addresses #244
2020-07-01 13:11:03 -07:00
aboveyunhai
bef6d3285e Fix: proptypes for tinttransparency, rename dashed fill name to tint 2020-02-20 22:50:59 -05:00
aboveyunhai
4599fb3f9f Add dashed type and transparency for bar fill 2020-02-19 23:27:11 -05:00
rajpootathar
ff1b84cec8
adding dashes to fill as well
dashes will now work for fill.
2020-02-16 03:22:08 +05:00
aboveyunhai
8f362545ee Fix: useNativeDriver cause props undefined. 2020-01-27 13:01:54 -05:00
Diego Lopez
f3a50dd0af Add explicit useNativeDriver to AnimatedCircularProgress 2020-01-14 12:38:37 +00:00
Lukas Baranauskas
8f3494962d
Fix array of zeros on iOS
The output of warning was being caused on every fill progress update if dash style wasn't provided so it resulted in array of eros [0,0]. 
`CGContextSetLineDash: invalid dash array: at least one element must be non-zero`
2020-01-02 14:03:56 +02:00
aboveyunhai
a1f8e6c19f fix renderCap overflow issue 2019-11-27 16:16:22 -05:00
aboveyunhai
dd7156712d fix dashedBackgroundStyle parsing issue 2019-11-25 22:51:25 -05:00
Md Balal Raza
c3d72b010f
Fix #215: strokeDasharray expects array of numbers
PR #215 is a fix in the right direction. However, it doesn't solve issue #213 completely.
strokeDasharray expects an array of numbers. Object.values() returns all strings, always.
2019-10-31 19:36:37 +05:30
Cyril Quintin
6887bc25d7 Fix #213: strokeDashArray expects an array rather than an object 2019-10-23 13:47:17 +02:00
fecortez
cab76373df Update README to document dashedBackground and fix padding key from defaultProps 2019-09-26 16:38:43 -03:00
fecortez
b192139f41 Add dashed type for background 2019-09-26 14:24:25 -03:00
Alec Winograd
5a11d0ea4f Add ability to render a custom cap over the progress circle
Adds two new props

* padding - adds space around the circle to allow for a cap that bleeds over without clipping
* renderCap - a function that returns the Svg component to draw
2019-09-13 16:39:14 -05:00
Talha Azhar
b91b0f95b9
Update AnimatedCircularProgress.js 2019-09-04 09:45:31 -07:00
Talha Azhar
48855cad20
removing debugging log code 2019-09-04 09:44:50 -07:00
talhaazhar
4e0ca4ad86 Dynamic fill color addressing Issue #188 2019-09-03 13:45:35 -07:00
Ray Zeller
c0449034ed Add style overrides for children container 2019-05-22 09:38:44 -06:00
Jacob Lauritzen
07f332cbeb More code style 2019-03-13 11:12:14 +08:00
Jacob Lauritzen
327cce9a33 Fix #176, code style 2019-03-13 11:08:50 +08:00
Lucas Bento
7fdd5d30cf fix issue with circle not disappearing when is equal to 2019-02-26 08:58:44 +01:00
Lucas Bento
1a37f2bb05 fix issue with circle not animating when is equal to 0 2019-02-26 08:45:13 +01:00
Markus Lindqvist
181cab5bbb
Merge pull request #159 from Alisan26/master
overflow:hidden added and now fill in image, border radius work in android
2018-12-09 15:45:20 +02:00
Nairi Narinyan
681413a2c2 reanimate and return animation to control 2018-11-04 20:47:31 +04:00
Alisan26
00f909088b overflow:hidden added 2018-09-24 23:08:21 +03:00
mi5q
14030d7aaf fix linecap 2018-07-05 12:46:44 +02:00
Jacob Lauritzen
086d7cd928 Return animation, new default easing 2018-06-28 12:21:19 +02:00
Jacob Lauritzen
2474fdbd7c Fixes 2018-06-25 16:46:28 +02:00
Jacob Lauritzen
805c34efcd Revert back to FACC 2018-06-25 16:23:21 +02:00
Jacob Lauritzen
11f9464ab3 Converge animations, move to PureComponent 2018-06-25 16:16:27 +02:00
Jacob Lauritzen
dfd9f6fa79 Move to pure component 2018-06-25 15:10:47 +02:00
Jacob Lauritzen
5d714a016b style update 2018-06-25 15:10:01 +02:00
Jacob Lauritzen
2081b566b8
Merge pull request #108 from alimek/master
change propTypes to access object for `size` prop.
2018-06-22 15:54:40 +02:00
Julian Kingman
a602fe601c fix angle 2018-06-19 12:33:44 -04:00
Julian Kingman
1beee68608 rm appstate 2018-06-19 12:29:47 -04:00
Julian Kingman
e6514b40c0 replace ART with react-native-svg, remove Android hack 2018-06-19 12:23:46 -04:00
Grzegorz Mandziak
f1ff66afa2
Merge pull request #1 from bgryszko/master
merge
2018-05-24 08:59:31 +02:00
Jacob Lauritzen
f543781053 Migrate to renderChildren-prop 2018-04-02 17:45:55 +02:00
Jacob Lauritzen
07c8e10fe2 camelCase lineCap-prop. Documentation update 2018-04-02 17:33:26 +02:00
Jacob Lauritzen
5b3f583b28 Make backgroundColor optional 2018-04-02 17:29:05 +02:00
Jacob Lauritzen
c9a0b227f6
Merge pull request #126 from lbrdar/master
Transparent background fix
2018-03-14 13:56:20 +01:00
Leo Brdar
8a30402301 Remove unnecessary transparent backgroundColor in childContainerStyle 2018-03-14 13:53:57 +01:00
Leo Brdar
1b05e77c4c Make timer transparent by default 2018-03-14 11:04:34 +01:00
Leo Brdar
3689be0330 Add the 'transparent' prop to enable custom background and content behind the circle progress component 2018-03-13 21:53:53 +01:00