react-native-svg

SVG library for React Native, React Native Web, and plain React web projects.

MIT License

Stars
7.4K
Committers
226

Bot releases are hidden (Show)

react-native-svg - v12.1.0

Published by msand over 4 years ago

12.1.0 (2020-04-09)

Bug Fixes

  • web: improve react-native-web version compatibility (88953c3)

Features

  • implement WithLocalSvg (e66e87a)
  • Support local .svg files, fixes #1306 (4e9e8b5)
  • svgUri: add onError prop to SvgUri/Xml/Ast (3c32a6f)
react-native-svg - v12.0.3

Published by msand over 4 years ago

12.0.3 (2020-03-08)

Bug Fixes

  • android: default cap, join and handling of null matrix (df4ff9c)
  • ios: #1290 pointerEvents="none" gesture handling (11d14fd)
  • #1290 pointerEvents="none" (bd78998)
react-native-svg - v12.0.2

Published by msand over 4 years ago

12.0.2 (2020-03-05)

Bug Fixes

  • #1262 support single dimension + aspectRatio syntax (b2f7605)
react-native-svg - v12.0.1

Published by msand over 4 years ago

12.0.1 (2020-03-05)

Bug Fixes

  • #1262 allow setting width and height using stylesheet (c5374b2)
  • react-native 0.59 compat (c4dba22)
react-native-svg - v12.0.0

Published by msand over 4 years ago

12.0.0 (2020-03-04)

  • fix!: #1262 default width and height on svg (1d6798b), closes #1262
  • fix!: #1247 Animated view translation inside Svg tag (0288d95), closes #1247 #1258

Bug Fixes

  • ios: handle gradient and pattern transform when null (715e9b8)
  • ios: pod install error (675df92)
  • web: #1274 Unable to build using babel-plugin-react-native-web (80b5064)
  • removed missing unnecessary React headers import error caused by non-framework style import (f795029)

Performance Improvements

  • optimize extraction of fill, stroke, responder, matrix & display (279c3fc)
  • optimize handling of font properties in G elements (0fa4177)
  • optimize handling of inherited styles (363c1b4)
  • optimize svg root prop handling, simplify element development (f0cd11d)

BREAKING CHANGES

  • default size might change if width or height is missing
  • Behavior of native elements is reverted to pre v10
react-native-svg - v11.0.1

Published by msand almost 5 years ago

11.0.1 (2020-01-18)

Bug Fixes

Performance Improvements

  • optimize passing of colors to native (f138c9b)
react-native-svg - v11.0.0

Published by msand almost 5 years ago

11.0.0 (2020-01-18)

Bug Fixes

  • compatibility with reanimated color, fixes #1241 (4983766)

  • android: NullPointerException when calling getBBox #1215 (3eb82a9)

  • android: support animating stroke color (c5dd62f)

  • android: support setting path null (2d34734)

  • ios: iOS 10.3 renders opaque background when drawRect is defined (61bc9bd), closes #1252

  • web: Allow createElement & unstable_createElement usage (#1240) (7a23968)

  • fix(android)!: pivot point for RN transform array syntax (db682f8)

BREAKING CHANGES

  • Makes android specific transform origin adjustments
    unnecessary / broken. Renders exactly the same as web and ios instead.
react-native-svg - v10.1.0

Published by msand almost 5 years ago

10.1.0 (2020-01-12)

Bug Fixes

  • android: improve handling of native ancestors (89f4432)
  • ios: compile warning (e59c0fb)
  • ios: initial render foreignObject / re-render on mount of sub views (d549698)
  • ios: invalidate G / foreignObject on change in native children (65cee78)
  • foreignObject clipping and transform (85e7943)

Features

  • ForeignObject documentation (529b3bf)
react-native-svg - v10.0.0

Published by msand almost 5 years ago

10.0.0 (2020-01-04)

  • feat!: Masks now support native elements (966881a)

BREAKING CHANGES

  • If you had native elements inside any Svg root before,
    Then your content might change appearance when upgrading,
    as e.g. transforms and masks now take effect.
react-native-svg - v9.14.0

Published by msand almost 5 years ago

9.14.0 (2020-01-04)

Bug Fixes

  • android: correct values for measureInWindow, fixes #1231 (3bf07f8)
  • android: elements not touchable if below opacity limit (ebc7220), closes #1200
  • android: fix radial gradient vertical center offset scaling (d5bddd5)
  • ios: crash when offset is outside range #1201 (a2ef51f)
  • web: fix gesture responder dimensions measurement (36c20b3)
  • extraction of clip rule, fixes #1233 (f93bdde)
  • Text color doesn't work with inlineSize #1225 (027b8c1)

Features

  • android: support using other native views in e.g. masks (15b4ac6)
  • ios: support using other native views in e.g. masks (518a3b1)
  • web: Implement support for event, touch & responder handlers (60561ec)
  • web: Optimize: only set responders if press handler exists (23250ad)
  • Implement display="none" (3e3ad13), closes #1220
react-native-svg - v9.13.6

Published by msand almost 5 years ago

9.13.6 (2019-12-10)

Bug Fixes

  • android: better npm ignores (7bc717b)
react-native-svg - v9.13.5

Published by msand almost 5 years ago

9.13.5 (2019-12-09)

Bug Fixes

  • android: deprecation warning in TSpanView (6035d2d)
react-native-svg - v9.13.4

Published by msand almost 5 years ago

9.13.4 (2019-12-09)

Bug Fixes

  • initialize PathView with empty path (45192bd)
  • ios: Fix image size when calling getDataURL with bounds. fixes #855 (45b0859)
react-native-svg - v9.13.3

Published by msand almost 5 years ago

9.13.3 (2019-10-25)

Bug Fixes

react-native-svg - v9.13.2

Published by msand almost 5 years ago

9.13.2 (2019-10-23)

Bug Fixes

  • make css-select and css-tree dependencies instead of peers (957914d), closes #1166
react-native-svg - v9.13.1

Published by msand almost 5 years ago

9.13.1 (2019-10-23)

Bug Fixes

react-native-svg - v9.13.0

Published by msand almost 5 years ago

9.13.0 (2019-10-23)

Bug Fixes

  • camelCase css from style elements (9ee5a28)
  • don't overwrite inline styles when inlining style elements (6e1d825)
  • handle basic css media query selectors (168ee25)
  • handle style elements with CDATA (b3fca84)
  • improve style element inlining, support more selectors and optimize (8c9de72)
  • improve types for extractTransform (a37ebbb)
  • only compute selector specificity once per selector (9f53e31)
  • types for css support (c969159)
  • use correct import in test (a57963e)

Features

  • implement experiment to inline css from style elements (5f3852b)
  • implement SvgWithCss and SvgWithCssUri with Animated support (6fb8dd5)
react-native-svg - v9.12.0

Published by msand almost 5 years ago

9.12.0 (2019-10-19)

Bug Fixes

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

Features

  • flow: add flowgen to generate flow types from typescript, #1125 (fcd66fb)
  • implement getBBox, getCTM, getScreenCTM (f13d54a)
  • implement isPointInStroke (2ba64df)
  • initial implementation of isPointInFill (203e53b)
  • support using native methods using promises instead of callbacks (c28499b)
  • android: implement getTotalLength and getPointAtLength (cd667d0)
  • ios: implement getTotalLength and getPointAtLength (78c4f20)
react-native-svg - v9.11.1

Published by msand about 5 years ago

9.11.1 (2019-10-03)

Bug Fixes

  • marker onPress & gestures (bff92f0)
react-native-svg - v9.11.0

Published by msand about 5 years ago

9.11.0 (2019-10-03)

Features

  • implement support for context-fill and context-stroke color (f9a7238)
Package Rankings
Top 6.67% on Proxy.golang.org
Badges
Extracted from project README
Version NPM