@EvanLovely EvanLovely released this Feb 27, 2018

Assets 2

This release outputs all the same data that went into patternlab-data.js and putting it into patternlab-data.json as well. This is here so other systems or styleguidekits can grab the data in the easier format to parse, JSON, instead of a JS file that sets global vars. All current PL repos still use patternlab-data.js, but this is just another way to access that data.

@EvanLovely EvanLovely released this Nov 8, 2017

Assets 2
Disabling unhelpful console warning.

@EvanLovely EvanLovely released this Oct 19, 2017 · 2 commits to master since this release

Assets 2
Exposing `theme` and `patternStates` to Styleguidekit (#143)

@EvanLovely EvanLovely released this Oct 16, 2017 · 3 commits to master since this release

Assets 2
bringing back state via lineage
Oct 13, 2017
Fix for patternType docs
Oct 13, 2017
Bugfix for hidden patterns with docs

@EvanLovely EvanLovely released this Oct 13, 2017 · 7 commits to master since this release

Assets 2

Improvements

Implementing Pattern Type (ie atoms) Documentation

This allows MD docs to be added to the top levels, such as Atoms.

Given this structure:

  • _patterns/
    • atoms.md
    • atoms/
      • forms.md
      • forms/
        • select.twig

This will take the contents of atoms.md and place at top of "Atoms > View All", similar to how forms.md is placed at top of "Atoms > Forms > View All".

Fixes

@EvanLovely EvanLovely released this Oct 12, 2017 · 9 commits to master since this release

Assets 2

Improvements

  • More settings for pattern.mustache can be set in pattern.md now instead of having to rename file. #137
    • Can now set hidden: true instead of renaming pattern with _ prefix to hide from view all and menu
    • Can now set noviewall: true instead of renaming pattern with - prefix to hide from view all but not menu

The previous release added the ability to have state: inprogress instead of pattern@state.mustache. Along with the ability to rename Pattern title via title: My cool pattern, those 4 of these let you control meta data without having to rename the file. I hope that makes it easier for everyone to use! So here's everything you can do in pattern.md now:

---
title: My cool pattern
state: inprogress
hidden: true
noviewall: true
---

Markdown *docs* go here.

Bug fixes

@EvanLovely EvanLovely released this Oct 10, 2017 · 12 commits to master since this release

Assets 2

Improvements

  • Can set Pattern States in MD front matter now: #134