Mikael Sand
ee6139cb03
Update README.md
2019-03-21 19:41:36 +02:00
Mikael Sand
27b49b2e4d
9.3.6
2019-03-21 19:06:39 +02:00
Mikael Sand
70ac80b297
Improved anchored text chunk logic #570
2019-03-21 18:21:40 +02:00
Mikael Sand
eaec9b9988
[android] Fix calculation / clearing of cached glyph advance
...
#977
2019-03-21 02:49:36 +02:00
Mikael Sand
1106dbae2e
9.3.5
2019-03-18 20:45:42 +02:00
Mikael Sand
0e48d439f1
[android] Fix SVG.toDataURL exception #948
2019-03-18 20:45:26 +02:00
Mikael Sand
0bea45b5e7
9.3.4
2019-03-18 20:10:58 +02:00
Mikael Sand
ccb06e8929
Fix Dynamic paths within <G> don't update #973
2019-03-18 20:09:58 +02:00
Mikael Sand
3cff87fd4f
Fix compatibility with svgr and images
...
#971
2019-03-17 03:27:53 +02:00
Mikael Sand
ec9637bcc5
Fix uncaught exception 'NSUnknownKeyException'
...
#959
2019-03-16 03:07:26 +02:00
Mikael Sand
cdf862ba73
9.3.3
2019-03-11 16:59:08 +02:00
Mikael Sand
41c66ab4b3
Merge branch 'master' of https://github.com/react-native-community/react-native-svg
2019-03-11 16:58:47 +02:00
Mikael Sand
3321ba1974
9.3.2
2019-03-11 16:56:55 +02:00
Mikael Sand
4f37411f8d
Merge pull request #965 from GertjanReynaert/patch-1
...
Fix typescript error in index.d.ts
2019-03-11 16:56:08 +02:00
Gertjan Reynaert
5505d3f11f
Fix typescript error in index.d.ts
...
When upgrading to react-native-svg 9.3.1 I got these error messages in Typescript
```
node_modules/react-native-svg/index.d.ts:105:19 - error TS1005: ';' expected.
105 VectorEffectProps {
~
node_modules/react-native-svg/index.d.ts:106:16 - error TS1109: Expression expected.
106 vectorEffect?: "none" | "non-scaling-stroke" | "nonScalingStroke" | "default" | "inherit" | "uri";
~
Found 2 errors.
```
It seems to me that this was caused by forgetting to add the `interface` keyword before `VectorEffectProps`.
This pr fixes that.
2019-03-11 09:25:59 +01:00
Mikael Sand
84e6f2402c
9.3.1
2019-03-11 04:37:52 +02:00
Mikael Sand
9a30e47ab9
Fix #961
...
### java compiler error
error: package com.facebook.infer.annotation does not exist
2019-03-11 04:37:52 +02:00
Mikael Sand
221e23a737
Update README.md
2019-03-11 03:36:03 +02:00
Mikael Sand
a6bd2d07c0
9.3.0
2019-03-11 03:13:07 +02:00
Mikael Sand
6bd27dfeba
[bugfix] Fix calling toDataUrl early and with options
...
Enable calling toDataUrl as soon as you get a ref to the svg root.
Fix invalidation and rendering with options for width and height.
2019-03-11 02:43:06 +02:00
Mikael Sand
74b0e3d99f
[web] refactor exports and cleanup docs
2019-03-10 03:51:59 +02:00
Mikael Sand
bd6ffcafe3
[js] optimize object allocations
2019-03-10 03:39:30 +02:00
Mikael Sand
fad190a283
Merge branch 'master' into vector-effect
2019-03-10 03:01:24 +02:00
Mikael Sand
7b83073856
[web] Refactor and cleanup
2019-03-10 02:33:53 +02:00
Mikael Sand
70c5954285
[web] Fix rotation transform handling, and simplify style resolution
2019-03-10 01:39:05 +02:00
Mikael Sand
53e91fcdfc
[web] Remove incorrect preserveAspectRatio logic
2019-03-09 06:28:25 +02:00
Mikael Sand
f9c9ac8920
Refactor web implementation
2019-03-09 05:55:55 +02:00
Mikael Sand
21c236abef
Fix handling of style arrays and react-native-web style numbers
2019-03-09 05:47:09 +02:00
Mikael Sand
5f34b210a1
Refactor web implementation
2019-03-09 04:50:04 +02:00
Mikael Sand
03e10ef038
Refactor web implementation
2019-03-09 04:43:35 +02:00
Mikael Sand
742b79b9b9
Add refactored implementation from https://github.com/msand/swgs/
2019-03-09 04:23:39 +02:00
Mikael Sand
f4144384ee
Merge pull request #958 from kristerkari/update-svg-transformer-docs
...
Update react-native-svg-transformer documentation
2019-03-09 01:20:52 +02:00
Mikael Sand
12c24b3b34
Merge pull request #955 from scottmas/patch-2
...
Update typings for vector effects
2019-03-09 01:20:32 +02:00
Mikael Sand
74f4fd6b30
Merge pull request #947 from flsilva/docs-svg-example
...
[docs] Add pencil example to showcase color inheritance.
2019-03-09 01:19:15 +02:00
Mikael Sand
43a29b0a43
Merge pull request #944 from flsilva/fix-svgprops-interface
...
[ts] Fix SvgProps and ResponderProps interfaces.
2019-03-09 01:17:50 +02:00
krister
613f801fa2
Update react-native-svg-transformer documentation
...
- Use `metro.config.js` instead of `rn-cli.config.js`.
- React Native 0.59.x ships with `metro.config.js` file, so it will be used as the default config for Metro.
- `metro.config.js` file works on React Native 0.57 and 0.58 too.
2019-03-01 18:51:01 +02:00
scottmas
af35acc008
Tweak typing
2019-02-27 16:22:11 -07:00
scottmas
985007d08c
Update typings for vector effects
2019-02-27 14:46:58 -07:00
Mikael Sand
dc94707008
Refactor props handling in text, tspan and clippath
2019-02-27 23:23:09 +02:00
Mikael Sand
d80ab86c18
Refactor and simplify color processing
2019-02-27 23:06:53 +02:00
Mikael Sand
014e2375fa
[ios] Implement vectorEffect nonScalingStroke / non-scaling-stroke
...
Add missing header file
2019-02-27 22:42:53 +02:00
Mikael Sand
1b050834d5
[ios] Implement vectorEffect nonScalingStroke / non-scaling-stroke
2019-02-27 22:08:10 +02:00
Mikael Sand
ffb04c8414
[android] Implement vectorEffect nonScalingStroke / non-scaling-stroke
2019-02-27 21:16:20 +02:00
Mikael Sand
aec8015255
Refactor: unroll static loop
2019-02-27 21:11:27 +02:00
Mikael Sand
0a282f1073
Ignore non-array transforms, align transform handling with react-native
2019-02-27 21:10:27 +02:00
Mikael Sand
0b1f53698b
[android] Make SvgView.drawChildren synchronized
...
Fix race-condition
https://github.com/react-native-community/react-native-svg/issues/948
Refactor toDataUrl
2019-02-27 21:09:50 +02:00
Mikael Sand
fdd8f93dac
[android] Make SvgView.drawChildren synchronized
...
Fix race-condition
https://github.com/react-native-community/react-native-svg/issues/948
2019-02-20 22:15:46 +02:00
Flavio Silva
47e2e02bf5
[docs] Change 'cascade' wording to 'inheritance'.
2019-02-19 14:24:34 -03:00
Flavio Silva
5d1b0eece5
[docs] Add a code explanation section to the color cascade (pencil) example.
2019-02-19 10:46:38 -03:00
Flavio Silva
01ed35959e
[docs] Add pencil example to showcase how to cascade color.
2019-02-19 10:22:59 -03:00