@pagopa/io-app-design-system 1.17.2 → 1.19.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 +110 -0
- package/lib/commonjs/components/Advice/__test__/advice.test.js +9 -0
- package/lib/commonjs/components/Advice/__test__/advice.test.js.map +1 -1
- package/lib/commonjs/components/accordion/AccordionItem.js +25 -9
- package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
- package/lib/commonjs/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
- package/lib/commonjs/components/avatar/__test__/avatar.test.js +13 -0
- package/lib/commonjs/components/avatar/__test__/avatar.test.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
- package/lib/commonjs/components/badge/__test__/badge.test.js +10 -0
- package/lib/commonjs/components/badge/__test__/badge.test.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
- package/lib/commonjs/components/banner/__test__/banner.test.js +15 -0
- package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
- package/lib/commonjs/components/buttons/__test__/button.test.js +57 -0
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +6 -29
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/codeInput/CodeInput.js +10 -25
- package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
- package/lib/commonjs/components/endOfPage/EndOfPage.js +36 -0
- package/lib/commonjs/components/endOfPage/EndOfPage.js.map +1 -0
- package/lib/commonjs/components/endOfPage/index.js +17 -0
- package/lib/commonjs/components/endOfPage/index.js.map +1 -0
- package/lib/commonjs/components/icons/Icon.js +64 -48
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconSystemLocationiOS.js +34 -0
- package/lib/commonjs/components/icons/svg/IconSystemLocationiOS.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemNotificationsInstructions.js +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemNotificationsInstructions.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconSystemPermissionsAndroid.js +34 -0
- package/lib/commonjs/components/icons/svg/IconSystemPermissionsAndroid.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemPhotosiOS.js +105 -0
- package/lib/commonjs/components/icons/svg/IconSystemPhotosiOS.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconSystemPrivacyiOS.js +34 -0
- package/lib/commonjs/components/icons/svg/IconSystemPrivacyiOS.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
- package/lib/commonjs/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
- package/lib/commonjs/components/image/Image.js +47 -0
- package/lib/commonjs/components/image/Image.js.map +1 -0
- package/lib/commonjs/components/image/index.js +17 -0
- package/lib/commonjs/components/image/index.js.map +1 -0
- package/lib/commonjs/components/index.js +33 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +9 -3
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +4 -3
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +4 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +6 -3
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
- package/lib/commonjs/components/listitems/__test__/listitem.test.js +83 -3
- package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/commonjs/components/otpInput/BoxedInput.js +72 -0
- package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -0
- package/lib/commonjs/components/otpInput/OTPInput.js +131 -0
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -0
- package/lib/commonjs/components/otpInput/index.js +17 -0
- package/lib/commonjs/components/otpInput/index.js.map +1 -0
- package/lib/commonjs/components/pictograms/Pictogram.js +74 -68
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramComunicationProblem.js +85 -0
- package/lib/commonjs/components/pictograms/svg/PictogramComunicationProblem.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramEventClose.js +40 -0
- package/lib/commonjs/components/pictograms/svg/PictogramEventClose.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramHello.js +61 -0
- package/lib/commonjs/components/pictograms/svg/PictogramHello.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramHello.svg +46 -0
- package/lib/commonjs/components/radio/RadioButtonLabel.js +70 -0
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -0
- package/lib/commonjs/components/radio/RadioGroup.js +25 -21
- package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
- package/lib/commonjs/components/radio/index.js +11 -0
- package/lib/commonjs/components/radio/index.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +13 -6
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/typography/LabelHeader.js +6 -4
- package/lib/commonjs/components/typography/LabelHeader.js.map +1 -1
- package/lib/commonjs/core/IODSExperimentalContextProvider.js +9 -9
- package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +1 -1
- package/lib/commonjs/utils/hooks/useErrorShakeAnimation.js +44 -0
- package/lib/commonjs/utils/hooks/useErrorShakeAnimation.js.map +1 -0
- package/lib/commonjs/utils/testing.js +15 -0
- package/lib/commonjs/utils/testing.js.map +1 -0
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
- package/lib/module/components/Advice/__test__/advice.test.js +9 -0
- package/lib/module/components/Advice/__test__/advice.test.js.map +1 -1
- package/lib/module/components/accordion/AccordionItem.js +27 -11
- package/lib/module/components/accordion/AccordionItem.js.map +1 -1
- package/lib/module/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
- package/lib/module/components/avatar/__test__/avatar.test.js +13 -0
- package/lib/module/components/avatar/__test__/avatar.test.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
- package/lib/module/components/badge/__test__/badge.test.js +10 -0
- package/lib/module/components/badge/__test__/badge.test.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
- package/lib/module/components/banner/__test__/banner.test.js +15 -0
- package/lib/module/components/banner/__test__/banner.test.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
- package/lib/module/components/buttons/__test__/button.test.js +57 -0
- package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +7 -30
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/codeInput/CodeInput.js +9 -25
- package/lib/module/components/codeInput/CodeInput.js.map +1 -1
- package/lib/module/components/endOfPage/EndOfPage.js +28 -0
- package/lib/module/components/endOfPage/EndOfPage.js.map +1 -0
- package/lib/module/components/endOfPage/index.js +2 -0
- package/lib/module/components/endOfPage/index.js.map +1 -0
- package/lib/module/components/icons/Icon.js +64 -48
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/svg/IconSystemLocationiOS.js +26 -0
- package/lib/module/components/icons/svg/IconSystemLocationiOS.js.map +1 -0
- package/lib/module/components/icons/svg/IconSystemNotificationsInstructions.js +2 -1
- package/lib/module/components/icons/svg/IconSystemNotificationsInstructions.js.map +1 -1
- package/lib/module/components/icons/svg/IconSystemPermissionsAndroid.js +26 -0
- package/lib/module/components/icons/svg/IconSystemPermissionsAndroid.js.map +1 -0
- package/lib/module/components/icons/svg/IconSystemPhotosiOS.js +97 -0
- package/lib/module/components/icons/svg/IconSystemPhotosiOS.js.map +1 -0
- package/lib/module/components/icons/svg/IconSystemPrivacyiOS.js +26 -0
- package/lib/module/components/icons/svg/IconSystemPrivacyiOS.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
- package/lib/module/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
- package/lib/module/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
- package/lib/module/components/image/Image.js +39 -0
- package/lib/module/components/image/Image.js.map +1 -0
- package/lib/module/components/image/index.js +2 -0
- package/lib/module/components/image/index.js.map +1 -0
- package/lib/module/components/index.js +3 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/HeaderSecondLevel.js +9 -3
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +4 -3
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +4 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +6 -3
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
- package/lib/module/components/listitems/__test__/listitem.test.js +83 -3
- package/lib/module/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/module/components/otpInput/BoxedInput.js +64 -0
- package/lib/module/components/otpInput/BoxedInput.js.map +1 -0
- package/lib/module/components/otpInput/OTPInput.js +121 -0
- package/lib/module/components/otpInput/OTPInput.js.map +1 -0
- package/lib/module/components/otpInput/index.js +2 -0
- package/lib/module/components/otpInput/index.js.map +1 -0
- package/lib/module/components/pictograms/Pictogram.js +74 -68
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/pictograms/svg/PictogramComunicationProblem.js +77 -0
- package/lib/module/components/pictograms/svg/PictogramComunicationProblem.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramEventClose.js +32 -0
- package/lib/module/components/pictograms/svg/PictogramEventClose.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramHello.js +53 -0
- package/lib/module/components/pictograms/svg/PictogramHello.js.map +1 -0
- package/lib/module/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
- package/lib/module/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
- package/lib/module/components/pictograms/svg/originals/PictogramHello.svg +46 -0
- package/lib/module/components/radio/RadioButtonLabel.js +62 -0
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -0
- package/lib/module/components/radio/RadioGroup.js +25 -21
- package/lib/module/components/radio/RadioGroup.js.map +1 -1
- package/lib/module/components/radio/index.js +1 -0
- package/lib/module/components/radio/index.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +13 -6
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/typography/LabelHeader.js +6 -4
- package/lib/module/components/typography/LabelHeader.js.map +1 -1
- package/lib/module/core/IODSExperimentalContextProvider.js +3 -3
- package/lib/module/core/IODSExperimentalContextProvider.js.map +1 -1
- package/lib/module/utils/hooks/useErrorShakeAnimation.js +37 -0
- package/lib/module/utils/hooks/useErrorShakeAnimation.js.map +1 -0
- package/lib/module/utils/testing.js +7 -0
- package/lib/module/utils/testing.js.map +1 -0
- package/lib/typescript/components/accordion/AccordionItem.d.ts +3 -1
- package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
- package/lib/typescript/components/codeInput/CodeInput.d.ts.map +1 -1
- package/lib/typescript/components/endOfPage/EndOfPage.d.ts +23 -0
- package/lib/typescript/components/endOfPage/EndOfPage.d.ts.map +1 -0
- package/lib/typescript/components/endOfPage/index.d.ts +2 -0
- package/lib/typescript/components/endOfPage/index.d.ts.map +1 -0
- package/lib/typescript/components/icons/Icon.d.ts +8 -0
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconSystemLocationiOS.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemLocationiOS.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconSystemNotificationsInstructions.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconSystemPermissionsAndroid.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemPermissionsAndroid.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconSystemPhotosiOS.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemPhotosiOS.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconSystemPrivacyiOS.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconSystemPrivacyiOS.d.ts.map +1 -0
- package/lib/typescript/components/image/Image.d.ts +17 -0
- package/lib/typescript/components/image/Image.d.ts.map +1 -0
- package/lib/typescript/components/image/index.d.ts +2 -0
- package/lib/typescript/components/image/index.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +3 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +10 -4
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemHeader.d.ts +2 -2
- package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts +1 -0
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts +6 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/BoxedInput.d.ts +9 -0
- package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -0
- package/lib/typescript/components/otpInput/OTPInput.d.ts +26 -0
- package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -0
- package/lib/typescript/components/otpInput/index.d.ts +2 -0
- package/lib/typescript/components/otpInput/index.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/Pictogram.d.ts +3 -0
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/svg/PictogramComunicationProblem.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramComunicationProblem.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramEventClose.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramEventClose.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramHello.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramHello.d.ts.map +1 -0
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts +18 -0
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -0
- package/lib/typescript/components/radio/RadioGroup.d.ts +22 -9
- package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
- package/lib/typescript/components/radio/index.d.ts +1 -0
- package/lib/typescript/components/radio/index.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabItem.d.ts +2 -1
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelHeader.d.ts +1 -1
- package/lib/typescript/components/typography/LabelHeader.d.ts.map +1 -1
- package/lib/typescript/core/IODSExperimentalContextProvider.d.ts +5 -1
- package/lib/typescript/core/IODSExperimentalContextProvider.d.ts.map +1 -1
- package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts +11 -0
- package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts.map +1 -0
- package/lib/typescript/utils/testing.d.ts +4 -0
- package/lib/typescript/utils/testing.d.ts.map +1 -0
- package/package.json +4 -2
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +110 -0
- package/src/components/Advice/__test__/advice.test.tsx +10 -0
- package/src/components/accordion/AccordionItem.tsx +33 -13
- package/src/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +37 -0
- package/src/components/avatar/__test__/avatar.test.tsx +10 -0
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +46 -0
- package/src/components/badge/__test__/badge.test.tsx +10 -0
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +315 -0
- package/src/components/banner/__test__/banner.test.tsx +18 -0
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +862 -0
- package/src/components/buttons/__test__/button.test.tsx +77 -1
- package/src/components/checkbox/CheckboxLabel.tsx +4 -31
- package/src/components/codeInput/CodeInput.tsx +5 -33
- package/src/components/endOfPage/EndOfPage.tsx +55 -0
- package/src/components/endOfPage/index.tsx +1 -0
- package/src/components/icons/Icon.tsx +64 -48
- package/src/components/icons/svg/IconSystemLocationiOS.tsx +15 -0
- package/src/components/icons/svg/IconSystemNotificationsInstructions.tsx +2 -1
- package/src/components/icons/svg/IconSystemPermissionsAndroid.tsx +19 -0
- package/src/components/icons/svg/IconSystemPhotosiOS.tsx +114 -0
- package/src/components/icons/svg/IconSystemPrivacyiOS.tsx +15 -0
- package/src/components/icons/svg/originals/IconSystemLocationiOS.svg +7 -0
- package/src/components/icons/svg/originals/IconSystemNotificationsInstructions.svg +22 -0
- package/src/components/icons/svg/originals/IconSystemPhotosiOS.svg +99 -0
- package/src/components/icons/svg/originals/IconSystemPrivacyiOS.svg +14 -0
- package/src/components/image/Image.tsx +49 -0
- package/src/components/image/index.tsx +1 -0
- package/src/components/index.tsx +3 -0
- package/src/components/layout/HeaderSecondLevel.tsx +28 -10
- package/src/components/listitems/ListItemHeader.tsx +6 -3
- package/src/components/listitems/ListItemRadioWithAmount.tsx +5 -1
- package/src/components/listitems/ListItemTransaction.tsx +12 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +1729 -0
- package/src/components/listitems/__test__/listitem.test.tsx +104 -3
- package/src/components/otpInput/BoxedInput.tsx +67 -0
- package/src/components/otpInput/OTPInput.tsx +135 -0
- package/src/components/otpInput/index.tsx +1 -0
- package/src/components/pictograms/Pictogram.tsx +74 -68
- package/src/components/pictograms/svg/PictogramComunicationProblem.tsx +94 -0
- package/src/components/pictograms/svg/PictogramEventClose.tsx +34 -0
- package/src/components/pictograms/svg/PictogramHello.tsx +54 -0
- package/src/components/pictograms/svg/originals/PictogramComunicationProblem.svg +91 -0
- package/src/components/pictograms/svg/originals/PictogramEventClose.svg +34 -0
- package/src/components/pictograms/svg/originals/PictogramHello.svg +46 -0
- package/src/components/radio/RadioButtonLabel.tsx +73 -0
- package/src/components/radio/RadioGroup.tsx +61 -11
- package/src/components/radio/index.tsx +1 -0
- package/src/components/tabs/TabItem.tsx +22 -6
- package/src/components/typography/LabelHeader.tsx +11 -6
- package/src/core/IODSExperimentalContextProvider.tsx +3 -3
- package/src/utils/hooks/useErrorShakeAnimation.ts +43 -0
- package/src/utils/testing.tsx +14 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Pressable","StyleSheet","Animated","Extrapolate","interpolate","interpolateColor","useAnimatedStyle","useDerivedValue","useSharedValue","withSpring","Icon","HSpacer","LabelHeader","IOSpringValues","IOColors","hexToRgba","IOScaleValues","useSpringPressProgressValue","mapColorStates","light","background","default","selected","pressed","foreground","dark","white","TabItem","_ref","label","color","fullWidth","accessibilityLabel","accessibilityHint","testID","onPress","icon","iconSelected","progress","progressPressed","onPressIn","onPressOut","selection","colors","foregroundColor","opaquePressedBackgroundColor","isSelected","progressSelected","value","useEffect","animatedStyle","_IOScaleValues$basicB","pressedBackgroundColor","selectedBackgroundColor","scale","basicButton","pressedState","CLAMP","backgroundColor","transform","activeIcon","createElement","accessibilityRole","accessible","View","style","styles","container","Fragment","name","size","create","flexDirection","alignItems","paddingHorizontal","paddingVertical","borderRadius","justifyContent","alignSelf"],"sourceRoot":"../../../../src","sources":["components/tabs/TabItem.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAgCC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AAC3E,OAAOC,QAAQ,IACbC,WAAW,EACXC,WAAW,EACXC,gBAAgB,EAChBC,gBAAgB,EAChBC,eAAe,EACfC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAEhC,SAAkBC,IAAI,QAAQ,UAAU;AACxC,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,cAAc,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,aAAa,QAAQ,YAAY;AAC/E,SAASC,2BAA2B,QAAQ,+CAA+C;
|
|
1
|
+
{"version":3,"names":["React","Pressable","StyleSheet","Animated","Extrapolate","interpolate","interpolateColor","useAnimatedStyle","useDerivedValue","useSharedValue","withSpring","Icon","HSpacer","LabelHeader","IOSpringValues","IOColors","hexToRgba","IOScaleValues","useSpringPressProgressValue","mapColorStates","light","background","default","selected","pressed","foreground","disabled","dark","white","TabItem","_ref","label","color","fullWidth","accessibilityLabel","accessibilityHint","testID","onPress","icon","iconSelected","progress","progressPressed","onPressIn","onPressOut","selection","colors","foregroundColor","opaquePressedBackgroundColor","isSelected","progressSelected","value","useEffect","animatedStyle","_IOScaleValues$basicB","pressedBackgroundColor","selectedBackgroundColor","scale","basicButton","pressedState","CLAMP","backgroundColor","transform","activeIcon","createElement","accessibilityRole","accessible","View","style","styles","container","Fragment","name","size","create","flexDirection","alignItems","paddingHorizontal","paddingVertical","borderRadius","justifyContent","alignSelf","opacity"],"sourceRoot":"../../../../src","sources":["components/tabs/TabItem.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAgCC,SAAS,EAAEC,UAAU,QAAQ,cAAc;AAC3E,OAAOC,QAAQ,IACbC,WAAW,EACXC,WAAW,EACXC,gBAAgB,EAChBC,gBAAgB,EAChBC,eAAe,EACfC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAEhC,SAAkBC,IAAI,QAAQ,UAAU;AACxC,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,cAAc,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,aAAa,QAAQ,YAAY;AAC/E,SAASC,2BAA2B,QAAQ,+CAA+C;AAiC3F,MAAMC,cAAkE,GAAG;EACzEC,KAAK,EAAE;IACLC,UAAU,EAAE;MACVC,OAAO,EAAE,WAAW;MACpBC,QAAQ,EAAER,QAAQ,CAAC,SAAS,CAAC;MAC7BS,OAAO,EAAET,QAAQ,CAAC,SAAS;IAC7B,CAAC;IACDU,UAAU,EAAE;MACVH,OAAO,EAAE,OAAO;MAChBC,QAAQ,EAAE,OAAO;MACjBG,QAAQ,EAAE;IACZ;EACF,CAAC;EACDC,IAAI,EAAE;IACJN,UAAU,EAAE;MACVC,OAAO,EAAE,WAAW;MACpBC,QAAQ,EAAER,QAAQ,CAACa,KAAK;MACxBJ,OAAO,EAAET,QAAQ,CAACa;IACpB,CAAC;IACDH,UAAU,EAAE;MACVH,OAAO,EAAE,OAAO;MAChBC,QAAQ,EAAE,OAAO;MACjBG,QAAQ,EAAE;IACZ;EACF;AACF,CAAC;AAED,MAAMG,OAAO,GAAGC,IAAA,IAYD;EAAA,IAZE;IACfC,KAAK;IACLC,KAAK,GAAG,OAAO;IACfT,QAAQ,GAAG,KAAK;IAChBU,SAAS,GAAG,KAAK;IACjBC,kBAAkB;IAClBC,iBAAiB;IACjBC,MAA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9B,KAAK,EAAEc,eAAgB;IAAC0B,IAAI,EAAE;EAAG,CAAE,CAAC,eAC5DxE,KAAA,CAAA+D,aAAA,CAACnD,OAAO;IAAC4D,IAAI,EAAE;EAAE,CAAE,CACnB,CACH,eACDxE,KAAA,CAAA+D,aAAA,CAAClD,WAAW;IAACmB,KAAK,EAAEc;EAAgB,GAAEf,KAAmB,CAC5C,CACN,CAAC;AAEhB,CAAC;AAED,MAAMqC,MAAM,GAAGlE,UAAU,CAACuE,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBC,YAAY,EAAE,EAAE;IAChBC,cAAc,EAAE,QAAQ;IACxBC,SAAS,EAAE;EACb,CAAC;EACD/C,SAAS,EAAE;IACT+C,SAAS,EAAE;EACb,CAAC;EACDtD,QAAQ,EAAE;IAAEuD,OAAO,EAAE;EAAI;AAC3B,CAAC,CAAC;AAEF,SAASpD,OAAO"}
|
|
@@ -8,7 +8,8 @@ const labelHeaderDefaultWeight = "Regular";
|
|
|
8
8
|
|
|
9
9
|
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
10
10
|
const legacyLabelHeaderFontName = "TitilliumWeb";
|
|
11
|
-
|
|
11
|
+
const legacyLabelHeaderWeight = "SemiBold";
|
|
12
|
+
const legacyLabelHeaderLineHeight = 20;
|
|
12
13
|
/**
|
|
13
14
|
* `LabelHeader` typographic style
|
|
14
15
|
*/
|
|
@@ -16,14 +17,15 @@ export const LabelHeader = props => {
|
|
|
16
17
|
const {
|
|
17
18
|
isExperimental
|
|
18
19
|
} = useIOExperimentalDesign();
|
|
20
|
+
// console.log("isExperimental", isExperimental);
|
|
19
21
|
return useTypographyFactory({
|
|
20
22
|
...props,
|
|
21
|
-
defaultWeight: labelHeaderDefaultWeight,
|
|
23
|
+
defaultWeight: isExperimental ? labelHeaderDefaultWeight : legacyLabelHeaderWeight,
|
|
22
24
|
defaultColor: labelHeaderDefaultColor,
|
|
23
|
-
font: isExperimental ?
|
|
25
|
+
font: isExperimental ? labelHeaderFontName : legacyLabelHeaderFontName,
|
|
24
26
|
fontStyle: {
|
|
25
27
|
fontSize: labelHeaderFontSize,
|
|
26
|
-
lineHeight: labelHeaderLineHeight
|
|
28
|
+
lineHeight: isExperimental ? labelHeaderLineHeight : legacyLabelHeaderLineHeight
|
|
27
29
|
}
|
|
28
30
|
});
|
|
29
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["IOThemeLight","useIOExperimentalDesign","useTypographyFactory","labelHeaderFontSize","labelHeaderLineHeight","labelHeaderDefaultColor","labelHeaderFontName","labelHeaderDefaultWeight","legacyLabelHeaderFontName","LabelHeader","props","isExperimental","defaultWeight","defaultColor","font","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/LabelHeader.tsx"],"mappings":"AACA,SAAkBA,YAAY,EAAEC,uBAAuB,QAAQ,YAAY;AAC3E,SAASC,oBAAoB,QAAQ,WAAW;AAehD,OAAO,MAAMC,mBAAmB,GAAG,EAAE;AACrC,OAAO,MAAMC,qBAAqB,GAAG,EAAE;AACvC,OAAO,MAAMC,uBAAsC,GACjDL,YAAY,CAAC,kBAAkB,CAAC;AAClC,MAAMM,mBAAiC,GAAG,WAAW;AACrD,MAAMC,wBAAuC,GAAG,SAAS;;AAEzD;AACA,MAAMC,yBAAuC,GAAG,cAAc
|
|
1
|
+
{"version":3,"names":["IOThemeLight","useIOExperimentalDesign","useTypographyFactory","labelHeaderFontSize","labelHeaderLineHeight","labelHeaderDefaultColor","labelHeaderFontName","labelHeaderDefaultWeight","legacyLabelHeaderFontName","legacyLabelHeaderWeight","legacyLabelHeaderLineHeight","LabelHeader","props","isExperimental","defaultWeight","defaultColor","font","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/LabelHeader.tsx"],"mappings":"AACA,SAAkBA,YAAY,EAAEC,uBAAuB,QAAQ,YAAY;AAC3E,SAASC,oBAAoB,QAAQ,WAAW;AAehD,OAAO,MAAMC,mBAAmB,GAAG,EAAE;AACrC,OAAO,MAAMC,qBAAqB,GAAG,EAAE;AACvC,OAAO,MAAMC,uBAAsC,GACjDL,YAAY,CAAC,kBAAkB,CAAC;AAClC,MAAMM,mBAAiC,GAAG,WAAW;AACrD,MAAMC,wBAAuC,GAAG,SAAS;;AAEzD;AACA,MAAMC,yBAAuC,GAAG,cAAc;AAC9D,MAAMC,uBAAsC,GAAG,UAAU;AACzD,MAAMC,2BAA2B,GAAG,EAAE;AACtC;AACA;AACA;AACA,OAAO,MAAMC,WAAW,GAAIC,KAAuB,IAAK;EACtD,MAAM;IAAEC;EAAe,CAAC,GAAGZ,uBAAuB,CAAC,CAAC;EACpD;EACA,OAAOC,oBAAoB,CAA+B;IACxD,GAAGU,KAAK;IACRE,aAAa,EAAED,cAAc,GACzBN,wBAAwB,GACxBE,uBAAuB;IAC3BM,YAAY,EAAEV,uBAAuB;IACrCW,IAAI,EAAEH,cAAc,GAAGP,mBAAmB,GAAGE,yBAAyB;IACtES,SAAS,EAAE;MACTC,QAAQ,EAAEf,mBAAmB;MAC7BgB,UAAU,EAAEN,cAAc,GACtBT,qBAAqB,GACrBM;IACN;EACF,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { constVoid } from "fp-ts/function";
|
|
2
|
+
import React from "react";
|
|
3
3
|
/**
|
|
4
4
|
* Experimental Context for new UI Representations
|
|
5
5
|
*/
|
|
6
|
-
const IOExperimentalDesignContext = /*#__PURE__*/React.createContext({
|
|
6
|
+
export const IOExperimentalDesignContext = /*#__PURE__*/React.createContext({
|
|
7
7
|
isExperimental: false,
|
|
8
8
|
setExperimental: constVoid
|
|
9
9
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["constVoid","React","IOExperimentalDesignContext","createContext","isExperimental","setExperimental","useIOExperimentalDesign","useContext","IODSExperimentalContextProvider","_ref","children","isExperimentaEnabled","useState","createElement","Provider","value"],"sourceRoot":"../../../src","sources":["core/IODSExperimentalContextProvider.tsx"],"mappings":"AAAA,SAASA,SAAS,QAAQ,gBAAgB;AAC1C,OAAOC,KAAK,MAAM,OAAO;AAMzB;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,gBACtCD,KAAK,CAACE,aAAa,CAA4B;EAC7CC,cAAc,EAAE,KAAK;EACrBC,eAAe,EAAEL;AACnB,CAAC,CAAC;AAEJ,OAAO,MAAMM,uBAAuB,GAAGA,CAAA,KACrCL,KAAK,CAACM,UAAU,CAACL,2BAA2B,CAAC;AAM/C,OAAO,MAAMM,+BAA+B,GAAGC,IAAA,IAGoB;EAAA,IAHnB;IAC9CC,QAAQ;IACRC;EAC2D,CAAC,GAAAF,IAAA;EAC5D,MAAM,CAACL,cAAc,EAAEC,eAAe,CAAC,GAAGJ,KAAK,CAACW,QAAQ,CACtDD,oBAAoB,IAAI,KAC1B,CAAC;EAED,oBACEV,KAAA,CAAAY,aAAA,CAACX,2BAA2B,CAACY,QAAQ;IACnCC,KAAK,EAAE;MAAEX,cAAc;MAAEC;IAAgB;EAAE,GAE1CK,QACmC,CAAC;AAE3C,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Easing, useAnimatedStyle, useSharedValue, withSequence, withTiming } from "react-native-reanimated";
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { triggerHaptic } from "../../functions";
|
|
4
|
+
const SHAKE_OFFSET = 8;
|
|
5
|
+
export const useErrorShakeAnimation = () => {
|
|
6
|
+
const translate = useSharedValue(0);
|
|
7
|
+
const animatedStyle = useAnimatedStyle(() => ({
|
|
8
|
+
transform: [{
|
|
9
|
+
translateX: translate.value
|
|
10
|
+
}]
|
|
11
|
+
}));
|
|
12
|
+
const shakeAnimation = useCallback(() => {
|
|
13
|
+
triggerHaptic("notificationError");
|
|
14
|
+
return withSequence(withTiming(SHAKE_OFFSET, {
|
|
15
|
+
duration: 75,
|
|
16
|
+
easing: Easing.inOut(Easing.cubic)
|
|
17
|
+
}), withTiming(-SHAKE_OFFSET, {
|
|
18
|
+
duration: 75,
|
|
19
|
+
easing: Easing.inOut(Easing.cubic)
|
|
20
|
+
}), withTiming(SHAKE_OFFSET / 2, {
|
|
21
|
+
duration: 75,
|
|
22
|
+
easing: Easing.inOut(Easing.cubic)
|
|
23
|
+
}), withTiming(-SHAKE_OFFSET / 2, {
|
|
24
|
+
duration: 75,
|
|
25
|
+
easing: Easing.inOut(Easing.cubic)
|
|
26
|
+
}), withTiming(0, {
|
|
27
|
+
duration: 75,
|
|
28
|
+
easing: Easing.inOut(Easing.cubic)
|
|
29
|
+
}));
|
|
30
|
+
}, []);
|
|
31
|
+
return {
|
|
32
|
+
translate,
|
|
33
|
+
animatedStyle,
|
|
34
|
+
shakeAnimation
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=useErrorShakeAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Easing","useAnimatedStyle","useSharedValue","withSequence","withTiming","useCallback","triggerHaptic","SHAKE_OFFSET","useErrorShakeAnimation","translate","animatedStyle","transform","translateX","value","shakeAnimation","duration","easing","inOut","cubic"],"sourceRoot":"../../../../src","sources":["utils/hooks/useErrorShakeAnimation.ts"],"mappings":"AAAA,SACEA,MAAM,EACNC,gBAAgB,EAChBC,cAAc,EACdC,YAAY,EACZC,UAAU,QACL,yBAAyB;AAChC,SAASC,WAAW,QAAQ,OAAO;AACnC,SAASC,aAAa,QAAQ,iBAAiB;AAE/C,MAAMC,YAAoB,GAAG,CAAC;AAE9B,OAAO,MAAMC,sBAAsB,GAAGA,CAAA,KAAM;EAC1C,MAAMC,SAAS,GAAGP,cAAc,CAAC,CAAC,CAAC;EACnC,MAAMQ,aAAa,GAAGT,gBAAgB,CAAC,OAAO;IAC5CU,SAAS,EAAE,CAAC;MAAEC,UAAU,EAAEH,SAAS,CAACI;IAAM,CAAC;EAC7C,CAAC,CAAC,CAAC;EAEH,MAAMC,cAAc,GAAGT,WAAW,CAAC,MAAM;IACvCC,aAAa,CAAC,mBAAmB,CAAC;IAClC,OAAOH,YAAY,CACjBC,UAAU,CAACG,YAAY,EAAE;MACvBQ,QAAQ,EAAE,EAAE;MACZC,MAAM,EAAEhB,MAAM,CAACiB,KAAK,CAACjB,MAAM,CAACkB,KAAK;IACnC,CAAC,CAAC,EACFd,UAAU,CAAC,CAACG,YAAY,EAAE;MACxBQ,QAAQ,EAAE,EAAE;MACZC,MAAM,EAAEhB,MAAM,CAACiB,KAAK,CAACjB,MAAM,CAACkB,KAAK;IACnC,CAAC,CAAC,EACFd,UAAU,CAACG,YAAY,GAAG,CAAC,EAAE;MAC3BQ,QAAQ,EAAE,EAAE;MACZC,MAAM,EAAEhB,MAAM,CAACiB,KAAK,CAACjB,MAAM,CAACkB,KAAK;IACnC,CAAC,CAAC,EACFd,UAAU,CAAC,CAACG,YAAY,GAAG,CAAC,EAAE;MAC5BQ,QAAQ,EAAE,EAAE;MACZC,MAAM,EAAEhB,MAAM,CAACiB,KAAK,CAACjB,MAAM,CAACkB,KAAK;IACnC,CAAC,CAAC,EACFd,UAAU,CAAC,CAAC,EAAE;MAAEW,QAAQ,EAAE,EAAE;MAAEC,MAAM,EAAEhB,MAAM,CAACiB,KAAK,CAACjB,MAAM,CAACkB,KAAK;IAAE,CAAC,CACpE,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;EAEN,OAAO;IAAET,SAAS;IAAEC,aAAa;IAAEI;EAAe,CAAC;AACrD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import TestRenderer from "react-test-renderer";
|
|
3
|
+
import { IODSExperimentalContextProvider } from "../core/IODSExperimentalContextProvider";
|
|
4
|
+
export const TestRendererWithExperimentalEnabledContextProvider = (ui, options) => TestRenderer.create( /*#__PURE__*/React.createElement(IODSExperimentalContextProvider, {
|
|
5
|
+
isExperimentaEnabled: true
|
|
6
|
+
}, ui), options);
|
|
7
|
+
//# sourceMappingURL=testing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","TestRenderer","IODSExperimentalContextProvider","TestRendererWithExperimentalEnabledContextProvider","ui","options","create","createElement","isExperimentaEnabled"],"sourceRoot":"../../../src","sources":["utils/testing.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,YAAY,MAAM,qBAAqB;AAC9C,SAASC,+BAA+B,QAAQ,yCAAyC;AAEzF,OAAO,MAAMC,kDAAkD,GAAGA,CAChEC,EAAsB,EACtBC,OAA0C,KAE1CJ,YAAY,CAACK,MAAM,eACjBN,KAAA,CAAAO,aAAA,CAACL,+BAA+B;EAACM,oBAAoB,EAAE;AAAK,GACzDJ,EAC8B,CAAC,EAClCC,OACF,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { IOIcons } from "../icons/Icon";
|
|
2
3
|
export type AccordionItem = {
|
|
3
4
|
id: number;
|
|
4
5
|
title: string;
|
|
5
6
|
body: string | React.ReactNode;
|
|
7
|
+
icon?: IOIcons;
|
|
6
8
|
};
|
|
7
9
|
type AccordionBody = {
|
|
8
10
|
children: React.ReactNode;
|
|
9
11
|
expanded: boolean;
|
|
10
12
|
};
|
|
11
13
|
export declare const AccordionBody: ({ children, expanded }: AccordionBody) => React.JSX.Element;
|
|
12
|
-
export declare const AccordionItem: ({ title, body }: AccordionItem) => React.JSX.Element;
|
|
14
|
+
export declare const AccordionItem: ({ title, body, icon }: AccordionItem) => React.JSX.Element;
|
|
13
15
|
export {};
|
|
14
16
|
//# sourceMappingURL=AccordionItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/AccordionItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiBxC,OAAO,EAAmB,OAAO,EAAQ,MAAM,eAAe,CAAC;AAG/D,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAcF,eAAO,MAAM,aAAa,2BAA4B,aAAa,sBA6BlE,CAAC;AAEF,eAAO,MAAM,aAAa,0BAA2B,aAAa,sBAgFjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/CheckboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"CheckboxLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/CheckboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAK/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAMF,KAAK,QAAQ,GAAG,KAAK,GACnB,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAC3E,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC;AAE1D;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,gDAKvB,QAAQ,sBAwCV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.d.ts","sourceRoot":"","sources":["../../../../src/components/codeInput/CodeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeInput.d.ts","sourceRoot":"","sources":["../../../../src/components/codeInput/CodeInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAQlD,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC5B,CAAC;AA8BF,eAAO,MAAM,SAAS,0DAMnB,cAAc,sBAuDhB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ButtonLinkProps, ButtonSolidProps } from "../buttons";
|
|
3
|
+
type PrimaryActionProp = {
|
|
4
|
+
type: "Solid";
|
|
5
|
+
props: Omit<ButtonSolidProps, "fullWidth">;
|
|
6
|
+
};
|
|
7
|
+
type SecondaryActionProp = {
|
|
8
|
+
type: "Link";
|
|
9
|
+
props: ButtonLinkProps;
|
|
10
|
+
};
|
|
11
|
+
type Props = {
|
|
12
|
+
primaryAction?: never;
|
|
13
|
+
secondaryAction?: never;
|
|
14
|
+
} | {
|
|
15
|
+
primaryAction: PrimaryActionProp;
|
|
16
|
+
secondaryAction?: never;
|
|
17
|
+
} | {
|
|
18
|
+
primaryAction: PrimaryActionProp;
|
|
19
|
+
secondaryAction: SecondaryActionProp;
|
|
20
|
+
};
|
|
21
|
+
export declare const EndOfPage: ({ primaryAction, secondaryAction }: Props) => React.JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=EndOfPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EndOfPage.d.ts","sourceRoot":"","sources":["../../../../src/components/endOfPage/EndOfPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAEL,eAAe,EAEf,gBAAgB,EACjB,MAAM,YAAY,CAAC;AAEpB,KAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;CAC5C,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF,KAAK,KAAK,GACN;IACE,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACE,aAAa,EAAE,iBAAiB,CAAC;IACjC,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACE,aAAa,EAAE,iBAAiB,CAAC;IACjC,eAAe,EAAE,mBAAmB,CAAC;CACtC,CAAC;AAEN,eAAO,MAAM,SAAS,uCAAwC,KAAK,sBAoBlE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/endOfPage/index.tsx"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -191,6 +191,10 @@ export declare const IOIcons: {
|
|
|
191
191
|
readonly systemToggleInstructions: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
192
192
|
readonly systemAppsAndroid: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
193
193
|
readonly systemNotificationsInstructions: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
194
|
+
readonly systemPermissionsAndroid: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
195
|
+
readonly systemLocationiOS: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
196
|
+
readonly systemPhotosiOS: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
197
|
+
readonly systemPrivacyiOS: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
194
198
|
};
|
|
195
199
|
export type IOIcons = keyof typeof IOIcons;
|
|
196
200
|
export type IOIconSizeScale = 12 | 16 | 20 | 24 | 30 | 32 | 48 | 96;
|
|
@@ -301,6 +305,10 @@ export declare const IOSystemIcons: {
|
|
|
301
305
|
readonly systemToggleInstructions: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
302
306
|
readonly systemAppsAndroid: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
303
307
|
readonly systemNotificationsInstructions: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
308
|
+
readonly systemPermissionsAndroid: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
309
|
+
readonly systemLocationiOS: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
310
|
+
readonly systemPhotosiOS: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
311
|
+
readonly systemPrivacyiOS: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
304
312
|
};
|
|
305
313
|
export type IOSystemIcons = keyof typeof IOSystemIcons;
|
|
306
314
|
export {};
|
|
@@ -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;AAC1B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAoM/C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkMV,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,OAAO,CAAC;AAK3C,MAAM,MAAM,eAAe,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,eAAe,GAAG,uBAAuB,GAAG,MAAM,CAAC;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAA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MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC;AAezD,eAAO,MAAM,aAAa;;;;;;;;;;CAUhB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconSystemLocationiOS.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconSystemLocationiOS.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,qBAAqB,8BAA+B,YAAY,sBAQrE,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconSystemNotificationsInstructions.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconSystemNotificationsInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,mCAAmC,8BAItC,YAAY,
|
|
1
|
+
{"version":3,"file":"IconSystemNotificationsInstructions.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconSystemNotificationsInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,mCAAmC,8BAItC,YAAY,sBAkBd,CAAC;AAEF,eAAe,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SVGIconProps } from "../Icon";
|
|
3
|
+
declare const IconSystemPermissionsAndroid: ({ size, style, ...props }: SVGIconProps) => React.JSX.Element;
|
|
4
|
+
export default IconSystemPermissionsAndroid;
|
|
5
|
+
//# sourceMappingURL=IconSystemPermissionsAndroid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconSystemPermissionsAndroid.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconSystemPermissionsAndroid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,4BAA4B,8BAI/B,YAAY,sBAQd,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconSystemPhotosiOS.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconSystemPhotosiOS.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,mBAAmB,8BAA+B,YAAY,sBA2GnE,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconSystemPrivacyiOS.d.ts","sourceRoot":"","sources":["../../../../../src/components/icons/svg/IconSystemPrivacyiOS.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,QAAA,MAAM,oBAAoB,8BAA+B,YAAY,sBAQpE,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ImageProps } from "react-native";
|
|
3
|
+
type IOAspectRatioScale = "1:1" | "4:3" | "16:9" | "3:4" | "21:9";
|
|
4
|
+
type IOImageProps = {
|
|
5
|
+
imageProps: Omit<ImageProps, "alt" | "style">;
|
|
6
|
+
alt: string;
|
|
7
|
+
aspectRatio?: IOAspectRatioScale;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Image component that supports specific aspect ratio scales and sets alt text as mandatory.
|
|
11
|
+
* @param imageProps
|
|
12
|
+
* @param alt
|
|
13
|
+
* @param aspectRatio
|
|
14
|
+
*/
|
|
15
|
+
export declare const IOImage: ({ imageProps, alt, aspectRatio }: IOImageProps) => React.JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,UAAU,EAAc,MAAM,cAAc,CAAC;AAExE,KAAK,kBAAkB,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;AAUlE,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,GAAG,OAAO,CAAC,CAAC;IAC9C,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC,CAAC;AAUF;;;;;GAKG;AACH,eAAO,MAAM,OAAO,qCAIjB,YAAY,sBAWd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/image/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -8,14 +8,17 @@ export * from "./checkbox";
|
|
|
8
8
|
export * from "./contentWrapper";
|
|
9
9
|
export * from "./codeInput";
|
|
10
10
|
export * from "./divider";
|
|
11
|
+
export * from "./endOfPage";
|
|
11
12
|
export * from "./featureInfo";
|
|
12
13
|
export * from "./icons";
|
|
14
|
+
export * from "./image";
|
|
13
15
|
export * from "./layout";
|
|
14
16
|
export * from "./listitems";
|
|
15
17
|
export * from "./logos";
|
|
16
18
|
export * from "./loadingSpinner";
|
|
17
19
|
export * from "./modules";
|
|
18
20
|
export * from "./numberpad";
|
|
21
|
+
export * from "./otpInput";
|
|
19
22
|
export * from "./pictograms";
|
|
20
23
|
export * from "./radio";
|
|
21
24
|
export * from "./spacer";
|
|
@@ -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,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,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,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
|
|
@@ -6,12 +6,18 @@ type ScrollValues = {
|
|
|
6
6
|
contentOffsetY: Animated.SharedValue<number>;
|
|
7
7
|
triggerOffset: number;
|
|
8
8
|
};
|
|
9
|
+
type BackProps = {
|
|
10
|
+
goBack: () => void;
|
|
11
|
+
backAccessibilityLabel: string;
|
|
12
|
+
} | {
|
|
13
|
+
goBack?: never;
|
|
14
|
+
backAccessibilityLabel?: never;
|
|
15
|
+
};
|
|
9
16
|
type CommonProps = WithTestID<{
|
|
10
17
|
scrollValues?: ScrollValues;
|
|
11
18
|
title: string;
|
|
12
|
-
goBack: () => void;
|
|
13
|
-
backAccessibilityLabel: string;
|
|
14
19
|
transparent?: boolean;
|
|
20
|
+
isModal?: boolean;
|
|
15
21
|
}>;
|
|
16
22
|
interface Base extends CommonProps {
|
|
17
23
|
type: "base";
|
|
@@ -37,12 +43,12 @@ interface ThreeActions extends CommonProps {
|
|
|
37
43
|
secondAction: ActionProp;
|
|
38
44
|
thirdAction: ActionProp;
|
|
39
45
|
}
|
|
40
|
-
export type HeaderSecondLevel = Base | OneAction | TwoActions | ThreeActions;
|
|
46
|
+
export type HeaderSecondLevel = BackProps & (Base | OneAction | TwoActions | ThreeActions);
|
|
41
47
|
/**
|
|
42
48
|
* HeaderSecondLevel component is used to display the header on pages on the second level of navigation.
|
|
43
49
|
* @param {HeaderSecondLevel} props - The props of the component
|
|
44
50
|
* @returns React Element
|
|
45
51
|
*/
|
|
46
|
-
export declare const HeaderSecondLevel: ({ scrollValues, goBack, backAccessibilityLabel, title, type, transparent, testID, firstAction, secondAction, thirdAction }: HeaderSecondLevel) => React.JSX.Element;
|
|
52
|
+
export declare const HeaderSecondLevel: ({ scrollValues, goBack, backAccessibilityLabel, title, type, transparent, isModal, testID, firstAction, secondAction, thirdAction }: HeaderSecondLevel) => React.JSX.Element;
|
|
47
53
|
export default HeaderSecondLevel;
|
|
48
54
|
//# 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;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAC7C,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,WAAW,GAAG,UAAU,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSecondLevel.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/HeaderSecondLevel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC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AE,UAAU,CAAC;IACxB,YAAY,EAAE,UAAU,CAAC;IACzB,WAAW,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GACvC,CAAC,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC,CAAC;AA+BjD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,wIAY3B,iBAAiB,sBAiGnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ComponentProps } from "react";
|
|
2
2
|
import { WithTestID } from "../../utils/types";
|
|
3
|
-
import { IOIcons, Icon } from "../icons";
|
|
4
|
-
import { ButtonLink, IconButton } from "../buttons";
|
|
5
3
|
import { Badge } from "../badge";
|
|
4
|
+
import { ButtonLink, IconButton } from "../buttons";
|
|
5
|
+
import { IOIcons, Icon } from "../icons";
|
|
6
6
|
type ButtonLinkActionProps = {
|
|
7
7
|
type: "buttonLink";
|
|
8
8
|
componentProps: ComponentProps<typeof ButtonLink>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ListItemHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;AASpE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGzC,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,cAAc,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CACnD,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAC;IACnB,cAAc,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CACnD,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;CAC9C,CAAC;AAEF,KAAK,SAAS,GACV;IACE,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;CAClD,GACD;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE5C,KAAK,eAAe,GAChB,qBAAqB,GACrB,qBAAqB,GACrB,UAAU,CAAC;AAEf,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC,GACA,SAAS,CAAC;AAIZ,eAAO,MAAM,cAAc,2EAOxB,cAAc,sBAsFhB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemRadioWithAmount.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadioWithAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;CAC/B,GAAG,CACA;IACE,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,GACD;IACE,WAAW,EAAE,IAAI,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CACJ,CAAC;AACF,eAAO,MAAM,uBAAuB,UAC3B,4BAA4B,
|
|
1
|
+
{"version":3,"file":"ListItemRadioWithAmount.d.ts","sourceRoot":"","sources":["../../../../src/components/listitems/ListItemRadioWithAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;CAC/B,GAAG,CACA;IACE,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,GACD;IACE,WAAW,EAAE,IAAI,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CACJ,CAAC;AACF,eAAO,MAAM,uBAAuB,UAC3B,4BAA4B,sBAuCpC,CAAC"}
|
|
@@ -18,6 +18,11 @@ export type ListItemTransaction = WithTestID<PressableBaseProps & {
|
|
|
18
18
|
paymentLogoIcon?: ListItemTransactionLogo;
|
|
19
19
|
subtitle: string;
|
|
20
20
|
title: string;
|
|
21
|
+
/**
|
|
22
|
+
* The maximum number of lines to display for the title.
|
|
23
|
+
* @default 2
|
|
24
|
+
*/
|
|
25
|
+
numberOfLines?: number;
|
|
21
26
|
accessible?: boolean;
|
|
22
27
|
} & ({
|
|
23
28
|
transactionStatus: ListItemTransactionStatusWithoutBadge;
|
|
@@ -28,5 +33,5 @@ export type ListItemTransaction = WithTestID<PressableBaseProps & {
|
|
|
28
33
|
badgeText: string;
|
|
29
34
|
transactionAmount?: string;
|
|
30
35
|
})>;
|
|
31
|
-
export declare const ListItemTransaction: ({ accessibilityLabel, hasChevronRight, isLoading, paymentLogoIcon, onPress, subtitle, testID, title, transactionAmount, badgeText, transactionStatus, accessible }: ListItemTransaction) => React.JSX.Element;
|
|
36
|
+
export declare const ListItemTransaction: ({ accessibilityLabel, hasChevronRight, isLoading, paymentLogoIcon, onPress, subtitle, testID, title, transactionAmount, badgeText, transactionStatus, numberOfLines, accessible }: ListItemTransaction) => React.JSX.Element;
|
|
32
37
|
//# 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;AAehE,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,
|
|
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;AAehE,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;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,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,sLAc7B,mBAAmB,sBAoHrB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type Props = {
|
|
3
|
+
status: "default" | "focus" | "error";
|
|
4
|
+
secret?: boolean;
|
|
5
|
+
value?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const BoxedInput: ({ status, value, secret }: Props) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=BoxedInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoxedInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/BoxedInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAsCF,eAAO,MAAM,UAAU,8BAA+B,KAAK,sBAkB1D,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type Props = {
|
|
3
|
+
value: string;
|
|
4
|
+
onValueChange: (value: string) => void;
|
|
5
|
+
length: number;
|
|
6
|
+
secret?: boolean;
|
|
7
|
+
autocomplete?: boolean;
|
|
8
|
+
onValidate?: (value: string) => boolean;
|
|
9
|
+
errorMessage?: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* `OTPInput` is a component that allows the user to enter a one-time password.
|
|
13
|
+
* It has an hidden `TextInput` that is used to handle the keyboard and the focus.
|
|
14
|
+
* The input handles the autocompletion of the OTP code.
|
|
15
|
+
* @param value - The value of the OTP code
|
|
16
|
+
* @param onValueChange - The function to call when the value changes
|
|
17
|
+
* @param length - The length of the OTP code
|
|
18
|
+
* @param secret - If the OTP code should be hidden
|
|
19
|
+
* @param autocomplete - If the OTP code should be autocompleted
|
|
20
|
+
* @param onValidate - The function to call when the OTP code is validated
|
|
21
|
+
* @param errorMessage - The error message to display
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
export declare const OTPInput: ({ value, onValueChange, length, onValidate, errorMessage, secret, autocomplete }: Props) => React.JSX.Element;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=OTPInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ,qFAQlB,KAAK,sBA6FP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/otpInput/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -79,6 +79,9 @@ export declare const IOPictograms: {
|
|
|
79
79
|
emailDotNotif: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
80
80
|
emailDotCheck: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
81
81
|
biometric: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
82
|
+
eventClose: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
83
|
+
hello: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
84
|
+
comunicationProblem: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
82
85
|
ibanCard: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
83
86
|
followMessage: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
84
87
|
manual: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
@@ -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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AK,GACL,cAAc,GACd,MAAM,GACN,QAAQ,GACR,gBAAgB,EAClB,YAAY,CACb,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE;KAC7B,GAAG,IAAI,iBAAiB,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB,KAAK,GAAG,CAAC,OAAO;CAsCzE,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 PictogramComunicationProblem: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
4
|
+
export default PictogramComunicationProblem;
|
|
5
|
+
//# sourceMappingURL=PictogramComunicationProblem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictogramComunicationProblem.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramComunicationProblem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,QAAA,MAAM,4BAA4B,oCAI/B,iBAAiB,sBAmFnB,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SVGPictogramProps } from "../Pictogram";
|
|
3
|
+
declare const PictogramEventClose: ({ size, colorValues, ...props }: SVGPictogramProps) => React.JSX.Element;
|
|
4
|
+
export default PictogramEventClose;
|
|
5
|
+
//# sourceMappingURL=PictogramEventClose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictogramEventClose.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramEventClose.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,QAAA,MAAM,mBAAmB,oCAItB,iBAAiB,sBAuBnB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PictogramHello.d.ts","sourceRoot":"","sources":["../../../../../src/components/pictograms/svg/PictogramHello.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,QAAA,MAAM,cAAc,oCAAqC,iBAAiB,sBA+CzE,CAAC;AAEF,eAAe,cAAc,CAAC"}
|