@pagopa/io-app-design-system 5.6.7 → 5.7.1
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 +22 -21
- 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 +3 -3
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js +1 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js +1 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
- package/lib/commonjs/components/avatar/Avatar.js +3 -3
- package/lib/commonjs/components/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -224
- package/lib/commonjs/components/avatar/__test__/avatar.test.js +1 -2
- package/lib/commonjs/components/avatar/__test__/avatar.test.js.map +1 -1
- package/lib/commonjs/components/badge/Badge.js +3 -2
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -102
- package/lib/commonjs/components/badge/__test__/badge.test.js +1 -2
- package/lib/commonjs/components/badge/__test__/badge.test.js.map +1 -1
- package/lib/commonjs/components/banner/Banner.js +4 -3
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/BannerErrorState.js +6 -5
- package/lib/commonjs/components/banner/BannerErrorState.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -586
- package/lib/commonjs/components/banner/__test__/banner.test.js +1 -2
- package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonLink.js +4 -4
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +4 -4
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +3 -3
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js +3 -3
- package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js +1 -2
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +3 -396
- package/lib/commonjs/components/buttons/IOButton/styles.js +45 -44
- package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +3 -3
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +1 -2
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +5 -4
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -1065
- package/lib/commonjs/components/buttons/__test__/button.test.js +1 -2
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +6 -8
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +3 -4
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +3 -4
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +5 -5
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/ClaimsSelector.test.js +1 -2
- package/lib/commonjs/components/claimsSelector/__test__/ClaimsSelector.test.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +4 -1567
- package/lib/commonjs/components/codeInput/CodeInput.js +11 -11
- package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
- package/lib/commonjs/components/common/AnimatedTick.js +1 -2
- package/lib/commonjs/components/common/AnimatedTick.js.map +1 -1
- package/lib/commonjs/components/common/LogoPaymentWithFallback.js +1 -2
- package/lib/commonjs/components/common/LogoPaymentWithFallback.js.map +1 -1
- package/lib/commonjs/components/common/ScaleInOutAnimation.js +1 -2
- package/lib/commonjs/components/common/ScaleInOutAnimation.js.map +1 -1
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js +1 -2
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +1 -1
- package/lib/commonjs/components/divider/Divider.js +4 -3
- package/lib/commonjs/components/divider/Divider.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 +3 -4
- package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -0
- package/lib/commonjs/components/{layout → headers}/HeaderSecondLevel.js +4 -4
- package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -0
- package/lib/commonjs/components/{layout → headers}/ModalBSHeader.js +1 -2
- 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/icons/IconContained.js +1 -2
- package/lib/commonjs/components/icons/IconContained.js.map +1 -1
- package/lib/commonjs/components/index.js +22 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActions.js +3 -4
- package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActionsInline.js +5 -5
- package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/commonjs/components/layout/GradientBottomActions.js +1 -2
- package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/commonjs/components/layout/GradientScrollView.js +1 -2
- package/lib/commonjs/components/layout/GradientScrollView.js.map +1 -1
- package/lib/commonjs/components/layout/README.md +64 -0
- package/lib/commonjs/components/layout/index.js +0 -55
- package/lib/commonjs/components/layout/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAction.js +3 -3
- package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js +3 -3
- package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +3 -3
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +3 -3
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +3 -3
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +3 -3
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +2 -1
- 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 +3 -3
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +4 -5
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +3 -3
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +2 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/PressableListItemBase.js +1 -2
- package/lib/commonjs/components/listitems/PressableListItemBase.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +18 -3038
- package/lib/commonjs/components/listitems/__test__/listitem.test.js +1 -2
- package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +5 -5
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/commonjs/components/logos/index.js +1 -2
- package/lib/commonjs/components/logos/index.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js +3 -3
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCheckout.js +3 -3
- package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +2 -1
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleIDP.js +5 -5
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +2 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +4 -4
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleStatic.js +4 -4
- 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 +3 -3
- package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +4 -4
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberPad.js +1 -2
- package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +10 -0
- package/lib/commonjs/components/otpInput/BoxedInput.js +8 -9
- package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
- package/lib/commonjs/components/otpInput/OTPInput.js +4 -5
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/pictograms/Pictogram.js +17 -17
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramAttention.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramAttention.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramBleedSavingMoney.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramBleedSavingMoney.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramEmptyArchive.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramEmptyArchive.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramFeedback.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramFeedback.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramHelp.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramHelp.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramSavingMoney.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramSavingMoney.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramSuccess.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramSuccess.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js +1 -2
- package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js.map +1 -1
- package/lib/commonjs/components/progressLoader/ProgressLoader.js +3 -4
- package/lib/commonjs/components/progressLoader/ProgressLoader.js.map +1 -1
- package/lib/commonjs/components/radio/AnimatedRadio.js +3 -4
- package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +3 -4
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +4 -4
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/skeleton/IOSkeleton.js +3 -3
- package/lib/commonjs/components/skeleton/IOSkeleton.js.map +1 -1
- package/lib/commonjs/components/spacer/Spacer.js +1 -2
- package/lib/commonjs/components/spacer/Spacer.js.map +1 -1
- package/lib/commonjs/components/stack/Stack.js +2 -4
- package/lib/commonjs/components/stack/Stack.js.map +1 -1
- package/lib/commonjs/components/stepper/Stepper.js +4 -4
- 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 +4 -4
- 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/{layout → templates}/Dismissable.js +1 -2
- package/lib/commonjs/components/templates/Dismissable.js.map +1 -0
- package/lib/commonjs/components/{layout → templates}/ForceScrollDownView.js +4 -6
- 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/TextInput.js +1 -2
- package/lib/commonjs/components/textInput/TextInput.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +5 -5
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputPassword.js +1 -2
- package/lib/commonjs/components/textInput/TextInputPassword.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputValidation.js +3 -4
- package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
- package/lib/commonjs/components/toast/ToastNotification.js +3 -3
- package/lib/commonjs/components/toast/ToastNotification.js.map +1 -1
- package/lib/commonjs/components/toast/ToastProvider.js +3 -4
- package/lib/commonjs/components/toast/ToastProvider.js.map +1 -1
- package/lib/commonjs/components/tooltip/Arrows.js +1 -2
- package/lib/commonjs/components/tooltip/Arrows.js.map +1 -1
- package/lib/commonjs/components/tooltip/Tooltip.js +8 -8
- package/lib/commonjs/components/tooltip/Tooltip.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +4 -5
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/BodyMonospace.js +3 -4
- package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
- package/lib/commonjs/components/typography/BodySmall.js +4 -5
- package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
- package/lib/commonjs/components/typography/ButtonText.js +3 -4
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/Caption.js +4 -5
- package/lib/commonjs/components/typography/Caption.js.map +1 -1
- package/lib/commonjs/components/typography/H1.js +4 -5
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +4 -5
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +4 -5
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +4 -5
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +4 -5
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +4 -5
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +4 -5
- package/lib/commonjs/components/typography/Hero.js.map +1 -1
- package/lib/commonjs/components/typography/IOText.js +3 -3
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/components/typography/LabelMini.js +4 -5
- package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
- package/lib/commonjs/components/typography/README.md +13 -4
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +25 -567
- package/lib/commonjs/components/typography/__test__/typography.test.js +1 -2
- package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH1.js +4 -5
- package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH2.js +4 -5
- package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH3.js +4 -5
- package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/commonjs/{core → context}/IODSExperimentalContextProvider.js +1 -2
- package/lib/commonjs/context/IODSExperimentalContextProvider.js.map +1 -0
- package/lib/commonjs/{core → context}/IONewTypefaceContextProvider.js +1 -2
- package/lib/commonjs/context/IONewTypefaceContextProvider.js.map +1 -0
- package/lib/commonjs/{core → context}/IOThemeContextProvider.js +2 -3
- 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 +2 -1
- 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/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -224
- package/lib/module/components/badge/Badge.js +2 -1
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -102
- package/lib/module/components/banner/Banner.js +2 -1
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/BannerErrorState.js +3 -1
- package/lib/module/components/banner/BannerErrorState.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -586
- 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/__test__/__snapshots__/IOButton.test.tsx.snap +3 -396
- 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/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -1065
- 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 +3 -3
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/claimsSelector/ClaimsSelector.js +4 -3
- package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +4 -1567
- package/lib/module/components/codeInput/CodeInput.js +2 -1
- package/lib/module/components/codeInput/CodeInput.js.map +1 -1
- package/lib/module/components/divider/Divider.js +3 -2
- package/lib/module/components/divider/Divider.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 +3 -3
- package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -0
- package/lib/module/components/{layout → headers}/HeaderSecondLevel.js +2 -1
- 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 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/FooterActions.js +3 -3
- 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/README.md +64 -0
- package/lib/module/components/layout/index.js +0 -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 +2 -1
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +2 -1
- 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 +2 -1
- 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 +2 -1
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -2
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +2 -1
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +2 -1
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +18 -3038
- 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 +2 -1
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCheckout.js +2 -1
- package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +2 -1
- 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 +2 -1
- package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/module/components/modules/ModulePaymentNotice.js +3 -2
- package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/module/components/modules/ModuleStatic.js +3 -2
- 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.map +1 -1
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +10 -0
- 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/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/stack/Stack.js +2 -4
- package/lib/module/components/stack/Stack.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 +2 -1
- 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 +2 -1
- 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 +3 -2
- 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/__test__/__snapshots__/typography.test.tsx.snap +25 -567
- 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 +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/divider/Divider.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 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- 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/layout/index.d.ts +0 -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/ListItemRadioWithAmount.d.ts +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.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 +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 +77 -77
- 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/stack/Stack.d.ts +2 -2
- package/lib/typescript/components/stack/Stack.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/lib/typescript/utils/testing.d.ts +1 -1
- package/lib/typescript/utils/testing.d.ts.map +1 -1
- package/package.json +22 -37
- package/src/components/accordion/AccordionItem.tsx +2 -1
- package/src/components/alert/Alert.tsx +3 -2
- package/src/components/avatar/Avatar.tsx +2 -2
- package/src/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -224
- package/src/components/badge/Badge.tsx +2 -3
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -102
- package/src/components/banner/Banner.tsx +3 -8
- package/src/components/banner/BannerErrorState.tsx +3 -8
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -586
- 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/__test__/__snapshots__/IOButton.test.tsx.snap +3 -396
- 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/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -1065
- package/src/components/checkbox/AnimatedCheckbox.tsx +3 -4
- package/src/components/checkbox/AnimatedMessageCheckbox.tsx +1 -1
- package/src/components/checkbox/CheckboxLabel.tsx +3 -7
- package/src/components/claimsSelector/ClaimsSelector.tsx +4 -4
- package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +4 -1567
- package/src/components/codeInput/CodeInput.tsx +2 -1
- package/src/components/divider/Divider.tsx +3 -2
- package/src/components/featureInfo/FeatureInfo.tsx +2 -1
- package/src/components/{layout → headers}/HeaderFirstLevel.tsx +3 -4
- package/src/components/{layout → headers}/HeaderSecondLevel.tsx +2 -3
- package/src/components/headers/README.md +10 -0
- package/src/components/headers/index.tsx +4 -0
- package/src/components/index.tsx +2 -0
- package/src/components/layout/FooterActions.tsx +3 -4
- package/src/components/layout/FooterActionsInline.tsx +3 -5
- package/src/components/layout/README.md +64 -0
- package/src/components/layout/index.tsx +0 -5
- package/src/components/listitems/ListItemAction.tsx +2 -6
- package/src/components/listitems/ListItemAmount.tsx +2 -2
- package/src/components/listitems/ListItemCheckbox.tsx +2 -2
- package/src/components/listitems/ListItemHeader.tsx +2 -2
- package/src/components/listitems/ListItemInfo.tsx +2 -5
- package/src/components/listitems/ListItemInfoCopy.tsx +2 -5
- package/src/components/listitems/ListItemNav.tsx +2 -2
- package/src/components/listitems/ListItemNavAlert.tsx +2 -5
- package/src/components/listitems/ListItemRadio.tsx +2 -2
- package/src/components/listitems/ListItemRadioWithAmount.tsx +3 -2
- package/src/components/listitems/ListItemSwitch.tsx +2 -2
- package/src/components/listitems/ListItemTransaction.tsx +2 -3
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +18 -3038
- package/src/components/loadingSpinner/LoadingSpinner.tsx +2 -1
- package/src/components/modules/ModuleAttachment.tsx +2 -1
- package/src/components/modules/ModuleCheckout.tsx +2 -5
- package/src/components/modules/ModuleCredential.tsx +2 -2
- package/src/components/modules/ModuleIDP.tsx +2 -6
- package/src/components/modules/ModuleNavigation.tsx +2 -2
- package/src/components/modules/ModulePaymentNotice.tsx +3 -2
- package/src/components/modules/ModuleStatic.tsx +3 -2
- 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 -1
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +10 -0
- package/src/components/otpInput/BoxedInput.tsx +3 -3
- package/src/components/otpInput/OTPInput.tsx +2 -2
- package/src/components/pictograms/Pictogram.tsx +3 -2
- 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/searchInput/SearchInput.tsx +2 -7
- package/src/components/skeleton/IOSkeleton.tsx +2 -1
- package/src/components/stack/Stack.tsx +8 -9
- 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 +2 -7
- package/src/components/textInput/TextInputValidation.tsx +1 -1
- package/src/components/toast/ToastNotification.tsx +2 -6
- package/src/components/toast/ToastProvider.tsx +1 -1
- package/src/components/tooltip/Tooltip.tsx +5 -2
- 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/__test__/__snapshots__/typography.test.tsx.snap +25 -567
- 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 +2 -2
- 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/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/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/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/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/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/lib/commonjs/components/{layout → headers}/common.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/module/components/{layout → headers}/ModalBSHeader.js +0 -0
- /package/lib/module/components/{layout → headers}/common.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/{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/{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
|
@@ -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,6 +1,7 @@
|
|
|
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";
|
|
@@ -6,11 +6,8 @@ import {
|
|
|
6
6
|
StyleSheet,
|
|
7
7
|
View
|
|
8
8
|
} from "react-native";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
IOSpacingScale,
|
|
12
|
-
useIOTheme
|
|
13
|
-
} from "../../core";
|
|
9
|
+
import { IOSelectionListItemVisualParams, IOSpacingScale } from "../../core";
|
|
10
|
+
import { useIOTheme } from "../../context";
|
|
14
11
|
import { ButtonLink } from "../buttons";
|
|
15
12
|
import { IOLogoPaymentType, LogoPayment } from "../logos";
|
|
16
13
|
import { IOSkeleton } from "../skeleton";
|
|
@@ -9,9 +9,9 @@ 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";
|
|
@@ -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 {
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
IOListItemVisualParams,
|
|
11
11
|
IOSelectionListItemVisualParams,
|
|
12
12
|
IOSpacer,
|
|
13
|
-
IOVisualCostants
|
|
14
|
-
useIOTheme
|
|
13
|
+
IOVisualCostants
|
|
15
14
|
} from "../../core";
|
|
15
|
+
import { useIOTheme } from "../../context";
|
|
16
16
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
17
17
|
import { WithTestID } from "../../utils/types";
|
|
18
18
|
import { Badge } from "../badge";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { GestureResponderEvent, StyleSheet, View } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOListItemVisualParams, IOSpacer } from "../../core";
|
|
4
5
|
import { WithTestID } from "../../utils/types";
|
|
5
6
|
import { Badge } from "../badge";
|
|
6
7
|
import { Icon } from "../icons";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { PressableProps, View, ViewProps } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOColors, IOModuleStyles } from "../../core";
|
|
4
5
|
import { HStack } from "../stack";
|
|
5
6
|
|
|
6
7
|
type ModuleStaticProps = Pick<
|
|
@@ -3,12 +3,8 @@ import { PropsWithChildren, useCallback } from "react";
|
|
|
3
3
|
import { GestureResponderEvent, Pressable } from "react-native";
|
|
4
4
|
import ReactNativeHapticFeedback from "react-native-haptic-feedback";
|
|
5
5
|
import Animated, { useReducedMotion } from "react-native-reanimated";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
IOModuleIDPSavedVSpacing,
|
|
9
|
-
IOModuleStyles,
|
|
10
|
-
useIOTheme
|
|
11
|
-
} from "../../core";
|
|
6
|
+
import { IOColors, IOModuleIDPSavedVSpacing, IOModuleStyles } from "../../core";
|
|
7
|
+
import { useIOTheme } from "../../context";
|
|
12
8
|
import { useScaleAnimation } from "../../hooks";
|
|
13
9
|
import { WithTestID } from "../../utils/types";
|
|
14
10
|
|
|
@@ -6,7 +6,8 @@ import Animated, {
|
|
|
6
6
|
useAnimatedStyle,
|
|
7
7
|
useReducedMotion
|
|
8
8
|
} from "react-native-reanimated";
|
|
9
|
-
import {
|
|
9
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
10
|
+
import { hexToRgba, IOColors } from "../../core";
|
|
10
11
|
import { useScaleAnimation } from "../../hooks";
|
|
11
12
|
import { IOText } from "../typography";
|
|
12
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ComponentProps, useCallback, useMemo } from "react";
|
|
1
|
+
import React, { ComponentProps, JSX, useCallback, useMemo } from "react";
|
|
2
2
|
import { StyleSheet, View } from "react-native";
|
|
3
3
|
import { BiometricsValidType, Optional } from "../../utils/types";
|
|
4
4
|
import { IconButton } from "../buttons";
|
|
@@ -863,6 +863,11 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
863
863
|
accessibilityLabel=""
|
|
864
864
|
accessible={false}
|
|
865
865
|
align="xMidYMid"
|
|
866
|
+
animatedProps={
|
|
867
|
+
{
|
|
868
|
+
"color": undefined,
|
|
869
|
+
}
|
|
870
|
+
}
|
|
866
871
|
bbHeight={24}
|
|
867
872
|
bbWidth={24}
|
|
868
873
|
color="#FFFFFF"
|
|
@@ -1073,6 +1078,11 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1073
1078
|
accessibilityLabel=""
|
|
1074
1079
|
accessible={false}
|
|
1075
1080
|
align="xMidYMid"
|
|
1081
|
+
animatedProps={
|
|
1082
|
+
{
|
|
1083
|
+
"color": undefined,
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1076
1086
|
bbHeight={24}
|
|
1077
1087
|
bbWidth={24}
|
|
1078
1088
|
color="#FFFFFF"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useMemo } from "react";
|
|
1
|
+
import React, { useMemo } from "react";
|
|
3
2
|
import { StyleSheet, View, ViewStyle } from "react-native";
|
|
4
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { hexToRgba, IOColors } from "../../core/IOColors";
|
|
5
5
|
import { H6, IOText } from "../typography";
|
|
6
6
|
|
|
7
7
|
type Props = {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
View
|
|
10
10
|
} from "react-native";
|
|
11
11
|
import Animated from "react-native-reanimated";
|
|
12
|
-
import { useIOTheme } from "../../
|
|
12
|
+
import { useIOTheme } from "../../context";
|
|
13
13
|
import { triggerHaptic } from "../../functions";
|
|
14
14
|
import { useErrorShakeAnimation } from "../../utils/hooks/useErrorShakeAnimation";
|
|
15
15
|
import { VSpacer } from "../spacer";
|
|
@@ -71,7 +71,7 @@ export const OTPInput = forwardRef<View, Props>(
|
|
|
71
71
|
useErrorShakeAnimation();
|
|
72
72
|
|
|
73
73
|
const inputRef = createRef<TextInput>();
|
|
74
|
-
const timerRef = useRef<NodeJS.Timeout>();
|
|
74
|
+
const timerRef = useRef<NodeJS.Timeout | undefined>(undefined);
|
|
75
75
|
|
|
76
76
|
const handleValidate = (val: string) => {
|
|
77
77
|
if (!onValidate || val.length < length) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React, { useMemo } from "react";
|
|
1
|
+
import React, { JSX, useMemo } from "react";
|
|
2
2
|
import { ColorValue } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOColors, IOThemeDark, IOThemeLight } from "../../core/IOColors";
|
|
4
5
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
5
6
|
|
|
6
7
|
import PictogramAccessDenied from "./svg/PictogramAccessDenied";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useEffect, useState } from "react";
|
|
1
|
+
import React, { useEffect, useState } from "react";
|
|
3
2
|
import { View } from "react-native";
|
|
4
3
|
import Animated, {
|
|
5
4
|
useAnimatedStyle,
|
|
6
5
|
useSharedValue,
|
|
7
6
|
withSpring
|
|
8
7
|
} from "react-native-reanimated";
|
|
9
|
-
import {
|
|
8
|
+
import { useIOTheme } from "../../context";
|
|
9
|
+
import { IOColors, IOSpringValues } from "../../core";
|
|
10
10
|
|
|
11
11
|
export type ProgressLoader = {
|
|
12
12
|
progress: number;
|
|
@@ -14,7 +14,7 @@ import Animated, {
|
|
|
14
14
|
withSpring,
|
|
15
15
|
withTiming
|
|
16
16
|
} from "react-native-reanimated";
|
|
17
|
-
import { useIOTheme } from "../../
|
|
17
|
+
import { useIOTheme } from "../../context";
|
|
18
18
|
import { IOSpringValues } from "../../core/IOAnimations";
|
|
19
19
|
import { IOColors } from "../../core/IOColors";
|
|
20
20
|
import { IOSelectionTickVisualParams } from "../../core/IOStyles";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ComponentProps, useState } from "react";
|
|
1
|
+
import React, { ComponentProps, useState } from "react";
|
|
3
2
|
import { Pressable, View } from "react-native";
|
|
4
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOSelectionTickVisualParams } from "../../core";
|
|
5
5
|
import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
|
|
6
6
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
7
7
|
import { H6 } from "../typography/H6";
|
|
@@ -29,13 +29,8 @@ import Animated, {
|
|
|
29
29
|
withTiming
|
|
30
30
|
} from "react-native-reanimated";
|
|
31
31
|
import { WithTestID } from "src/utils/types";
|
|
32
|
-
import {
|
|
33
|
-
|
|
34
|
-
IOSpacingScale,
|
|
35
|
-
IOVisualCostants,
|
|
36
|
-
useIONewTypeface,
|
|
37
|
-
useIOTheme
|
|
38
|
-
} from "../../core";
|
|
32
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
33
|
+
import { IOColors, IOSpacingScale, IOVisualCostants } from "../../core";
|
|
39
34
|
import {
|
|
40
35
|
IOFontSize,
|
|
41
36
|
IOMaxFontSizeMultiplier,
|
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
ViewStyle
|
|
8
8
|
} from "react-native";
|
|
9
9
|
import { useReducedMotion } from "react-native-reanimated";
|
|
10
|
-
import {
|
|
10
|
+
import { useIOTheme } from "../../context";
|
|
11
|
+
import { IOColors } from "../../core";
|
|
11
12
|
import { WithTestID } from "../../utils/types";
|
|
12
13
|
|
|
13
14
|
const ANIMATION_DURATION = 1250;
|
|
@@ -3,9 +3,9 @@ import { View, ViewProps, ViewStyle } from "react-native";
|
|
|
3
3
|
import { IOSpacer } from "../../core";
|
|
4
4
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
5
5
|
|
|
6
|
-
type AllowedStyleProps =
|
|
6
|
+
type AllowedStyleProps = Exclude<
|
|
7
7
|
ViewStyle,
|
|
8
|
-
"
|
|
8
|
+
"display" | "flexDirection" | "gap"
|
|
9
9
|
>;
|
|
10
10
|
|
|
11
11
|
type A11YRelatedProps = Pick<
|
|
@@ -14,7 +14,7 @@ type A11YRelatedProps = Pick<
|
|
|
14
14
|
>;
|
|
15
15
|
|
|
16
16
|
type Stack = PropsWithChildren<{
|
|
17
|
-
space?: IOSpacer;
|
|
17
|
+
space?: IOSpacer | 0;
|
|
18
18
|
style?: AllowedStyleProps;
|
|
19
19
|
allowScaleSpacing?: boolean;
|
|
20
20
|
}> &
|
|
@@ -24,15 +24,13 @@ type BaseStack = Stack & {
|
|
|
24
24
|
orientation: "vertical" | "horizontal";
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
const DEFAULT_SPACING_VALUE: IOSpacer = 16;
|
|
28
|
-
|
|
29
27
|
/**
|
|
30
28
|
Horizontal Stack component
|
|
31
29
|
@param {IOSpacer} space
|
|
32
30
|
*/
|
|
33
31
|
|
|
34
32
|
const Stack = ({
|
|
35
|
-
space =
|
|
33
|
+
space = 0,
|
|
36
34
|
style,
|
|
37
35
|
orientation = "vertical",
|
|
38
36
|
allowScaleSpacing,
|
|
@@ -47,9 +45,10 @@ const Stack = ({
|
|
|
47
45
|
style={{
|
|
48
46
|
display: "flex",
|
|
49
47
|
flexDirection: orientation === "horizontal" ? "row" : "column",
|
|
50
|
-
gap:
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
gap:
|
|
49
|
+
allowScaleSpacing && space !== 0
|
|
50
|
+
? space * dynamicFontScale * spacingScaleMultiplier
|
|
51
|
+
: space,
|
|
53
52
|
...style
|
|
54
53
|
}}
|
|
55
54
|
>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { ColorValue, View } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
|
+
import { IOColors, IOSpacer, IOVisualCostants } from "../../core";
|
|
4
5
|
|
|
5
6
|
type StepperProps = {
|
|
6
7
|
steps: number;
|
|
@@ -13,13 +13,8 @@ import Animated, {
|
|
|
13
13
|
useReducedMotion,
|
|
14
14
|
withSpring
|
|
15
15
|
} from "react-native-reanimated";
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
IOSpringValues,
|
|
19
|
-
hexToRgba,
|
|
20
|
-
useIONewTypeface,
|
|
21
|
-
useIOTheme
|
|
22
|
-
} from "../../core";
|
|
16
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
17
|
+
import { IOColors, IOSpringValues, hexToRgba } from "../../core";
|
|
23
18
|
import { useScaleAnimation } from "../../hooks";
|
|
24
19
|
import { WithTestID } from "../../utils/types";
|
|
25
20
|
import { IOIcons, Icon } from "../icons";
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Platform, StyleSheet, View, ViewStyle } from "react-native";
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
3
4
|
import {
|
|
4
5
|
IOColors,
|
|
6
|
+
IOSpacingScale,
|
|
7
|
+
IOTagHSpacing,
|
|
5
8
|
IOTagRadius,
|
|
9
|
+
IOTagVSpacing,
|
|
6
10
|
IOTheme,
|
|
7
|
-
IOThemeLight
|
|
8
|
-
useIONewTypeface,
|
|
9
|
-
useIOTheme
|
|
11
|
+
IOThemeLight
|
|
10
12
|
} from "../../core";
|
|
11
|
-
import {
|
|
12
|
-
IOSpacingScale,
|
|
13
|
-
IOTagHSpacing,
|
|
14
|
-
IOTagVSpacing
|
|
15
|
-
} from "../../core/IOSpacing";
|
|
16
13
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
17
14
|
import { WithTestID } from "../../utils/types";
|
|
18
15
|
import { IOIconSizeScale, IOIcons, Icon } from "../icons";
|
|
@@ -18,8 +18,7 @@ import {
|
|
|
18
18
|
import { IOSpringValues, IOVisualCostants } from "../../core";
|
|
19
19
|
import { IconButtonSolid } from "../buttons";
|
|
20
20
|
import { ScaleInOutAnimation } from "../common/ScaleInOutAnimation";
|
|
21
|
-
import { FooterActions } from "
|
|
22
|
-
import { useFooterActionsInlineMeasurements } from "./hooks";
|
|
21
|
+
import { FooterActions, useFooterActionsInlineMeasurements } from "../layout";
|
|
23
22
|
|
|
24
23
|
type ForceScrollDownViewActions = {
|
|
25
24
|
/**
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Templates
|
|
2
|
+
|
|
3
|
+
Although these templates do not provide specific instructions on how to build your screens, they offer a range of built-in features that can be easily integrated.
|
|
4
|
+
|
|
5
|
+
## `ForceScrollDownView`
|
|
6
|
+
|
|
7
|
+
A special `ScrollView` that includes a button which forces the page to scroll to the bottom.
|
|
8
|
+
|
|
9
|
+
### Usage
|
|
10
|
+
|
|
11
|
+
```jsx
|
|
12
|
+
import { ForceScrollDownView } from "@pagopa/io-app-design-system";
|
|
13
|
+
|
|
14
|
+
const SpecialPage = () => (
|
|
15
|
+
<ForceScrollDownView>
|
|
16
|
+
{ /* [Screen content] */}
|
|
17
|
+
</ForceScrollDownView>
|
|
18
|
+
);
|
|
19
|
+
```
|
|
@@ -27,13 +27,8 @@ import Animated, {
|
|
|
27
27
|
useSharedValue,
|
|
28
28
|
withTiming
|
|
29
29
|
} from "react-native-reanimated";
|
|
30
|
-
import {
|
|
31
|
-
|
|
32
|
-
IOSpacingScale,
|
|
33
|
-
hexToRgba,
|
|
34
|
-
useIONewTypeface,
|
|
35
|
-
useIOTheme
|
|
36
|
-
} from "../../core";
|
|
30
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
31
|
+
import { IOColors, IOSpacingScale, hexToRgba } from "../../core";
|
|
37
32
|
import { useIOFontDynamicScale } from "../../utils/accessibility";
|
|
38
33
|
import {
|
|
39
34
|
IOFontSize,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import { AccessibilityInfo, View } from "react-native";
|
|
10
10
|
import Animated from "react-native-reanimated";
|
|
11
11
|
import { TextInputValidationRefProps } from "../../utils/types";
|
|
12
|
-
import { useIOTheme } from "../../
|
|
12
|
+
import { useIOTheme } from "../../context";
|
|
13
13
|
import { IOColors } from "../../core/IOColors";
|
|
14
14
|
import {
|
|
15
15
|
enterTransitionInputIcon,
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import React, { useMemo } from "react";
|
|
2
2
|
import { StyleSheet, View, ViewStyle } from "react-native";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
IOAlertRadius,
|
|
6
|
-
IOColors,
|
|
7
|
-
useIOThemeContext
|
|
8
|
-
} from "../../core";
|
|
3
|
+
import { useIOThemeContext } from "../../context";
|
|
4
|
+
import { IOAlertRadius, IOColors, hexToRgba } from "../../core";
|
|
9
5
|
import { Icon } from "../icons";
|
|
10
6
|
import { HSpacer } from "../spacer";
|
|
11
7
|
import { ButtonText } from "../typography";
|
|
@@ -14,7 +14,7 @@ import Animated, {
|
|
|
14
14
|
} from "react-native-reanimated";
|
|
15
15
|
import { IOVisualCostants } from "../../core";
|
|
16
16
|
import { triggerHaptic } from "../../functions";
|
|
17
|
-
import { Dismissable } from "../
|
|
17
|
+
import { Dismissable } from "../templates";
|
|
18
18
|
import { ToastNotification } from "./ToastNotification";
|
|
19
19
|
import { ToastContext } from "./context";
|
|
20
20
|
import { Toast } from "./types";
|
|
@@ -19,7 +19,8 @@ import {
|
|
|
19
19
|
} from "react-native";
|
|
20
20
|
import Animated, { Easing, FadeIn, FadeOut } from "react-native-reanimated";
|
|
21
21
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|
22
|
-
import {
|
|
22
|
+
import { useIOTheme, useIOThemeContext } from "../../context";
|
|
23
|
+
import { IOColors } from "../../core/IOColors";
|
|
23
24
|
import { IconButton } from "../buttons";
|
|
24
25
|
import { Body, H6 } from "../typography";
|
|
25
26
|
import { BottomArrow, LeftArrow, RightArrow, TopArrow } from "./Arrows";
|
|
@@ -179,7 +180,9 @@ export const Tooltip = ({
|
|
|
179
180
|
const [tooltipLayout, setTooltipLayout] = useState<TooltipLayout>();
|
|
180
181
|
const childRef = useRef<View>(null);
|
|
181
182
|
const titleRef = useRef<View>(null);
|
|
182
|
-
const timeoutRef = useRef<ReturnType<typeof setTimeout
|
|
183
|
+
const timeoutRef = useRef<ReturnType<typeof setTimeout> | undefined>(
|
|
184
|
+
undefined
|
|
185
|
+
);
|
|
183
186
|
|
|
184
187
|
// Theme
|
|
185
188
|
const theme = useIOTheme();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
|
|
5
5
|
import {
|
|
6
6
|
IOText,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIOTheme } from "../../
|
|
3
|
+
import { useIOTheme } from "../../context";
|
|
4
4
|
import { bodyFontSize, bodyLineHeight } from "./Body";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
|
|
5
5
|
import {
|
|
6
6
|
IOText,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import {
|
|
3
|
+
import { useIONewTypeface } from "../../context";
|
|
4
|
+
import { IOColors } from "../../core";
|
|
4
5
|
import { IOFontFamily, IOFontSize } from "../../utils/fonts";
|
|
5
6
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize, IOFontWeight } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontSize } from "../../utils/fonts";
|
|
5
5
|
import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
|
|
6
6
|
|
|
@@ -8,7 +8,8 @@ import {
|
|
|
8
8
|
View
|
|
9
9
|
} from "react-native";
|
|
10
10
|
import Animated from "react-native-reanimated";
|
|
11
|
-
import { IOColors
|
|
11
|
+
import { IOColors } from "../../core";
|
|
12
|
+
import { useIOTheme } from "../../context";
|
|
12
13
|
import { useBoldTextEnabled } from "../../utils/accessibility";
|
|
13
14
|
import {
|
|
14
15
|
IOFontFamily,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ForwardedRef, forwardRef } from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import { useIONewTypeface, useIOTheme } from "../../
|
|
3
|
+
import { useIONewTypeface, useIOTheme } from "../../context";
|
|
4
4
|
import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
|
|
5
5
|
import {
|
|
6
6
|
IOText,
|