Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v5.11.1-0](https://github.com/pagopa/io-app-design-system/compare/v5.11.0...v5.11.1-0)

- feat: [SIW-2952] Add `IconMultiCard` [`#496`](https://github.com/pagopa/io-app-design-system/pull/496)
- refactor: fix toast position [`eba60c2`](https://github.com/pagopa/io-app-design-system/commit/eba60c22b021e1c4067ff8ec16265fb34336ed8e)

#### [v5.11.0](https://github.com/pagopa/io-app-design-system/compare/v5.10.2...v5.11.0)

> 15 September 2025

- feat: [IOBP-1987] Support badge as top element in `ListItemInfo` [`#495`](https://github.com/pagopa/io-app-design-system/pull/495)
- chore: release 5.11.0 [`3c66beb`](https://github.com/pagopa/io-app-design-system/commit/3c66beb3f16b12cf01e5746f154bfcd6f171d742)

#### [v5.10.2](https://github.com/pagopa/io-app-design-system/compare/v5.10.1...v5.10.2)

Expand Down Expand Up @@ -309,20 +317,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore: release 5.2.1 [`d89c65b`](https://github.com/pagopa/io-app-design-system/commit/d89c65b0ab79389f3930c1c26334e6a0ab370900)
- align Changelog file [`90e7f01`](https://github.com/pagopa/io-app-design-system/commit/90e7f01654637bf04ab330b1c20e964cfc29022e)

#### [v5.2.0](https://github.com/pagopa/io-app-design-system/compare/v5.1.4...v5.2.0)
#### [v5.2.0](https://github.com/pagopa/io-app-design-system/compare/v5.1.3...v5.2.0)

> 18 March 2025

- feat: [IOPLT-966, IOPLT-991] Add the new `IOSkeleton` component to remove the `rn-placeholder` dependency [`#427`](https://github.com/pagopa/io-app-design-system/pull/427)
- chore: release 5.2.0 [`f59c72f`](https://github.com/pagopa/io-app-design-system/commit/f59c72f888ca95ce882161e06a91fac83588873d)

#### [v5.1.4](https://github.com/pagopa/io-app-design-system/compare/v5.1.3...v5.1.4)

> 18 March 2025

- fix: missing dependency array on hoooks causes accessibility issues [`#433`](https://github.com/pagopa/io-app-design-system/pull/433)
- chore: release 5.1.4 [`723d732`](https://github.com/pagopa/io-app-design-system/commit/723d732af2566f760804150245b248dff9ec7a79)

#### [v5.1.3](https://github.com/pagopa/io-app-design-system/compare/v5.1.2...v5.1.3)

> 17 March 2025
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pagopa/io-app-design-system",
"version": "5.11.0",
"version": "5.11.1-0",
"description": "The library defining the core components of the design system of @pagopa/io-app",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
14 changes: 13 additions & 1 deletion src/components/toast/ToastProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { throttle } from "lodash";
import React from "react";
import {
AccessibilityInfo,
Platform,
SafeAreaView,
StyleSheet,
View
Expand All @@ -12,6 +13,7 @@ import Animated, {
SlideInUp,
SlideOutUp
} from "react-native-reanimated";
import { useSafeAreaInsets } from "react-native-safe-area-context";
import { IOVisualCostants } from "../../core";
import { triggerHaptic } from "../../functions";
import { Dismissable } from "../templates";
Expand Down Expand Up @@ -116,10 +118,20 @@ export const ToastProvider = ({ children }: ToastProviderProps) => {
[addToast, removeToast, removeAllToasts]
);

const insets = useSafeAreaInsets();

return (
<ToastContext.Provider value={contextValue as ToastContext}>
<InitializeToastRef />
<SafeAreaView style={styles.container} pointerEvents="box-none">
<SafeAreaView
style={[
styles.container,
{
paddingTop: Platform.OS === "android" ? insets.top : 0
}
]}
pointerEvents="box-none"
>
<View
style={{ padding: IOVisualCostants.appMarginDefault }}
pointerEvents="box-none"
Expand Down