@pagopa/io-app-design-system 5.7.0 → 5.7.2
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/README.md +65 -25
- package/lib/commonjs/components/accordion/AccordionItem.js +2 -1
- package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
- package/lib/commonjs/components/alert/Alert.js +5 -4
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/avatar/Avatar.js +2 -1
- package/lib/commonjs/components/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/badge/Badge.js +3 -14
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/banner/Banner.js +6 -5
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/BannerErrorState.js +9 -7
- package/lib/commonjs/components/banner/BannerErrorState.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonLink.js +3 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +3 -2
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +2 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js +2 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/styles.js +45 -44
- package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +2 -1
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +4 -2
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +5 -6
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +2 -2
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +4 -4
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +6 -5
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/commonjs/components/codeInput/CodeInput.js +12 -11
- package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
- package/lib/commonjs/components/featureInfo/FeatureInfo.js +2 -2
- package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/commonjs/components/{layout → headers}/HeaderFirstLevel.js +4 -4
- package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -0
- package/lib/commonjs/components/{layout → headers}/HeaderSecondLevel.js +7 -7
- package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -0
- package/lib/commonjs/components/headers/ModalBSHeader.js.map +1 -0
- package/lib/commonjs/components/headers/README.md +10 -0
- package/lib/commonjs/components/headers/common.js.map +1 -0
- package/lib/commonjs/components/headers/index.js +50 -0
- package/lib/commonjs/components/headers/index.js.map +1 -0
- package/lib/commonjs/components/index.js +22 -44
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -0
- package/lib/commonjs/components/{divider → layout}/Divider.js +4 -3
- package/lib/commonjs/components/layout/Divider.js.map +1 -0
- package/lib/commonjs/components/layout/FooterActions.js +6 -6
- package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActionsInline.js +5 -4
- package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/commonjs/components/layout/GradientBottomActions.js +2 -2
- package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/commonjs/components/layout/README.md +93 -0
- package/lib/commonjs/components/{spacer → layout}/Spacer.js.map +1 -1
- package/lib/commonjs/components/layout/Stack.js.map +1 -0
- package/lib/commonjs/components/layout/index.js +34 -45
- package/lib/commonjs/components/layout/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAction.js +2 -1
- package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js +2 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +5 -4
- package/lib/commonjs/components/listitems/ListItemCheckbox.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/ListItemInfo.js +2 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +2 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +9 -8
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +2 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +7 -7
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +7 -7
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +6 -5
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +6 -5
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +4 -3
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js +6 -5
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js +7 -6
- package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +3 -2
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleIDP.js +4 -3
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +7 -6
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +7 -6
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleStatic.js +6 -5
- package/lib/commonjs/components/modules/ModuleStatic.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleSummary.js +2 -2
- package/lib/commonjs/components/modules/ModuleSummary.js.map +1 -1
- package/lib/commonjs/components/modules/PressableModuleBase.js +2 -1
- package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +3 -2
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberPad.js +3 -4
- package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
- package/lib/commonjs/components/otpInput/BoxedInput.js +7 -7
- package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
- package/lib/commonjs/components/otpInput/OTPInput.js +4 -4
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/pictograms/Pictogram.js +16 -15
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/progressLoader/ProgressLoader.js +2 -2
- package/lib/commonjs/components/progressLoader/ProgressLoader.js.map +1 -1
- package/lib/commonjs/components/radio/AnimatedRadio.js +2 -2
- package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +2 -2
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/radio/RadioGroup.js +3 -3
- package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +3 -2
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/skeleton/IOSkeleton.js +2 -1
- package/lib/commonjs/components/skeleton/IOSkeleton.js.map +1 -1
- package/lib/commonjs/components/stepper/Stepper.js +4 -3
- package/lib/commonjs/components/stepper/Stepper.js.map +1 -1
- package/lib/commonjs/components/switch/NativeSwitch.js +2 -2
- package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +3 -2
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/tag/Tag.js +7 -7
- package/lib/commonjs/components/tag/Tag.js.map +1 -1
- package/lib/commonjs/components/templates/Dismissable.js.map +1 -0
- package/lib/commonjs/components/{layout → templates}/ForceScrollDownView.js +3 -4
- package/lib/commonjs/components/templates/ForceScrollDownView.js.map +1 -0
- package/lib/commonjs/components/templates/README.md +19 -0
- package/lib/commonjs/components/templates/__test__/ForceScrollDownView.test.js.map +1 -0
- package/lib/commonjs/components/templates/index.js +28 -0
- package/lib/commonjs/components/templates/index.js.map +1 -0
- package/lib/commonjs/components/textInput/TextInputBase.js +7 -6
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputValidation.js +2 -2
- package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/commonjs/components/toast/ToastNotification.js +4 -3
- package/lib/commonjs/components/toast/ToastNotification.js.map +1 -1
- package/lib/commonjs/components/toast/ToastProvider.js +2 -2
- package/lib/commonjs/components/toast/ToastProvider.js.map +1 -1
- package/lib/commonjs/components/tooltip/Tooltip.js +6 -5
- package/lib/commonjs/components/tooltip/Tooltip.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +3 -3
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/BodyMonospace.js +2 -2
- package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
- package/lib/commonjs/components/typography/BodySmall.js +3 -3
- package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
- package/lib/commonjs/components/typography/ButtonText.js +2 -2
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/Caption.js +3 -3
- package/lib/commonjs/components/typography/Caption.js.map +1 -1
- package/lib/commonjs/components/typography/H1.js +3 -3
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +3 -3
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +3 -3
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +3 -3
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +3 -3
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +3 -3
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +3 -3
- package/lib/commonjs/components/typography/Hero.js.map +1 -1
- package/lib/commonjs/components/typography/IOText.js +2 -1
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/components/typography/LabelMini.js +3 -3
- package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
- package/lib/commonjs/components/typography/README.md +13 -4
- package/lib/commonjs/components/typography/markdown/MdH1.js +3 -3
- package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH2.js +3 -3
- package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH3.js +3 -3
- package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/commonjs/context/IODSExperimentalContextProvider.js.map +1 -0
- package/lib/commonjs/context/IONewTypefaceContextProvider.js.map +1 -0
- package/lib/commonjs/{core → context}/IOThemeContextProvider.js +1 -1
- package/lib/commonjs/context/IOThemeContextProvider.js.map +1 -0
- package/lib/commonjs/context/README.md +57 -0
- package/lib/commonjs/context/index.js +39 -0
- package/lib/commonjs/context/index.js.map +1 -0
- package/lib/commonjs/core/index.js +0 -33
- package/lib/commonjs/core/index.js.map +1 -1
- package/lib/commonjs/functions/README.md +15 -0
- package/lib/commonjs/hooks/useListItemAnimation.js +2 -1
- package/lib/commonjs/hooks/useListItemAnimation.js.map +1 -1
- package/lib/commonjs/index.js +11 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/testing.js +1 -1
- package/lib/commonjs/utils/testing.js.map +1 -1
- package/lib/module/components/accordion/AccordionItem.js +2 -1
- package/lib/module/components/accordion/AccordionItem.js.map +1 -1
- package/lib/module/components/alert/Alert.js +3 -2
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/avatar/Avatar.js +2 -1
- package/lib/module/components/avatar/Avatar.js.map +1 -1
- package/lib/module/components/badge/Badge.js +2 -13
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/banner/Banner.js +3 -2
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/BannerErrorState.js +6 -4
- package/lib/module/components/banner/BannerErrorState.js.map +1 -1
- package/lib/module/components/buttons/ButtonLink.js +2 -1
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +2 -1
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +2 -1
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IOButton/IOButton.js +2 -1
- package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -1
- package/lib/module/components/buttons/IOButton/styles.js +2 -1
- package/lib/module/components/buttons/IOButton/styles.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +2 -1
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +3 -2
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/checkbox/AnimatedCheckbox.js +3 -4
- package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +1 -1
- package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +4 -4
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/claimsSelector/ClaimsSelector.js +5 -4
- package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/module/components/codeInput/CodeInput.js +3 -2
- package/lib/module/components/codeInput/CodeInput.js.map +1 -1
- package/lib/module/components/featureInfo/FeatureInfo.js +1 -1
- package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/module/components/{layout → headers}/HeaderFirstLevel.js +4 -4
- package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -0
- package/lib/module/components/{layout → headers}/HeaderSecondLevel.js +3 -3
- package/lib/module/components/headers/HeaderSecondLevel.js.map +1 -0
- package/lib/module/components/headers/ModalBSHeader.js.map +1 -0
- package/lib/module/components/headers/README.md +10 -0
- package/lib/module/components/headers/common.js.map +1 -0
- package/lib/module/components/headers/index.js +7 -0
- package/lib/module/components/headers/index.js.map +1 -0
- package/lib/module/components/index.js +2 -4
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/ContentWrapper.js.map +1 -0
- package/lib/module/components/{divider → layout}/Divider.js +3 -2
- package/lib/module/components/layout/Divider.js.map +1 -0
- package/lib/module/components/layout/FooterActions.js +4 -4
- package/lib/module/components/layout/FooterActions.js.map +1 -1
- package/lib/module/components/layout/FooterActionsInline.js +3 -2
- package/lib/module/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/module/components/layout/GradientBottomActions.js +1 -1
- package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/module/components/layout/README.md +93 -0
- package/lib/module/components/{spacer → layout}/Spacer.js.map +1 -1
- package/lib/module/components/layout/Stack.js.map +1 -0
- package/lib/module/components/layout/index.js +4 -5
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemAction.js +2 -1
- package/lib/module/components/listitems/ListItemAction.js.map +1 -1
- package/lib/module/components/listitems/ListItemAmount.js +2 -1
- package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemCheckbox.js +3 -2
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +3 -2
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +2 -1
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +2 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +3 -2
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +2 -1
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +3 -3
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +4 -3
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +3 -2
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +3 -2
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/loadingSpinner/LoadingSpinner.js +2 -1
- package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/module/components/modules/ModuleAttachment.js +3 -2
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCheckout.js +3 -2
- package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +3 -2
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/ModuleIDP.js +2 -1
- package/lib/module/components/modules/ModuleIDP.js.map +1 -1
- package/lib/module/components/modules/ModuleNavigation.js +3 -2
- package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/module/components/modules/ModulePaymentNotice.js +4 -3
- package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/module/components/modules/ModuleStatic.js +4 -3
- package/lib/module/components/modules/ModuleStatic.js.map +1 -1
- package/lib/module/components/modules/ModuleSummary.js +1 -1
- package/lib/module/components/modules/ModuleSummary.js.map +1 -1
- package/lib/module/components/modules/PressableModuleBase.js +2 -1
- package/lib/module/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/module/components/numberpad/NumberButton.js +2 -1
- package/lib/module/components/numberpad/NumberButton.js.map +1 -1
- package/lib/module/components/numberpad/NumberPad.js +1 -2
- package/lib/module/components/numberpad/NumberPad.js.map +1 -1
- package/lib/module/components/otpInput/BoxedInput.js +3 -3
- package/lib/module/components/otpInput/BoxedInput.js.map +1 -1
- package/lib/module/components/otpInput/OTPInput.js +2 -2
- package/lib/module/components/otpInput/OTPInput.js.map +1 -1
- package/lib/module/components/pictograms/Pictogram.js +2 -1
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/progressLoader/ProgressLoader.js +3 -3
- package/lib/module/components/progressLoader/ProgressLoader.js.map +1 -1
- package/lib/module/components/radio/AnimatedRadio.js +1 -1
- package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/module/components/radio/RadioButtonLabel.js +3 -3
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/module/components/radio/RadioGroup.js +1 -1
- package/lib/module/components/radio/RadioGroup.js.map +1 -1
- package/lib/module/components/searchInput/SearchInput.js +2 -1
- package/lib/module/components/searchInput/SearchInput.js.map +1 -1
- package/lib/module/components/skeleton/IOSkeleton.js +2 -1
- package/lib/module/components/skeleton/IOSkeleton.js.map +1 -1
- package/lib/module/components/stepper/Stepper.js +3 -2
- package/lib/module/components/stepper/Stepper.js.map +1 -1
- package/lib/module/components/switch/NativeSwitch.js +1 -1
- package/lib/module/components/switch/NativeSwitch.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +2 -1
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/tag/Tag.js +2 -2
- package/lib/module/components/tag/Tag.js.map +1 -1
- package/lib/module/components/templates/Dismissable.js.map +1 -0
- package/lib/module/components/{layout → templates}/ForceScrollDownView.js +1 -2
- package/lib/module/components/templates/ForceScrollDownView.js.map +1 -0
- package/lib/module/components/templates/README.md +19 -0
- package/lib/module/components/templates/__test__/ForceScrollDownView.test.js.map +1 -0
- package/lib/module/components/templates/index.js +5 -0
- package/lib/module/components/templates/index.js.map +1 -0
- package/lib/module/components/textInput/TextInputBase.js +3 -2
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/textInput/TextInputValidation.js +1 -1
- package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/module/components/toast/ToastNotification.js +3 -2
- package/lib/module/components/toast/ToastNotification.js.map +1 -1
- package/lib/module/components/toast/ToastProvider.js +1 -1
- package/lib/module/components/toast/ToastProvider.js.map +1 -1
- package/lib/module/components/tooltip/Tooltip.js +2 -1
- package/lib/module/components/tooltip/Tooltip.js.map +1 -1
- package/lib/module/components/typography/Body.js +1 -1
- package/lib/module/components/typography/Body.js.map +1 -1
- package/lib/module/components/typography/BodyMonospace.js +1 -1
- package/lib/module/components/typography/BodyMonospace.js.map +1 -1
- package/lib/module/components/typography/BodySmall.js +1 -1
- package/lib/module/components/typography/BodySmall.js.map +1 -1
- package/lib/module/components/typography/ButtonText.js +1 -1
- package/lib/module/components/typography/ButtonText.js.map +1 -1
- package/lib/module/components/typography/Caption.js +1 -1
- package/lib/module/components/typography/Caption.js.map +1 -1
- package/lib/module/components/typography/H1.js +1 -1
- package/lib/module/components/typography/H1.js.map +1 -1
- package/lib/module/components/typography/H2.js +1 -1
- package/lib/module/components/typography/H2.js.map +1 -1
- package/lib/module/components/typography/H3.js +1 -1
- package/lib/module/components/typography/H3.js.map +1 -1
- package/lib/module/components/typography/H4.js +1 -1
- package/lib/module/components/typography/H4.js.map +1 -1
- package/lib/module/components/typography/H5.js +1 -1
- package/lib/module/components/typography/H5.js.map +1 -1
- package/lib/module/components/typography/H6.js +1 -1
- package/lib/module/components/typography/H6.js.map +1 -1
- package/lib/module/components/typography/Hero.js +1 -1
- package/lib/module/components/typography/Hero.js.map +1 -1
- package/lib/module/components/typography/IOText.js +2 -1
- package/lib/module/components/typography/IOText.js.map +1 -1
- package/lib/module/components/typography/LabelMini.js +1 -1
- package/lib/module/components/typography/LabelMini.js.map +1 -1
- package/lib/module/components/typography/README.md +13 -4
- package/lib/module/components/typography/markdown/MdH1.js +1 -1
- package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH2.js +1 -1
- package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH3.js +1 -1
- package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/module/context/IODSExperimentalContextProvider.js.map +1 -0
- package/lib/module/context/IONewTypefaceContextProvider.js.map +1 -0
- package/lib/module/{core → context}/IOThemeContextProvider.js +1 -1
- package/lib/module/context/IOThemeContextProvider.js.map +1 -0
- package/lib/module/context/README.md +57 -0
- package/lib/module/context/index.js +6 -0
- package/lib/module/context/index.js.map +1 -0
- package/lib/module/core/index.js +0 -3
- package/lib/module/core/index.js.map +1 -1
- package/lib/module/functions/README.md +15 -0
- package/lib/module/hooks/useListItemAnimation.js +2 -1
- package/lib/module/hooks/useListItemAnimation.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/testing.js +1 -1
- package/lib/module/utils/testing.js.map +1 -1
- package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/banner/BannerErrorState.d.ts.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/IOButton/styles.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts +1 -2
- 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/featureInfo/FeatureInfo.d.ts.map +1 -1
- package/lib/typescript/components/{layout → headers}/HeaderFirstLevel.d.ts +1 -1
- package/lib/typescript/components/headers/HeaderFirstLevel.d.ts.map +1 -0
- package/lib/typescript/components/headers/HeaderSecondLevel.d.ts.map +1 -0
- package/lib/typescript/components/headers/ModalBSHeader.d.ts.map +1 -0
- package/lib/typescript/components/headers/common.d.ts.map +1 -0
- package/lib/typescript/components/headers/index.d.ts +5 -0
- package/lib/typescript/components/headers/index.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +2 -4
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -0
- package/lib/typescript/components/layout/Divider.d.ts.map +1 -0
- package/lib/typescript/components/layout/FooterActions.d.ts +1 -2
- package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterActionsInline.d.ts +1 -2
- package/lib/typescript/components/layout/FooterActionsInline.d.ts.map +1 -1
- package/lib/typescript/components/{spacer → layout}/Spacer.d.ts.map +1 -1
- package/lib/typescript/components/layout/Stack.d.ts.map +1 -0
- package/lib/typescript/components/layout/index.d.ts +4 -5
- package/lib/typescript/components/layout/index.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemAction.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleAttachment.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCheckout.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleIDP.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModulePaymentNotice.d.ts +1 -1
- package/lib/typescript/components/modules/ModulePaymentNotice.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleStatic.d.ts +1 -1
- package/lib/typescript/components/modules/ModuleStatic.d.ts.map +1 -1
- package/lib/typescript/components/modules/PressableModuleBase.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
- package/lib/typescript/components/otpInput/BoxedInput.d.ts +1 -1
- package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/progressLoader/ProgressLoader.d.ts +1 -1
- package/lib/typescript/components/progressLoader/ProgressLoader.d.ts.map +1 -1
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts +1 -2
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
- package/lib/typescript/components/searchInput/SearchInput.d.ts.map +1 -1
- package/lib/typescript/components/skeleton/IOSkeleton.d.ts.map +1 -1
- package/lib/typescript/components/stepper/Stepper.d.ts +1 -1
- package/lib/typescript/components/stepper/Stepper.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/tag/Tag.d.ts.map +1 -1
- package/lib/typescript/components/templates/Dismissable.d.ts.map +1 -0
- package/lib/typescript/components/{layout → templates}/ForceScrollDownView.d.ts +1 -1
- package/lib/typescript/components/templates/ForceScrollDownView.d.ts.map +1 -0
- package/lib/typescript/components/templates/__test__/ForceScrollDownView.test.d.ts.map +1 -0
- package/lib/typescript/components/templates/index.d.ts +3 -0
- package/lib/typescript/components/templates/index.d.ts.map +1 -0
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/lib/typescript/components/toast/ToastNotification.d.ts.map +1 -1
- package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -1
- package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
- package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
- package/lib/typescript/context/IODSExperimentalContextProvider.d.ts.map +1 -0
- package/lib/typescript/context/IONewTypefaceContextProvider.d.ts.map +1 -0
- package/lib/typescript/{core → context}/IOThemeContextProvider.d.ts +1 -1
- package/lib/typescript/context/IOThemeContextProvider.d.ts.map +1 -0
- package/lib/typescript/context/index.d.ts +4 -0
- package/lib/typescript/context/index.d.ts.map +1 -0
- package/lib/typescript/core/index.d.ts +0 -3
- package/lib/typescript/core/index.d.ts.map +1 -1
- package/lib/typescript/hooks/useListItemAnimation.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +1 -23
- package/src/components/accordion/AccordionItem.tsx +2 -1
- package/src/components/alert/Alert.tsx +4 -3
- package/src/components/avatar/Avatar.tsx +2 -2
- package/src/components/badge/Badge.tsx +2 -15
- package/src/components/banner/Banner.tsx +3 -8
- package/src/components/banner/BannerErrorState.tsx +6 -11
- package/src/components/buttons/ButtonLink.tsx +2 -3
- package/src/components/buttons/ButtonOutline.tsx +2 -7
- package/src/components/buttons/ButtonSolid.tsx +2 -2
- package/src/components/buttons/IOButton/IOButton.tsx +2 -2
- package/src/components/buttons/IOButton/styles.tsx +2 -1
- package/src/components/buttons/IconButton.tsx +2 -2
- package/src/components/buttons/IconButtonSolid.tsx +3 -2
- package/src/components/checkbox/AnimatedCheckbox.tsx +3 -4
- package/src/components/checkbox/AnimatedMessageCheckbox.tsx +1 -1
- package/src/components/checkbox/CheckboxLabel.tsx +4 -8
- package/src/components/claimsSelector/ClaimsSelector.tsx +5 -5
- package/src/components/codeInput/CodeInput.tsx +3 -2
- package/src/components/featureInfo/FeatureInfo.tsx +2 -1
- package/src/components/{layout → headers}/HeaderFirstLevel.tsx +4 -5
- package/src/components/{layout → headers}/HeaderSecondLevel.tsx +3 -5
- package/src/components/headers/README.md +10 -0
- package/src/components/headers/index.tsx +4 -0
- package/src/components/index.tsx +2 -4
- package/src/components/{divider → layout}/Divider.tsx +3 -2
- package/src/components/layout/FooterActions.tsx +4 -5
- package/src/components/layout/FooterActionsInline.tsx +3 -5
- package/src/components/layout/GradientBottomActions.tsx +1 -1
- package/src/components/layout/README.md +93 -0
- package/src/components/layout/index.tsx +4 -5
- package/src/components/listitems/ListItemAction.tsx +2 -6
- package/src/components/listitems/ListItemAmount.tsx +2 -2
- package/src/components/listitems/ListItemCheckbox.tsx +3 -3
- package/src/components/listitems/ListItemHeader.tsx +3 -3
- package/src/components/listitems/ListItemInfo.tsx +2 -5
- package/src/components/listitems/ListItemInfoCopy.tsx +2 -5
- package/src/components/listitems/ListItemNav.tsx +3 -3
- package/src/components/listitems/ListItemNavAlert.tsx +2 -5
- package/src/components/listitems/ListItemRadio.tsx +3 -4
- package/src/components/listitems/ListItemRadioWithAmount.tsx +4 -3
- package/src/components/listitems/ListItemSwitch.tsx +3 -3
- package/src/components/listitems/ListItemTransaction.tsx +3 -4
- package/src/components/loadingSpinner/LoadingSpinner.tsx +2 -1
- package/src/components/modules/ModuleAttachment.tsx +3 -2
- package/src/components/modules/ModuleCheckout.tsx +3 -6
- package/src/components/modules/ModuleCredential.tsx +3 -3
- package/src/components/modules/ModuleIDP.tsx +2 -6
- package/src/components/modules/ModuleNavigation.tsx +3 -3
- package/src/components/modules/ModulePaymentNotice.tsx +4 -3
- package/src/components/modules/ModuleStatic.tsx +4 -3
- package/src/components/modules/ModuleSummary.tsx +1 -1
- package/src/components/modules/PressableModuleBase.tsx +2 -6
- package/src/components/numberpad/NumberButton.tsx +2 -1
- package/src/components/numberpad/NumberPad.tsx +1 -2
- package/src/components/otpInput/BoxedInput.tsx +3 -3
- package/src/components/otpInput/OTPInput.tsx +2 -2
- package/src/components/pictograms/Pictogram.tsx +2 -1
- package/src/components/progressLoader/ProgressLoader.tsx +3 -3
- package/src/components/radio/AnimatedRadio.tsx +1 -1
- package/src/components/radio/RadioButtonLabel.tsx +3 -3
- package/src/components/radio/RadioGroup.tsx +1 -1
- package/src/components/searchInput/SearchInput.tsx +2 -7
- package/src/components/skeleton/IOSkeleton.tsx +2 -1
- package/src/components/stepper/Stepper.tsx +3 -2
- package/src/components/switch/NativeSwitch.tsx +1 -1
- package/src/components/tabs/TabItem.tsx +2 -7
- package/src/components/tag/Tag.tsx +5 -8
- package/src/components/{layout → templates}/ForceScrollDownView.tsx +1 -2
- package/src/components/templates/README.md +19 -0
- package/src/components/templates/index.tsx +2 -0
- package/src/components/textInput/TextInputBase.tsx +3 -8
- package/src/components/textInput/TextInputValidation.tsx +1 -1
- package/src/components/toast/ToastNotification.tsx +3 -7
- package/src/components/toast/ToastProvider.tsx +1 -1
- package/src/components/tooltip/Tooltip.tsx +2 -1
- package/src/components/typography/Body.tsx +1 -1
- package/src/components/typography/BodyMonospace.tsx +1 -1
- package/src/components/typography/BodySmall.tsx +1 -1
- package/src/components/typography/ButtonText.tsx +2 -1
- package/src/components/typography/Caption.tsx +1 -1
- package/src/components/typography/H1.tsx +1 -1
- package/src/components/typography/H2.tsx +1 -1
- package/src/components/typography/H3.tsx +1 -1
- package/src/components/typography/H4.tsx +1 -1
- package/src/components/typography/H5.tsx +1 -1
- package/src/components/typography/H6.tsx +1 -1
- package/src/components/typography/Hero.tsx +1 -1
- package/src/components/typography/IOText.tsx +2 -1
- package/src/components/typography/LabelMini.tsx +1 -1
- package/src/components/typography/README.md +13 -4
- package/src/components/typography/markdown/MdH1.tsx +1 -1
- package/src/components/typography/markdown/MdH2.tsx +1 -1
- package/src/components/typography/markdown/MdH3.tsx +1 -1
- package/src/{core → context}/IOThemeContextProvider.tsx +1 -1
- package/src/context/README.md +57 -0
- package/src/context/index.ts +3 -0
- package/src/core/index.ts +0 -3
- package/src/functions/README.md +15 -0
- package/src/hooks/useListItemAnimation.tsx +2 -1
- package/src/index.tsx +1 -0
- package/src/utils/testing.tsx +1 -1
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +0 -1
- package/lib/commonjs/components/contentWrapper/index.js +0 -17
- package/lib/commonjs/components/contentWrapper/index.js.map +0 -1
- package/lib/commonjs/components/divider/Divider.js.map +0 -1
- package/lib/commonjs/components/divider/index.js +0 -17
- package/lib/commonjs/components/divider/index.js.map +0 -1
- package/lib/commonjs/components/layout/Dismissable.js.map +0 -1
- package/lib/commonjs/components/layout/ForceScrollDownView.js.map +0 -1
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +0 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +0 -1
- package/lib/commonjs/components/layout/ModalBSHeader.js.map +0 -1
- package/lib/commonjs/components/layout/__test__/ForceScrollDownView.test.js.map +0 -1
- package/lib/commonjs/components/layout/common.js.map +0 -1
- package/lib/commonjs/components/spacer/index.js +0 -17
- package/lib/commonjs/components/spacer/index.js.map +0 -1
- package/lib/commonjs/components/stack/Stack.js.map +0 -1
- package/lib/commonjs/components/stack/index.js +0 -17
- package/lib/commonjs/components/stack/index.js.map +0 -1
- package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +0 -1
- package/lib/commonjs/core/IONewTypefaceContextProvider.js.map +0 -1
- package/lib/commonjs/core/IOThemeContextProvider.js.map +0 -1
- package/lib/module/components/contentWrapper/ContentWrapper.js.map +0 -1
- package/lib/module/components/contentWrapper/index.js +0 -4
- package/lib/module/components/contentWrapper/index.js.map +0 -1
- package/lib/module/components/divider/Divider.js.map +0 -1
- package/lib/module/components/divider/index.js +0 -4
- package/lib/module/components/divider/index.js.map +0 -1
- package/lib/module/components/layout/Dismissable.js.map +0 -1
- package/lib/module/components/layout/ForceScrollDownView.js.map +0 -1
- package/lib/module/components/layout/HeaderFirstLevel.js.map +0 -1
- package/lib/module/components/layout/HeaderSecondLevel.js.map +0 -1
- package/lib/module/components/layout/ModalBSHeader.js.map +0 -1
- package/lib/module/components/layout/__test__/ForceScrollDownView.test.js.map +0 -1
- package/lib/module/components/layout/common.js.map +0 -1
- package/lib/module/components/spacer/index.js +0 -4
- package/lib/module/components/spacer/index.js.map +0 -1
- package/lib/module/components/stack/Stack.js.map +0 -1
- package/lib/module/components/stack/index.js +0 -4
- package/lib/module/components/stack/index.js.map +0 -1
- package/lib/module/core/IODSExperimentalContextProvider.js.map +0 -1
- package/lib/module/core/IONewTypefaceContextProvider.js.map +0 -1
- package/lib/module/core/IOThemeContextProvider.js.map +0 -1
- package/lib/typescript/components/contentWrapper/ContentWrapper.d.ts.map +0 -1
- package/lib/typescript/components/contentWrapper/index.d.ts +0 -2
- package/lib/typescript/components/contentWrapper/index.d.ts.map +0 -1
- package/lib/typescript/components/divider/Divider.d.ts.map +0 -1
- package/lib/typescript/components/divider/index.d.ts +0 -2
- package/lib/typescript/components/divider/index.d.ts.map +0 -1
- package/lib/typescript/components/layout/Dismissable.d.ts.map +0 -1
- package/lib/typescript/components/layout/ForceScrollDownView.d.ts.map +0 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +0 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +0 -1
- package/lib/typescript/components/layout/ModalBSHeader.d.ts.map +0 -1
- package/lib/typescript/components/layout/__test__/ForceScrollDownView.test.d.ts.map +0 -1
- package/lib/typescript/components/layout/common.d.ts.map +0 -1
- package/lib/typescript/components/spacer/index.d.ts +0 -2
- package/lib/typescript/components/spacer/index.d.ts.map +0 -1
- package/lib/typescript/components/stack/Stack.d.ts.map +0 -1
- package/lib/typescript/components/stack/index.d.ts +0 -2
- package/lib/typescript/components/stack/index.d.ts.map +0 -1
- package/lib/typescript/core/IODSExperimentalContextProvider.d.ts.map +0 -1
- package/lib/typescript/core/IONewTypefaceContextProvider.d.ts.map +0 -1
- package/lib/typescript/core/IOThemeContextProvider.d.ts.map +0 -1
- package/src/components/contentWrapper/index.tsx +0 -1
- package/src/components/divider/index.tsx +0 -1
- package/src/components/spacer/index.tsx +0 -1
- package/src/components/stack/index.tsx +0 -1
- /package/lib/commonjs/components/{layout → headers}/ModalBSHeader.js +0 -0
- /package/lib/commonjs/components/{layout → headers}/common.js +0 -0
- /package/lib/commonjs/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
- /package/lib/commonjs/components/{spacer → layout}/Spacer.js +0 -0
- /package/lib/commonjs/components/{stack → layout}/Stack.js +0 -0
- /package/lib/commonjs/components/{layout → templates}/Dismissable.js +0 -0
- /package/lib/commonjs/components/{layout → templates}/__test__/ForceScrollDownView.test.js +0 -0
- /package/lib/commonjs/components/{layout → templates}/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +0 -0
- /package/lib/commonjs/{core → context}/IODSExperimentalContextProvider.js +0 -0
- /package/lib/commonjs/{core → context}/IONewTypefaceContextProvider.js +0 -0
- /package/lib/module/components/{layout → headers}/ModalBSHeader.js +0 -0
- /package/lib/module/components/{layout → headers}/common.js +0 -0
- /package/lib/module/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
- /package/lib/module/components/{spacer → layout}/Spacer.js +0 -0
- /package/lib/module/components/{stack → layout}/Stack.js +0 -0
- /package/lib/module/components/{layout → templates}/Dismissable.js +0 -0
- /package/lib/module/components/{layout → templates}/__test__/ForceScrollDownView.test.js +0 -0
- /package/lib/module/components/{layout → templates}/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +0 -0
- /package/lib/module/{core → context}/IODSExperimentalContextProvider.js +0 -0
- /package/lib/module/{core → context}/IONewTypefaceContextProvider.js +0 -0
- /package/lib/typescript/components/{layout → headers}/HeaderSecondLevel.d.ts +0 -0
- /package/lib/typescript/components/{layout → headers}/ModalBSHeader.d.ts +0 -0
- /package/lib/typescript/components/{layout → headers}/common.d.ts +0 -0
- /package/lib/typescript/components/{contentWrapper → layout}/ContentWrapper.d.ts +0 -0
- /package/lib/typescript/components/{divider → layout}/Divider.d.ts +0 -0
- /package/lib/typescript/components/{spacer → layout}/Spacer.d.ts +0 -0
- /package/lib/typescript/components/{stack → layout}/Stack.d.ts +0 -0
- /package/lib/typescript/components/{layout → templates}/Dismissable.d.ts +0 -0
- /package/lib/typescript/components/{layout → templates}/__test__/ForceScrollDownView.test.d.ts +0 -0
- /package/lib/typescript/{core → context}/IODSExperimentalContextProvider.d.ts +0 -0
- /package/lib/typescript/{core → context}/IONewTypefaceContextProvider.d.ts +0 -0
- /package/src/components/{layout → headers}/ModalBSHeader.tsx +0 -0
- /package/src/components/{layout → headers}/common.ts +0 -0
- /package/src/components/{contentWrapper → layout}/ContentWrapper.tsx +0 -0
- /package/src/components/{spacer → layout}/Spacer.tsx +0 -0
- /package/src/components/{stack → layout}/Stack.tsx +0 -0
- /package/src/components/{layout → templates}/Dismissable.tsx +0 -0
- /package/src/components/{layout → templates}/__test__/ForceScrollDownView.test.tsx +0 -0
- /package/src/components/{layout → templates}/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +0 -0
- /package/src/{core → context}/IODSExperimentalContextProvider.tsx +0 -0
- /package/src/{core → context}/IONewTypefaceContextProvider.tsx +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { ColorValue, StyleSheet, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
-
import {
|
|
4
|
+
import { useIOThemeContext } from "../../context";
|
|
5
|
+
import { hexToRgba, IOColors } from "../../core/IOColors";
|
|
5
6
|
import { triggerHaptic } from "../../functions";
|
|
6
7
|
import { useErrorShakeAnimation } from "../../utils/hooks/useErrorShakeAnimation";
|
|
7
|
-
import { HStack } from "../
|
|
8
|
+
import { HStack } from "../layout";
|
|
8
9
|
|
|
9
10
|
type CodeInputProps = {
|
|
10
11
|
value: string;
|
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
Pictogram,
|
|
12
12
|
VStack
|
|
13
13
|
} from "../../components";
|
|
14
|
-
import {
|
|
14
|
+
import { useIOTheme } from "../../context";
|
|
15
|
+
import { IOColors } from "../../core/IOColors";
|
|
15
16
|
|
|
16
17
|
type PartialFeatureInfo = {
|
|
17
18
|
// Necessary to render main body with different formatting
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { createRef, useEffect, useLayoutEffect } from "react";
|
|
1
|
+
import React, { createRef, useEffect, useLayoutEffect } from "react";
|
|
3
2
|
import {
|
|
4
3
|
AccessibilityInfo,
|
|
5
4
|
findNodeHandle,
|
|
@@ -14,15 +13,15 @@ import Animated, {
|
|
|
14
13
|
withTiming
|
|
15
14
|
} from "react-native-reanimated";
|
|
16
15
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|
16
|
+
import { useIOTheme } from "../../context";
|
|
17
17
|
import {
|
|
18
18
|
alertEdgeToEdgeInsetTransitionConfig,
|
|
19
19
|
IOColors,
|
|
20
|
-
IOVisualCostants
|
|
21
|
-
useIOTheme
|
|
20
|
+
IOVisualCostants
|
|
22
21
|
} from "../../core";
|
|
23
22
|
import { WithTestID } from "../../utils/types";
|
|
24
23
|
import { IconButton } from "../buttons";
|
|
25
|
-
import { HStack } from "../
|
|
24
|
+
import { HStack } from "../layout";
|
|
26
25
|
import { H2 } from "../typography";
|
|
27
26
|
import { HeaderActionProps } from "./common";
|
|
28
27
|
|
|
@@ -23,6 +23,7 @@ import Animated, {
|
|
|
23
23
|
withTiming
|
|
24
24
|
} from "react-native-reanimated";
|
|
25
25
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|
26
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
26
27
|
import {
|
|
27
28
|
IOColors,
|
|
28
29
|
IOSpringValues,
|
|
@@ -31,15 +32,12 @@ import {
|
|
|
31
32
|
IOVisualCostants,
|
|
32
33
|
alertEdgeToEdgeInsetTransitionConfig,
|
|
33
34
|
hexToRgba,
|
|
34
|
-
iconBtnSizeSmall
|
|
35
|
-
useIONewTypeface,
|
|
36
|
-
useIOTheme
|
|
35
|
+
iconBtnSizeSmall
|
|
37
36
|
} from "../../core";
|
|
38
37
|
import type { IOSpacer, IOSpacingScale } from "../../core/IOSpacing";
|
|
39
38
|
import { WithTestID } from "../../utils/types";
|
|
40
39
|
import IconButton from "../buttons/IconButton";
|
|
41
|
-
import { HSpacer } from "../
|
|
42
|
-
import { HStack } from "../stack";
|
|
40
|
+
import { HSpacer, HStack } from "../layout";
|
|
43
41
|
import { IOText } from "../typography";
|
|
44
42
|
import { HeaderActionProps } from "./common";
|
|
45
43
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Headers
|
|
2
|
+
|
|
3
|
+
There are different variants of header components that can be integrated into your screens:
|
|
4
|
+
* `HeaderFirstLevel` for the main sections
|
|
5
|
+
* `HeaderSecondLevel` for the secondary screens
|
|
6
|
+
* `ModalBSHeader`: for modals and/or bottom sheets. The title is usually placed on the left side, while the close button is on the right.
|
|
7
|
+
|
|
8
|
+
These headers have been developed to work properly alongside the [react-navigation](https://github.com/react-navigation/react-navigation) library.
|
|
9
|
+
|
|
10
|
+
The adoption of these headers has been documented on a [specific documentation page](https://pagopa.atlassian.net/wiki/spaces/IP/pages/805634170/Come+integrare+l+header+nelle+pagine+di+secondo+livello) (_disclaimer:_ for internal use only).
|
package/src/components/index.tsx
CHANGED
|
@@ -7,12 +7,11 @@ export * from "./buttons";
|
|
|
7
7
|
export * from "./checkbox";
|
|
8
8
|
export * from "./claimsSelector";
|
|
9
9
|
export * from "./codeInput";
|
|
10
|
-
export * from "./contentWrapper";
|
|
11
|
-
export * from "./divider";
|
|
12
10
|
export * from "./featureInfo";
|
|
13
11
|
export * from "./icons";
|
|
14
12
|
export * from "./image";
|
|
15
13
|
export * from "./layout";
|
|
14
|
+
export * from "./headers";
|
|
16
15
|
export * from "./listitems";
|
|
17
16
|
export * from "./loadingSpinner";
|
|
18
17
|
export * from "./logos";
|
|
@@ -24,13 +23,12 @@ export * from "./progressLoader";
|
|
|
24
23
|
export * from "./radio";
|
|
25
24
|
export * from "./searchInput";
|
|
26
25
|
export * from "./skeleton";
|
|
27
|
-
export * from "./spacer";
|
|
28
|
-
export * from "./stack";
|
|
29
26
|
export * from "./stepper";
|
|
30
27
|
export * from "./switch";
|
|
31
28
|
export * from "./tabs";
|
|
32
29
|
export * from "./tag";
|
|
33
30
|
export * from "./textInput";
|
|
31
|
+
export * from "./templates";
|
|
34
32
|
export * from "./toast";
|
|
35
33
|
export * from "./tooltip";
|
|
36
34
|
export * from "./typography";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { StyleSheet, View } from "react-native";
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOColors } from "../../core/IOColors";
|
|
4
5
|
|
|
5
6
|
const DEFAULT_BORDER_SIZE = StyleSheet.hairlineWidth;
|
|
6
7
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Fragment, PropsWithChildren, useState } from "react";
|
|
1
|
+
import React, { Fragment, PropsWithChildren, useState } from "react";
|
|
3
2
|
import {
|
|
4
3
|
ColorValue,
|
|
5
4
|
LayoutChangeEvent,
|
|
@@ -10,14 +9,14 @@ import {
|
|
|
10
9
|
ViewStyle
|
|
11
10
|
} from "react-native";
|
|
12
11
|
import Animated from "react-native-reanimated";
|
|
12
|
+
import { useIOTheme } from "../../context";
|
|
13
13
|
import {
|
|
14
14
|
IOColors,
|
|
15
15
|
IOSpacer,
|
|
16
16
|
IOSpacing,
|
|
17
17
|
IOVisualCostants,
|
|
18
18
|
buttonSolidHeight,
|
|
19
|
-
hexToRgba
|
|
20
|
-
useIOTheme
|
|
19
|
+
hexToRgba
|
|
21
20
|
} from "../../core";
|
|
22
21
|
import { WithTestID } from "../../utils/types";
|
|
23
22
|
import {
|
|
@@ -25,7 +24,7 @@ import {
|
|
|
25
24
|
IOButtonBlockSpecificProps,
|
|
26
25
|
IOButtonLinkSpecificProps
|
|
27
26
|
} from "../buttons";
|
|
28
|
-
import { VSpacer } from "
|
|
27
|
+
import { VSpacer } from "./Spacer";
|
|
29
28
|
import { useBottomMargins } from "./hooks/useBottomMargins";
|
|
30
29
|
|
|
31
30
|
type IOButtonBlockProps = Omit<
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { PropsWithChildren } from "react";
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
3
2
|
import { ColorValue, LayoutChangeEvent, StyleSheet, View } from "react-native";
|
|
3
|
+
import { useIOTheme, useIOThemeContext } from "../../context";
|
|
4
4
|
import {
|
|
5
5
|
IOColors,
|
|
6
6
|
IOSpacer,
|
|
7
7
|
IOSpacing,
|
|
8
8
|
IOSpacingScale,
|
|
9
|
-
IOVisualCostants
|
|
10
|
-
useIOTheme,
|
|
11
|
-
useIOThemeContext
|
|
9
|
+
IOVisualCostants
|
|
12
10
|
} from "../../core";
|
|
13
11
|
import { WithTestID } from "../../utils/types";
|
|
14
12
|
import { IOButton, IOButtonBlockSpecificProps } from "../buttons";
|
|
@@ -6,7 +6,7 @@ import Animated, { AnimatedStyle } from "react-native-reanimated";
|
|
|
6
6
|
import { IOColors, IOSpacer, IOVisualCostants, hexToRgba } from "../../core";
|
|
7
7
|
import { WithTestID } from "../../utils/types";
|
|
8
8
|
import { IOButton, IOButtonProps } from "../buttons";
|
|
9
|
-
import { VSpacer } from "
|
|
9
|
+
import { VSpacer } from "./Spacer";
|
|
10
10
|
|
|
11
11
|
type PrimaryActionProps = Extract<
|
|
12
12
|
IOButtonProps,
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Layout
|
|
2
|
+
|
|
3
|
+
Different layout components are available to help with screen composition:
|
|
4
|
+
* **`ContentWrapper`**: a basic `View` component with horizontal spacing applied to all screens by default. It is used to wrap the main content.
|
|
5
|
+
* **Stack**: `VStack` and `HStack` are used to add **uniform** vertical and horizontal spacing between components, respectively. They take advantage of the `flex` properties combined with the new `gap` property.
|
|
6
|
+
* **Spacer**: `VSpacer` and `HSpacer` are used to add **not-uniform** vertical and horizontal spacing between components, respectively. They are defined as `View` components with a fixed height or width.
|
|
7
|
+
* **`Divider`**: used to add a divider between screen blocks.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
### `ContentWrapper`
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
import { ContentWrapper } from '@pagopa/io-app-design-system';
|
|
15
|
+
|
|
16
|
+
const Component = () => (
|
|
17
|
+
<ContentWrapper>
|
|
18
|
+
{/* […] */}
|
|
19
|
+
</ContentWrapper>
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
const ComponentWithLargerMargin = () => (
|
|
23
|
+
<ContentWrapper margin={24}>
|
|
24
|
+
{/* […] */}
|
|
25
|
+
</ContentWrapper>
|
|
26
|
+
);
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### `VStack` and `HStack`
|
|
30
|
+
|
|
31
|
+
In the example below, the inner components are arranged with an equal uniform vertical space of 16 between them.
|
|
32
|
+
|
|
33
|
+
```jsx
|
|
34
|
+
import { VStack } from '@pagopa/io-app-design-system';
|
|
35
|
+
|
|
36
|
+
const ComponentWithInnerSpacing = () => (
|
|
37
|
+
<VStack space={16}>
|
|
38
|
+
{/* […] */}
|
|
39
|
+
</VStack>
|
|
40
|
+
);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### `VSpacer` and `HSpacer`
|
|
44
|
+
|
|
45
|
+
```jsx
|
|
46
|
+
import { VSpacer, HSpacer } from '@pagopa/io-app-design-system';
|
|
47
|
+
|
|
48
|
+
const Component = () => (
|
|
49
|
+
<View>
|
|
50
|
+
{/* […] */}
|
|
51
|
+
<VSpacer space={8} />
|
|
52
|
+
{/* […] */}
|
|
53
|
+
<VSpacer space={16} />
|
|
54
|
+
{/* […] */}
|
|
55
|
+
</View>
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
const ComponentWithHSpacer = () => (
|
|
59
|
+
<View style={{
|
|
60
|
+
flexDirection: 'row'
|
|
61
|
+
}}>
|
|
62
|
+
{/* […] */}
|
|
63
|
+
<HSpacer />
|
|
64
|
+
{/* […] */}
|
|
65
|
+
</ View>
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### `Divider`
|
|
70
|
+
|
|
71
|
+
```jsx
|
|
72
|
+
import { Divider } from '@pagopa/io-app-design-system';
|
|
73
|
+
|
|
74
|
+
const Component = () => (
|
|
75
|
+
<Screen>
|
|
76
|
+
{/* [First block] */}
|
|
77
|
+
<Divider />
|
|
78
|
+
{/* [Second block] */}
|
|
79
|
+
</Screen>
|
|
80
|
+
);
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Frequently Asked Questions
|
|
84
|
+
|
|
85
|
+
### I need to add space between the components. Should I use `Stack` or `Spacer` components?
|
|
86
|
+
|
|
87
|
+
The `gap` property, on which the `Stack` components are based, is handled directly by React Native's layout engine. This means that:
|
|
88
|
+
- Native-level spacing calculation
|
|
89
|
+
- Better memory efficiency
|
|
90
|
+
- Faster layout computation
|
|
91
|
+
|
|
92
|
+
Unless you need to create a lot of nested `Stack` containers to reflect the design specs, you should probably use `Stack` instead of `Spacer`.
|
|
93
|
+
`Spacer` components are still available because they can be useful in specific edge cases.
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
export * from "./ContentWrapper";
|
|
2
|
+
export * from "./Divider";
|
|
1
3
|
export * from "./FooterActions";
|
|
2
4
|
export * from "./FooterActionsInline";
|
|
3
|
-
export * from "./ForceScrollDownView";
|
|
4
5
|
export * from "./GradientBottomActions";
|
|
5
6
|
export * from "./GradientScrollView";
|
|
6
|
-
export * from "./HeaderFirstLevel";
|
|
7
|
-
export * from "./HeaderSecondLevel";
|
|
8
|
-
export * from "./ModalBSHeader";
|
|
9
|
-
export * from "./common";
|
|
10
7
|
export * from "./hooks";
|
|
8
|
+
export * from "./Spacer";
|
|
9
|
+
export * from "./Stack";
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import React, { ComponentProps, useMemo } from "react";
|
|
2
2
|
import { GestureResponderEvent, Pressable, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
IOListItemStyles,
|
|
7
|
-
IOListItemVisualParams,
|
|
8
|
-
useIOTheme
|
|
9
|
-
} from "../../core";
|
|
4
|
+
import { useIOTheme } from "../../context";
|
|
5
|
+
import { IOColors, IOListItemStyles, IOListItemVisualParams } from "../../core";
|
|
10
6
|
import { useListItemAnimation } from "../../hooks";
|
|
11
7
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
12
8
|
import { WithTestID } from "../../utils/types";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { ComponentProps, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
3
4
|
import {
|
|
4
5
|
IOListItemStyles,
|
|
5
6
|
IOListItemVisualParams,
|
|
6
|
-
IOSpacingScale
|
|
7
|
-
useIOTheme
|
|
7
|
+
IOSpacingScale
|
|
8
8
|
} from "../../core";
|
|
9
9
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
10
10
|
import { WithTestID } from "../../utils/types";
|
|
@@ -3,17 +3,17 @@ import { useState } from "react";
|
|
|
3
3
|
import { Pressable, View } from "react-native";
|
|
4
4
|
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
5
5
|
import Animated from "react-native-reanimated";
|
|
6
|
+
import { useIOTheme } from "../../context";
|
|
6
7
|
import {
|
|
7
8
|
IOSelectionListItemStyles,
|
|
8
9
|
IOSelectionListItemVisualParams,
|
|
9
|
-
IOSelectionTickVisualParams
|
|
10
|
-
useIOTheme
|
|
10
|
+
IOSelectionTickVisualParams
|
|
11
11
|
} from "../../core";
|
|
12
12
|
import { useListItemAnimation } from "../../hooks";
|
|
13
13
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
14
14
|
import { AnimatedCheckbox } from "../checkbox/AnimatedCheckbox";
|
|
15
15
|
import { IOIcons, Icon } from "../icons";
|
|
16
|
-
import { HSpacer, VSpacer } from "../
|
|
16
|
+
import { HSpacer, VSpacer } from "../layout";
|
|
17
17
|
import { BodySmall, H6 } from "../typography";
|
|
18
18
|
|
|
19
19
|
type Props = {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React, { ComponentProps, useCallback, useMemo } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
3
4
|
import {
|
|
4
5
|
IOListItemStyles,
|
|
5
6
|
IOListItemVisualParams,
|
|
6
7
|
IOSelectionListItemVisualParams,
|
|
7
8
|
IOSpacingScale,
|
|
8
|
-
IOVisualCostants
|
|
9
|
-
useIOTheme
|
|
9
|
+
IOVisualCostants
|
|
10
10
|
} from "../../core";
|
|
11
11
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
12
12
|
import { WithTestID } from "../../utils/types";
|
|
13
13
|
import { Badge } from "../badge";
|
|
14
14
|
import { ButtonLink, IconButton } from "../buttons";
|
|
15
15
|
import { IOIcons, Icon } from "../icons";
|
|
16
|
-
import { VSpacer } from "../
|
|
16
|
+
import { VSpacer } from "../layout";
|
|
17
17
|
import { BodySmall, H6 } from "../typography";
|
|
18
18
|
|
|
19
19
|
type ButtonLinkActionProps = {
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React, { ComponentProps, ReactNode, useCallback, useMemo } from "react";
|
|
2
2
|
import { AccessibilityRole, Platform, Pressable, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
IOListItemVisualParams,
|
|
7
|
-
useIOTheme
|
|
8
|
-
} from "../../core";
|
|
4
|
+
import { IOListItemStyles, IOListItemVisualParams } from "../../core";
|
|
5
|
+
import { useIOTheme } from "../../context";
|
|
9
6
|
import { useListItemAnimation } from "../../hooks";
|
|
10
7
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
11
8
|
import { WithTestID } from "../../utils/types";
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React, { ComponentProps, useMemo } from "react";
|
|
2
2
|
import { GestureResponderEvent, Pressable, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
IOListItemVisualParams,
|
|
7
|
-
useIOTheme
|
|
8
|
-
} from "../../core";
|
|
4
|
+
import { IOListItemStyles, IOListItemVisualParams } from "../../core";
|
|
5
|
+
import { useIOTheme } from "../../context";
|
|
9
6
|
import { useListItemAnimation } from "../../hooks";
|
|
10
7
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
11
8
|
import { WithTestID } from "../../utils/types";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React, { ComponentProps } from "react";
|
|
2
2
|
import { GestureResponderEvent, Image, Pressable, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
+
import { useIOTheme } from "../../context";
|
|
4
5
|
import {
|
|
5
6
|
IOColors,
|
|
6
7
|
IOListItemStyles,
|
|
7
8
|
IOListItemVisualParams,
|
|
8
9
|
IOSelectionListItemVisualParams,
|
|
9
10
|
IOSpacer,
|
|
10
|
-
IOVisualCostants
|
|
11
|
-
useIOTheme
|
|
11
|
+
IOVisualCostants
|
|
12
12
|
} from "../../core";
|
|
13
13
|
import { useListItemAnimation } from "../../hooks";
|
|
14
14
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
@@ -16,8 +16,8 @@ import { WithTestID } from "../../utils/types";
|
|
|
16
16
|
import { Avatar } from "../avatar";
|
|
17
17
|
import { Badge } from "../badge";
|
|
18
18
|
import { IOIcons, Icon } from "../icons";
|
|
19
|
+
import { HSpacer, VSpacer } from "../layout";
|
|
19
20
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
20
|
-
import { HSpacer, VSpacer } from "../spacer";
|
|
21
21
|
import { BodySmall, Caption, H6 } from "../typography";
|
|
22
22
|
|
|
23
23
|
type ListItemTopElementProps =
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React, { ComponentProps } from "react";
|
|
2
2
|
import { GestureResponderEvent, Pressable, View } from "react-native";
|
|
3
3
|
import Animated from "react-native-reanimated";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
IOListItemVisualParams,
|
|
7
|
-
useIOTheme
|
|
8
|
-
} from "../../core";
|
|
4
|
+
import { IOListItemStyles, IOListItemVisualParams } from "../../core";
|
|
5
|
+
import { useIOTheme } from "../../context";
|
|
9
6
|
import { useListItemAnimation } from "../../hooks";
|
|
10
7
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
11
8
|
import { WithTestID } from "../../utils/types";
|
|
@@ -3,21 +3,20 @@ import { useState } from "react";
|
|
|
3
3
|
import { Image, Pressable, StyleSheet, View } from "react-native";
|
|
4
4
|
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
5
5
|
import Animated from "react-native-reanimated";
|
|
6
|
+
import { useIOTheme } from "../../context";
|
|
6
7
|
import {
|
|
7
8
|
IOSelectionListItemStyles,
|
|
8
9
|
IOSelectionListItemVisualParams,
|
|
9
|
-
IOSelectionTickVisualParams
|
|
10
|
-
useIOTheme
|
|
10
|
+
IOSelectionTickVisualParams
|
|
11
11
|
} from "../../core";
|
|
12
12
|
import { useListItemAnimation } from "../../hooks";
|
|
13
13
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
14
14
|
import { WithTestID } from "../../utils/types";
|
|
15
15
|
import { IOIcons, Icon } from "../icons";
|
|
16
|
+
import { HSpacer, VSpacer, VStack } from "../layout";
|
|
16
17
|
import { IOLogoPaymentType, LogoPayment } from "../logos";
|
|
17
18
|
import { AnimatedRadio } from "../radio/AnimatedRadio";
|
|
18
19
|
import { IOSkeleton } from "../skeleton";
|
|
19
|
-
import { HSpacer, VSpacer } from "../spacer";
|
|
20
|
-
import { VStack } from "../stack";
|
|
21
20
|
import { BodySmall, H6 } from "../typography";
|
|
22
21
|
|
|
23
22
|
type ListItemRadioGraphicProps =
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
3
|
import RNReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
4
|
-
import {
|
|
4
|
+
import { useIOTheme } from "../../context";
|
|
5
|
+
import { IOColors, IOSelectionTickVisualParams } from "../../core";
|
|
5
6
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
6
7
|
import { Icon } from "../icons";
|
|
8
|
+
import { HStack } from "../layout";
|
|
7
9
|
import { AnimatedRadio } from "../radio/AnimatedRadio";
|
|
8
|
-
import { HStack } from "../stack";
|
|
9
10
|
import { BodySmall, H6 } from "../typography";
|
|
10
11
|
import { PressableListItemBase } from "./PressableListItemBase";
|
|
11
12
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { ComponentProps, useMemo } from "react";
|
|
2
2
|
import { GestureResponderEvent, Platform, Switch, View } from "react-native";
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
3
4
|
import {
|
|
4
5
|
IOSelectionListItemStyles,
|
|
5
|
-
IOSelectionListItemVisualParams
|
|
6
|
-
useIOTheme
|
|
6
|
+
IOSelectionListItemVisualParams
|
|
7
7
|
} from "../../core";
|
|
8
8
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
9
9
|
import { WithTestID } from "../../utils/types";
|
|
10
10
|
import { Badge } from "../badge";
|
|
11
11
|
import { IOIcons, Icon } from "../icons";
|
|
12
|
+
import { HSpacer, VSpacer } from "../layout";
|
|
12
13
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
13
14
|
import { IOLogoPaymentType, LogoPayment } from "../logos";
|
|
14
|
-
import { HSpacer, VSpacer } from "../spacer";
|
|
15
15
|
import { NativeSwitch } from "../switch/NativeSwitch";
|
|
16
16
|
import { BodySmall, H6, LabelMini } from "../typography";
|
|
17
17
|
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
import { ImageURISource, View } from "react-native";
|
|
3
3
|
|
|
4
|
+
import { useIOTheme } from "../../context";
|
|
4
5
|
import {
|
|
5
6
|
IOColors,
|
|
6
7
|
IOListItemLogoMargin,
|
|
7
8
|
IOListItemStyles,
|
|
8
9
|
IOListItemVisualParams,
|
|
9
|
-
IOVisualCostants
|
|
10
|
-
useIOTheme
|
|
10
|
+
IOVisualCostants
|
|
11
11
|
} from "../../core";
|
|
12
|
-
|
|
13
12
|
import { WithTestID } from "../../utils/types";
|
|
14
13
|
import { isImageUri } from "../../utils/url";
|
|
15
14
|
import { Avatar } from "../avatar/Avatar";
|
|
16
15
|
import { Badge } from "../badge/Badge";
|
|
17
16
|
import { LogoPaymentWithFallback } from "../common/LogoPaymentWithFallback";
|
|
18
17
|
import { IOIconSizeScale, Icon } from "../icons";
|
|
18
|
+
import { HStack, VStack } from "../layout";
|
|
19
19
|
import { IOLogoPaymentType } from "../logos";
|
|
20
20
|
import { IOSkeleton } from "../skeleton";
|
|
21
|
-
import { HStack, VStack } from "../stack";
|
|
22
21
|
import { BodySmall, H6 } from "../typography";
|
|
23
22
|
import {
|
|
24
23
|
PressableBaseProps,
|
|
@@ -2,7 +2,8 @@ import React, { useEffect, useRef } from "react";
|
|
|
2
2
|
import { View, Animated, Easing, ColorValue } from "react-native";
|
|
3
3
|
import Svg, { Defs, G, LinearGradient, Path, Stop } from "react-native-svg";
|
|
4
4
|
import { WithTestID } from "../../utils/types";
|
|
5
|
-
import {
|
|
5
|
+
import { useIOTheme } from "../../context";
|
|
6
|
+
import { IOColors } from "../../core/IOColors";
|
|
6
7
|
|
|
7
8
|
export type LoadingSpinner = WithTestID<{
|
|
8
9
|
color?: ColorValue;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import React, { useCallback } from "react";
|
|
2
2
|
import { GestureResponderEvent, PressableProps } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOListItemVisualParams } from "../../core";
|
|
4
5
|
import { WithTestID } from "../../utils/types";
|
|
5
6
|
import { Badge } from "../badge";
|
|
6
7
|
import { Icon } from "../icons";
|
|
8
|
+
import { HStack, VStack } from "../layout";
|
|
7
9
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
8
10
|
import { IOSkeleton } from "../skeleton";
|
|
9
|
-
import { HStack, VStack } from "../stack";
|
|
10
11
|
import { Body } from "../typography";
|
|
11
12
|
import { ModuleStatic } from "./ModuleStatic";
|
|
12
13
|
import { PressableModuleBase } from "./PressableModuleBase";
|
|
@@ -6,15 +6,12 @@ import {
|
|
|
6
6
|
StyleSheet,
|
|
7
7
|
View
|
|
8
8
|
} from "react-native";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
IOSpacingScale,
|
|
12
|
-
useIOTheme
|
|
13
|
-
} from "../../core";
|
|
9
|
+
import { useIOTheme } from "../../context";
|
|
10
|
+
import { IOSelectionListItemVisualParams, IOSpacingScale } from "../../core";
|
|
14
11
|
import { ButtonLink } from "../buttons";
|
|
12
|
+
import { HStack, VStack } from "../layout";
|
|
15
13
|
import { IOLogoPaymentType, LogoPayment } from "../logos";
|
|
16
14
|
import { IOSkeleton } from "../skeleton";
|
|
17
|
-
import { HStack, VStack } from "../stack";
|
|
18
15
|
import { BodySmall, H6 } from "../typography";
|
|
19
16
|
import { ModuleStatic } from "./ModuleStatic";
|
|
20
17
|
import { PressableModuleBase } from "./PressableModuleBase";
|
|
@@ -9,16 +9,16 @@ import {
|
|
|
9
9
|
IOListItemVisualParams,
|
|
10
10
|
IOSelectionListItemVisualParams,
|
|
11
11
|
IOSpacer,
|
|
12
|
-
IOVisualCostants
|
|
13
|
-
useIOTheme
|
|
12
|
+
IOVisualCostants
|
|
14
13
|
} from "../../core";
|
|
14
|
+
import { useIOTheme } from "../../context";
|
|
15
15
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
16
16
|
import { WithTestID } from "../../utils/types";
|
|
17
17
|
import { Badge } from "../badge";
|
|
18
18
|
import { IOIcons, Icon } from "../icons";
|
|
19
19
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
20
20
|
import { IOSkeleton } from "../skeleton";
|
|
21
|
-
import { HStack } from "../
|
|
21
|
+
import { HStack } from "../layout/Stack";
|
|
22
22
|
import { BodySmall } from "../typography";
|
|
23
23
|
import { ModuleStatic } from "./ModuleStatic";
|
|
24
24
|
import {
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Image, ImageSourcePropType, StyleSheet } from "react-native";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
useIONewTypeface,
|
|
6
|
-
useIOTheme,
|
|
7
|
-
useIOThemeContext
|
|
8
|
-
} from "../../core";
|
|
3
|
+
import { useIONewTypeface, useIOThemeContext, useIOTheme } from "../../context";
|
|
4
|
+
import { IOListItemLogoMargin } from "../../core";
|
|
9
5
|
import { addCacheTimestampToUri } from "../../utils/image";
|
|
10
6
|
import { IOText } from "../typography";
|
|
11
7
|
import {
|