@pagopa/io-app-design-system 1.11.3 → 1.13.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/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
- package/lib/commonjs/components/buttons/ButtonLink.js +3 -5
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +6 -6
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +40 -12
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +52 -26
- package/lib/commonjs/components/icons/Icon.js +6 -0
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconDocPaymentCode.js +31 -0
- package/lib/commonjs/components/icons/svg/IconDocPaymentCode.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconEntityCode.js +31 -0
- package/lib/commonjs/components/icons/svg/IconEntityCode.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconNotes.js +31 -0
- package/lib/commonjs/components/icons/svg/IconNotes.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconEntityCode.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconNotes.svg +3 -0
- package/lib/commonjs/components/index.js +22 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/BlockButtons.js +1 -4
- package/lib/commonjs/components/layout/BlockButtons.js.map +1 -1
- package/lib/commonjs/components/layout/Dismissable.js +60 -0
- package/lib/commonjs/components/layout/Dismissable.js.map +1 -0
- package/lib/commonjs/components/layout/FooterWithButtons.js +20 -9
- package/lib/commonjs/components/layout/FooterWithButtons.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +14 -5
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +15 -12
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/layout/common.js +6 -0
- package/lib/commonjs/components/layout/common.js.map +1 -0
- package/lib/commonjs/components/layout/index.js +11 -0
- package/lib/commonjs/components/layout/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +5 -4
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +94 -0
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -0
- package/lib/commonjs/components/loadingSpinner/index.js +17 -0
- package/lib/commonjs/components/loadingSpinner/index.js.map +1 -0
- package/lib/commonjs/components/logos/LogoPaymentCard.js +50 -0
- package/lib/commonjs/components/logos/LogoPaymentCard.js.map +1 -0
- package/lib/commonjs/components/logos/LogoPaymentExt.js +1 -1
- package/lib/commonjs/components/logos/LogoPaymentExt.js.map +1 -1
- package/lib/commonjs/components/logos/README.md +2 -1
- package/lib/commonjs/components/logos/index.js +20 -1
- package/lib/commonjs/components/logos/index.js.map +1 -1
- package/lib/commonjs/components/logos/svg/LogoPaymentCardBancomatPay.js +33 -0
- package/lib/commonjs/components/logos/svg/LogoPaymentCardBancomatPay.js.map +1 -0
- package/lib/commonjs/components/logos/svg/LogoPaymentCardPayPal.js +42 -0
- package/lib/commonjs/components/logos/svg/LogoPaymentCardPayPal.js.map +1 -0
- package/lib/commonjs/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
- package/lib/commonjs/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
- package/lib/commonjs/components/pictograms/Pictogram.js +5 -1
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramBleedNotification.js +47 -0
- package/lib/commonjs/components/pictograms/svg/PictogramBleedNotification.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramNotification.js +47 -0
- package/lib/commonjs/components/pictograms/svg/PictogramNotification.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedNotification.svg +30 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramNotification.svg +30 -0
- package/lib/commonjs/components/toast/ToastNotification.js +73 -0
- package/lib/commonjs/components/toast/ToastNotification.js.map +1 -0
- package/lib/commonjs/components/toast/ToastProvider.js +135 -0
- package/lib/commonjs/components/toast/ToastProvider.js.map +1 -0
- package/lib/commonjs/components/toast/context.js +14 -0
- package/lib/commonjs/components/toast/context.js.map +1 -0
- package/lib/commonjs/components/toast/index.js +39 -0
- package/lib/commonjs/components/toast/index.js.map +1 -0
- package/lib/commonjs/components/toast/types.js +6 -0
- package/lib/commonjs/components/toast/types.js.map +1 -0
- package/lib/commonjs/components/toast/useIOToast.js +94 -0
- package/lib/commonjs/components/toast/useIOToast.js.map +1 -0
- package/lib/commonjs/components/typography/BaseTypography.js +3 -1
- package/lib/commonjs/components/typography/BaseTypography.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
- package/lib/commonjs/core/IOStyles.js +10 -0
- package/lib/commonjs/core/IOStyles.js.map +1 -1
- package/lib/commonjs/core/IOTransitions.js +106 -0
- package/lib/commonjs/core/IOTransitions.js.map +1 -0
- package/lib/commonjs/core/index.js +11 -0
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
- package/lib/module/components/buttons/ButtonLink.js +3 -5
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +6 -6
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +40 -13
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +52 -26
- package/lib/module/components/icons/Icon.js +6 -0
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/svg/IconDocPaymentCode.js +23 -0
- package/lib/module/components/icons/svg/IconDocPaymentCode.js.map +1 -0
- package/lib/module/components/icons/svg/IconEntityCode.js +23 -0
- package/lib/module/components/icons/svg/IconEntityCode.js.map +1 -0
- package/lib/module/components/icons/svg/IconNotes.js +23 -0
- package/lib/module/components/icons/svg/IconNotes.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconEntityCode.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconNotes.svg +3 -0
- package/lib/module/components/index.js +2 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/BlockButtons.js +1 -4
- package/lib/module/components/layout/BlockButtons.js.map +1 -1
- package/lib/module/components/layout/Dismissable.js +51 -0
- package/lib/module/components/layout/Dismissable.js.map +1 -0
- package/lib/module/components/layout/FooterWithButtons.js +20 -10
- package/lib/module/components/layout/FooterWithButtons.js.map +1 -1
- package/lib/module/components/layout/HeaderFirstLevel.js +14 -5
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/layout/HeaderSecondLevel.js +15 -12
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/layout/common.js +2 -0
- package/lib/module/components/layout/common.js.map +1 -0
- package/lib/module/components/layout/index.js +1 -0
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +5 -4
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
- package/lib/module/components/loadingSpinner/LoadingSpinner.js +86 -0
- package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -0
- package/lib/module/components/loadingSpinner/index.js +2 -0
- package/lib/module/components/loadingSpinner/index.js.map +1 -0
- package/lib/module/components/logos/LogoPaymentCard.js +43 -0
- package/lib/module/components/logos/LogoPaymentCard.js.map +1 -0
- package/lib/module/components/logos/LogoPaymentExt.js +1 -1
- package/lib/module/components/logos/LogoPaymentExt.js.map +1 -1
- package/lib/module/components/logos/README.md +2 -1
- package/lib/module/components/logos/index.js +2 -0
- package/lib/module/components/logos/index.js.map +1 -1
- package/lib/module/components/logos/svg/LogoPaymentCardBancomatPay.js +25 -0
- package/lib/module/components/logos/svg/LogoPaymentCardBancomatPay.js.map +1 -0
- package/lib/module/components/logos/svg/LogoPaymentCardPayPal.js +34 -0
- package/lib/module/components/logos/svg/LogoPaymentCardPayPal.js.map +1 -0
- package/lib/module/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
- package/lib/module/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
- 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/PictogramBleedNotification.js +39 -0
- package/lib/module/components/pictograms/svg/PictogramBleedNotification.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramNotification.js +39 -0
- package/lib/module/components/pictograms/svg/PictogramNotification.js.map +1 -0
- package/lib/module/components/pictograms/svg/originals/PictogramBleedNotification.svg +30 -0
- package/lib/module/components/pictograms/svg/originals/PictogramNotification.svg +30 -0
- package/lib/module/components/toast/ToastNotification.js +66 -0
- package/lib/module/components/toast/ToastNotification.js.map +1 -0
- package/lib/module/components/toast/ToastProvider.js +123 -0
- package/lib/module/components/toast/ToastProvider.js.map +1 -0
- package/lib/module/components/toast/context.js +7 -0
- package/lib/module/components/toast/context.js.map +1 -0
- package/lib/module/components/toast/index.js +4 -0
- package/lib/module/components/toast/index.js.map +1 -0
- package/lib/module/components/toast/types.js +2 -0
- package/lib/module/components/toast/types.js.map +1 -0
- package/lib/module/components/toast/useIOToast.js +84 -0
- package/lib/module/components/toast/useIOToast.js.map +1 -0
- package/lib/module/components/typography/BaseTypography.js +3 -1
- package/lib/module/components/typography/BaseTypography.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
- package/lib/module/core/IOStyles.js +10 -0
- package/lib/module/core/IOStyles.js.map +1 -1
- package/lib/module/core/IOTransitions.js +98 -0
- package/lib/module/core/IOTransitions.js.map +1 -0
- package/lib/module/core/index.js +1 -0
- package/lib/module/core/index.js.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +5 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +3 -0
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconDocPaymentCode.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconDocPaymentCode.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconEntityCode.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconEntityCode.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconNotes.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconNotes.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +2 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/Dismissable.d.ts +18 -0
- package/lib/typescript/components/layout/Dismissable.d.ts.map +1 -0
- package/lib/typescript/components/layout/FooterWithButtons.d.ts +4 -1
- package/lib/typescript/components/layout/FooterWithButtons.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts +28 -5
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +8 -3
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/layout/common.d.ts +4 -0
- package/lib/typescript/components/layout/common.d.ts.map +1 -0
- package/lib/typescript/components/layout/index.d.ts +1 -0
- package/lib/typescript/components/layout/index.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts +2 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts +17 -0
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -0
- package/lib/typescript/components/loadingSpinner/index.d.ts +2 -0
- package/lib/typescript/components/loadingSpinner/index.d.ts.map +1 -0
- package/lib/typescript/components/logos/LogoPaymentCard.d.ts +19 -0
- package/lib/typescript/components/logos/LogoPaymentCard.d.ts.map +1 -0
- package/lib/typescript/components/logos/index.d.ts +2 -0
- package/lib/typescript/components/logos/index.d.ts.map +1 -1
- package/lib/typescript/components/logos/svg/LogoPaymentCardBancomatPay.d.ts +5 -0
- package/lib/typescript/components/logos/svg/LogoPaymentCardBancomatPay.d.ts.map +1 -0
- package/lib/typescript/components/logos/svg/LogoPaymentCardPayPal.d.ts +5 -0
- package/lib/typescript/components/logos/svg/LogoPaymentCardPayPal.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/Pictogram.d.ts +2 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/svg/PictogramBleedNotification.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedNotification.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramNotification.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramNotification.d.ts.map +1 -0
- package/lib/typescript/components/radio/RadioGroup.d.ts +2 -2
- package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
- package/lib/typescript/components/toast/ToastNotification.d.ts +6 -0
- package/lib/typescript/components/toast/ToastNotification.d.ts.map +1 -0
- package/lib/typescript/components/toast/ToastProvider.d.ts +22 -0
- package/lib/typescript/components/toast/ToastProvider.d.ts.map +1 -0
- package/lib/typescript/components/toast/context.d.ts +9 -0
- package/lib/typescript/components/toast/context.d.ts.map +1 -0
- package/lib/typescript/components/toast/index.d.ts +4 -0
- package/lib/typescript/components/toast/index.d.ts.map +1 -0
- package/lib/typescript/components/toast/types.d.ts +11 -0
- package/lib/typescript/components/toast/types.d.ts.map +1 -0
- package/lib/typescript/components/toast/useIOToast.d.ts +23 -0
- package/lib/typescript/components/toast/useIOToast.d.ts.map +1 -0
- package/lib/typescript/core/IOStyles.d.ts +10 -0
- package/lib/typescript/core/IOStyles.d.ts.map +1 -1
- package/lib/typescript/core/IOTransitions.d.ts +58 -0
- package/lib/typescript/core/IOTransitions.d.ts.map +1 -0
- package/lib/typescript/core/index.d.ts +1 -0
- package/lib/typescript/core/index.d.ts.map +1 -1
- package/lib/typescript/stories/ButtonDS.stories.d.ts +1 -1
- package/package.json +3 -1
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
- package/src/components/buttons/ButtonLink.tsx +2 -4
- package/src/components/buttons/ButtonOutline.tsx +3 -4
- package/src/components/buttons/ButtonSolid.tsx +68 -24
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +52 -26
- package/src/components/icons/Icon.tsx +6 -0
- package/src/components/icons/svg/IconDocPaymentCode.tsx +16 -0
- package/src/components/icons/svg/IconEntityCode.tsx +16 -0
- package/src/components/icons/svg/IconNotes.tsx +16 -0
- package/src/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
- package/src/components/icons/svg/originals/IconEntityCode.svg +3 -0
- package/src/components/icons/svg/originals/IconNotes.svg +3 -0
- package/src/components/index.tsx +2 -0
- package/src/components/layout/BlockButtons.tsx +1 -1
- package/src/components/layout/Dismissable.tsx +76 -0
- package/src/components/layout/FooterWithButtons.tsx +11 -5
- package/src/components/layout/HeaderFirstLevel.tsx +41 -13
- package/src/components/layout/HeaderSecondLevel.tsx +30 -26
- package/src/components/layout/common.ts +7 -0
- package/src/components/layout/index.tsx +1 -0
- package/src/components/listitems/ListItemTransaction.tsx +7 -5
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
- package/src/components/loadingSpinner/LoadingSpinner.tsx +121 -0
- package/src/components/loadingSpinner/index.tsx +1 -0
- package/src/components/logos/LogoPaymentCard.tsx +62 -0
- package/src/components/logos/LogoPaymentExt.tsx +1 -1
- package/src/components/logos/README.md +2 -1
- package/src/components/logos/index.tsx +2 -0
- package/src/components/logos/svg/LogoPaymentCardBancomatPay.tsx +28 -0
- package/src/components/logos/svg/LogoPaymentCardPayPal.tsx +38 -0
- package/src/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
- package/src/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
- package/src/components/pictograms/Pictogram.tsx +7 -2
- package/src/components/pictograms/svg/PictogramBleedNotification.tsx +42 -0
- package/src/components/pictograms/svg/PictogramNotification.tsx +42 -0
- package/src/components/pictograms/svg/originals/PictogramBleedNotification.svg +30 -0
- package/src/components/pictograms/svg/originals/PictogramNotification.svg +30 -0
- package/src/components/radio/RadioGroup.tsx +2 -2
- package/src/components/toast/ToastNotification.tsx +76 -0
- package/src/components/toast/ToastProvider.tsx +153 -0
- package/src/components/toast/context.ts +14 -0
- package/src/components/toast/index.ts +3 -0
- package/src/components/toast/types.ts +13 -0
- package/src/components/toast/useIOToast.ts +88 -0
- package/src/components/typography/BaseTypography.tsx +1 -1
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
- package/src/core/IOStyles.ts +10 -0
- package/src/core/IOTransitions.ts +94 -0
- package/src/core/index.ts +1 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Easing, withTiming } from "react-native-reanimated";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
A custom enter transition designed for the average size
|
|
5
|
+
inner content of a button or module (e.g. text).
|
|
6
|
+
The scaling effect is slight.
|
|
7
|
+
*/
|
|
8
|
+
export const enterTransitionInnerContent = () => {
|
|
9
|
+
"worklet";
|
|
10
|
+
|
|
11
|
+
const animations = {
|
|
12
|
+
opacity: withTiming(1, {
|
|
13
|
+
duration: 250,
|
|
14
|
+
easing: Easing.in(Easing.cubic)
|
|
15
|
+
}),
|
|
16
|
+
transform: [{
|
|
17
|
+
scale: withTiming(1, {
|
|
18
|
+
duration: 250,
|
|
19
|
+
easing: Easing.in(Easing.cubic)
|
|
20
|
+
})
|
|
21
|
+
}]
|
|
22
|
+
};
|
|
23
|
+
const initialValues = {
|
|
24
|
+
opacity: 0,
|
|
25
|
+
transform: [{
|
|
26
|
+
scale: 1.05
|
|
27
|
+
}]
|
|
28
|
+
};
|
|
29
|
+
return {
|
|
30
|
+
initialValues,
|
|
31
|
+
animations
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
A custom enter transition designed for the small size
|
|
37
|
+
inner content of a button or module (e.g. loading spinner).
|
|
38
|
+
The scaling effect is accentuated.
|
|
39
|
+
*/
|
|
40
|
+
export const enterTransitionInnerContentSmall = () => {
|
|
41
|
+
"worklet";
|
|
42
|
+
|
|
43
|
+
const animations = {
|
|
44
|
+
opacity: withTiming(1, {
|
|
45
|
+
duration: 250,
|
|
46
|
+
easing: Easing.in(Easing.cubic)
|
|
47
|
+
}),
|
|
48
|
+
transform: [{
|
|
49
|
+
scale: withTiming(1, {
|
|
50
|
+
duration: 250,
|
|
51
|
+
easing: Easing.in(Easing.cubic)
|
|
52
|
+
})
|
|
53
|
+
}]
|
|
54
|
+
};
|
|
55
|
+
const initialValues = {
|
|
56
|
+
opacity: 0,
|
|
57
|
+
transform: [{
|
|
58
|
+
scale: 1.25
|
|
59
|
+
}]
|
|
60
|
+
};
|
|
61
|
+
return {
|
|
62
|
+
initialValues,
|
|
63
|
+
animations
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
A custom exit transition designed for both small
|
|
69
|
+
and average size inner content of a button or module.
|
|
70
|
+
The scaling effect is slight.
|
|
71
|
+
*/
|
|
72
|
+
export const exitTransitionInnerContent = () => {
|
|
73
|
+
"worklet";
|
|
74
|
+
|
|
75
|
+
const animations = {
|
|
76
|
+
opacity: withTiming(0, {
|
|
77
|
+
duration: 350,
|
|
78
|
+
easing: Easing.out(Easing.cubic)
|
|
79
|
+
}),
|
|
80
|
+
transform: [{
|
|
81
|
+
scale: withTiming(0.9, {
|
|
82
|
+
duration: 350,
|
|
83
|
+
easing: Easing.out(Easing.cubic)
|
|
84
|
+
})
|
|
85
|
+
}]
|
|
86
|
+
};
|
|
87
|
+
const initialValues = {
|
|
88
|
+
opacity: 1,
|
|
89
|
+
transform: [{
|
|
90
|
+
scale: 1
|
|
91
|
+
}]
|
|
92
|
+
};
|
|
93
|
+
return {
|
|
94
|
+
initialValues,
|
|
95
|
+
animations
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=IOTransitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Easing","withTiming","enterTransitionInnerContent","animations","opacity","duration","easing","in","cubic","transform","scale","initialValues","enterTransitionInnerContentSmall","exitTransitionInnerContent","out"],"sourceRoot":"../../../src","sources":["core/IOTransitions.ts"],"mappings":"AAAA,SAASA,MAAM,EAAEC,UAAU,QAAQ,yBAAyB;;AAE5D;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAGA,CAAA,KAAM;EAC/C,SAAS;;EACT,MAAMC,UAAU,GAAG;IACjBC,OAAO,EAAEH,UAAU,CAAC,CAAC,EAAE;MACrBI,QAAQ,EAAE,GAAG;MACbC,MAAM,EAAEN,MAAM,CAACO,EAAE,CAAC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CAACd,MAAM,CAACQ,KAAK;IACjC,CAAC,CAAC;IACFC,SAAS,EAAE,CACT;MACEC,KAAK,EAAET,UAAU,CAAC,GAAG,EAAE;QACrBI,QAAQ,EAAE,GAAG;QACbC,MAAM,EAAEN,MAAM,CAACc,GAAG,CAACd,MAAM,CAACQ,KAAK;MACjC,CAAC;IACH,CAAC;EAEL,CAAC;EACD,MAAMG,aAAa,GAAG;IACpBP,OAAO,EAAE,CAAC;IACVK,SAAS,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAE,CAAC;EAC1B,CAAC;EACD,OAAO;IACLC,aAAa;IACbR;EACF,CAAC;AACH,CAAC"}
|
package/lib/module/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["core/index.ts"],"mappings":"AAAA,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,YAAY;AAC1B,cAAc,aAAa;AAC3B,cAAc,oBAAoB;AAClC,cAAc,mCAAmC"}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["core/index.ts"],"mappings":"AAAA,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,YAAY;AAC1B,cAAc,aAAa;AAC3B,cAAc,oBAAoB;AAClC,cAAc,mCAAmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAmB5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;AAIlB,KAAK,eAAe,GAAG,SAAS,CAAC;AACjC,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1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAqB5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;AAIlB,KAAK,kBAAkB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC;IACrC,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AA0KH,eAAO,MAAM,aAAa,sHAWvB,aAAa,
|
|
1
|
+
{"version":3,"file":"ButtonOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAqB5E,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;AAIlB,KAAK,kBAAkB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC;IACrC,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AA0KH,eAAO,MAAM,aAAa,sHAWvB,aAAa,sBAqKf,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -13,6 +13,10 @@ export type ButtonSolidProps = WithTestID<{
|
|
|
13
13
|
* @default false
|
|
14
14
|
*/
|
|
15
15
|
fullWidth?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
loading?: boolean;
|
|
16
20
|
/**
|
|
17
21
|
* @default false
|
|
18
22
|
*/
|
|
@@ -26,6 +30,6 @@ export type ButtonSolidProps = WithTestID<{
|
|
|
26
30
|
accessibilityHint?: string;
|
|
27
31
|
onPress: (event: GestureResponderEvent) => void;
|
|
28
32
|
}>;
|
|
29
|
-
export declare const ButtonSolid: React.MemoExoticComponent<({ color, label, fullWidth, disabled, icon, iconPosition, onPress, accessibilityLabel, accessibilityHint, testID }: ButtonSolidProps) => React.JSX.Element>;
|
|
33
|
+
export declare const ButtonSolid: React.MemoExoticComponent<({ color, label, fullWidth, disabled, loading, icon, iconPosition, onPress, accessibilityLabel, accessibilityHint, testID }: ButtonSolidProps) => React.JSX.Element>;
|
|
30
34
|
export default ButtonSolid;
|
|
31
35
|
//# sourceMappingURL=ButtonSolid.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAyB,MAAM,cAAc,CAAC;AAW5E,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAgB/C,KAAK,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAiC1D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAqEH,eAAO,MAAM,WAAW,yJAanB,gBAAgB,uBAkJpB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -43,13 +43,16 @@ export declare const IOIcons: {
|
|
|
43
43
|
readonly option: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
44
44
|
readonly key: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
45
45
|
readonly docGiacenza: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
46
|
+
readonly docPaymentCode: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
46
47
|
readonly docAttach: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
47
48
|
readonly docAttachPDF: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
49
|
+
readonly notes: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
48
50
|
readonly attachment: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
49
51
|
readonly add: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
50
52
|
readonly success: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
51
53
|
readonly ok: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
52
54
|
readonly fiscalCodeIndividual: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
55
|
+
readonly entityCode: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
53
56
|
readonly creditCard: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
54
57
|
readonly bonus: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
55
58
|
readonly transactionsBoxed: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC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,oBAAoB,GAAG;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,eAAe,GAAG,MAAM,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,YAAY,gDAMtB,oBAAoB,sBAatB,CAAC;AAKF,qBAAa,kBAAmB,SAAQ,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC;gBAC/D,KAAK,EAAE,oBAAoB;IAGvC,MAAM;CAGP;AAyBD,eAAO,MAAM,UAAU;;;;;;;;;;;CAWb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,UAAU,CAAC;AAKjD,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAkB7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,eAAe,CAAC;AAK3D,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC;AAWzD,eAAO,MAAM,aAAa;;;;;;CAMhB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconDocPaymentCode.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconDocPaymentCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,kBAAkB,8BAA+B,YAAY,sBASlE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconEntityCode.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconEntityCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,cAAc,8BAA+B,YAAY,sBAS9D,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconNotes.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconNotes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,SAAS,8BAA+B,YAAY,sBASzD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -10,6 +10,7 @@ export * from "./featureInfo";
|
|
|
10
10
|
export * from "./icons";
|
|
11
11
|
export * from "./listitems";
|
|
12
12
|
export * from "./logos";
|
|
13
|
+
export * from "./loadingSpinner";
|
|
13
14
|
export * from "./modules";
|
|
14
15
|
export * from "./banner";
|
|
15
16
|
export * from "./pictograms";
|
|
@@ -18,6 +19,7 @@ export * from "./spacer";
|
|
|
18
19
|
export * from "./switch";
|
|
19
20
|
export * from "./tag";
|
|
20
21
|
export * from "./tabs";
|
|
22
|
+
export * from "./toast";
|
|
21
23
|
export * from "./typography";
|
|
22
24
|
export * from "./textInput";
|
|
23
25
|
export * from "./layout";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { WithTestID } from "../../utils/types";
|
|
3
|
+
type Dismissable = WithTestID<{
|
|
4
|
+
onDismiss?: () => void;
|
|
5
|
+
dismissThreshold?: number;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
/**
|
|
9
|
+
* Component that allows for a dismissable gesture, both left and right.
|
|
10
|
+
* When the threshold is reached, the `onDismiss` callback is called.
|
|
11
|
+
* @param onDismiss Callback to be called when the threshold is reached.
|
|
12
|
+
* @param dismissThreshold Threshold to be reached to call the `onDismiss` callback.
|
|
13
|
+
* @param children Children to be rendered inside the component.
|
|
14
|
+
* @returns A dismissable component.
|
|
15
|
+
*/
|
|
16
|
+
declare const Dismissable: ({ onDismiss, dismissThreshold, children, testID }: Dismissable) => React.JSX.Element;
|
|
17
|
+
export { Dismissable };
|
|
18
|
+
//# sourceMappingURL=Dismissable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dismissable.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Dismissable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C,KAAK,WAAW,GAAG,UAAU,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,QAAA,MAAM,WAAW,sDAKd,WAAW,sBAuCb,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BlockButtonsProps } from "./BlockButtons";
|
|
3
|
+
type Props = BlockButtonsProps & {
|
|
4
|
+
sticky?: boolean;
|
|
5
|
+
};
|
|
3
6
|
/**
|
|
4
7
|
* Implements a component that show buttons as sticky footer
|
|
5
8
|
* It can include 1, 2 or 3 buttons. If they are 2, they can have the inlineHalf or the inlineOneThird style
|
|
6
9
|
*/
|
|
7
|
-
export declare const FooterWithButtons: (
|
|
10
|
+
export declare const FooterWithButtons: ({ sticky, ...rest }: Props) => React.JSX.Element;
|
|
8
11
|
export default FooterWithButtons;
|
|
9
12
|
//# sourceMappingURL=FooterWithButtons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterWithButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/FooterWithButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"FooterWithButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/FooterWithButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,KAAK,KAAK,GAAG,iBAAiB,GAAG;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAiBF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,wBAAiC,KAAK,sBAWnE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,11 +1,34 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { WithTestID } from "../../utils/types";
|
|
3
|
-
|
|
3
|
+
import { ActionProp } from "./common";
|
|
4
|
+
type CommonProps = WithTestID<{
|
|
4
5
|
title: string;
|
|
5
|
-
firstAction?: React.ReactNode;
|
|
6
|
-
secondAction?: React.ReactNode;
|
|
7
|
-
thirdAction?: React.ReactNode;
|
|
8
6
|
}>;
|
|
9
|
-
|
|
7
|
+
interface Base extends CommonProps {
|
|
8
|
+
type: "base";
|
|
9
|
+
firstAction?: never;
|
|
10
|
+
secondAction?: never;
|
|
11
|
+
thirdAction?: never;
|
|
12
|
+
}
|
|
13
|
+
interface OneAction extends CommonProps {
|
|
14
|
+
type: "singleAction";
|
|
15
|
+
firstAction: ActionProp;
|
|
16
|
+
secondAction?: never;
|
|
17
|
+
thirdAction?: never;
|
|
18
|
+
}
|
|
19
|
+
interface TwoActions extends CommonProps {
|
|
20
|
+
type: "twoActions";
|
|
21
|
+
firstAction: ActionProp;
|
|
22
|
+
secondAction: ActionProp;
|
|
23
|
+
thirdAction?: never;
|
|
24
|
+
}
|
|
25
|
+
interface ThreeActions extends CommonProps {
|
|
26
|
+
type: "threeActions";
|
|
27
|
+
firstAction: ActionProp;
|
|
28
|
+
secondAction: ActionProp;
|
|
29
|
+
thirdAction: ActionProp;
|
|
30
|
+
}
|
|
31
|
+
export type HeaderFirstLevel = Base | OneAction | TwoActions | ThreeActions;
|
|
32
|
+
export declare const HeaderFirstLevel: ({ title, type, testID, firstAction, secondAction, thirdAction }: HeaderFirstLevel) => React.JSX.Element;
|
|
10
33
|
export default HeaderFirstLevel;
|
|
11
34
|
//# sourceMappingURL=HeaderFirstLevel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderFirstLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderFirstLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,
|
|
1
|
+
{"version":3,"file":"HeaderFirstLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderFirstLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,KAAK,WAAW,GAAG,UAAU,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,UAAU,IAAK,SAAQ,WAAW;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,SAAU,SAAQ,WAAW;IACrC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,UAAW,SAAQ,WAAW;IACtC,IAAI,EAAE,YAAY,CAAC;IACnB,WAAW,EAAE,UAAU,CAAC;IACxB,YAAY,EAAE,UAAU,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,YAAa,SAAQ,WAAW;IACxC,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,EAAE,UAAU,CAAC;IACxB,YAAY,EAAE,UAAU,CAAC;IACzB,WAAW,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC;AAe5E,eAAO,MAAM,gBAAgB,oEAO1B,gBAAgB,sBAqClB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import Animated from "react-native-reanimated";
|
|
3
3
|
import { WithTestID } from "../../utils/types";
|
|
4
|
-
import
|
|
5
|
-
type ActionProp = Pick<React.ComponentProps<typeof IconButton>, "icon" | "onPress" | "accessibilityLabel" | "accessibilityHint" | "testID">;
|
|
4
|
+
import { ActionProp } from "./common";
|
|
6
5
|
type ScrollValues = {
|
|
7
6
|
contentOffsetY: Animated.SharedValue<number>;
|
|
8
7
|
triggerOffset: number;
|
|
@@ -16,15 +15,21 @@ type CommonProps = WithTestID<{
|
|
|
16
15
|
}>;
|
|
17
16
|
interface Base extends CommonProps {
|
|
18
17
|
type: "base";
|
|
18
|
+
firstAction?: never;
|
|
19
|
+
secondAction?: never;
|
|
20
|
+
thirdAction?: never;
|
|
19
21
|
}
|
|
20
22
|
interface OneAction extends CommonProps {
|
|
21
23
|
type: "singleAction";
|
|
22
24
|
firstAction: ActionProp;
|
|
25
|
+
secondAction?: never;
|
|
26
|
+
thirdAction?: never;
|
|
23
27
|
}
|
|
24
28
|
interface TwoActions extends CommonProps {
|
|
25
29
|
type: "twoActions";
|
|
26
30
|
firstAction: ActionProp;
|
|
27
31
|
secondAction: ActionProp;
|
|
32
|
+
thirdAction?: never;
|
|
28
33
|
}
|
|
29
34
|
interface ThreeActions extends CommonProps {
|
|
30
35
|
type: "threeActions";
|
|
@@ -38,6 +43,6 @@ export type HeaderSecondLevel = Base | OneAction | TwoActions | ThreeActions;
|
|
|
38
43
|
* @param {HeaderSecondLevel} props - The props of the component
|
|
39
44
|
* @returns React Element
|
|
40
45
|
*/
|
|
41
|
-
export declare const HeaderSecondLevel: (
|
|
46
|
+
export declare const HeaderSecondLevel: ({ scrollValues, goBack, backAccessibilityLabel, title, type, transparent, testID, firstAction, secondAction, thirdAction }: HeaderSecondLevel) => React.JSX.Element;
|
|
42
47
|
export default HeaderSecondLevel;
|
|
43
48
|
//# sourceMappingURL=HeaderSecondLevel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,QAIN,MAAM,yBAAyB,CAAC;AAWjC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,QAIN,MAAM,yBAAyB,CAAC;AAWjC,OAAO,EAAE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,iBAAiB,sBA4FnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EACvC,MAAM,GAAG,SAAS,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,QAAQ,CAC3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
|
|
@@ -18,6 +18,7 @@ export type ListItemTransaction = WithTestID<PressableBaseProps & {
|
|
|
18
18
|
paymentLogoIcon?: ListItemTransactionLogo;
|
|
19
19
|
subtitle: string;
|
|
20
20
|
title: string;
|
|
21
|
+
accessible?: boolean;
|
|
21
22
|
} & ({
|
|
22
23
|
transactionStatus: ListItemTransactionStatusWithoutBadge;
|
|
23
24
|
badgeText?: string;
|
|
@@ -27,5 +28,5 @@ export type ListItemTransaction = WithTestID<PressableBaseProps & {
|
|
|
27
28
|
badgeText: string;
|
|
28
29
|
transactionAmount?: string;
|
|
29
30
|
})>;
|
|
30
|
-
export declare const ListItemTransaction: ({ accessibilityLabel, hasChevronRight, isLoading, paymentLogoIcon, onPress, subtitle, testID, title, transactionAmount, badgeText, transactionStatus }: ListItemTransaction) => React.JSX.Element;
|
|
31
|
+
export declare const ListItemTransaction: ({ accessibilityLabel, hasChevronRight, isLoading, paymentLogoIcon, onPress, subtitle, testID, title, transactionAmount, badgeText, transactionStatus, accessible }: ListItemTransaction) => React.JSX.Element;
|
|
31
32
|
//# sourceMappingURL=ListItemTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemTransaction.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemTransaction.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAoB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemTransaction.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemTransaction.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAoB,MAAM,cAAc,CAAC;AAchE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAM/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,EACL,kBAAkB,EAEnB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,yBAAyB,GACjC,SAAS,GACT,SAAS,GACT,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,CAAC;AAEf,MAAM,MAAM,qCAAqC,GAAG,OAAO,CACzD,yBAAyB,EACzB,SAAS,GAAG,UAAU,CACvB,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,OAAO,CACtD,yBAAyB,EACzB,SAAS,GAAG,UAAU,CACvB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAC/B,iBAAiB,GACjB,cAAc,GACd,KAAK,CAAC,SAAS,CAAC;AAEpB,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,kBAAkB,GAAG;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,CACE;IACE,iBAAiB,EAAE,qCAAqC,CAAC;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IACE,iBAAiB,EAAE,kCAAkC,CAAC;IACtD,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CACJ,CACJ,CAAC;AA2BF,eAAO,MAAM,mBAAmB,uKAa7B,mBAAmB,sBA2GrB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { WithTestID } from "../../utils/types";
|
|
3
|
+
import { IOColors } from "../../core";
|
|
4
|
+
type Props = WithTestID<{
|
|
5
|
+
color?: IOColors;
|
|
6
|
+
stroke?: number;
|
|
7
|
+
size?: IOLoadingSpinnerSizeScale;
|
|
8
|
+
durationMs?: number;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* Size scale, 76 is kept for backward compatibility with the old design system but 48 is enough for the new one.
|
|
12
|
+
* It will be removed in the future.
|
|
13
|
+
*/
|
|
14
|
+
export type IOLoadingSpinnerSizeScale = 24 | 48 | 76;
|
|
15
|
+
export declare const LoadingSpinner: ({ color, stroke, size, durationMs }: Props) => React.ReactElement;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../../src/components/loadingSpinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,KAAK,KAAK,GAAG,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,yBAAyB,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAgBrD,eAAO,MAAM,cAAc,wCAKxB,KAAK,KAAG,MAAM,YAkFhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loadingSpinner/index.tsx"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const IOPaymentCardLogos: {
|
|
3
|
+
readonly payPal: ({ preserveAspectRatio }: SVGCardLogoProps) => React.JSX.Element;
|
|
4
|
+
readonly bancomatPay: ({ preserveAspectRatio }: SVGCardLogoProps) => React.JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export type IOLogoPaymentCardType = keyof typeof IOPaymentCardLogos;
|
|
7
|
+
type IOPaymentLogos = {
|
|
8
|
+
name: IOLogoPaymentCardType;
|
|
9
|
+
align: "start" | "center" | "end";
|
|
10
|
+
width?: "100%" | number;
|
|
11
|
+
height?: number;
|
|
12
|
+
debugMode?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type SVGCardLogoProps = {
|
|
15
|
+
preserveAspectRatio: "xMinYMin meet" | "xMidYMid meet" | "xMaxYMax meet";
|
|
16
|
+
};
|
|
17
|
+
declare const LogoPaymentCard: ({ name, width, height, align, debugMode, ...props }: IOPaymentLogos) => React.JSX.Element;
|
|
18
|
+
export default LogoPaymentCard;
|
|
19
|
+
//# sourceMappingURL=LogoPaymentCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoPaymentCard.d.ts","sourceRoot":"","sources":["../../../../src/components/logos/LogoPaymentCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAEpE,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,qBAAqB,CAAC;IAC5B,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,mBAAmB,EAAE,eAAe,GAAG,eAAe,GAAG,eAAe,CAAC;CAC1E,CAAC;AAiBF,QAAA,MAAM,eAAe,wDAOlB,cAAc,sBAUhB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -2,4 +2,6 @@ export { default as LogoPayment } from "./LogoPayment";
|
|
|
2
2
|
export * from "./LogoPayment";
|
|
3
3
|
export { default as LogoPaymentExt } from "./LogoPaymentExt";
|
|
4
4
|
export * from "./LogoPaymentExt";
|
|
5
|
+
export { default as LogoPaymentCard } from "./LogoPaymentCard";
|
|
6
|
+
export * from "./LogoPaymentCard";
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/logos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SVGCardLogoProps } from "../LogoPaymentCard";
|
|
3
|
+
declare const LogoPaymentCardBancomatPay: ({ preserveAspectRatio }: SVGCardLogoProps) => React.JSX.Element;
|
|
4
|
+
export default LogoPaymentCardBancomatPay;
|
|
5
|
+
//# sourceMappingURL=LogoPaymentCardBancomatPay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoPaymentCardBancomatPay.d.ts","sourceRoot":"","sources":["../../../../../src/components/logos/svg/LogoPaymentCardBancomatPay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,0BAA0B,4BAE7B,gBAAgB,sBAmBlB,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SVGCardLogoProps } from "../LogoPaymentCard";
|
|
3
|
+
declare const LogoPaymentCardPayPal: ({ preserveAspectRatio }: SVGCardLogoProps) => React.JSX.Element;
|
|
4
|
+
export default LogoPaymentCardPayPal;
|
|
5
|
+
//# sourceMappingURL=LogoPaymentCardPayPal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoPaymentCardPayPal.d.ts","sourceRoot":"","sources":["../../../../../src/components/logos/svg/LogoPaymentCardPayPal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,QAAA,MAAM,qBAAqB,4BAA6B,gBAAgB,sBA+BvE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -55,6 +55,7 @@ export declare const IOPictograms: {
|
|
|
55
55
|
cie: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
56
56
|
time: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
57
57
|
passcode: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
58
|
+
notification: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
58
59
|
ibanCard: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
59
60
|
followMessage: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
60
61
|
manual: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
@@ -77,7 +78,7 @@ export type SVGPictogramProps = {
|
|
|
77
78
|
colorValues: Record<string, ColorValue>;
|
|
78
79
|
};
|
|
79
80
|
export declare const Pictogram: ({ name, color, pictogramStyle, size, ...props }: IOPictogramsProps) => React.JSX.Element;
|
|
80
|
-
export type IOPictogramsBleed = Extract<"charity" | "help" | "feedback" | "itWallet" | "security" | "feature" | "cie" | "cameraRequest" | "cameraDenied", IOPictograms>;
|
|
81
|
+
export type IOPictogramsBleed = Extract<"charity" | "help" | "feedback" | "itWallet" | "security" | "feature" | "cie" | "cameraRequest" | "cameraDenied" | "notification", IOPictograms>;
|
|
81
82
|
export declare const IOPictogramsBleed: {
|
|
82
83
|
[key in IOPictogramsBleed]: ({ size }: SVGPictogramProps) => JSX.Element;
|
|
83
84
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pictogram.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/Pictogram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,QAAQ,EAIT,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Pictogram.d.ts","sourceRoot":"","sources":["../../../../src/components/pictograms/Pictogram.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,QAAQ,EAIT,MAAM,qBAAqB,CAAC;AA2E7B,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkExB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC;AACrD,MAAM,MAAM,oBAAoB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjE,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,CAAC,EAAE,QAAQ,CAAC;IAIjB,cAAc,CAAC,EAAE,SAAS,GAAG,eAAe,GAAG,cAAc,CAAC;IAC9D,IAAI,CAAC,EAAE,oBAAoB,GAAG,MAAM,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,oBAAoB,GAAG,MAAM,CAAC;IACpC,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACzC,CAAC;AAQF,eAAO,MAAM,SAAS,oDAMnB,iBAAiB,sBAgCnB,CAAC;AAUF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACnC,SAAS,GACT,MAAM,GACN,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,KAAK,GACL,eAAe,GACf,cAAc,GACd,cAAc,EAChB,YAAY,CACb,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE;KAC7B,GAAG,IAAI,iBAAiB,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB,KAAK,GAAG,CAAC,OAAO;CAYzE,CAAC;AAEF,eAAO,MAAM,cAAc,oDAMxB,iBAAiB,sBAiCnB,CAAC;AAOF,eAAO,MAAM,kBAAkB;;;;;;;;CAQrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAoCjE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SVGPictogramProps } from "../Pictogram";
|
|
3
|
+
declare const PictogramBleedNotification: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
4
|
+
export default PictogramBleedNotification;
|
|
5
|
+
//# sourceMappingURL=PictogramBleedNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictogramBleedNotification.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramBleedNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,QAAA,MAAM,0BAA0B,oCAI7B,iBAAiB,sBA+BnB,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SVGPictogramProps } from "../Pictogram";
|
|
3
|
+
declare const PictogramNotification: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
4
|
+
export default PictogramNotification;
|
|
5
|
+
//# sourceMappingURL=PictogramNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictogramNotification.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,QAAA,MAAM,qBAAqB,oCAIxB,iBAAiB,sBA+BnB,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IOIcons } from "../icons";
|
|
3
|
-
export type
|
|
3
|
+
export type RadioItem<T> = {
|
|
4
4
|
id: T;
|
|
5
5
|
value: string;
|
|
6
6
|
description?: string;
|
|
@@ -8,7 +8,7 @@ export type NewRadioItem<T> = {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
};
|
|
10
10
|
type Props<T> = {
|
|
11
|
-
items: ReadonlyArray<
|
|
11
|
+
items: ReadonlyArray<RadioItem<T>>;
|
|
12
12
|
selectedItem?: T;
|
|
13
13
|
onPress: (selected: T) => void;
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/radio/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI;IACzB,EAAE,EAAE,CAAC,CAAC;IACN,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,KAAK,CAAC,CAAC,IAAI;IACd,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,sEAiBtB,CAAC"}
|