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

[IOAPPFD0-134] Add the new AccordionItem component #43

Merged
merged 12 commits into from
Aug 29, 2023

Conversation

dmnplb
Copy link
Collaborator

@dmnplb dmnplb commented Aug 9, 2023

Short description

This PR adds the new AccordionItem component which replaces all the previous components (RawAccordion, IOAccordion and NativeBase's Accordion). The new component comes with a smooth transition between collapsed and expanded state.

List of changes proposed in this pull request

  • Add the new AccordionItem component
  • Add the new spring configuration values to the IOSpringValues object
  • Add relative test screen to the Design System section (in the example app)
  • Remove the IOAccordion component that was created to replace the legacy component, but was never added to the app

Preview

newAccordionItem.mp4

How to test

Run the example app and go to the Accordion screen

@dmnplb dmnplb merged commit c9cf512 into main Aug 29, 2023
dmnplb added a commit to pagopa/io-app that referenced this pull request Aug 31, 2023
…m playground (#4938)

## Short description
This PR adds the new `AccordionItem` to the relative Design System page.
The new component accepts two types of content: a `string` or a `React
node`

To learn more about the component, please read the original PR:
- pagopa/io-app-design-system#43

## List of changes proposed in this pull request
- Add the new `AccordionItem` to the `DSAccordion` component

### Preview

https://github.com/pagopa/io-app/assets/1255491/ec8eb1b8-ed01-4050-838a-850a9052dcb4

## How to test
Go to the **Profile → Design System → Accordion (Components)**
Ladirico pushed a commit to pagopa/io-app that referenced this pull request Sep 5, 2023
…m playground (#4938)

## Short description
This PR adds the new `AccordionItem` to the relative Design System page.
The new component accepts two types of content: a `string` or a `React
node`

To learn more about the component, please read the original PR:
- pagopa/io-app-design-system#43

## List of changes proposed in this pull request
- Add the new `AccordionItem` to the `DSAccordion` component

### Preview

https://github.com/pagopa/io-app/assets/1255491/ec8eb1b8-ed01-4050-838a-850a9052dcb4

## How to test
Go to the **Profile → Design System → Accordion (Components)**
@dmnplb dmnplb deleted the IOAPPFD0-134-accordion branch September 7, 2023 15:53
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