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(Modal): add height property to modal API #2011

Merged
merged 2 commits into from
Jul 10, 2024
Merged

Conversation

booc0mtaco
Copy link
Contributor

@booc0mtaco booc0mtaco commented Jul 9, 2024

Bumping Modal to 2.1 with the following functionality:

  • allow fixed (default), auto, and max
  • add stories with doc.s
  • update 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
  • Created and used an alpha publish
  • Manually tested my changes, and here are the details:

@booc0mtaco booc0mtaco requested a review from a team July 9, 2024 22:23
Copy link

github-actions bot commented Jul 9, 2024

size-limit report 📦

Path Size
components 88.62 KB (+0.17% 🔺)
styles 27.75 KB (+0.36% 🔺)

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.59%. Comparing base (421c91b) to head (4339ae8).

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2011   +/-   ##
=======================================
  Coverage   97.58%   97.59%           
=======================================
  Files         109      109           
  Lines        2572     2578    +6     
  Branches      645      647    +2     
=======================================
+ Hits         2510     2516    +6     
  Misses         60       60           
  Partials        2        2           

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

src/components/Modal/Modal.tsx Outdated Show resolved Hide resolved
- allow fixed (default), auto, and max
- add stories with doc.s
- change export for ModalContent to fix storybook
- update snapshots
@booc0mtaco booc0mtaco merged commit 8d0c68f into next Jul 10, 2024
10 checks passed
@booc0mtaco booc0mtaco deleted the aholloway/EDS-1377 branch July 10, 2024 22:31
This was referenced Jul 12, 2024
booc0mtaco added a commit that referenced this pull request Jul 15, 2024
## [15.1.0](v15.0.1...v15.1.0) (2024-07-15)

[Storybook](https://61313967cde49b003ae2a860-qztphlqyid.chromatic.com/)

### Features

* add runtime warning/errors to components ([#2007](#2007)) ([661130b](661130b))
* **InputField:** add show/hide button for password field type ([#2006](#2006)) ([52d9ca0](52d9ca0))
* **Modal:** add height property to modal API ([#2011](#2011)) ([8d0c68f](8d0c68f))


### Bug Fixes

* **Icon:** update pencil icon to latest design ([#2016](#2016)) ([cb8d1a7](cb8d1a7))
* **Link:** apply font weight to standalone sizes ([#2015](#2015)) ([2e47271](2e47271))
* **Select:** expose generic types to allow by to pass type checks ([#2008](#2008)) ([421c91b](421c91b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants