Commit Graph

129 Commits

Author SHA1 Message Date
Mikael Sand c76ce3c780 Fix remaining React.PropTypes to use import PropTypes from 'prop-types'; 2017-07-15 17:13:39 +03:00
Mikael Sand 7547effd1f Merge remote-tracking branch 'upstream/master' into 5.3.0-conformance
# Conflicts:
#	lib/extract/extractViewBox.js
#	package.json
2017-07-15 14:07:29 +03:00
Igor Borges 2e5ea29e68 move createReactNativeComponentClass import 2017-06-26 18:11:32 -03:00
Mikael Sand bd84f09a96 Implement correct path measurement, matrix calculation, getTextAnchorShift, startOffset.
Add method and spacing attributes to textPath.
Correct startOffset calculation.
Implement method="stretch".
2017-06-22 17:02:30 +03:00
Mikael Sand 155fa4b6ae Implement support for em in dx and dy attributes and font props for G element 2017-06-20 03:15:01 +03:00
Horcrux 01cf68d319 Merge pull request #336 from timrc/gh331-prop-types-deprecated
Replaced React and RN PropTypes with prop-types package
2017-06-08 10:06:00 +08:00
Mikael Sand 77e54cfcfb Fix linting 2017-06-07 17:25:22 +03:00
orenklein d335a4db07 Migrate from View.propTypes to ViewPropTypes
According to react native 0.44 changes. 
(#338 #331)
2017-05-18 16:28:11 +03:00
Tim Rijavec 294d2da2b3 Replaced React and RN PropTypes with prop-types package 2017-05-15 16:34:42 +01:00
陈阳 beb0ee9506 Upgrade react-native to 0.44.0, Upgrade peerDependencies 2017-05-02 11:57:56 +08:00
Horcrux e3b2f4c71a Fix Polygon and Polyline 2017-04-04 11:56:38 +08:00
Horcrux 9df76e5668 Use Image.propTypes.source as href propType 2017-04-04 10:45:54 +08:00
Horcrux cad8d8902b Merge pull request #216 from gpminsuk/master
Data URI support for href in react-native-svg Image tag
2017-04-04 10:41:35 +08:00
Horcrux 5bd9b40c17 refactor Components props extracting 2017-02-03 19:43:25 +08:00
Horcrux cfaca8b3cb Add gradientUnits support 2017-01-24 22:24:36 +08:00
Horcrux 393e5096c4 Remove unused code 2017-01-22 21:18:45 +08:00
Horcrux 3765e52c67 Invoke toDataURL on Android in a more proper way 2017-01-22 18:27:35 +08:00
Horcrux 1b04e11ca4 Refactor Symbol on iOS 2017-01-22 17:51:47 +08:00
Horcrux 8582e076e4 Merge branch 'master' into percentage-props-refactor-ios 2017-01-20 14:59:14 +08:00
Horcrux 43e45b95c5 Fix #231 2017-01-16 21:01:12 +08:00
Horcrux 7c9f6b2d3d Remove unused public method 2017-01-16 14:38:43 +08:00
Horcrux 6e81ecf147 Fix touch events on Text elements 2017-01-11 18:55:42 +08:00
Horcrux b15d0791e0 Add startOffset support 2017-01-10 12:30:48 +08:00
Horcrux 52dfe21074 Implement TextPath: first step (iOS) 2017-01-09 20:16:20 +08:00
Horcrux 1d06134719 Add TextPath element 2017-01-09 13:08:22 +08:00
Horcrux f9fe7bdc4e merge master fix conflicts 2017-01-09 11:11:12 +08:00
Minsuk Kang 2f8d9aafd2 revert data:// 2017-01-06 14:47:36 -08:00
Minsuk Kang 680e001070 Image ratio validation and check for iOS 2017-01-06 14:46:59 -08:00
Minsuk Kang 57c1fe5a96 To allow only data URI as iOS does not support async image loading 2017-01-06 13:31:40 -08:00
Minsuk Kang cf974b64f8 Add width/height proptypes 2017-01-05 23:47:38 -08:00
Horcrux 0a6dc56b68 Move serialize path to native side 2017-01-06 14:57:06 +08:00
Minsuk Kang c3a736b1b9 Add uri loading 2017-01-05 21:56:38 -08:00
Horcrux aa881f8694 Fix viewBox bug 2016-11-29 21:24:14 +08:00
Horcrux efef97e36a Merge pull request #193 from calvium/fix_188_createReactNAtiveComponentClass
Fixes #188 in the master repo by replacing the path in the import with the new path
2016-11-29 21:02:28 +08:00
Pablo Carrillo 3e261b6c0a Fixes #188 in the master repo by replacing the path in the import with the new path 2016-11-24 15:05:02 +00:00
Matt Revell eb8d6fd52f Remove dependency on lodash in ViewBox.js 2016-11-24 10:04:44 +00:00
Horcrux da32b1bb96 Temp commit 2016-11-05 18:42:49 +08:00
Horcrux a37c3ceee6 finish basic text support on iOS 2016-09-17 15:42:27 +08:00
Horcrux d549f6ca9c clean up unused code 2016-09-17 09:49:28 +08:00
Horcrux 09c5b10f02 convert span frames into Span components 2016-09-17 00:20:18 +08:00
Horcrux ad196a7071 finish Text props extract refactoring 2016-09-16 23:59:38 +08:00
Horcrux 74b9917bd3 flattern text into several spans
flattern text into several spans (step 1, not finish yet)
2016-09-02 10:24:33 +08:00
Horcrux bd26c04a1d first step of TSpan 2016-08-30 09:37:38 +08:00
Horcrux 2fd643344a fix lint warning. 2016-08-13 15:09:28 +08:00
Horcrux d1afb78da0 Add preserveAspectRatio prop for Image
Add preserveAspectRatio prop for Image.
Fix touch events for Image on Android.
Fix viewBox slice bug on Android.
2016-08-13 14:03:08 +08:00
Horcrux 1dbe898d88 fix lint warnings. 2016-08-12 13:46:40 +08:00
Horcrux e747cc82a6 Add support to base64 data from svg
use `svgRef.toDataURL(function (base64) {console.log(base64);});` to get
base64 data of svgRef
2016-08-12 11:13:27 +08:00
Horcrux 76a3e8e32d add toDataURL method for svg elements
Add toDataURL method for svg elements to get data64 data  of svg.(iOS)
Add example for this.
2016-08-10 16:54:48 +08:00
Horcrux 6ebd928ab4 fix Text cannot handle touch events bug 2016-08-06 23:17:38 +08:00
Horcrux 7f4eb47f81 fix touch events within the elements which are nested in G 2016-08-06 21:37:58 +08:00