Skip to content

Releases: pattern-lab/patternlab-php-core

Easy access to pattern data

27 Feb 22:14
009399c
Compare
Choose a tag to compare

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.

v2.8.11

08 Nov 23:57
Compare
Choose a tag to compare
Disabling unhelpful console warning.

v2.8.10: Removing defaults for ishViewportRange so it doesn't unexpectedly lim…

26 Oct 17:40
Compare
Choose a tag to compare

v2.8.9

19 Oct 21:03
Compare
Choose a tag to compare
Exposing `theme` and `patternStates` to Styleguidekit (#143)

v2.8.8: bringing back state via lineage (#142)

16 Oct 17:46
Compare
Choose a tag to compare
bringing back state via lineage

More doc options

13 Oct 21:06
Compare
Choose a tag to compare

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

States and better MD config

12 Oct 23:16
Compare
Choose a tag to compare

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

Easier Pattern States

10 Oct 21:50
Compare
Choose a tag to compare

Improvements

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

v2.8.2: Locking collections dependency down to 1.4 as zippy had dependened on…

10 Oct 19:33
Compare
Choose a tag to compare

This hot fix prevents a dependency of a dependency from making the whole project require PHP 7.1 +

v2.8.1: Adding support for ishViewportRange (#131)

09 Oct 21:30
Compare
Choose a tag to compare
  • adds support for ishViewportRange #131