This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
Releases: mpetrovich/stylemark
Releases · mpetrovich/stylemark
v2.0.0
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 newtheme
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
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
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
Changes:
- Replace
window.scrollY
withwindow.pageYOffset
to support IE11