v2.3.0: A New Look
This release of core supports changes related to the new look of Pattern Lab released in StyleguideKit Default v3.0.0.
- ADD: support for a
defaultPattern
config option. the viewer will default to the given pattern. can be used to add a welcome page. - ADD: support for
defaultShowPatternInfo
config option. the viewer can expand pattern info by default on "view all" pages. - ADD: pattern subtypes can have their own documentation
- ADD: support for dot notation when using
Config::getOption()
,Config::setOption()
,Data::getOption()
, andData::setOption
- ADD:
Data::replaceState()
allows complete overwrite of the store - FIX: properly setting pattern state
- FIX: properly clean
annotations.js
for import - FIX: added loads of
DIRECTORY_SEPARATOR
- FIX: breadcrumb for the viewer is now an array so designers can choose their own separators
- FIX: most every config driven directory can be overwritten from
config.yml
. This includes things likepatternDir
. - FIX: reverse lineages should show state