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(Select): add support for required in overline #1855

Merged
merged 2 commits into from
Feb 23, 2024
Merged

Conversation

booc0mtaco
Copy link
Contributor

Summary:

  • model it to work and look like what exists for InputField
  • add tests and new snapshots

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:

- model it to work and look like what exists for InputField
- add tests and new snapshots
Copy link

github-actions bot commented Feb 23, 2024

size-limit report 📦

Path Size
components 98.2 KB (+0.13% 🔺)
styles 39.98 KB (+0.13% 🔺)

Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.62%. Comparing base (59267c3) to head (6bb8d3e).
Report is 1 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #1855      +/-   ##
==========================================
+ Coverage   92.61%   92.62%   +0.01%     
==========================================
  Files         148      148              
  Lines        2856     2862       +6     
  Branches      776      780       +4     
==========================================
+ Hits         2645     2651       +6     
  Misses        195      195              
  Partials       16       16              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@booc0mtaco booc0mtaco requested a review from a team February 23, 2024 20:45
@booc0mtaco
Copy link
Contributor Author

Screenshot 2024-02-23 at 14 46 06
Screenshot 2024-02-23 at 14 46 22

@booc0mtaco
Copy link
Contributor Author

Note: this has no specific handling for there being too much text for both the label AND the required text. This is intentional for now; designs should have considerations for both mobile and desktop layouts, and design components provide an early opportunity to give visual guidance on inappropriate text lengths.

Fallbacks (max viewable text length) and safeguards can be added where needed.

@booc0mtaco booc0mtaco merged commit 6e44566 into next Feb 23, 2024
9 checks passed
@booc0mtaco booc0mtaco deleted the aholloway/EDS-1125 branch February 23, 2024 21:43
@booc0mtaco booc0mtaco mentioned this pull request Mar 4, 2024
booc0mtaco added a commit that referenced this pull request Mar 4, 2024
## [13.12.0](v13.11.0...v13.12.0) (2024-03-04)

[Storybook](https://61313967cde49b003ae2a860-telsscxlak.chromatic.com/?path=/docs/getting-started--docs)

### Features

* export ClickableStyleProps ([#1860](#1860)) ([0d1b49e](0d1b49e))
* **Select:** add support for required in overline ([#1855](#1855)) ([6e44566](6e44566))


### Bug Fixes

* lodash tree shaking ([#1852](#1852)) ([f55f9cb](f55f9cb))
* **Select:** add max height for Select.Options ([#1858](#1858)) ([24ed8bc](24ed8bc))
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