Skip to content

Pattern Lab UIKit v1.0.4 Released

Compare
Choose a tag to compare
@sghoweri sghoweri released this 14 Sep 14:35
· 941 commits to dev since this release

This is a patch release for Pattern Lab's UIKit which primarily includes updates from #1053 and #1047 to address the following:

  1. Updates the Viewport component to use the Pattern Lab defaultPattern config (if it exists) when setting up the iframe URL that initially loads. Fixes #1050 reported by @thethomic

  2. Updates the Nav component to display the top level All link by default unless the ishControlsHide['views-all] config option is enabled 😉. Fixes #1048 reported by @coreylafferty

  3. Fixes a Pattern query string-related issue where the top most All page doesn't always include the name of that page's "pattern" which the iframe emits the patternLoad event, resulting in that page never getting it's full URL replaced with pattern-specific query string when the page loads (ie. ?p=NAME).

  4. Fixes an issue in UIKit's Prism.js logic to correctly fall back to using markup for syntax highlighting when encountering an unsupported templating language. Addresses a recent bug reported by @thethomic on Gitter.

  5. Ports over a recent UIkit fix from https://github.com/bolt-design-system/bolt which automatically defaults the viewport resizer to 100% the screen width the very first time PL is opened / if any custom viewport sizes haven't previously been set / when server-side rendering. Addresses one of the issues reported by @cbirdsong on Gitter a couple days ago.

Issues Closed:

Special thanks to @thethomic, @coreylafferty, @cbirdsong, and @bmuenzenmeyer for their help on this!