v3.2.0
Fixes
- support for Sketch 50 - fix text color issue ( #97 ) and shared text styles issue
- scale SVG instead of resizing it (correctly calculates border radius)
- fix issue where text inside of symbols was not editable sometimes
- fix shadow obj spread miscalculation by @yakunins 👏
- fix support for
data:images by @simon360 👏 - fix ability to set constraints on text layers by @burakukula 👏
Improvements
- ID setter for SymbolMaster (
public setId(id: string);) - ability to add additional custom data to every symbol, layer, etc.
public setUserInfo(key: string, value: any, scope?: string): void;
public getUserInfo(key: string, scope?: string): any;this info can then be pulled by other Sketch plugin and used e.g. to prepare more useful handoff for developers (e.g. including names/code of symbols used by designer).
- allow to explicitly set size of Symbol instead of always automatically calculating it based on its children
new SymbolMaster({x: 10, y: 10, width: 100, height: 200}); //symbol size explicitly set
new SymbolMaster({x: 10, y: 10}); //symbol size will be automatically calculated based on its children sizes-
do not include some of the optional, or deprecated, fields in the
.asketchoutput -
[plugin] use build-in Sketch 'ui' module to show dialogs - https://developer.sketchapp.com/reference/api/#ui
-
[plugin] new success message
