Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Add named exports for field components #4063

Merged
merged 4 commits into from
Mar 15, 2024
Merged

Add named exports for field components #4063

merged 4 commits into from
Mar 15, 2024

Conversation

sdadn
Copy link
Contributor

@sdadn sdadn commented Mar 15, 2024

Summary

This PR adds named exports for terra-form-checkbox, terra-form-input, terra-form-radio & terra-form-textarea to meet JavaScript best practices and to avoid bad import patterns.

This PR also runs the prettifyJSON script on those components.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

This was tested by using Jest to ensure that the imports are working correctly.

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details


Thank you for contributing to Terra.
@cerner/terra

@sdadn sdadn merged commit 069e04c into main Mar 15, 2024
22 checks passed
@sdadn sdadn deleted the add-field-exports branch March 15, 2024 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants