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

fix: standardization and refactor #3006

Merged
merged 8 commits into from
Apr 26, 2020
Merged

Conversation

nicholasrice
Copy link
Contributor

@nicholasrice nicholasrice commented Apr 24, 2020

Description

This change standardizes implementations of classes, event dispatches, and several other clean up tasks.

Note - the following are technically breaking:

  1. readonly -> readOnly on Textarea component
  2. before-content & after-content -> start & end in Textfield

Motivation & context

This change combs through the components to leverage some of the newer features out of @microsoft/fast-element. It also implements a mixin pattern for any component leveraging start/end patterns.

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.

Copy link
Member

@chrisdholt chrisdholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Contributor

@EisenbergEffect EisenbergEffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to address Jane's comment the ack doc and then I think we're good to go. Very nice refactor work here!

@nicholasrice nicholasrice merged commit 046a877 into master Apr 26, 2020
@nicholasrice nicholasrice deleted the users/nirice/general-cleanup branch April 26, 2020 01:37
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.

4 participants