@pagopa/io-app-design-system 5.6.6 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/alert/Alert.js +1 -2
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js +1 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js +1 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
- package/lib/commonjs/components/avatar/Avatar.js +1 -2
- package/lib/commonjs/components/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -224
- package/lib/commonjs/components/avatar/__test__/avatar.test.js +1 -2
- package/lib/commonjs/components/avatar/__test__/avatar.test.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -102
- package/lib/commonjs/components/badge/__test__/badge.test.js +1 -2
- package/lib/commonjs/components/badge/__test__/badge.test.js.map +1 -1
- package/lib/commonjs/components/banner/BannerErrorState.js +1 -2
- package/lib/commonjs/components/banner/BannerErrorState.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -586
- package/lib/commonjs/components/banner/__test__/banner.test.js +1 -2
- package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonLink.js +1 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +1 -2
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +1 -2
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js +1 -2
- package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js +1 -2
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +3 -396
- package/lib/commonjs/components/buttons/IconButton.js +1 -2
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +1 -2
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +1 -2
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -1065
- package/lib/commonjs/components/buttons/__test__/button.test.js +1 -2
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +1 -2
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +1 -2
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +1 -2
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +1 -2
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/ClaimsSelector.test.js +1 -2
- package/lib/commonjs/components/claimsSelector/__test__/ClaimsSelector.test.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +4 -1567
- package/lib/commonjs/components/codeInput/CodeInput.js +1 -2
- package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
- package/lib/commonjs/components/common/AnimatedTick.js +1 -2
- package/lib/commonjs/components/common/AnimatedTick.js.map +1 -1
- package/lib/commonjs/components/common/LogoPaymentWithFallback.js +1 -2
- package/lib/commonjs/components/common/LogoPaymentWithFallback.js.map +1 -1
- package/lib/commonjs/components/common/ScaleInOutAnimation.js +1 -2
- package/lib/commonjs/components/common/ScaleInOutAnimation.js.map +1 -1
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js +1 -2
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +1 -1
- package/lib/commonjs/components/icons/IconContained.js +1 -2
- package/lib/commonjs/components/icons/IconContained.js.map +1 -1
- package/lib/commonjs/components/layout/Dismissable.js +1 -2
- package/lib/commonjs/components/layout/Dismissable.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActions.js +1 -2
- package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActionsInline.js +1 -2
- package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/commonjs/components/layout/ForceScrollDownView.js +1 -2
- package/lib/commonjs/components/layout/ForceScrollDownView.js.map +1 -1
- package/lib/commonjs/components/layout/GradientBottomActions.js +1 -2
- package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/commonjs/components/layout/GradientScrollView.js +1 -2
- package/lib/commonjs/components/layout/GradientScrollView.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +1 -2
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +1 -2
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/layout/ModalBSHeader.js +1 -2
- package/lib/commonjs/components/layout/ModalBSHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAction.js +1 -2
- package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js +1 -2
- package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +1 -2
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +1 -2
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +1 -2
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +1 -2
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +1 -2
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +1 -2
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -2
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/PressableListItemBase.js +1 -2
- package/lib/commonjs/components/listitems/PressableListItemBase.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +18 -3038
- package/lib/commonjs/components/listitems/__test__/listitem.test.js +1 -2
- package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +1 -2
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/commonjs/components/logos/index.js +1 -2
- package/lib/commonjs/components/logos/index.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js +1 -2
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js +1 -2
- package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleIDP.js +1 -2
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +1 -2
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleStatic.js +1 -2
- package/lib/commonjs/components/modules/ModuleStatic.js.map +1 -1
- package/lib/commonjs/components/modules/PressableModuleBase.js +1 -2
- package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +1 -2
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberPad.js +1 -2
- package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +10 -0
- package/lib/commonjs/components/otpInput/BoxedInput.js +1 -2
- package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
- package/lib/commonjs/components/otpInput/OTPInput.js +2 -3
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/pictograms/Pictogram.js +6 -3
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramAttention.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramAttention.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramBleedSavingMoney.js +68 -0
- package/lib/commonjs/components/pictograms/svg/PictogramBleedSavingMoney.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramEmptyArchive.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramEmptyArchive.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramFeedback.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramFeedback.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramHelp.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramHelp.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramSavingMoney.js +57 -0
- package/lib/commonjs/components/pictograms/svg/PictogramSavingMoney.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramSuccess.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramSuccess.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedSavingMoney.svg +18 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramSavingMoney.svg +11 -0
- package/lib/commonjs/components/progressLoader/ProgressLoader.js +1 -2
- package/lib/commonjs/components/progressLoader/ProgressLoader.js.map +1 -1
- package/lib/commonjs/components/radio/AnimatedRadio.js +1 -2
- package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +1 -2
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +1 -2
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/skeleton/IOSkeleton.js +1 -2
- package/lib/commonjs/components/skeleton/IOSkeleton.js.map +1 -1
- package/lib/commonjs/components/spacer/Spacer.js +1 -2
- package/lib/commonjs/components/spacer/Spacer.js.map +1 -1
- package/lib/commonjs/components/stack/Stack.js +2 -4
- package/lib/commonjs/components/stack/Stack.js.map +1 -1
- package/lib/commonjs/components/stepper/Stepper.js +1 -2
- package/lib/commonjs/components/stepper/Stepper.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +1 -2
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInput.js +1 -2
- package/lib/commonjs/components/textInput/TextInput.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +1 -2
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputPassword.js +1 -2
- package/lib/commonjs/components/textInput/TextInputPassword.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputValidation.js +1 -2
- package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/commonjs/components/toast/ToastNotification.js +1 -2
- package/lib/commonjs/components/toast/ToastNotification.js.map +1 -1
- package/lib/commonjs/components/toast/ToastProvider.js +1 -2
- package/lib/commonjs/components/toast/ToastProvider.js.map +1 -1
- package/lib/commonjs/components/tooltip/Arrows.js +1 -2
- package/lib/commonjs/components/tooltip/Arrows.js.map +1 -1
- package/lib/commonjs/components/tooltip/Tooltip.js +2 -3
- package/lib/commonjs/components/tooltip/Tooltip.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +1 -2
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/BodyMonospace.js +1 -2
- package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
- package/lib/commonjs/components/typography/BodySmall.js +1 -2
- package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
- package/lib/commonjs/components/typography/ButtonText.js +1 -2
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/Caption.js +1 -2
- package/lib/commonjs/components/typography/Caption.js.map +1 -1
- package/lib/commonjs/components/typography/H1.js +1 -2
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +1 -2
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +1 -2
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +1 -2
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +1 -2
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +1 -2
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +1 -2
- package/lib/commonjs/components/typography/Hero.js.map +1 -1
- package/lib/commonjs/components/typography/IOText.js +1 -2
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/components/typography/LabelMini.js +1 -2
- package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +25 -567
- package/lib/commonjs/components/typography/__test__/typography.test.js +1 -2
- package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH1.js +1 -2
- package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH2.js +1 -2
- package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH3.js +1 -2
- package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/commonjs/core/IODSExperimentalContextProvider.js +1 -2
- package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +1 -1
- package/lib/commonjs/core/IONewTypefaceContextProvider.js +1 -2
- package/lib/commonjs/core/IONewTypefaceContextProvider.js.map +1 -1
- package/lib/commonjs/core/IOThemeContextProvider.js +1 -2
- package/lib/commonjs/core/IOThemeContextProvider.js.map +1 -1
- package/lib/commonjs/utils/testing.js.map +1 -1
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -224
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -102
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -586
- package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +3 -396
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -1065
- package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +4 -1567
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +18 -3038
- package/lib/module/components/numberpad/NumberPad.js.map +1 -1
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +10 -0
- package/lib/module/components/otpInput/OTPInput.js +1 -1
- package/lib/module/components/otpInput/OTPInput.js.map +1 -1
- package/lib/module/components/pictograms/Pictogram.js +5 -1
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/pictograms/svg/PictogramBleedSavingMoney.js +63 -0
- package/lib/module/components/pictograms/svg/PictogramBleedSavingMoney.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramSavingMoney.js +52 -0
- package/lib/module/components/pictograms/svg/PictogramSavingMoney.js.map +1 -0
- package/lib/module/components/pictograms/svg/originals/PictogramBleedSavingMoney.svg +18 -0
- package/lib/module/components/pictograms/svg/originals/PictogramSavingMoney.svg +11 -0
- package/lib/module/components/stack/Stack.js +2 -4
- package/lib/module/components/stack/Stack.js.map +1 -1
- package/lib/module/components/tooltip/Tooltip.js +1 -1
- package/lib/module/components/tooltip/Tooltip.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +25 -567
- package/lib/module/utils/testing.js.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts +1 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberPad.d.ts +1 -1
- package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts +78 -77
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/svg/PictogramBleedSavingMoney.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedSavingMoney.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramSavingMoney.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramSavingMoney.d.ts.map +1 -0
- package/lib/typescript/components/stack/Stack.d.ts +2 -2
- package/lib/typescript/components/stack/Stack.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -1
- package/lib/typescript/utils/testing.d.ts +1 -1
- package/lib/typescript/utils/testing.d.ts.map +1 -1
- package/package.json +23 -16
- package/src/components/alert/Alert.tsx +1 -1
- package/src/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -224
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -102
- package/src/components/banner/Banner.tsx +1 -1
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -586
- package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +3 -396
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -1065
- package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +4 -1567
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +18 -3038
- package/src/components/numberpad/NumberPad.tsx +1 -1
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +10 -0
- package/src/components/otpInput/OTPInput.tsx +1 -1
- package/src/components/pictograms/Pictogram.tsx +7 -2
- package/src/components/pictograms/svg/PictogramBleedSavingMoney.tsx +61 -0
- package/src/components/pictograms/svg/PictogramSavingMoney.tsx +54 -0
- package/src/components/pictograms/svg/originals/PictogramBleedSavingMoney.svg +18 -0
- package/src/components/pictograms/svg/originals/PictogramSavingMoney.svg +11 -0
- package/src/components/stack/Stack.tsx +8 -9
- package/src/components/tooltip/Tooltip.tsx +3 -1
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +25 -567
- package/src/utils/testing.tsx +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ComponentProps, useCallback, useMemo } from "react";
|
|
1
|
+
import React, { ComponentProps, JSX, useCallback, useMemo } from "react";
|
|
2
2
|
import { StyleSheet, View } from "react-native";
|
|
3
3
|
import { BiometricsValidType, Optional } from "../../utils/types";
|
|
4
4
|
import { IconButton } from "../buttons";
|
|
@@ -863,6 +863,11 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
863
863
|
accessibilityLabel=""
|
|
864
864
|
accessible={false}
|
|
865
865
|
align="xMidYMid"
|
|
866
|
+
animatedProps={
|
|
867
|
+
{
|
|
868
|
+
"color": undefined,
|
|
869
|
+
}
|
|
870
|
+
}
|
|
866
871
|
bbHeight={24}
|
|
867
872
|
bbWidth={24}
|
|
868
873
|
color="#FFFFFF"
|
|
@@ -1073,6 +1078,11 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1073
1078
|
accessibilityLabel=""
|
|
1074
1079
|
accessible={false}
|
|
1075
1080
|
align="xMidYMid"
|
|
1081
|
+
animatedProps={
|
|
1082
|
+
{
|
|
1083
|
+
"color": undefined,
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1076
1086
|
bbHeight={24}
|
|
1077
1087
|
bbWidth={24}
|
|
1078
1088
|
color="#FFFFFF"
|
|
@@ -71,7 +71,7 @@ export const OTPInput = forwardRef<View, Props>(
|
|
|
71
71
|
useErrorShakeAnimation();
|
|
72
72
|
|
|
73
73
|
const inputRef = createRef<TextInput>();
|
|
74
|
-
const timerRef = useRef<NodeJS.Timeout>();
|
|
74
|
+
const timerRef = useRef<NodeJS.Timeout | undefined>(undefined);
|
|
75
75
|
|
|
76
76
|
const handleValidate = (val: string) => {
|
|
77
77
|
if (!onValidate || val.length < length) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useMemo } from "react";
|
|
1
|
+
import React, { JSX, useMemo } from "react";
|
|
2
2
|
import { ColorValue } from "react-native";
|
|
3
3
|
import { IOColors, IOThemeDark, IOThemeLight, useIOTheme } from "../../core";
|
|
4
4
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
@@ -75,6 +75,7 @@ import PictogramBleedPayments from "./svg/PictogramBleedPayments";
|
|
|
75
75
|
import PictogramBleedPending from "./svg/PictogramBleedPending";
|
|
76
76
|
import PictogramBleedQrCode from "./svg/PictogramBleedQrCode";
|
|
77
77
|
import PictogramBleedReactivate from "./svg/PictogramBleedReactivate";
|
|
78
|
+
import PictogramBleedSavingMoney from "./svg/PictogramBleedSavingMoney";
|
|
78
79
|
import PictogramBleedSearch from "./svg/PictogramBleedSearch";
|
|
79
80
|
import PictogramBleedSecurity from "./svg/PictogramBleedSecurity";
|
|
80
81
|
import PictogramBleedSettings from "./svg/PictogramBleedSettings";
|
|
@@ -113,6 +114,7 @@ import PictogramStar from "./svg/PictogramStar";
|
|
|
113
114
|
import PictogramTiming from "./svg/PictogramTiming";
|
|
114
115
|
import PictogramWalletDoc from "./svg/PictogramWalletDoc";
|
|
115
116
|
import { SVGPictogramProps } from "./types";
|
|
117
|
+
import PictogramSavingMoney from "./svg/PictogramSavingMoney";
|
|
116
118
|
|
|
117
119
|
export const IOPictograms = {
|
|
118
120
|
empty: PictogramEmpty,
|
|
@@ -174,6 +176,7 @@ export const IOPictograms = {
|
|
|
174
176
|
walletDoc: PictogramWalletDoc,
|
|
175
177
|
emptyWallet: PictogramEmptyWallet,
|
|
176
178
|
meterLimit: PictogramMeterLimit,
|
|
179
|
+
savingMoney: PictogramSavingMoney,
|
|
177
180
|
// Start Objects Pictogram
|
|
178
181
|
ibanCard: PictogramObjIbanCard,
|
|
179
182
|
followMessage: PictogramObjFollowMessage,
|
|
@@ -304,6 +307,7 @@ export type IOPictogramsBleed = Extract<
|
|
|
304
307
|
| "payments"
|
|
305
308
|
| "activate"
|
|
306
309
|
| "reactivate"
|
|
310
|
+
| "savingMoney"
|
|
307
311
|
| "workInProgress",
|
|
308
312
|
IOPictograms
|
|
309
313
|
>;
|
|
@@ -351,7 +355,8 @@ export const IOPictogramsBleed: {
|
|
|
351
355
|
payments: PictogramBleedPayments,
|
|
352
356
|
activate: PictogramBleedActivate,
|
|
353
357
|
reactivate: PictogramBleedReactivate,
|
|
354
|
-
workInProgress: PictogramBleedWorkInProgress
|
|
358
|
+
workInProgress: PictogramBleedWorkInProgress,
|
|
359
|
+
savingMoney: PictogramBleedSavingMoney
|
|
355
360
|
};
|
|
356
361
|
|
|
357
362
|
export const PictogramBleed = ({
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import Svg, { G, Path, Rect, Defs, ClipPath } from "react-native-svg";
|
|
3
|
+
import { SVGPictogramProps } from "../types";
|
|
4
|
+
const PictogramSavingMoney = ({
|
|
5
|
+
size,
|
|
6
|
+
colorValues,
|
|
7
|
+
...props
|
|
8
|
+
}: SVGPictogramProps) => (
|
|
9
|
+
<Svg width={size} height={size} fill="none" viewBox="0 0 240 240" {...props}>
|
|
10
|
+
<G clipPath="url(#a)">
|
|
11
|
+
<Path
|
|
12
|
+
fill={colorValues.secondary}
|
|
13
|
+
d="M151.5 73c1.156.432 5.244 2.36 6.34 3.046 10.153 6.36 13.322 21.446 7.077 33.695-6.245 12.25-19.539 17.023-29.692 10.663-10.154-6.36-13.324-21.446-7.079-33.696 2.167-4.25 5.11-7.725 10.354-9.708l2 5.458 6 2.042 4-2.042L152 80z"
|
|
14
|
+
/>
|
|
15
|
+
<Path
|
|
16
|
+
fill={colorValues.main}
|
|
17
|
+
d="M150.607 77.474a15.6 15.6 0 0 1 5.423 2.132l.4.26c8.322 5.553 10.853 18.152 5.623 28.412l-.254.485c-5.413 10.064-16.507 13.917-25.012 8.59l-.402-.26c-8.189-5.466-10.77-17.754-5.865-27.922l.244-.49c1.968-3.861 4.759-6.85 7.932-8.806l.529 1.372.302.136c-2.917 1.797-5.505 4.558-7.353 8.181-4.997 9.802-2.316 21.491 5.368 26.305 7.685 4.813 18.101 1.328 23.099-8.474 4.997-9.802 2.318-21.492-5.367-26.305a14 14 0 0 0-4.071-1.734l.004-.02z"
|
|
18
|
+
/>
|
|
19
|
+
<Path
|
|
20
|
+
fill={colorValues.main}
|
|
21
|
+
d="m149.529 106.424.068 2.918c-3.108-.205-8.197-.871-9.043-7.68-.014-.18-.011-.37-.016-.552l-2.162-.512.605-2.6 1.765.425c.054-.314.114-.635.189-.957.039-.167.091-.328.134-.494l-1.753-.408.597-2.565 2.072.482c.135-.276.274-.543.426-.797q.98-1.653 2.33-2.75c.902-.733 1.869-1.232 2.908-1.506a6.56 6.56 0 0 1 3.183-.03 5.9 5.9 0 0 1 1.827.775q.86.546 1.5 1.368l-1.639 2.037a4.2 4.2 0 0 0-1.053-.988 3.9 3.9 0 0 0-1.253-.54c-1.055-.246-2.055-.158-3.013.272q-1.435.642-2.51 2.096a7 7 0 0 0-.403.604l4.689 1.105-.599 2.57-5.129-1.213a13 13 0 0 0-.313 1.453l5.099 1.219-.598 2.569-4.57-1.077q.016.168.045.332c.149.9 2.424 5.333 6.617 4.444"
|
|
22
|
+
/>
|
|
23
|
+
<Path
|
|
24
|
+
fill={colorValues.hands}
|
|
25
|
+
d="M140.925 85.177a2.3 2.3 0 0 1-.864-.624c-.392-.455-12.562-15.842-8.778-25.878 2.637-6.983 10.7-11.484 23.97-13.402.855-.115 8.361-1.03 12.581 2.298l-2.768 3.51c-2.325-1.837-7.414-1.619-9.182-1.381-11.343 1.632-18.413 5.276-20.406 10.535-2.456 6.49 5.922 18.714 7.539 20.851 1.252.241 2.432.355 3.517.342a3.82 3.82 0 0 0 3.114-1.68c.771-1.115-2.08-7.038-2.542-8.325-1.327-3.7-1.193-6.635.397-8.727 1.627-2.145 4.592-3.061 8.804-2.742 19.31 1.468 24.834 10.576 26.057 17.962.398 2.369-.212 4.531-1.75 6.234-4.815 5.332-12.685 5.161-14.145 5.067l-1.289-4.315c4.683.287 9.582-.93 12.126-3.757.627-.696.821-1.458.649-2.495-1.406-8.447-8.809-13.242-21.991-14.239-2.496-.19-4.281.17-4.915 1-.586.776-.499 2.413.259 4.508.954 2.642 3.596 10.076 2.018 12.37a8.27 8.27 0 0 1-6.711 3.617c-1.668.03-3.47-.172-5.361-.612a3 3 0 0 1-.33-.105zm45.417 8.438c-5.713 4.706-8.786 7.157-19.434 6.027l-.469 4.479c10.971-.313 16.119-1.589 22.801-7.12 5.97-4.94 8.071-11.245 8.79-14.497l43.945 2.257.22-4.463-45.919-2.355a2.25 2.25 0 0 0-2.338 2.043c-.004.078-.788 8.037-7.596 13.629"
|
|
26
|
+
/>
|
|
27
|
+
<Path
|
|
28
|
+
fill={colorValues.hands}
|
|
29
|
+
d="M149.428 46.988c-4.912-1.998-10.516-4.937-13.695-8.058-2.048-2.002-3.033-4.03-2.946-6.017.132-2.901 1.627-5.333 4.207-6.839 4.917-2.866 13.087-2.05 21.301 2.147l-2.03 3.983c-8.238-4.198-14.317-3.85-17.023-2.272-1.279.754-1.934 1.784-2.002 3.178-.028.558.435 1.386 1.252 2.266 4.577 4.934 17.632 9.65 19.642 9.715l.227 4.463c-1.323.08-4.898-.913-8.944-2.555z"
|
|
30
|
+
/>
|
|
31
|
+
<Path
|
|
32
|
+
fill={colorValues.hands}
|
|
33
|
+
d="M175.869 43.35c-.775-.375-19.21-9.17-26.382-16.827-1.529-1.641-1.952-3.944-1.09-6.015a5.54 5.54 0 0 1 5.003-3.456c4.839-.152 13.094 1.183 24.952 8.401 9.903 6.025 22.165 5.042 39.143 3.699 7.747-.614 16.808-1.307 26.69-1.435l-.22 4.463c-9.737.124-18.439.813-26.12 1.43-17.809 1.425-30.677 2.445-41.818-4.335-10.913-6.645-18.256-7.88-22.49-7.753-.661.023-.92.503-1.008.7a1.14 1.14 0 0 0 .229 1.252c6.588 7.036 24.858 15.756 25.033 15.843l-1.922 4.032Z"
|
|
34
|
+
/>
|
|
35
|
+
<Path
|
|
36
|
+
fill={colorValues.main}
|
|
37
|
+
d="M101.474 88.102c4.106 1.132 11.614 4.81 11.614 11.398 0 8.5-14.5 8 5.5 13.5a142 142 0 0 1 8.58 2.626c2.042 3.708 4.923 6.908 8.832 8.374 3.895 1.461 8.264 2.183 12.526 2.34 15.772 11.597 26.495 32.015 7.562 68.66-4.167 6.5-14.8 21.4-24 29h-62c-9.2-7.6-19.833-22.5-24-29-31-60 17.5-76.5 37.5-82 19.998-5.5 5.5-5 5.5-13.5 0-6.8 8-10.5 12-11.5z"
|
|
38
|
+
/>
|
|
39
|
+
<Rect
|
|
40
|
+
width={49}
|
|
41
|
+
height={9}
|
|
42
|
+
x={76}
|
|
43
|
+
y={129}
|
|
44
|
+
fill={colorValues.secondary}
|
|
45
|
+
rx={4.5}
|
|
46
|
+
/>
|
|
47
|
+
<Path
|
|
48
|
+
stroke={colorValues.secondary}
|
|
49
|
+
strokeLinecap="round"
|
|
50
|
+
strokeWidth={2}
|
|
51
|
+
d="M74.328 120c-24 7.667-58.6 37.9-5 97.5M101.039 91c-5 2.167-12.198 7.2-4.998 14"
|
|
52
|
+
/>
|
|
53
|
+
</G>
|
|
54
|
+
<Defs>
|
|
55
|
+
<ClipPath id="a">
|
|
56
|
+
<Path fill="white" d="M0 0h240v240H0z" />
|
|
57
|
+
</ClipPath>
|
|
58
|
+
</Defs>
|
|
59
|
+
</Svg>
|
|
60
|
+
);
|
|
61
|
+
export default PictogramSavingMoney;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import Svg, { Path, Rect } from "react-native-svg";
|
|
3
|
+
import { SVGPictogramProps } from "../types";
|
|
4
|
+
const PictogramSavingMoney = ({
|
|
5
|
+
size,
|
|
6
|
+
colorValues,
|
|
7
|
+
...props
|
|
8
|
+
}: SVGPictogramProps) => (
|
|
9
|
+
<Svg width={size} height={size} viewBox="0 0 240 240" fill="none" {...props}>
|
|
10
|
+
<Path
|
|
11
|
+
d="M130.5 73c1.156.432 5.244 2.36 6.34 3.046 10.153 6.36 13.322 21.446 7.077 33.696s-19.539 17.023-29.692 10.662c-10.154-6.36-13.324-21.446-7.079-33.696 2.167-4.25 5.11-7.725 10.354-9.708l2 5.458 6 2.042 4-2.042L131 80z"
|
|
12
|
+
fill={colorValues.secondary}
|
|
13
|
+
/>
|
|
14
|
+
<Path
|
|
15
|
+
d="M129.606 77.474a15.6 15.6 0 0 1 5.423 2.132l.401.26c8.321 5.554 10.853 18.152 5.622 28.413l-.254.484c-5.413 10.063-16.507 13.917-25.012 8.59l-.402-.26c-8.189-5.466-10.77-17.755-5.864-27.923l.243-.49c1.968-3.86 4.759-6.848 7.932-8.805l.53 1.372.301.137c-2.917 1.797-5.505 4.556-7.352 8.18-4.997 9.802-2.317 21.491 5.368 26.305 7.684 4.814 18.101 1.328 23.098-8.474 4.998-9.802 2.318-21.491-5.367-26.305a14 14 0 0 0-4.071-1.733l.005-.02z"
|
|
16
|
+
fill={colorValues.main}
|
|
17
|
+
/>
|
|
18
|
+
<Path
|
|
19
|
+
d="m128.529 106.424.068 2.918c-3.108-.205-8.197-.871-9.043-7.68-.014-.18-.011-.37-.016-.552l-2.162-.512.605-2.6 1.765.425c.054-.314.114-.635.189-.957.039-.167.091-.328.134-.494l-1.753-.408.597-2.565 2.072.482c.135-.276.274-.543.426-.797q.98-1.653 2.33-2.75c.902-.733 1.869-1.232 2.908-1.506a6.56 6.56 0 0 1 3.183-.03q.967.226 1.827.775.86.546 1.5 1.368l-1.639 2.037a4.2 4.2 0 0 0-1.053-.988 3.9 3.9 0 0 0-1.253-.54c-1.055-.246-2.055-.158-3.013.272q-1.435.642-2.51 2.096a7 7 0 0 0-.403.604l4.689 1.105-.599 2.57-5.129-1.213q-.066.237-.124.483-.115.493-.189.97l5.099 1.219-.598 2.569-4.57-1.077q.016.168.045.332c.149.9 2.424 5.333 6.617 4.444"
|
|
20
|
+
fill={colorValues.main}
|
|
21
|
+
/>
|
|
22
|
+
<Path
|
|
23
|
+
d="M119.925 85.177a2.3 2.3 0 0 1-.864-.624c-.392-.455-12.562-15.842-8.778-25.878 2.637-6.983 10.7-11.484 23.97-13.402.855-.115 8.361-1.03 12.581 2.298l-2.768 3.51c-2.325-1.837-7.414-1.619-9.182-1.381-11.343 1.632-18.413 5.276-20.406 10.535-2.456 6.49 5.922 18.714 7.539 20.851 1.252.241 2.432.355 3.517.342a3.82 3.82 0 0 0 3.114-1.68c.771-1.115-2.08-7.038-2.542-8.325-1.327-3.7-1.193-6.635.397-8.727 1.627-2.145 4.592-3.061 8.804-2.742 19.31 1.468 24.834 10.576 26.057 17.963.398 2.368-.212 4.53-1.75 6.233-4.815 5.332-12.685 5.161-14.145 5.067l-1.289-4.315c4.683.287 9.582-.93 12.126-3.757.627-.696.821-1.458.649-2.495-1.406-8.447-8.809-13.242-21.991-14.239-2.496-.19-4.281.17-4.915 1-.586.776-.499 2.413.259 4.508.954 2.642 3.596 10.076 2.018 12.37a8.27 8.27 0 0 1-6.711 3.617c-1.668.03-3.47-.172-5.361-.612a3 3 0 0 1-.33-.105zm45.418 8.438c-5.713 4.706-8.786 7.157-19.434 6.027l-.469 4.479c10.97-.313 16.118-1.589 22.8-7.12 5.97-4.94 8.071-11.245 8.791-14.497l43.945 2.257.22-4.462-45.92-2.356a2.25 2.25 0 0 0-2.338 2.044c-.004.078-.788 8.036-7.595 13.628"
|
|
24
|
+
fill={colorValues.hands}
|
|
25
|
+
/>
|
|
26
|
+
<Path
|
|
27
|
+
d="M128.429 46.988c-4.912-1.998-10.516-4.937-13.695-8.058-2.048-2.002-3.033-4.03-2.946-6.017.132-2.901 1.627-5.333 4.207-6.839 4.917-2.866 13.087-2.05 21.301 2.147l-2.03 3.983c-8.238-4.198-14.317-3.85-17.023-2.272-1.279.754-1.934 1.784-2.002 3.178-.028.558.434 1.386 1.252 2.266 4.577 4.934 17.632 9.65 19.642 9.715l.227 4.463c-1.323.08-4.898-.913-8.944-2.555z"
|
|
28
|
+
fill={colorValues.hands}
|
|
29
|
+
/>
|
|
30
|
+
<Path
|
|
31
|
+
d="M154.87 43.349c-.776-.374-19.211-9.169-26.382-16.826-1.53-1.641-1.953-3.944-1.09-6.015a5.54 5.54 0 0 1 5.002-3.456c4.839-.152 13.095 1.183 24.952 8.401 9.903 6.025 22.165 5.042 39.143 3.698 7.748-.613 16.808-1.306 26.69-1.434l-.22 4.463c-9.737.124-18.439.813-26.12 1.43-17.809 1.424-30.677 2.445-41.818-4.335-10.912-6.645-18.256-7.88-22.49-7.753-.661.023-.919.503-1.007.7-.089.208-.239.76.229 1.252 6.587 7.036 24.857 15.756 25.032 15.843z"
|
|
32
|
+
fill={colorValues.hands}
|
|
33
|
+
/>
|
|
34
|
+
<Path
|
|
35
|
+
d="M80.474 88.102c4.106 1.132 11.614 4.81 11.614 11.398 0 8.5-14.5 8 5.5 13.5a142 142 0 0 1 8.58 2.626c2.042 3.708 4.923 6.908 8.832 8.374 3.895 1.461 8.264 2.183 12.526 2.34 15.772 11.597 26.495 32.015 7.562 68.66-4.167 6.5-14.8 21.4-24 29h-62c-9.2-7.6-19.833-22.5-24-29-31-60 17.5-76.5 37.5-82 19.998-5.5 5.5-5 5.5-13.5 0-6.8 8-10.5 12-11.5z"
|
|
36
|
+
fill={colorValues.main}
|
|
37
|
+
/>
|
|
38
|
+
<Rect
|
|
39
|
+
x={55}
|
|
40
|
+
y={129}
|
|
41
|
+
width={49}
|
|
42
|
+
height={9}
|
|
43
|
+
rx={4.5}
|
|
44
|
+
fill={colorValues.secondary}
|
|
45
|
+
/>
|
|
46
|
+
<Path
|
|
47
|
+
d="M53.328 120c-24 7.667-58.6 37.9-5 97.5M80.04 91c-5 2.167-12.2 7.2-5 14"
|
|
48
|
+
stroke={colorValues.secondary}
|
|
49
|
+
strokeWidth={2}
|
|
50
|
+
strokeLinecap="round"
|
|
51
|
+
/>
|
|
52
|
+
</Svg>
|
|
53
|
+
);
|
|
54
|
+
export default PictogramSavingMoney;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 240 240">
|
|
2
|
+
<g clip-path="url(#a)">
|
|
3
|
+
<path fill="#00C5CA" d="M151.5 73c1.156.432 5.244 2.36 6.34 3.046 10.153 6.36 13.322 21.446 7.077 33.695-6.245 12.25-19.539 17.023-29.692 10.663-10.154-6.36-13.324-21.446-7.079-33.696 2.167-4.25 5.11-7.725 10.354-9.708l2 5.458 6 2.042 4-2.042L152 80z"/>
|
|
4
|
+
<path fill="#AAEEEF" d="M150.607 77.474a15.6 15.6 0 0 1 5.423 2.132l.4.26c8.322 5.553 10.853 18.152 5.623 28.412l-.254.485c-5.413 10.064-16.507 13.917-25.012 8.59l-.402-.26c-8.189-5.466-10.77-17.754-5.865-27.922l.244-.49c1.968-3.861 4.759-6.85 7.932-8.806l.529 1.372.302.136c-2.917 1.797-5.505 4.558-7.353 8.181-4.997 9.802-2.316 21.491 5.368 26.305 7.685 4.813 18.101 1.328 23.099-8.474 4.997-9.802 2.318-21.492-5.367-26.305a14 14 0 0 0-4.071-1.734l.004-.02z"/>
|
|
5
|
+
<path fill="#AAEEEF" d="m149.529 106.424.068 2.918c-3.108-.205-8.197-.871-9.043-7.68-.014-.18-.011-.37-.016-.552l-2.162-.512.605-2.6 1.765.425c.054-.314.114-.635.189-.957.039-.167.091-.328.134-.494l-1.753-.408.597-2.565 2.072.482c.135-.276.274-.543.426-.797q.98-1.653 2.33-2.75c.902-.733 1.869-1.232 2.908-1.506a6.56 6.56 0 0 1 3.183-.03 5.9 5.9 0 0 1 1.827.775q.86.546 1.5 1.368l-1.639 2.037a4.2 4.2 0 0 0-1.053-.988 3.9 3.9 0 0 0-1.253-.54c-1.055-.246-2.055-.158-3.013.272q-1.435.642-2.51 2.096a7 7 0 0 0-.403.604l4.689 1.105-.599 2.57-5.129-1.213a13 13 0 0 0-.313 1.453l5.099 1.219-.598 2.569-4.57-1.077q.016.168.045.332c.149.9 2.424 5.333 6.617 4.444"/>
|
|
6
|
+
<path fill="#0B3EE3" d="M140.925 85.177a2.3 2.3 0 0 1-.864-.624c-.392-.455-12.562-15.842-8.778-25.878 2.637-6.983 10.7-11.484 23.97-13.402.855-.115 8.361-1.03 12.581 2.298l-2.768 3.51c-2.325-1.837-7.414-1.619-9.182-1.381-11.343 1.632-18.413 5.276-20.406 10.535-2.456 6.49 5.922 18.714 7.539 20.851 1.252.241 2.432.355 3.517.342a3.82 3.82 0 0 0 3.114-1.68c.771-1.115-2.08-7.038-2.542-8.325-1.327-3.7-1.193-6.635.397-8.727 1.627-2.145 4.592-3.061 8.804-2.742 19.31 1.468 24.834 10.576 26.057 17.962.398 2.369-.212 4.531-1.75 6.234-4.815 5.332-12.685 5.161-14.145 5.067l-1.289-4.315c4.683.287 9.582-.93 12.126-3.757.627-.696.821-1.458.649-2.495-1.406-8.447-8.809-13.242-21.991-14.239-2.496-.19-4.281.17-4.915 1-.586.776-.499 2.413.259 4.508.954 2.642 3.596 10.076 2.018 12.37a8.27 8.27 0 0 1-6.711 3.617c-1.668.03-3.47-.172-5.361-.612a3 3 0 0 1-.33-.105zm45.417 8.438c-5.713 4.706-8.786 7.157-19.434 6.027l-.469 4.479c10.971-.313 16.119-1.589 22.801-7.12 5.97-4.94 8.071-11.245 8.79-14.497l43.945 2.257.22-4.463-45.919-2.355a2.25 2.25 0 0 0-2.338 2.043c-.004.078-.788 8.037-7.596 13.629"/>
|
|
7
|
+
<path fill="#0B3EE3" d="M149.428 46.988c-4.912-1.998-10.516-4.937-13.695-8.058-2.048-2.002-3.033-4.03-2.946-6.017.132-2.901 1.627-5.333 4.207-6.839 4.917-2.866 13.087-2.05 21.301 2.147l-2.03 3.983c-8.238-4.198-14.317-3.85-17.023-2.272-1.279.754-1.934 1.784-2.002 3.178-.028.558.435 1.386 1.252 2.266 4.577 4.934 17.632 9.65 19.642 9.715l.227 4.463c-1.323.08-4.898-.913-8.944-2.555z"/>
|
|
8
|
+
<path fill="#0B3EE3" d="M175.869 43.35c-.775-.375-19.21-9.17-26.382-16.827-1.529-1.641-1.952-3.944-1.09-6.015a5.54 5.54 0 0 1 5.003-3.456c4.839-.152 13.094 1.183 24.952 8.401 9.903 6.025 22.165 5.042 39.143 3.699 7.747-.614 16.808-1.307 26.69-1.435l-.22 4.463c-9.737.124-18.439.813-26.12 1.43-17.809 1.425-30.677 2.445-41.818-4.335-10.913-6.645-18.256-7.88-22.49-7.753-.661.023-.92.503-1.008.7a1.14 1.14 0 0 0 .229 1.252c6.588 7.036 24.858 15.756 25.033 15.843l-1.922 4.032Z"/>
|
|
9
|
+
<path fill="#AAEEEF" d="M101.474 88.102c4.106 1.132 11.614 4.81 11.614 11.398 0 8.5-14.5 8 5.5 13.5a142 142 0 0 1 8.58 2.626c2.042 3.708 4.923 6.908 8.832 8.374 3.895 1.461 8.264 2.183 12.526 2.34 15.772 11.597 26.495 32.015 7.562 68.66-4.167 6.5-14.8 21.4-24 29h-62c-9.2-7.6-19.833-22.5-24-29-31-60 17.5-76.5 37.5-82 19.998-5.5 5.5-5 5.5-13.5 0-6.8 8-10.5 12-11.5z"/>
|
|
10
|
+
<rect width="49" height="9" x="76" y="129" fill="#00C5CA" rx="4.5"/>
|
|
11
|
+
<path stroke="#00C5CA" stroke-linecap="round" stroke-width="2" d="M74.328 120c-24 7.667-58.6 37.9-5 97.5M101.039 91c-5 2.167-12.198 7.2-4.998 14"/>
|
|
12
|
+
</g>
|
|
13
|
+
<defs>
|
|
14
|
+
<clipPath id="a">
|
|
15
|
+
<path fill="#fff" d="M0 0h240v240H0z"/>
|
|
16
|
+
</clipPath>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg viewBox="0 0 240 240" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M130.5 73c1.156.432 5.244 2.36 6.34 3.046 10.153 6.36 13.322 21.446 7.077 33.696s-19.539 17.023-29.692 10.662c-10.154-6.36-13.324-21.446-7.079-33.696 2.167-4.25 5.11-7.725 10.354-9.708l2 5.458 6 2.042 4-2.042L131 80z" fill="#00C5CA"/>
|
|
3
|
+
<path d="M129.606 77.474a15.6 15.6 0 0 1 5.423 2.132l.401.26c8.321 5.554 10.853 18.152 5.622 28.413l-.254.484c-5.413 10.063-16.507 13.917-25.012 8.59l-.402-.26c-8.189-5.466-10.77-17.755-5.864-27.923l.243-.49c1.968-3.86 4.759-6.848 7.932-8.805l.53 1.372.301.137c-2.917 1.797-5.505 4.556-7.352 8.18-4.997 9.802-2.317 21.491 5.368 26.305 7.684 4.814 18.101 1.328 23.098-8.474 4.998-9.802 2.318-21.491-5.367-26.305a14 14 0 0 0-4.071-1.733l.005-.02z" fill="#AAEEEF"/>
|
|
4
|
+
<path d="m128.529 106.424.068 2.918c-3.108-.205-8.197-.871-9.043-7.68-.014-.18-.011-.37-.016-.552l-2.162-.512.605-2.6 1.765.425c.054-.314.114-.635.189-.957.039-.167.091-.328.134-.494l-1.753-.408.597-2.565 2.072.482c.135-.276.274-.543.426-.797q.98-1.653 2.33-2.75c.902-.733 1.869-1.232 2.908-1.506a6.56 6.56 0 0 1 3.183-.03q.967.226 1.827.775.86.546 1.5 1.368l-1.639 2.037a4.2 4.2 0 0 0-1.053-.988 3.9 3.9 0 0 0-1.253-.54c-1.055-.246-2.055-.158-3.013.272q-1.435.642-2.51 2.096a7 7 0 0 0-.403.604l4.689 1.105-.599 2.57-5.129-1.213q-.066.237-.124.483-.115.493-.189.97l5.099 1.219-.598 2.569-4.57-1.077q.016.168.045.332c.149.9 2.424 5.333 6.617 4.444" fill="#AAEEEF"/>
|
|
5
|
+
<path d="M119.925 85.177a2.3 2.3 0 0 1-.864-.624c-.392-.455-12.562-15.842-8.778-25.878 2.637-6.983 10.7-11.484 23.97-13.402.855-.115 8.361-1.03 12.581 2.298l-2.768 3.51c-2.325-1.837-7.414-1.619-9.182-1.381-11.343 1.632-18.413 5.276-20.406 10.535-2.456 6.49 5.922 18.714 7.539 20.851 1.252.241 2.432.355 3.517.342a3.82 3.82 0 0 0 3.114-1.68c.771-1.115-2.08-7.038-2.542-8.325-1.327-3.7-1.193-6.635.397-8.727 1.627-2.145 4.592-3.061 8.804-2.742 19.31 1.468 24.834 10.576 26.057 17.963.398 2.368-.212 4.53-1.75 6.233-4.815 5.332-12.685 5.161-14.145 5.067l-1.289-4.315c4.683.287 9.582-.93 12.126-3.757.627-.696.821-1.458.649-2.495-1.406-8.447-8.809-13.242-21.991-14.239-2.496-.19-4.281.17-4.915 1-.586.776-.499 2.413.259 4.508.954 2.642 3.596 10.076 2.018 12.37a8.27 8.27 0 0 1-6.711 3.617c-1.668.03-3.47-.172-5.361-.612a3 3 0 0 1-.33-.105zm45.418 8.438c-5.713 4.706-8.786 7.157-19.434 6.027l-.469 4.479c10.97-.313 16.118-1.589 22.8-7.12 5.97-4.94 8.071-11.245 8.791-14.497l43.945 2.257.22-4.462-45.92-2.356a2.25 2.25 0 0 0-2.338 2.044c-.004.078-.788 8.036-7.595 13.628" fill="#0B3EE3"/>
|
|
6
|
+
<path d="M128.429 46.988c-4.912-1.998-10.516-4.937-13.695-8.058-2.048-2.002-3.033-4.03-2.946-6.017.132-2.901 1.627-5.333 4.207-6.839 4.917-2.866 13.087-2.05 21.301 2.147l-2.03 3.983c-8.238-4.198-14.317-3.85-17.023-2.272-1.279.754-1.934 1.784-2.002 3.178-.028.558.434 1.386 1.252 2.266 4.577 4.934 17.632 9.65 19.642 9.715l.227 4.463c-1.323.08-4.898-.913-8.944-2.555z" fill="#0B3EE3"/>
|
|
7
|
+
<path d="M154.87 43.349c-.776-.374-19.211-9.169-26.382-16.826-1.53-1.641-1.953-3.944-1.09-6.015a5.54 5.54 0 0 1 5.002-3.456c4.839-.152 13.095 1.183 24.952 8.401 9.903 6.025 22.165 5.042 39.143 3.698 7.748-.613 16.808-1.306 26.69-1.434l-.22 4.463c-9.737.124-18.439.813-26.12 1.43-17.809 1.424-30.677 2.445-41.818-4.335-10.912-6.645-18.256-7.88-22.49-7.753-.661.023-.919.503-1.007.7-.089.208-.239.76.229 1.252 6.587 7.036 24.857 15.756 25.032 15.843z" fill="#0B3EE3"/>
|
|
8
|
+
<path d="M80.474 88.102c4.106 1.132 11.614 4.81 11.614 11.398 0 8.5-14.5 8 5.5 13.5a142 142 0 0 1 8.58 2.626c2.042 3.708 4.923 6.908 8.832 8.374 3.895 1.461 8.264 2.183 12.526 2.34 15.772 11.597 26.495 32.015 7.562 68.66-4.167 6.5-14.8 21.4-24 29h-62c-9.2-7.6-19.833-22.5-24-29-31-60 17.5-76.5 37.5-82 19.998-5.5 5.5-5 5.5-13.5 0-6.8 8-10.5 12-11.5z" fill="#AAEEEF"/>
|
|
9
|
+
<rect x="55" y="129" width="49" height="9" rx="4.5" fill="#00C5CA"/>
|
|
10
|
+
<path d="M53.328 120c-24 7.667-58.6 37.9-5 97.5M80.04 91c-5 2.167-12.2 7.2-5 14" stroke="#00C5CA" stroke-width="2" stroke-linecap="round"/>
|
|
11
|
+
</svg>
|
|
@@ -3,9 +3,9 @@ import { View, ViewProps, ViewStyle } from "react-native";
|
|
|
3
3
|
import { IOSpacer } from "../../core";
|
|
4
4
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
5
5
|
|
|
6
|
-
type AllowedStyleProps =
|
|
6
|
+
type AllowedStyleProps = Exclude<
|
|
7
7
|
ViewStyle,
|
|
8
|
-
"
|
|
8
|
+
"display" | "flexDirection" | "gap"
|
|
9
9
|
>;
|
|
10
10
|
|
|
11
11
|
type A11YRelatedProps = Pick<
|
|
@@ -14,7 +14,7 @@ type A11YRelatedProps = Pick<
|
|
|
14
14
|
>;
|
|
15
15
|
|
|
16
16
|
type Stack = PropsWithChildren<{
|
|
17
|
-
space?: IOSpacer;
|
|
17
|
+
space?: IOSpacer | 0;
|
|
18
18
|
style?: AllowedStyleProps;
|
|
19
19
|
allowScaleSpacing?: boolean;
|
|
20
20
|
}> &
|
|
@@ -24,15 +24,13 @@ type BaseStack = Stack & {
|
|
|
24
24
|
orientation: "vertical" | "horizontal";
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
const DEFAULT_SPACING_VALUE: IOSpacer = 16;
|
|
28
|
-
|
|
29
27
|
/**
|
|
30
28
|
Horizontal Stack component
|
|
31
29
|
@param {IOSpacer} space
|
|
32
30
|
*/
|
|
33
31
|
|
|
34
32
|
const Stack = ({
|
|
35
|
-
space =
|
|
33
|
+
space = 0,
|
|
36
34
|
style,
|
|
37
35
|
orientation = "vertical",
|
|
38
36
|
allowScaleSpacing,
|
|
@@ -47,9 +45,10 @@ const Stack = ({
|
|
|
47
45
|
style={{
|
|
48
46
|
display: "flex",
|
|
49
47
|
flexDirection: orientation === "horizontal" ? "row" : "column",
|
|
50
|
-
gap:
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
gap:
|
|
49
|
+
allowScaleSpacing && space !== 0
|
|
50
|
+
? space * dynamicFontScale * spacingScaleMultiplier
|
|
51
|
+
: space,
|
|
53
52
|
...style
|
|
54
53
|
}}
|
|
55
54
|
>
|
|
@@ -179,7 +179,9 @@ export const Tooltip = ({
|
|
|
179
179
|
const [tooltipLayout, setTooltipLayout] = useState<TooltipLayout>();
|
|
180
180
|
const childRef = useRef<View>(null);
|
|
181
181
|
const titleRef = useRef<View>(null);
|
|
182
|
-
const timeoutRef = useRef<ReturnType<typeof setTimeout
|
|
182
|
+
const timeoutRef = useRef<ReturnType<typeof setTimeout> | undefined>(
|
|
183
|
+
undefined
|
|
184
|
+
);
|
|
183
185
|
|
|
184
186
|
// Theme
|
|
185
187
|
const theme = useIOTheme();
|