pagopa / io-app

IO, l'app dei servizi pubblici
https://io.italia.it
European Union Public License 1.2
611 stars 104 forks source link

chore(IT Wallet): [SIW-1128] Add `EidCard` and `EidCardPreview` components #5772

Closed mastro993 closed 5 months ago

mastro993 commented 5 months ago

Short description

This PR introduces the EidCard and EidCardPreview component for the IT Wallet EId credential

List of changes proposed in this pull request

How to test

Go to Profile > Design System > Cards and scroll to the bottom of the screen. Check that the components are rendered correctly

Preview

https://github.com/pagopa/io-app/assets/6160324/c5d9bcae-aa14-41eb-ab8c-6062468c48bc

pagopa-github-bot commented 5 months ago

Affected stories

Generated by :no_entry_sign: dangerJS against 5785570dc6dc0e09cc9bd99fe753eb9307859e22

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 49.55%. Comparing base (4f204b4) to head (5785570). Report is 88 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pagopa/io-app/pull/5772/graphs/tree.svg?width=650&height=150&src=pr&token=zsurlZdPFW&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa)](https://app.codecov.io/gh/pagopa/io-app/pull/5772?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ```diff @@ Coverage Diff @@ ## master #5772 +/- ## ========================================== + Coverage 48.42% 49.55% +1.13% ========================================== Files 1488 1619 +131 Lines 31617 32140 +523 Branches 7669 7724 +55 ========================================== + Hits 15311 15928 +617 + Misses 16238 16158 -80 + Partials 68 54 -14 ``` | [Files](https://app.codecov.io/gh/pagopa/io-app/pull/5772?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) | Coverage Δ | | |---|---|---| | [ts/features/design-system/core/DSCards.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5772?src=pr&el=tree&filepath=ts%2Ffeatures%2Fdesign-system%2Fcore%2FDSCards.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvZGVzaWduLXN5c3RlbS9jb3JlL0RTQ2FyZHMudHN4) | `80.00% <ø> (+13.33%)` | :arrow_up: | | [ts/features/itwallet/common/components/EidCard.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5772?src=pr&el=tree&filepath=ts%2Ffeatures%2Fitwallet%2Fcommon%2Fcomponents%2FEidCard.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvaXR3YWxsZXQvY29tbW9uL2NvbXBvbmVudHMvRWlkQ2FyZC50c3g=) | `100.00% <100.00%> (ø)` | | | [...ures/itwallet/common/components/EidCardPreview.tsx](https://app.codecov.io/gh/pagopa/io-app/pull/5772?src=pr&el=tree&filepath=ts%2Ffeatures%2Fitwallet%2Fcommon%2Fcomponents%2FEidCardPreview.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa#diff-dHMvZmVhdHVyZXMvaXR3YWxsZXQvY29tbW9uL2NvbXBvbmVudHMvRWlkQ2FyZFByZXZpZXcudHN4) | `100.00% <100.00%> (ø)` | | ... and [497 files with indirect coverage changes](https://app.codecov.io/gh/pagopa/io-app/pull/5772/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/pagopa/io-app/pull/5772?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/pagopa/io-app/pull/5772?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Last update [2b85bf7...5785570](https://app.codecov.io/gh/pagopa/io-app/pull/5772?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pagopa).