235 Commits

Author SHA1 Message Date
Mikael Sand
3aa126e6be fix: improve handling of transform attribute on clipPath, fixes #1152 2019-10-19 22:43:11 +03:00
Mikael Sand
73b21d1560 fix: handle setting transform attribute on clipPath, fixes #1152 2019-10-19 21:59:09 +03:00
Mikael Sand
5984e0629e fix(js): allow setting stopColor/Opacity/Offset using styles, fix #1153 2019-10-19 21:50:53 +03:00
Mikael Sand
fcd66fbf47 feat(flow): add flowgen to generate flow types from typescript, #1125
upgrade dev deps
2019-10-07 18:59:09 +03:00
Mikael Sand
8ce76113e1 fix: Make native methods synchronous 2019-10-05 18:43:00 +03:00
Mikael Sand
409af915ea fix: refine types for matrix helpers 2019-10-05 16:25:55 +03:00
Mikael Sand
7a3f86710c fix: refine types for matrix helpers 2019-10-05 16:20:19 +03:00
Mikael Sand
cecde7ddd3 fix: improve types for getBBox 2019-10-05 16:17:55 +03:00
Mikael Sand
ecedb21bac fix: fix native methods spec conformance
return SVGMatrix and SVGPoint from native methods
expose Matrix and Point helpers, types and classes
2019-10-05 14:46:40 +03:00
Mikael Sand
c28499bcc6 feat: support using native methods using promises instead of callbacks 2019-10-04 18:50:20 +03:00
Mikael Sand
8d1380aa01 breaking(web): support forwardedRef 2019-10-04 18:26:33 +03:00
Mikael Sand
2c57af2f2c fix: getPointAtLength signature
make first parameter a number instead of options object
2019-10-04 16:43:25 +03:00
Mikael Sand
2ba64df7cb feat: implement isPointInStroke 2019-10-04 16:34:11 +03:00
Mikael Sand
f13d54a850 feat: implement getBBox, getCTM, getScreenCTM
make callback last argument, unless options and optional
2019-10-04 12:45:49 +03:00
Mikael Sand
203e53b6ac feat: initial implementation of isPointInFill 2019-10-03 19:12:27 +03:00
Mikael Sand
f9a72381b7 feat: implement support for context-fill and context-stroke color 2019-10-03 14:15:04 +03:00
Mikael Sand
589363d4e6 feat(ios): implement marker rendering 2019-09-29 03:58:13 +03:00
Mikael Sand
61533c6841 feat: define marker attributes 2019-09-28 22:35:59 +03:00
Mikael Sand
e7b5978513 feat: define marker element 2019-09-28 21:42:23 +03:00
Mikael Sand
2fb39f5638 fix: handling of numeric id
fixes #1077
2019-09-28 19:32:46 +03:00
Mikael Sand
3f08c461bb fix: add gradientTransform to d.ts
fixes #1069
2019-09-28 02:30:59 +03:00
Mikael Sand
c12d66e779 fix: handling of rounded rect
fixes #1112
2019-09-28 01:36:05 +03:00
Mikael Sand
70c54e61a4 fix: units in linear and radial gradients
fixes #1110
fixes #1118
2019-09-28 00:45:07 +03:00
Mikael Sand
bd7e492910 fix: handling of focusable, fixes #1117 2019-09-27 11:56:13 +03:00
Mikael Sand
1eaf3a60c5 fix: handling of color/tintColor, fixes #1088 and #1115 2019-09-25 16:46:05 +03:00
Marnus Weststrate
2a26a1b3cf Use a single index.ts file to fix web imports
When package.json main points to index.js it is always used regardless
of whether there is an index.web.js and config.resolve.extensions
prefers '.web.js' extensions because the extionsion is already specified
in the main field. A single index.js file re-exporting from either
RNSVG.js or RNSVG.web.js allows Webpack to intercept the extension
resolution correctly.
2019-09-16 20:53:28 +03:00
Mikael Sand
467dd22d3e refactor: refine types 2019-09-09 23:39:05 +03:00
Mikael Sand
d226bb88cb refactor: refine types 2019-09-09 23:27:10 +03:00
Mikael Sand
50e72b5be7 fix: refine types 2019-09-09 23:21:13 +03:00
Mikael Sand
c3501cdcd0 refactor: refine types 2019-09-09 22:38:28 +03:00
Mikael Sand
9cda082d53 refactor: refine types 2019-09-09 22:30:54 +03:00
Mikael Sand
f389a1a753 feat: expose native components 2019-09-09 20:21:53 +03:00
Mikael Sand
1b0e4e4975 Merge remote-tracking branch 'origin/master' into ts
# Conflicts:
#	.gitignore
#	index.d.ts
2019-09-09 19:00:53 +03:00
Mikael Sand
ef3257cc0f fix: relax input types 2019-09-09 18:25:09 +03:00
Mikael Sand
4f3e34e556 refactor: typescript 2019-09-09 05:44:29 +03:00