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

Release the 5.x version #376

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open

Release the 5.x version #376

wants to merge 32 commits into from

Conversation

dmnplb
Copy link
Collaborator

@dmnplb dmnplb commented Jan 8, 2025

Short description

This PR merges the 5.x branch into the main branch

> [!caution]
> This PR introduces a breaking change. It will be merged along with
this PR just before we release the `5.0.0` major:
> * #345

## Short description
This PR removes the `size` prop from the `Banner` component

## List of changes proposed in this pull request
- Remove `size` prop
- Update documentation in the example app
- Update story for Storybook
dmnplb added 4 commits January 8, 2025 15:52
> [!caution]
> This PR introduces a breaking change. It will be merged along with
this PR just before we release the `5.0.0` major:
> * #345

## Short description
This PR removes some variants of `Badge` from the DS.

## List of changes proposed in this pull request
- Remove some variants
- Update documentation and stories

### Preview


https://github.com/user-attachments/assets/6b5d30d8-73f7-4fbe-81b2-f95c69bf8fde


## How to test
Check the **Badges** page in the example app
> [!caution]
> This PR introduces a breaking change. It will be merged along with
this PR just before we release the `5.0.0` major:
> * #345

## Short description
This PR removes the `title` prop from the `Alert` component

## List of changes proposed in this pull request
- Remove `title` prop
- Update documentation in the example app
- Update story for Storybook
## Short description
This PR adds the new `theme` and `typeface` icons for the new
**Appearance** profile screen.

## List of changes proposed in this pull request
- Add the new icons
- Add the new theme keys to the `Icon` component

### Preview
<img
src="https://github.com/user-attachments/assets/1e4dc89c-fc88-48a6-b480-43147f9ae378"
width="320" />
…ok to manage new and legacy typography (#345)

## Short description
This PR completely removes the legacy UI by removing all the logic
introduced to manage the new and old views simultaneously. It also adds
the new `useIONewTypeface` hook to manage the legacy and new typography.

## List of changes proposed in this pull request
- Remove the legacy styles from all the components
- Replace `isExperimental` with `newTypefaceEnabled` in all the
typographic styles

## How to test
1. Launch the example app
2. You should no longer need to activate the experimental DS
3. Test the components by enabling/disabling the new typeface toggle
4. Check that all the components are OK
@dmnplb dmnplb marked this pull request as ready for review January 8, 2025 16:00
@dmnplb dmnplb requested review from a team as code owners January 8, 2025 16:00
dmnplb and others added 5 commits February 4, 2025 14:20
## Short description
This PR refactors `HeaderFirstLevel`'s actions props with a dynamic type
which allows to configure 0 to 3 actions.

## List of changes proposed in this pull request
- Replaced `firstAction`, `secondAction` and `thirdAction` with
`actions`

## How to test
Run the example app and go to the **Header First Level** page, test the
header with different action configurations

---------

Co-authored-by: Damiano Plebani <[email protected]>
dmnplb and others added 8 commits February 7, 2025 12:17
…ssets (#403)

## Short description
This PR refactors `ModuleIDP` to manage both light and dark mode assets.

## List of changes proposed in this pull request
- Change the format of the props that are related to the logo
- Add new assets to test the light and dark mode
- Update relative story

### Preview


https://github.com/user-attachments/assets/ded74d19-d9f7-4be1-a005-412ce3b1e1c0


## How to test
1. Launch the example app
2. Go to the **Modules** section
3. Turn on/off dark mode

---------

Co-authored-by: Emanuele Dall'Ara <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants