Skip to content

Implement support for fuzzy pattern partials #202

Closed
@bmuenzenmeyer

Description

@bmuenzenmeyer

From the docs:

The shorthand syntax also allows for fuzzy matching on pattern names. This means that, if you feel your pattern name is going to be unique within a given pattern type, you can supply just the unique part of the pattern name and the partial will be included correctly. For example, using the shorthand syntax this partial could be written as:

{{> atoms-16x9 }}

  • simple functionality
  • simple unit test
  • test using shipped source patterns
  • lineage & reverse lineage
  • remove todos
  • re-add verbose partial support

  • confirm if lineage works for stylemodifier patterns - looks like lineage_hunter might not be handling them
  • update documentation on patternlab.io

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions