Skip to content

Camelize 'dashes' problems. Occurs when double dashes exists in class name #106

@grrzz

Description

@grrzz

There is a problem when hook tries to camelize class which have two or more dash side by side.

For example class from material components: mdc-elevation--z1 is camelized not properly.

Propably regex /-(\w)/g should looks like /-+(\w)/g

:)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions