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(Select): sync label design with form fields #1506

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

booc0mtaco
Copy link
Contributor

@booc0mtaco booc0mtaco commented Feb 23, 2023

Summary:

  • remove little used helper mixin, and apply typography to labels
  • add overline container to match label structure for textarea and input fields
  • update snapshots
  • EDS-841

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:
    • Create an alpha publish and try out in edu-stack or traject as a sanity check if changes affect build or deploy, or are breaking, such as token changes, widely used component updates, hooks changes, and major dependency upgrades.

- remove little used helper mixin, and apply typography to labels
- add overline container to match label structure for textarea and input fields
- update snapshots
- EDS-841
@booc0mtaco booc0mtaco requested a review from a team February 23, 2023 18:30
@github-actions
Copy link

size-limit report 📦

Path Size
components 118.08 KB (+0.03% 🔺)
styles 3.1 KB (0%)

@booc0mtaco
Copy link
Contributor Author

Screenshot 2023-02-23 at 13 07 31

Copy link
Contributor

@jinlee93 jinlee93 left a comment

Choose a reason for hiding this comment

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

FWIW the input has an overline container since there are two elements in it spaced apart (the label and optional/required)

@booc0mtaco
Copy link
Contributor Author

FWIW the input has an overline container since there are two elements in it spaced apart (the label and optional/required)

Makes sense. I feel like Select should also be able to be marked as required? so this will set us up to implement that after chatting with design

@jinlee93
Copy link
Contributor

FWIW the input has an overline container since there are two elements in it spaced apart (the label and optional/required)

Makes sense. I feel like Select should also be able to be marked as required? so this will set us up to implement that after chatting with design

Sounds good 👍

@booc0mtaco booc0mtaco merged commit efe9330 into next Feb 23, 2023
@booc0mtaco booc0mtaco deleted the eds-841-update-select-label branch February 23, 2023 20:43
@booc0mtaco booc0mtaco mentioned this pull request Mar 2, 2023
booc0mtaco added a commit that referenced this pull request Mar 2, 2023
## [10.0.0](v9.1.0...v10.0.0) (2023-03-02)


### ⚠ BREAKING CHANGES

* remove data-bootstrap-override EDS-850

### Features

* **Avatar:** add avatar component ([#1510](#1510)) ([bc21f85](bc21f85))
* **slider:** create slider ([#1503](#1503)) ([e7ced34](e7ced34))
* **TextareaField:** add TextArea base component and TextareaField ([#1493](#1493)) ([f2ba31d](f2ba31d))


### Bug Fixes

* remove data-bootstrap-override EDS-850 ([3b5d59b](3b5d59b))
* remove old, outdated, unnecessary snapshot ([fb63a34](fb63a34))
* **Select:** sync label design with form fields ([#1506](#1506)) ([efe9330](efe9330))
* update deps ([9a80e7f](9a80e7f))
* upgrade axe-core from 4.4.3 to 4.6.3 ([af3f9c5](af3f9c5))
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.

2 participants