Commit Graph
1589 Commits
Author SHA1 Message Date
Mikael Sand 7bc717bfd5 fix(android): better npm ignores
Had to make a commit to have semantic-release notice any changes
Also, format markdown files
2019-12-10 21:21:35 +02:00
Mikael SandandGitHub f0e13a7a7d Merge pull request #1219 from SaeedZhiany/patch-2
ignore some more file and folders in android path
2019-12-10 21:12:44 +02:00
Mikael SandandGitHub 29cc11e914 Merge pull request #1218 from SaeedZhiany/patch-1
added common Marker props to CommonPathProps
2019-12-10 21:12:11 +02:00
SaeedZhianyandGitHub 97fe7c0833 ignore some more file and folders in android path 2019-12-10 18:32:59 +03:30
SaeedZhianyandGitHub 9f4c2b5ec1 added common Marker props to CommonPathProps 2019-12-10 16:15:55 +03:30
Mikael SandandGitHub 109f6ee37a Create CONTRIBUTING.md
Based on https://github.com/react-native-community/react-native-device-info/blob/master/CONTRIBUTING.md and https://github.com/react-native-community/async-storage/blob/LEGACY/CONTRIBUTING.md
2019-12-10 04:06:22 +02:00
Mikael SandandGitHub d1712b752f Create CODE_OF_CONDUCT.md 2019-12-10 03:42:03 +02:00
semantic-release-bot ff4d252835 chore(release): 9.13.5 [skip ci]
## [9.13.5](https://github.com/react-native-community/react-native-svg/compare/v9.13.4...v9.13.5) (2019-12-09)

### Bug Fixes

* **android:** deprecation warning in TSpanView ([6035d2d](https://github.com/react-native-community/react-native-svg/commit/6035d2df137be94c144135ede1e8f70934e1439a))
2019-12-09 23:51:54 +02:00
Mikael Sand 6035d2df13 fix(android): deprecation warning in TSpanView 2019-12-09 23:51:01 +02:00
semantic-release-bot 80a747cf85 chore(release): 9.13.4 [skip ci]
## [9.13.4](https://github.com/react-native-community/react-native-svg/compare/v9.13.3...v9.13.4) (2019-12-09)

### Bug Fixes

* initialize PathView with empty path ([45192bd](https://github.com/react-native-community/react-native-svg/commit/45192bd0864198ffe2573f404974fc3d17a2ec93))
* **ios:** Fix image size when calling getDataURL with bounds. fixes [#855](https://github.com/react-native-community/react-native-svg/issues/855) ([45b0859](https://github.com/react-native-community/react-native-svg/commit/45b0859b7f4fa0ee8c515b4e11f136ed3783c2e6))
2019-12-09 21:32:42 +02:00
Mikael Sand aac3dc014e chore: generate flow types from ts definitions 2019-12-09 21:29:07 +02:00
Mikael Sand c0ffc65609 chore: refactor props and styles extraction 2019-12-09 21:28:02 +02:00
Mikael SandandGitHub 353eddc43c Merge pull request #1209 from SaeedZhiany/FixMarkerTypeDefinition
added Marker component to definition file
2019-12-09 21:20:11 +02:00
Mikael SandandGitHub 95a932a985 Merge pull request #1190 from SaeedZhiany/ReducePackageSize
separate npmignore entries into their related folders
2019-12-09 21:17:57 +02:00
Mikael SandandGitHub 151da0cb10 Merge pull request #1187 from rodolfovilaca/fix-onpress-web-elements
Fix onPress handler mapping on web elements
2019-12-09 21:16:32 +02:00
Mikael SandandGitHub 3dd2c0aa45 Merge pull request #1217 from steadyapps/master
fix memory font memory leaks iOS
2019-12-09 21:15:09 +02:00
Mikael SandandGitHub 1a903b79aa Merge pull request #1203 from jayu/fix/path_d_reanimated
fix: initialize PathView with empty path to support reanimated on Android
2019-12-09 21:13:10 +02:00
Jakub Adamczyk 6be3614d86 fix memory font memory leaks iOS 2019-12-09 16:06:28 +01:00
Mikael SandandGitHub f341a310fe Merge pull request #1212 from moay/patch-1
Fixes readme
2019-12-07 01:47:03 +02:00
moayandGitHub b092096450 Fixes readme
This line in the readme triggers a warning when running tests with jest. It should be updated to the new, correct import as promoted by expo.
2019-12-05 09:40:52 +01:00
SaeedZhianyandGitHub cf150875a0 added Marker component to definition file 2019-12-02 14:08:30 +03:30
Kuba 45192bd086 fix: initialize PathView with empty path 2019-11-28 12:39:27 +01:00
SAEED a4a27e685f separate npmignore entries into their related folders 2019-11-13 11:21:11 +03:30
Rodolfo Vilaça 704094c4ca Fix onPress handler mapping on web elements 2019-11-11 21:12:16 -03:00
Mikael Sand 45b0859b7f fix(ios): Fix image size when calling getDataURL with bounds. fixes #855
UIGraphicsBeginImageContextWithOptions third argument was incorrect:

https://developer.apple.com/documentation/uikit/1623912-uigraphicsbeginimagecontextwitho
The scale factor to apply to the bitmap. If you specify a value of 0.0,
the scale factor is set to the scale factor of the device’s main screen.
2019-11-06 19:35:03 +02:00
Mikael SandandGitHub ea29b02000 Merge pull request #724 from react-native-community/bidi
feat(android): Bidi
2019-10-29 19:11:29 +02:00
Mikael Sand 0cc5330d60 [android] Initial work on Bidi and arabic font features 2019-10-29 17:54:47 +02:00
semantic-release-bot 29dd8a43df chore(release): 9.13.3 [skip ci]
## [9.13.3](https://github.com/react-native-community/react-native-svg/compare/v9.13.2...v9.13.3) (2019-10-25)

### Bug Fixes

* **android:** Image onPress [#1170](https://github.com/react-native-community/react-native-svg/issues/1170) ([5c967b7](https://github.com/react-native-community/react-native-svg/commit/5c967b7c6992246ebd602e9a86d2544f0662ce10))
2019-10-25 21:37:48 +03:00
Mikael Sand 8b578929bc Merge branch 'develop' 2019-10-25 21:35:57 +03:00
Mikael Sand 18036efc3c deps: upgrades 2019-10-25 21:34:32 +03:00
Mikael Sand 5c967b7c69 fix(android): Image onPress #1170 2019-10-25 21:23:55 +03:00
Mikael SandandGitHub ef7682f34e Merge pull request #1167 from iqqmuT/css_readme
Readme update: Support for CSS
2019-10-24 00:52:07 +03:00
Tuomas Jaakola 98d27837f9 readme: css support 2019-10-24 00:43:08 +03:00
Tuomas Jaakola efd4c012d9 cleaning readme 2019-10-24 00:04:02 +03:00
semantic-release-bot 021b1a864c chore(release): 9.13.2 [skip ci]
## [9.13.2](https://github.com/react-native-community/react-native-svg/compare/v9.13.1...v9.13.2) (2019-10-23)

### Bug Fixes

* make css-select and css-tree dependencies instead of peers ([957914d](https://github.com/react-native-community/react-native-svg/commit/957914d59b27e22121d13f13cb54a051b893b446)), closes [#1166](https://github.com/react-native-community/react-native-svg/issues/1166)
2019-10-23 21:21:43 +03:00
Mikael Sand 957914d59b fix: make css-select and css-tree dependencies instead of peers
fixes #1166

metro tries to resolve the dependencies,
even if the components which are using them are not used / imported.
2019-10-23 21:21:10 +03:00
semantic-release-bot f24dd66799 chore(release): 9.13.1 [skip ci]
## [9.13.1](https://github.com/react-native-community/react-native-svg/compare/v9.13.0...v9.13.1) (2019-10-23)

### Bug Fixes

* update flow types ([a50a856](https://github.com/react-native-community/react-native-svg/commit/a50a85671ea94e616eff761346875701f95d90ec))
2019-10-23 20:28:31 +03:00
Mikael Sand a50a85671e fix: update flow types 2019-10-23 20:27:12 +03:00
semantic-release-bot 8c1a1737b0 chore(release): 9.13.0 [skip ci]
# [9.13.0](https://github.com/react-native-community/react-native-svg/compare/v9.12.0...v9.13.0) (2019-10-23)

### Bug Fixes

* camelCase css from style elements ([9ee5a28](https://github.com/react-native-community/react-native-svg/commit/9ee5a28b37edf403c503aed4f37edbaebe201eb0))
* don't overwrite inline styles when inlining style elements ([6e1d825](https://github.com/react-native-community/react-native-svg/commit/6e1d8257a4b42b9888a6374ae203f07a932ca96f))
* handle basic css media query selectors ([168ee25](https://github.com/react-native-community/react-native-svg/commit/168ee25ee4b193d85757e01b20840baf54872cfc))
* handle style elements with CDATA ([b3fca84](https://github.com/react-native-community/react-native-svg/commit/b3fca84fb1b9091246310270d64dcef730ee05a9))
* improve style element inlining, support more selectors and optimize ([8c9de72](https://github.com/react-native-community/react-native-svg/commit/8c9de72bda2a4e00efb1747f7c8e922fac92e194))
* improve types for extractTransform ([a37ebbb](https://github.com/react-native-community/react-native-svg/commit/a37ebbbb1559b337b58327f79819c494029597fa))
* only compute selector specificity once per selector ([9f53e31](https://github.com/react-native-community/react-native-svg/commit/9f53e31b24c940052a8d25671f92074194856f05))
* types for css support ([c969159](https://github.com/react-native-community/react-native-svg/commit/c96915923e784607b14b7f437ae4dd58c31bde36))
* use correct import in test ([a57963e](https://github.com/react-native-community/react-native-svg/commit/a57963eb4d3ec0c1645bf4251cf2b54507441532))

### Features

* implement experiment to inline css from style elements ([5f3852b](https://github.com/react-native-community/react-native-svg/commit/5f3852bf9cb41e79d50a4fcb800fdd7ba895f023))
* implement SvgWithCss and SvgWithCssUri with Animated support ([6fb8dd5](https://github.com/react-native-community/react-native-svg/commit/6fb8dd53dba5af19ffc8f686a6310182fca87fd3))
2019-10-23 19:18:57 +03:00
Mikael Sand 6fb8dd53db feat: implement SvgWithCss and SvgWithCssUri with Animated support
Expose types of SvgCss, SvgWithCss, SvgCssUri & SvgWithCssUri
Move css-select and css-tree to peerDependencies & devDependencies
2019-10-23 19:13:57 +03:00
Mikael Sand 7370225005 tests: upgrade travis node.js version from 10 to 12 2019-10-23 17:51:58 +03:00
Mikael Sand b1c0a43e9a tests: add test for combining parse with inlineStyles 2019-10-23 17:43:41 +03:00
Mikael Sand fdd1698f73 Merge remote-tracking branch 'origin/develop' into css 2019-10-23 17:31:17 +03:00
Mikael Sand 9211b1e916 Merge remote-tracking branch 'origin/master' into develop 2019-10-23 17:29:02 +03:00
Mikael SandandGitHub c3be11b032 Merge pull request #1156 from SaeedZhiany/patch-1
Load Android Gradle Plugin conditionally
2019-10-23 17:03:52 +03:00
Mikael SandandGitHub c57c92ee7b Merge pull request #1157 from iqqmuT/css_test
Test case for CSS support
2019-10-23 16:46:14 +03:00
Mikael SandandGitHub 2b13907f5b Merge pull request #1161 from amandeepmittal/patch-1
docs: update with Expo installation steps
2019-10-23 16:32:03 +03:00
Tuomas Jaakola 614233786c merge conflict resolved 2019-10-22 12:32:02 +03:00
Mikael Sand 017ba70fcd refactor: remove need for inline disabling of linting 2019-10-22 02:01:42 +03:00
Mikael Sand 64d68a7673 refactor: specialize sorting types 2019-10-22 01:19:58 +03:00