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

[IOAPPX-443] Restore a11y props in the Banner component #364

Merged
merged 2 commits into from
Dec 1, 2024

Conversation

dmnplb
Copy link
Collaborator

@dmnplb dmnplb commented Nov 28, 2024

Short description

This PR restores a11y props in the Banner component, erroneously removed with the PR #344

@dmnplb dmnplb merged commit 91fa83d into main Dec 1, 2024
6 checks passed
@dmnplb dmnplb deleted the IOAPPX-443-restore-a11y-props-banner branch December 1, 2024 10:17
dmnplb added a commit to pagopa/io-app that referenced this pull request Dec 16, 2024
…Fix overflow text on cards + Extend dark mode support (#6473)

> [!caution]
> This PR depends on:
> * #6422
> * pagopa/io-app-design-system#364

## Short description
This PR disables the dark mode appearance of text placed on light
backgrounds, such as wallet cards. It also extends dark mode support to
other DS components.
 
## List of changes proposed in this pull request
- Update `io-app-design-system` to `4.2.0`
- Extend dark mode support to `Alert`, `Banner` and `FeatureInfo`
- Fix `CgnCard` and `PaymentCard` dark mode appearance
- Force light mode on  `Tag` in the `ItwCredentialCard` component
- Enable larger and bolder text on the `ItwCredentialCard` component by
replacing the native `Text` with properly configured `IOText` (cc
@mastro993)
- Remove preview version of `ItwCredentialCard`
- Fix `CgnCard` and `PaymentCard` expired tag overflow when larger text
is set
- Remove unused `PaymentCardBig` component to reduce the likelihood of
misunderstandings

### Preview
A look at an _unlikely_ edge case

<img width="300"
src="https://github.com/user-attachments/assets/a3a8d013-5fe6-4fde-ad10-886a7b419ee8"
/>

Dark mode support extended to the `Banner` component

<img width="300"
src="https://github.com/user-attachments/assets/5f528249-9045-4d2f-8183-aa0b4a4deab5"
/>



## How to test
Increase the text size to extreme levels and check all the cards in the
DS section

---------

Co-authored-by: Emanuele Dall'Ara <71103219+LeleDallas@users.noreply.github.com>
Co-authored-by: Federico Mastrini <federicomastrini93@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants