Html Sketchapp Versions Save

HTML to Sketch export solution

v4.5.0

3 years ago

Features

Bug fixes

v4.4.1

3 years ago

Fixes

  • support for Sketch >= v64 - replaced unmaintained dep with fork (ffe2e1f)
  • support for external svg images on xcode 11+ (e37e62a)

v4.4.0

4 years ago

Improvements

import {SMART_LAYOUT} from '@brainly/html-sketchapp/html2asketch/helpers/utils';

symbol.setGroupLayout(SMART_LAYOUT.HORIZONTALLY_CENTER);

smart-layout
  • ability to apply floating numbers on lineHeight values (by @cy-park)

v4.3.0

4 years ago

Fixes

  • Project dependency updates by @burakukula βš’
  • Absolutely positioned nodes are now correctly sorted by their z-index (by @jostermanAtPEW)

API Improvements

  • ability to create layer styles by @daynekilheffer
const doc = new Document();
const boxNode = document.querySelector('box');
const boxLayer = nodeToSketchLayers(boxNode)[0];

boxLayer.setName('Box');
doc.addLayerStyle(boxLayer); // πŸ†• 
  • when using asketch2sketch directly, you can now specify not to clear the page and shared styles (by @KimDal-hyeong)

v4.2.0

5 years ago

Fixes

Fix color handling to work with Sketch v.53 βš’

Improvements

  • adding isLocked method useful to locking the layer, which will prevent it from being editable from the Overrides panel.

v4.1.0

5 years ago

Fixes

Project dependency updates βš’

Improvements

  • setId methods that can be used to create permanent object_IDs for keeping existing Sketch libraries in sync between updates added by @macintoshhelper πŸ‘Œ
  • Update issue templates thx to @kdzwinel πŸ€“

v4.0.1

5 years ago

Fixes

  • Fix compatibility with Sketch version 52
  • Fixed rendering of elements with fixed position by @KimDal-hyeong
  • Update licence year to 2018 by @shnibl

v4.0.0

5 years ago

Breaking

Default blur of inner shadow was changed from 1px to 0 - #119 . If you were depending on the default value be sure to update all .addInnerShadow({…}) calls to .addInnerShadow({…, blur: 1}).

Improvements

  • new logo by Patrycja Rozmus ❀️
html-sketchapp
  • support for background-size - #17

before: after:

  • super handy β€˜Paste’ command in the plugin - #124 by @markdalgleish
  • plugin is again part of the npm package - #121
  • plugin now has an icon
  • calling .getSymbolInstance no longer requires you to provide width and height and defaults to the MasterSymbol size
  • add --file flag to e2e test, so that it's easier to run single tests

Fixes

  • plugin: if SVG layer or Text layer import fails it doesn't break the whole import (broken layers are skipped instead)

v3.3.1

5 years ago

Fixes

  • Remove unwanted blur from one-side borders introduced in 3.3.0

Improvements

  • Add e2e test for one-side borders

v3.3.0

5 years ago

Improvements

  • basic background-position support by @mxmul (#109) (this means support for image sprites πŸŽ‰)

before: amazon-before

after: amazon-after

  • shadow DOM support for nodeTreeToSketchGroup by @calebdwilliams (#103) - (this means support for web components πŸŽ‰)
  • support for multiple shadows by @KimDal-hyeong (#110) - (this means you can go crazy with shadows πŸŽ‰)

API Improvements

  • ability to set clipping mask by @mxmul and @burakukula
public setHasClippingMask(hasClippingMask: boolean): void;
  • ability to set position of the ShapeGroup by @mxmul
public setPosition(position: Position): void;
  • new type of object - Bitmap by @mxmul
export default class Bitmap extends Base {
  constructor(props: BitmapProps);
}

Fixes

  • removed unnecessary wrappers around SVG by @burakukula

before: after:

  • electron support of font-weight by @KimDal-hyeong
  • fix broken support for "error images" by @kdzwinel (thanks @hlambert for reporting!)
screen shot 2018-06-22 at 13 40 36
  • e2e tests splitted from one big file into N smaller ones, instructions improved, debugging improved by @kdzwinel
  • contribution guidelines added by @kdzwinel