diff --git a/ts/components/PinCreationForm.tsx b/ts/components/PinCreationForm.tsx index 2a0be0ed81a..5c95f2a61c6 100644 --- a/ts/components/PinCreationForm.tsx +++ b/ts/components/PinCreationForm.tsx @@ -1,25 +1,25 @@ +import { ButtonOutline, IOColors, VSpacer } from "@pagopa/io-app-design-system"; import * as React from "react"; -import { StyleSheet, View, ScrollView } from "react-native"; -import { IOColors, VSpacer, ButtonOutline } from "@pagopa/io-app-design-system"; -import I18n from "../i18n"; -import { PIN_LENGTH_SIX } from "../utils/constants"; -import { PinString } from "../types/PinString"; +import { ScrollView, StyleSheet, View } from "react-native"; +import { defaultPin } from "../config"; import { confirmButtonProps } from "../features/bonus/bonusVacanze/components/buttons/ButtonConfigurations"; import { isValidPinNumber } from "../features/fastLogin/utils/pinPolicy"; -import { isDevEnv } from "../utils/environment"; -import { defaultPin } from "../config"; +import I18n from "../i18n"; import { trackPinError } from "../screens/profile/analytics"; -import { getFlowType } from "../utils/analytics"; import { useIOSelector } from "../store/hooks"; import { isProfileFirstOnBoardingSelector } from "../store/reducers/profile"; -import FooterWithButtons from "./ui/FooterWithButtons"; +import { PinString } from "../types/PinString"; +import { getFlowType } from "../utils/analytics"; +import { PIN_LENGTH_SIX } from "../utils/constants"; +import { isDevEnv } from "../utils/environment"; +import { LabelledItem } from "./LabelledItem"; import { InfoBox } from "./box/InfoBox"; -import { Label } from "./core/typography/Label"; -import { H1 } from "./core/typography/H1"; import { Body } from "./core/typography/Body"; -import { LabelledItem } from "./LabelledItem"; -import { IOStyles } from "./core/variables/IOStyles"; +import { H1 } from "./core/typography/H1"; +import { Label } from "./core/typography/Label"; import { LabelSmall } from "./core/typography/LabelSmall"; +import { IOStyles } from "./core/variables/IOStyles"; +import FooterWithButtons from "./ui/FooterWithButtons"; export type Props = { onSubmit: (pin: PinString) => void; @@ -219,7 +219,7 @@ export const PinCreationForm = ({ onSubmit, isOnboarding }: Props) => { - + diff --git a/ts/features/bonus/bonusVacanze/screens/activation/request/ActivateBonusReminder.tsx b/ts/features/bonus/bonusVacanze/screens/activation/request/ActivateBonusReminder.tsx index c79033c2e7b..95daa3a5e40 100644 --- a/ts/features/bonus/bonusVacanze/screens/activation/request/ActivateBonusReminder.tsx +++ b/ts/features/bonus/bonusVacanze/screens/activation/request/ActivateBonusReminder.tsx @@ -1,8 +1,8 @@ +import { HSpacer, Icon } from "@pagopa/io-app-design-system"; import * as React from "react"; import { View } from "react-native"; -import { HSpacer, Icon } from "@pagopa/io-app-design-system"; -import { IOStyles } from "../../../../../../components/core/variables/IOStyles"; import { Body } from "../../../../../../components/core/typography/Body"; +import { IOStyles } from "../../../../../../components/core/variables/IOStyles"; type Props = { text: string; @@ -15,7 +15,7 @@ type Props = { */ export const ActivateBonusReminder: React.FunctionComponent = props => ( - + {props.text} diff --git a/ts/features/design-system/core/DSAdvice.tsx b/ts/features/design-system/core/DSAdvice.tsx index 3a099ca499b..d64c2ed607f 100644 --- a/ts/features/design-system/core/DSAdvice.tsx +++ b/ts/features/design-system/core/DSAdvice.tsx @@ -1,28 +1,28 @@ -import * as React from "react"; -import { View, StyleSheet, Alert } from "react-native"; import { + Banner, + FeatureInfo, Icon, VSpacer, - FeatureInfo, - Banner, bannerBackgroundColours } from "@pagopa/io-app-design-system"; +import * as React from "react"; +import { Alert, StyleSheet, View } from "react-native"; +import { InfoBox } from "../../../components/box/InfoBox"; import PaymentBannerComponent from "../../../components/wallet/PaymentBannerComponent"; import { DSFullWidthComponent } from "../components/DSFullWidthComponent"; -import { InfoBox } from "../../../components/box/InfoBox"; /* Types */ import { ImportoEuroCents } from "../../../../definitions/backend/ImportoEuroCents"; -import { IOStyles } from "../../../components/core/variables/IOStyles"; -import { Label } from "../../../components/core/typography/Label"; -import { ActivateBonusReminder } from "../../bonus/bonusVacanze/screens/activation/request/ActivateBonusReminder"; -import { DesignSystemScreen } from "../components/DesignSystemScreen"; import AdviceComponent from "../../../components/AdviceComponent"; import { Body } from "../../../components/core/typography/Body"; import { H2 } from "../../../components/core/typography/H2"; -import { InfoScreenComponent } from "../../../components/infoScreen/InfoScreenComponent"; import { H5 } from "../../../components/core/typography/H5"; +import { Label } from "../../../components/core/typography/Label"; +import { IOStyles } from "../../../components/core/variables/IOStyles"; +import { InfoScreenComponent } from "../../../components/infoScreen/InfoScreenComponent"; +import { ActivateBonusReminder } from "../../bonus/bonusVacanze/screens/activation/request/ActivateBonusReminder"; import { DSComponentViewerBox } from "../components/DSComponentViewerBox"; +import { DesignSystemScreen } from "../components/DesignSystemScreen"; const styles = StyleSheet.create({ content: { @@ -104,7 +104,7 @@ export const DSAdvice = () => ( /> - +