-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Cross): [IOAPPX-448] Add missing components to the Design Syste…
…m section, remove legacy ones + Change `ListItemMessage` component API (#6541) ## Short description This PR updates the Design System section with missing components. Checking them in isolation is essential to avoid regression during development. ## List of changes proposed in this pull request - Add `BannerErrorState` to the `DSAdvice` page - Restrict the choice of possible icons to avoid excessive generalisation of the component itself - Add the `ListItemSearchInstitution` to the `DSListItems` page - Rename `CgnModuleDiscount` to `ModuleCgnDiscount`, **refactor it** and move it to `DSModules` from `DSListItems` - Remove gradients from `DSColors` because CGN doesn't use them anymore #### `MessageListItem` → `ListItemMessage` - Change the component name - Rename `DoubleAvatar` to `AvatarDouble` (to keep the same convention as the others) and add it to the `DSLogos` page - Replace `badgeText` and `badgeVariant` props with the single `tag` prop - Remove `CustomPressableListItemBase` by integrating it into `ListItemMessage` - Add all the `ListItemMessage` possible combinations to `DSListItems` for testing purposes ### Preview The new `ListItemMessage` section in the **_List Items_** page <img width="320" src="https://github.com/user-attachments/assets/b9689723-b9a3-4a4d-b222-2c7952952322" /> ## How to test Go to the **Design System** section and check the update pages --------- Co-authored-by: Emanuele Dall'Ara <[email protected]> Co-authored-by: Cristiano Tofani <[email protected]> Co-authored-by: Andrea <[email protected]>
- Loading branch information
1 parent
8cf64a9
commit 323996f
Showing
26 changed files
with
1,263 additions
and
1,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.