Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically add data-cy and displayName classNames #40

Merged
merged 3 commits into from
Apr 8, 2019

Commits on Mar 1, 2019

  1. Automatically add data-cy and displayName classNames

    This update enhances the `styled()` factory to provide the component with
    `data-cy` and a `css-j21lkjf-COMPONENT_NAME` className, if applicable.
    
    `data-cy` will be added if the Component has a `displayName` or a `name`.
    HTML Tags like `span` or `div` will not receive `data-cy`.
    
    The displayName className will be added to all components. This is purely
    for identification/debugging purposes. No actual styles will be associated
    with these classNames.
    Jon Q committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    d3bb40d View commit details
    Browse the repository at this point in the history
  2. Update Storybook to the latest

    Jon Q committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    6a3e6d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. Merge branch 'master' into auto-identify

    Jon Q committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    9e9fedc View commit details
    Browse the repository at this point in the history