Skip to content

Releases: airbnb/react-sketchapp

v3.0.1

19 Nov 12:47
bb8465a
Compare
Choose a tag to compare
  • Allow passing a style object when making a symbol
  • Expose getSymbolMasterByName

v3.0.0

19 Nov 08:50
ae15886
Compare
Choose a tag to compare
  • Export Svg components in the Svg/index.js file (Thanks @saschazar21!)
  • Fix setting the overflow
  • The symbol masters will try to maintain their overrides IDs so as not to reset instances that have overrides
  • Improve error messages when trying to render a broken override
  • Do not crash if there is no source for an Image, we will just show an placeholder for the image
  • Handle specifying document in injectSymbols (#388)
  • Add support for paragraph spacing (#382 - Thanks @lessthanzero!)
  • Image and Text now support multiple shadows just like View
  • Add support for TextShadow
  • Add support for transform
  • Add support for running react-sketchapp on NodeJS using renderToJSON()
  • Port to TypeScript and publish TypeScript definitions
  • TextStyles.get(name) now returns text styles that are part of the document (even if they haven't been defined with react-sketchapp) (#407)
  • getSymbolComponentByName now returns Symbols that are part of the document (even if they haven't been defined with react-sketchapp) (#177)
  • Switch the order of the TextStyles.create arguments to TextStyles.create(styles, options)

3.0.0-beta.3

12 Feb 14:36
19173f4
Compare
Choose a tag to compare
3.0.0-beta.3 Pre-release
Pre-release
  • Fix setting overrides (#409)
  • Fix images on NodeJS
  • Fix Border-radius clipping incorrectly calculated (#279)

3.0.0-beta.1

26 Sep 13:49
fa4ae92
Compare
Choose a tag to compare
3.0.0-beta.1 Pre-release
Pre-release
  • Fix ShapeGroup on nodejs (#387)
  • Handle specifying document in injectSymbols (#388)
  • Fix support for paragraph spacing on sketch >= 49 (#390)

3.0.0-beta.0

21 Sep 12:45
7e4c918
Compare
Choose a tag to compare
3.0.0-beta.0 Pre-release
Pre-release
  • Add support for paragraph spacing (#382 - Thanks @lessthanzero!)
  • Image and Text now support multiple shadows just like View
  • add support for TextShadow
  • Experimental support for transform
  • Experimental support for running react-sketchapp on NodeJS

2.1.0

18 Sep 19:54
03f4b72
Compare
Choose a tag to compare
  • Ensure makeSymbol does not change currentPage (#353 - Thanks @jaridmargolin!)
  • Fix Text decoration underline style (#370 - Thanks @thecalvinchan!)
  • Add possibility to add multiple shadows and shadow spread (#277 - Thanks @ludwigfrank and @thierryc!)
  • Support rendering into wrapped object (hence support the new Sketch API) (#379)

2.0.0

18 Sep 16:29
5a606b2
Compare
Choose a tag to compare
  • Now throws if the "Symbols" page is explicitly passed in as the container on the render method. Previously if you explicitly passed in the "Symbols" pages as a container, it would create a new page and render onto that. (#297 - Thanks @jaridmargolin!)
  • Now throws an error if you attempt to render a Document component into a node intended to be a child of Document. (#297 - Thanks @jaridmargolin!)
  • Adds support for rendering a Page component into a container passed through the render method. This allows for rendering multiple Artboards onto an existing page. (#297 - Thanks @jaridmargolin!)
  • More predictable rendering of RedBox. (#297 - Thanks @jaridmargolin!)
  • Fix Symbols overrides for Sketch >= 46 (#198 - Thanks @ianhook!)
  • Fix text overrides when the name of the Text layer is not explicitly defined (#292 - Thanks @jaridmargolin!)
  • update yoga-node to 1.9 (#314)
  • Add support for Sketch 50 (#290)
  • Fix shared text style matching (#290)
  • Remove n^2 rendering problem with large symbol sets (#235 - Thanks @ianhook!)
  • Page without a name explicitly set will be auto-incremented ("Page 1", "Page 2", etc.) just like how Sketch is doing by default (#296 - Thanks @jaridmargolin!)

1.0.0

18 Dec 23:49
v1.0.0
35ffbed
Compare
Choose a tag to compare

🎉🎉🎉🎉

Thanks to everyone who contributed to this release!

Added 🦄

Changed

  • Refactored layout from css-layout to yoga @larsonjj

Fixed 🪲

Documentation edits by @kristof @lmnelson

Cobbled together release notes by @jongold - apologies if I missed anything 😅

0.12.1

18 Sep 22:00
v0.12.1
e560dd6
Compare
Choose a tag to compare

Added 🦄

0.12.0

18 Sep 21:58
v0.12.0
364bfa8
Compare
Choose a tag to compare

Added 🦄

  • Add support for text decoration property #143 @davidseik
  • Keep symbols updated #131 @ianhook