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

feat: add directionSwitch for better localization composition #1740

Merged
merged 4 commits into from
May 9, 2019

Conversation

nicholasrice
Copy link
Contributor

@nicholasrice nicholasrice commented May 6, 2019

Description

Add directionSwitch utility to pick a value based on a designSystem.direction value.

closes #1738

Issue type checklist

  • Chore: A change that does not impact distributed packages.
  • Bug fix: A change that fixes an issue, link to the issue above.
  • New feature: A change that adds functionality.

Is this a breaking change?

  • This change causes current functionality to break.

Process & policy checklist

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the standards for this project.

@codeclimate
Copy link

codeclimate bot commented May 6, 2019

Code Climate has analyzed commit 2449cdc and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 4

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 86.9% (0.1% change).

View more on Code Climate.

@nicholasrice nicholasrice self-assigned this May 6, 2019
@nicholasrice nicholasrice changed the title feat: add directionSwitch for better localizaion composition feat: add directionSwitch for better localization composition May 7, 2019
@nicholasrice nicholasrice force-pushed the users/nirice/add-direction-switch branch 3 times, most recently from 9f9fad3 to d6d6da2 Compare May 7, 2019 18:09
@nicholasrice nicholasrice force-pushed the users/nirice/add-direction-switch branch 3 times, most recently from 62df191 to d84e865 Compare May 9, 2019 18:04
@nicholasrice nicholasrice force-pushed the users/nirice/add-direction-switch branch from d84e865 to 3ab30b7 Compare May 9, 2019 18:51
@nicholasrice nicholasrice merged commit 164de23 into master May 9, 2019
@nicholasrice nicholasrice deleted the users/nirice/add-direction-switch branch May 9, 2019 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add direction switch to JSS utilities
3 participants