Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Releases: mpetrovich/stylemark

v2.0.0

03 Jun 18:42
Compare
Choose a tag to compare

Breaking changes

  • Relative filepaths in the configuration file and absolute filepaths for external examples are now resolved relative the root project directory (ie. the first ancestor directory that contains package.json). Previously, they were resolved relative to the configuration file's parent directory.
  • The sidebar configuration property is now a child of a new theme property:
theme:
    sidebar:
        background: red
        textColor: "#fff"

New functionality

  • Custom CSS and JS can be included in the styleguide via a new theme option in the configuration. See the Theming docs.

v1.0.1

03 Jun 03:32
Compare
Choose a tag to compare

DEPRECATED: DO NOT USE
This release contains issues with the way configuration files are handled and should not be used. Use v2.x instead.

Breaking changes

  • All paths in the configuration file are now evaluated relative to the configuration file itself, not the current working directory of the Node process.

Fixes

  • For external examples, relative filepaths that started with . or .. didn't work. For example, this now works:
```external-example:../shared/data.js
```

v0.6.5

08 Mar 15:20
Compare
Choose a tag to compare

Bug fixes:

  • Support usage of multiple JSX, AngularJS, and Ember blocks in an example
  • Prevent overwriting of HTML when combined with JSX and/or Handlebars
  • Fix: Couldn't find preset "babel-preset-react"

v0.6.4

16 Feb 15:02
Compare
Choose a tag to compare

Changes:

  • Replace window.scrollY with window.pageYOffset to support IE11

v0.6.2

10 Jan 20:35
Compare
Choose a tag to compare

v0.6.0

28 Dec 21:21
Compare
Choose a tag to compare
  • Adds support for externally-defined examples (#3)