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

[IOPLT-143] Introduces context to handle the experimental features #56

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

CrisTofani
Copy link
Contributor

@CrisTofani CrisTofani commented Sep 5, 2023

Short description

This PR introduces a new Context Provider to handle the experimental features preview toggle as context attribute.

How to test

This PR introduces a new context to handle the visualization of the new or legacy DS UI.
As an example the ButtonSolid component has the legacy counterpart (an optimization should be provided in a future PR)

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-09-05.at.14.21.21.mp4

@CrisTofani CrisTofani marked this pull request as ready for review September 5, 2023 12:26
@CrisTofani CrisTofani requested review from dmnplb and a team as code owners September 5, 2023 12:26
@CrisTofani CrisTofani merged commit 28e6410 into main Sep 11, 2023
2 checks passed
@CrisTofani CrisTofani deleted the IOPLT-143 branch September 11, 2023 12:38
CrisTofani added a commit that referenced this pull request Sep 12, 2023
# ⚠️ THIS PR DEPENDS ON #56

## Short description
This PR implements the handler to chenge UI representation of the button
components to use the legacy view based on `IOExperimentalDesignContext`

## How to test
Check on the example app in the button section components changes on
toggle value change



https://github.com/pagopa/io-app-design-system/assets/3959405/611bef78-4ff2-40d6-9978-62b623a9b4a3

---------

Co-authored-by: Damiano Plebani <damiano.plebani@pagopa.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants