Releases: pattern-lab/styleguidekit-assets-default
v4.0.0-alpha.3
- Copy paste support in code panels
- Code Modal can now be resized
Thanks @frostyweather for this stellar work!
Themes
Closes ##91
Available via
Additional Configuration Options, defaults first.
{
"theme" : {
"color" : "dark" | "light",
"density" : "compact" | "cozy" | "comfortable",
"layout" : "horizontal" | "vertical"
}
}
color: light
layout: vertical
density: cozy
density: comfortable
Combinations also supported
layout: vertical && color: white
Configurable ish Viewport Range
Now users may specify an optional configuration entry within the configuration.
patternlab-config.json
(Node)config.yml
(PHP)
"ishViewportRange": {
"s": [240, 500],
"m": [768, 768],
"l": [800, 2600]
},
The first entry in ishViewportRange.s
is the ishViewportMinimum
, which can now be deleted from your config
The second entry in ishViewportRange.l
is the ishViewportMaximum
, which can now be deleted from your config
If this new configuration entry is not found, behavior reverts to the hard-coded values.
v3.4.0: Fix Fix Fix
- FIX: Re-add a style declaration removed during v3.3.1
- FIX: Hide "All" button if JSON flag is set
- FIX: Fix JS errors when "Open in new window" menu is hidden
- THX: @tommcc for the cleanup PRs and the additional conditional hookup
v3.3.1: Ooomph
v3.3.0: Eevee
- ADD: support for outputFileSuffixes per pattern-lab/the-spec#26
- FIX: updating copy for missing description
- FIX: removed unused file at
dist/js/patternlab-viewer.min.js
- FIX: double-check that
viewall-
is at position 0 - FIX: removed unused auto-generated class names from nav lis
v3.2.0: Minor Fixes
- FIX: tweak pattern category styles
- FIX: tweak annotations styles
- FIX: tweak pattern description styles
- FIX: scrolling fix for panels
- FIX: making sure entire description block shows if annotations exist for pattern
- FIX: added capitalization casing to category and pattern heading via CSS
- THX: @sghoweri for the PR related to scrolling
v3.1.1: Remove `bodyClick`
- FIX: removing
bodyClick
because it was interfering withfocus()
on certain elements.
v3.1.0
v3.0.1: Annotations Highlight Fix
Even a release two years in the making will have bugs. Squished one where the annotation numbering didn't turn off when a pattern was toggled closed on a "view all" view.