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-334] Add alignItems prop to HStack and VStack components #297

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

dmnplb
Copy link
Collaborator

@dmnplb dmnplb commented Jun 25, 2024

Short description

This PR adds the new optional alignItems prop to HStack and VStack components

List of changes proposed in this pull request

  • Add the new optional alignItems prop

Preview

How to test

  1. Launch the example app
  2. Check the Layout screen

@dmnplb dmnplb requested review from a team as code owners June 25, 2024 13:23
@dmnplb dmnplb merged commit 55bf252 into main Jul 5, 2024
6 checks passed
@dmnplb dmnplb deleted the IOAPPX-334-add-alignItems-vstack-hstack branch July 5, 2024 14:49
dmnplb added a commit that referenced this pull request Aug 26, 2024
… the new `HStack` and `VStack` components (#303)

>[!caution]
> This PR depends on the following PR. **Do not merge the PR beforehand,
otherwise it might break part of the UI**.
> * pagopa/io-app#5864

## Short description
This PR refactors `Modules…` and `NumberPad` components to take
advantage of the new `HStack` and `VStack` components.

## List of changes proposed in this pull request
- Update `NumberPad` and `CodeInput` to replace the logic using
`VSpacer` and `HSpacer`
- Update all the `Modules…` components (both interactive and skeleton
states) using `HStack` and `VStack`
- Refactor `HStack` and `VStack` to apply some specific style properties
(`alignItems`, `flexShrink`, etc…)

### Related PRs
* #241
* #297

## How to test
1. Launch the example app
2. First, check **Numberpad** screen
3. Second, check **Modules** screen
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