Commit Graph
1512 Commits
Author SHA1 Message Date
Mikael Sand 9ee5a28b37 fix: camelCase css from style elements 2019-10-20 17:28:57 +03:00
Mikael Sand 45e8e8dd0d refactor: fix types for parse and update package-lock.json 2019-10-20 16:49:50 +03:00
Mikael Sand ce091cc03f refactor: simplify inlining css from style elements 2019-10-20 16:35:24 +03:00
Mikael Sand b3fca84fb1 fix: handle style elements with CDATA 2019-10-20 16:09:37 +03:00
Mikael Sand 5f3852bf9c feat: implement experiment to inline css from style elements 2019-10-20 15:35:33 +03:00
Mikael SandandGitHub 0fc36a15b2 Merge pull request #1154 from sairus2k/develop
Remove ts-ignore comment
2019-10-20 11:41:25 +03:00
Anton Savoskin a37ebbbb15 fix: improve types for extractTransform 2019-10-20 11:19:54 +07:00
Mikael Sand c3e5dca775 refactor: inline extractClipPath as it's only used in one place now 2019-10-20 00:57:41 +03:00
semantic-release-bot 189df82f17 chore(release): 9.12.0 [skip ci]
# [9.12.0](https://github.com/react-native-community/react-native-svg/compare/v9.11.1...v9.12.0) (2019-10-19)

### Bug Fixes

* handle setting transform attribute on clipPath, fixes [#1152](https://github.com/react-native-community/react-native-svg/issues/1152) ([73b21d1](https://github.com/react-native-community/react-native-svg/commit/73b21d1))
* improve handling of transform attribute on clipPath, fixes [#1152](https://github.com/react-native-community/react-native-svg/issues/1152) ([3aa126e](https://github.com/react-native-community/react-native-svg/commit/3aa126e))
* **ios:** backwards compatible RCTImageLoader.h handling fixes [#1141](https://github.com/react-native-community/react-native-svg/issues/1141) ([3c22c97](https://github.com/react-native-community/react-native-svg/commit/3c22c97))
* **ios:** clipPath rendering, fixes [#1131](https://github.com/react-native-community/react-native-svg/issues/1131) ([2534537](https://github.com/react-native-community/react-native-svg/commit/2534537))
* **ios:** deprecation of RCTImageLoader fixes [#1141](https://github.com/react-native-community/react-native-svg/issues/1141) ([5452144](https://github.com/react-native-community/react-native-svg/commit/5452144))
* **ios:** fix changes in color/currentColor/tintColor, fixes [#1151](https://github.com/react-native-community/react-native-svg/issues/1151) ([0c7e94d](https://github.com/react-native-community/react-native-svg/commit/0c7e94d))
* **ios:** image viewBox opposite handling of y alignment, fixes [#1138](https://github.com/react-native-community/react-native-svg/issues/1138) ([c69e9e2](https://github.com/react-native-community/react-native-svg/commit/c69e9e2))
* **js:** allow setting stopColor/Opacity/Offset using styles, fix [#1153](https://github.com/react-native-community/react-native-svg/issues/1153) ([5984e06](https://github.com/react-native-community/react-native-svg/commit/5984e06))
* getPointAtLength signature ([2c57af2](https://github.com/react-native-community/react-native-svg/commit/2c57af2))
* getScreenCTM calculation ([5c5072d](https://github.com/react-native-community/react-native-svg/commit/5c5072d))
* improve native method spec conformance ([c63f9e2](https://github.com/react-native-community/react-native-svg/commit/c63f9e2))
* improve types for getBBox ([cecde7d](https://github.com/react-native-community/react-native-svg/commit/cecde7d))
* prepare script ([9a3dc4e](https://github.com/react-native-community/react-native-svg/commit/9a3dc4e))
* **ios:** memory leak in tspan, fixes [#1073](https://github.com/react-native-community/react-native-svg/issues/1073) ([974f3a8](https://github.com/react-native-community/react-native-svg/commit/974f3a8))
* fix native methods spec conformance ([ecedb21](https://github.com/react-native-community/react-native-svg/commit/ecedb21))
* Make native methods synchronous ([8ce7611](https://github.com/react-native-community/react-native-svg/commit/8ce7611))
* refine types for matrix helpers ([409af91](https://github.com/react-native-community/react-native-svg/commit/409af91))
* refine types for matrix helpers ([7a3f867](https://github.com/react-native-community/react-native-svg/commit/7a3f867))
* **android:** defineMarker/getDefinedMarker storage ([e6eda84](https://github.com/react-native-community/react-native-svg/commit/e6eda84))
* **android:** native method scaling and getScreenCTM offset ([f3e0b19](https://github.com/react-native-community/react-native-svg/commit/f3e0b19))
* native method signatures web compatibility / spec conformance ([8687a3d](https://github.com/react-native-community/react-native-svg/commit/8687a3d))
* **ios:** optimize extractPathData, clear PathMeasure when no textPath ([df69c26](https://github.com/react-native-community/react-native-svg/commit/df69c26))

### Features

* **flow:** add flowgen to generate flow types from typescript, [#1125](https://github.com/react-native-community/react-native-svg/issues/1125) ([fcd66fb](https://github.com/react-native-community/react-native-svg/commit/fcd66fb))
* implement getBBox, getCTM, getScreenCTM ([f13d54a](https://github.com/react-native-community/react-native-svg/commit/f13d54a))
* implement isPointInStroke ([2ba64df](https://github.com/react-native-community/react-native-svg/commit/2ba64df))
* initial implementation of isPointInFill ([203e53b](https://github.com/react-native-community/react-native-svg/commit/203e53b))
* support using native methods using promises instead of callbacks ([c28499b](https://github.com/react-native-community/react-native-svg/commit/c28499b))
* **android:** implement getTotalLength and getPointAtLength ([cd667d0](https://github.com/react-native-community/react-native-svg/commit/cd667d0))
* **ios:** implement getTotalLength and getPointAtLength ([78c4f20](https://github.com/react-native-community/react-native-svg/commit/78c4f20))
2019-10-19 23:09:58 +03:00
Mikael SandandGitHub c78cb833ea Merge pull request #1135 from react-native-community/develop
Native methods - Experimental
2019-10-19 23:08:55 +03:00
Mikael Sand 099439ca9f refactor: add note about experimental native methods 2019-10-19 23:03:57 +03:00
Mikael Sand dc7d0768b0 refactor: run format / prettier, update readme 2019-10-19 22:57:44 +03:00
Mikael Sand 2852413697 Merge remote-tracking branch 'origin/master' into develop 2019-10-19 22:56:28 +03:00
Mikael Sand 4b99246547 refactor: optimize propsAndStyles 2019-10-19 22:56:04 +03:00
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 0c7e94d0cb fix(ios): fix changes in color/currentColor/tintColor, fixes #1151 2019-10-19 21:49:18 +03:00
Mikael Sand 3c22c97572 fix(ios): backwards compatible RCTImageLoader.h handling fixes #1141 2019-10-19 14:30:18 +03:00
Mikael Sand 5452144468 fix(ios): deprecation of RCTImageLoader fixes #1141 2019-10-19 14:03:47 +03:00
Mikael SandandGitHub cc1f835dc9 Update README.md
Add serialization example
2019-10-19 12:32:18 +03:00
Mikael Sand 9a3dc4e71d fix: prepare script 2019-10-07 21:46:48 +03:00
Mikael Sand c69e9e22c1 fix(ios): image viewBox opposite handling of y alignment, fixes #1138 2019-10-07 21:23:52 +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 2534537bde fix(ios): clipPath rendering, fixes #1131 2019-10-07 17:35:30 +03:00
Mikael Sand c63f9e29ff fix: improve native method spec conformance 2019-10-06 17:47:46 +03:00
Mikael Sand 974f3a8e8e fix(ios): memory leak in tspan, fixes #1073 2019-10-05 18:44:26 +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 e6eda84513 fix(android): defineMarker/getDefinedMarker storage 2019-10-05 12:30:37 +03:00
Mikael Sand 5c5072dbef fix: getScreenCTM calculation 2019-10-05 11:58:48 +03:00
Mikael Sand f3e0b190a9 fix(android): native method scaling and getScreenCTM offset 2019-10-04 20:49:54 +03:00
Mikael Sand 8687a3d1e9 fix: native method signatures web compatibility / spec conformance 2019-10-04 19:55:24 +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 88d7ebf360 chore: update readme 2019-10-04 17:50:46 +03:00
Mikael Sand df69c26f9c fix(ios): optimize extractPathData, clear PathMeasure when no textPath
Return early if calling extractPathData with same CGPath as previously
2019-10-04 17:31:08 +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 cd667d0a39 feat(android): implement getTotalLength and getPointAtLength 2019-10-03 22:29:59 +03:00
Mikael Sand 78c4f2098d feat(ios): implement getTotalLength and getPointAtLength 2019-10-03 22:17:59 +03:00
Mikael Sand 203e53b6ac feat: initial implementation of isPointInFill 2019-10-03 19:12:27 +03:00
semantic-release-bot b6ee11ad9e chore(release): 9.11.1 [skip ci]
## [9.11.1](https://github.com/react-native-community/react-native-svg/compare/v9.11.0...v9.11.1) (2019-10-03)

### Bug Fixes

* marker onPress & gestures ([bff92f0](https://github.com/react-native-community/react-native-svg/commit/bff92f0))
2019-10-03 16:51:09 +03:00
Mikael Sand bff92f0bdf fix: marker onPress & gestures 2019-10-03 16:50:25 +03:00
Mikael SandandGitHub 0c127dc6bc Update README.md 2019-10-03 14:18:48 +03:00
semantic-release-bot c50479416d chore(release): 9.11.0 [skip ci]
# [9.11.0](https://github.com/react-native-community/react-native-svg/compare/v9.10.2...v9.11.0) (2019-10-03)

### Features

* implement support for context-fill and context-stroke color ([f9a7238](https://github.com/react-native-community/react-native-svg/commit/f9a7238))
2019-10-03 14:16:33 +03:00