@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,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Handling font files
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Fonts are handled differently than Android and iOS. To use the font, `Titillio-Semibold` example, you must apply the following properties for Android:
|
|
6
6
|
|
|
7
7
|
```css
|
|
8
8
|
{
|
|
9
|
-
fontFamily: '
|
|
9
|
+
fontFamily: 'Titillio-Semibold'
|
|
10
10
|
}
|
|
11
11
|
```
|
|
12
12
|
|
|
@@ -14,9 +14,18 @@ while in iOS the code to be applied is:
|
|
|
14
14
|
|
|
15
15
|
```css
|
|
16
16
|
{
|
|
17
|
-
fontFamily: '
|
|
17
|
+
fontFamily: 'Titillio',
|
|
18
18
|
fontWeight: '600',
|
|
19
19
|
}
|
|
20
20
|
```
|
|
21
|
+
The different font handling is managed by the `makeFontFamilyName` function. It's included in the [fonts.ts](../../utils/fonts.ts) file, which contains many other utility functions that simplify font management.
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
## `IOText`
|
|
24
|
+
|
|
25
|
+
This library already offers a range of predefined typographic styles, such as `H1`, `H2`, and so on. However, there may be times when you need to add a specific typographic style with visual attributes that are not included in any of the predefined styles.
|
|
26
|
+
|
|
27
|
+
In this case, you can define a custom typographic style using the `IOText` component, which is specifically designed to replace the native `Text` component.
|
|
28
|
+
|
|
29
|
+
It has some useful features:
|
|
30
|
+
- Built-in support for bold text, if set by the user (iOS only)
|
|
31
|
+
- Based on the new `IOFontSize` scale
|
|
@@ -1,593 +1,51 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Test Typography Components Body Snapshot 1`] = `
|
|
4
|
-
<Text
|
|
5
|
-
allowFontScaling={true}
|
|
6
|
-
dynamicTypeRamp="body"
|
|
7
|
-
maxFontSizeMultiplier={1.5}
|
|
8
|
-
style={
|
|
9
|
-
[
|
|
10
|
-
{},
|
|
11
|
-
{
|
|
12
|
-
"color": "#555C70",
|
|
13
|
-
"fontFamily": "Titillio",
|
|
14
|
-
"fontSize": 16,
|
|
15
|
-
"fontStyle": "normal",
|
|
16
|
-
"fontWeight": "400",
|
|
17
|
-
"lineHeight": 24,
|
|
18
|
-
},
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
>
|
|
22
|
-
Text
|
|
23
|
-
</Text>
|
|
24
|
-
`;
|
|
3
|
+
exports[`Test Typography Components Body Snapshot 1`] = `null`;
|
|
25
4
|
|
|
26
|
-
exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
|
|
27
|
-
<Text
|
|
28
|
-
allowFontScaling={true}
|
|
29
|
-
dynamicTypeRamp="body"
|
|
30
|
-
maxFontSizeMultiplier={1.5}
|
|
31
|
-
style={
|
|
32
|
-
[
|
|
33
|
-
{
|
|
34
|
-
"letterSpacing": 0.5,
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"color": "#555C70",
|
|
38
|
-
"fontFamily": "DM Mono",
|
|
39
|
-
"fontSize": 16,
|
|
40
|
-
"fontStyle": "normal",
|
|
41
|
-
"fontWeight": "500",
|
|
42
|
-
"lineHeight": 24,
|
|
43
|
-
},
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
>
|
|
47
|
-
Text
|
|
48
|
-
</Text>
|
|
49
|
-
`;
|
|
5
|
+
exports[`Test Typography Components BodyMonospace Snapshot 1`] = `null`;
|
|
50
6
|
|
|
51
|
-
exports[`Test Typography Components BodySmall Snapshot 1`] = `
|
|
52
|
-
<Text
|
|
53
|
-
allowFontScaling={true}
|
|
54
|
-
dynamicTypeRamp="footnote"
|
|
55
|
-
maxFontSizeMultiplier={1.5}
|
|
56
|
-
style={
|
|
57
|
-
[
|
|
58
|
-
{},
|
|
59
|
-
{
|
|
60
|
-
"color": "#555C70",
|
|
61
|
-
"fontFamily": "Titillio",
|
|
62
|
-
"fontSize": 14,
|
|
63
|
-
"fontStyle": "normal",
|
|
64
|
-
"fontWeight": "400",
|
|
65
|
-
"lineHeight": 21,
|
|
66
|
-
},
|
|
67
|
-
]
|
|
68
|
-
}
|
|
69
|
-
>
|
|
70
|
-
Text
|
|
71
|
-
</Text>
|
|
72
|
-
`;
|
|
7
|
+
exports[`Test Typography Components BodySmall Snapshot 1`] = `null`;
|
|
73
8
|
|
|
74
|
-
exports[`Test Typography Components BodySmall Snapshot 2`] = `
|
|
75
|
-
<Text
|
|
76
|
-
allowFontScaling={true}
|
|
77
|
-
dynamicTypeRamp="footnote"
|
|
78
|
-
maxFontSizeMultiplier={1.5}
|
|
79
|
-
style={
|
|
80
|
-
[
|
|
81
|
-
{},
|
|
82
|
-
{
|
|
83
|
-
"color": "#0B3EE3",
|
|
84
|
-
"fontFamily": "Titillio",
|
|
85
|
-
"fontSize": 14,
|
|
86
|
-
"fontStyle": "normal",
|
|
87
|
-
"fontWeight": "400",
|
|
88
|
-
"lineHeight": 21,
|
|
89
|
-
},
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
>
|
|
93
|
-
Text
|
|
94
|
-
</Text>
|
|
95
|
-
`;
|
|
9
|
+
exports[`Test Typography Components BodySmall Snapshot 2`] = `null`;
|
|
96
10
|
|
|
97
|
-
exports[`Test Typography Components BodySmall Snapshot 3`] = `
|
|
98
|
-
<Text
|
|
99
|
-
allowFontScaling={true}
|
|
100
|
-
dynamicTypeRamp="footnote"
|
|
101
|
-
maxFontSizeMultiplier={1.5}
|
|
102
|
-
style={
|
|
103
|
-
[
|
|
104
|
-
{},
|
|
105
|
-
{
|
|
106
|
-
"color": "#555C70",
|
|
107
|
-
"fontFamily": "Titillio",
|
|
108
|
-
"fontSize": 14,
|
|
109
|
-
"fontStyle": "normal",
|
|
110
|
-
"fontWeight": "400",
|
|
111
|
-
"lineHeight": 21,
|
|
112
|
-
},
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
>
|
|
116
|
-
Text
|
|
117
|
-
</Text>
|
|
118
|
-
`;
|
|
11
|
+
exports[`Test Typography Components BodySmall Snapshot 3`] = `null`;
|
|
119
12
|
|
|
120
|
-
exports[`Test Typography Components BodySmall Snapshot 4`] = `
|
|
121
|
-
<Text
|
|
122
|
-
allowFontScaling={true}
|
|
123
|
-
dynamicTypeRamp="footnote"
|
|
124
|
-
maxFontSizeMultiplier={1.5}
|
|
125
|
-
style={
|
|
126
|
-
[
|
|
127
|
-
{},
|
|
128
|
-
{
|
|
129
|
-
"color": "#D13333",
|
|
130
|
-
"fontFamily": "Titillio",
|
|
131
|
-
"fontSize": 14,
|
|
132
|
-
"fontStyle": "normal",
|
|
133
|
-
"fontWeight": "400",
|
|
134
|
-
"lineHeight": 21,
|
|
135
|
-
},
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
>
|
|
139
|
-
Text
|
|
140
|
-
</Text>
|
|
141
|
-
`;
|
|
13
|
+
exports[`Test Typography Components BodySmall Snapshot 4`] = `null`;
|
|
142
14
|
|
|
143
|
-
exports[`Test Typography Components BodySmall Snapshot 5`] = `
|
|
144
|
-
<Text
|
|
145
|
-
allowFontScaling={true}
|
|
146
|
-
dynamicTypeRamp="footnote"
|
|
147
|
-
maxFontSizeMultiplier={1.5}
|
|
148
|
-
style={
|
|
149
|
-
[
|
|
150
|
-
{},
|
|
151
|
-
{
|
|
152
|
-
"color": "#FFFFFF",
|
|
153
|
-
"fontFamily": "Titillio",
|
|
154
|
-
"fontSize": 14,
|
|
155
|
-
"fontStyle": "normal",
|
|
156
|
-
"fontWeight": "400",
|
|
157
|
-
"lineHeight": 21,
|
|
158
|
-
},
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
>
|
|
162
|
-
Text
|
|
163
|
-
</Text>
|
|
164
|
-
`;
|
|
15
|
+
exports[`Test Typography Components BodySmall Snapshot 5`] = `null`;
|
|
165
16
|
|
|
166
|
-
exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
167
|
-
<Text
|
|
168
|
-
allowFontScaling={true}
|
|
169
|
-
maxFontSizeMultiplier={1.5}
|
|
170
|
-
style={
|
|
171
|
-
[
|
|
172
|
-
{},
|
|
173
|
-
{
|
|
174
|
-
"color": "#FFFFFF",
|
|
175
|
-
"fontFamily": "Titillio",
|
|
176
|
-
"fontSize": 16,
|
|
177
|
-
"fontStyle": "normal",
|
|
178
|
-
"fontWeight": "600",
|
|
179
|
-
"lineHeight": 20,
|
|
180
|
-
},
|
|
181
|
-
]
|
|
182
|
-
}
|
|
183
|
-
>
|
|
184
|
-
Text
|
|
185
|
-
</Text>
|
|
186
|
-
`;
|
|
17
|
+
exports[`Test Typography Components CTA Snapshot 1`] = `null`;
|
|
187
18
|
|
|
188
|
-
exports[`Test Typography Components H1 Snapshot 1`] = `
|
|
189
|
-
<Text
|
|
190
|
-
allowFontScaling={true}
|
|
191
|
-
dynamicTypeRamp="largeTitle"
|
|
192
|
-
maxFontSizeMultiplier={1.5}
|
|
193
|
-
style={
|
|
194
|
-
[
|
|
195
|
-
{},
|
|
196
|
-
{
|
|
197
|
-
"color": "#0E0F13",
|
|
198
|
-
"fontFamily": "Titillio",
|
|
199
|
-
"fontSize": 28,
|
|
200
|
-
"fontStyle": "normal",
|
|
201
|
-
"fontWeight": "600",
|
|
202
|
-
"lineHeight": 42,
|
|
203
|
-
},
|
|
204
|
-
]
|
|
205
|
-
}
|
|
206
|
-
>
|
|
207
|
-
Text
|
|
208
|
-
</Text>
|
|
209
|
-
`;
|
|
19
|
+
exports[`Test Typography Components H1 Snapshot 1`] = `null`;
|
|
210
20
|
|
|
211
|
-
exports[`Test Typography Components H1 Snapshot 2`] = `
|
|
212
|
-
<Text
|
|
213
|
-
allowFontScaling={true}
|
|
214
|
-
dynamicTypeRamp="largeTitle"
|
|
215
|
-
maxFontSizeMultiplier={1.5}
|
|
216
|
-
style={
|
|
217
|
-
[
|
|
218
|
-
{},
|
|
219
|
-
{
|
|
220
|
-
"color": "#FFFFFF",
|
|
221
|
-
"fontFamily": "Titillio",
|
|
222
|
-
"fontSize": 28,
|
|
223
|
-
"fontStyle": "normal",
|
|
224
|
-
"fontWeight": "600",
|
|
225
|
-
"lineHeight": 42,
|
|
226
|
-
},
|
|
227
|
-
]
|
|
228
|
-
}
|
|
229
|
-
>
|
|
230
|
-
Text
|
|
231
|
-
</Text>
|
|
232
|
-
`;
|
|
21
|
+
exports[`Test Typography Components H1 Snapshot 2`] = `null`;
|
|
233
22
|
|
|
234
|
-
exports[`Test Typography Components H2 Snapshot 1`] = `
|
|
235
|
-
<Text
|
|
236
|
-
allowFontScaling={true}
|
|
237
|
-
dynamicTypeRamp="title1"
|
|
238
|
-
maxFontSizeMultiplier={1.5}
|
|
239
|
-
style={
|
|
240
|
-
[
|
|
241
|
-
{},
|
|
242
|
-
{
|
|
243
|
-
"color": "#0E0F13",
|
|
244
|
-
"fontFamily": "Titillio",
|
|
245
|
-
"fontSize": 26,
|
|
246
|
-
"fontStyle": "normal",
|
|
247
|
-
"fontWeight": "600",
|
|
248
|
-
"lineHeight": 34,
|
|
249
|
-
},
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
>
|
|
253
|
-
Text
|
|
254
|
-
</Text>
|
|
255
|
-
`;
|
|
23
|
+
exports[`Test Typography Components H2 Snapshot 1`] = `null`;
|
|
256
24
|
|
|
257
|
-
exports[`Test Typography Components H3 Snapshot 1`] = `
|
|
258
|
-
<Text
|
|
259
|
-
allowFontScaling={true}
|
|
260
|
-
dynamicTypeRamp="title2"
|
|
261
|
-
maxFontSizeMultiplier={1.5}
|
|
262
|
-
style={
|
|
263
|
-
[
|
|
264
|
-
{},
|
|
265
|
-
{
|
|
266
|
-
"color": "#0E0F13",
|
|
267
|
-
"fontFamily": "Titillio",
|
|
268
|
-
"fontSize": 22,
|
|
269
|
-
"fontStyle": "normal",
|
|
270
|
-
"fontWeight": "600",
|
|
271
|
-
"lineHeight": 33,
|
|
272
|
-
},
|
|
273
|
-
]
|
|
274
|
-
}
|
|
275
|
-
>
|
|
276
|
-
Text
|
|
277
|
-
</Text>
|
|
278
|
-
`;
|
|
25
|
+
exports[`Test Typography Components H3 Snapshot 1`] = `null`;
|
|
279
26
|
|
|
280
|
-
exports[`Test Typography Components H3 Snapshot 2`] = `
|
|
281
|
-
<Text
|
|
282
|
-
allowFontScaling={true}
|
|
283
|
-
dynamicTypeRamp="title2"
|
|
284
|
-
maxFontSizeMultiplier={1.5}
|
|
285
|
-
style={
|
|
286
|
-
[
|
|
287
|
-
{},
|
|
288
|
-
{
|
|
289
|
-
"color": "#D2D6E3",
|
|
290
|
-
"fontFamily": "Titillio",
|
|
291
|
-
"fontSize": 22,
|
|
292
|
-
"fontStyle": "normal",
|
|
293
|
-
"fontWeight": "600",
|
|
294
|
-
"lineHeight": 33,
|
|
295
|
-
},
|
|
296
|
-
]
|
|
297
|
-
}
|
|
298
|
-
>
|
|
299
|
-
Text
|
|
300
|
-
</Text>
|
|
301
|
-
`;
|
|
27
|
+
exports[`Test Typography Components H3 Snapshot 2`] = `null`;
|
|
302
28
|
|
|
303
|
-
exports[`Test Typography Components H3 Snapshot 3`] = `
|
|
304
|
-
<Text
|
|
305
|
-
allowFontScaling={true}
|
|
306
|
-
dynamicTypeRamp="title2"
|
|
307
|
-
maxFontSizeMultiplier={1.5}
|
|
308
|
-
style={
|
|
309
|
-
[
|
|
310
|
-
{},
|
|
311
|
-
{
|
|
312
|
-
"color": "#FFFFFF",
|
|
313
|
-
"fontFamily": "Titillio",
|
|
314
|
-
"fontSize": 22,
|
|
315
|
-
"fontStyle": "normal",
|
|
316
|
-
"fontWeight": "600",
|
|
317
|
-
"lineHeight": 33,
|
|
318
|
-
},
|
|
319
|
-
]
|
|
320
|
-
}
|
|
321
|
-
>
|
|
322
|
-
Text
|
|
323
|
-
</Text>
|
|
324
|
-
`;
|
|
29
|
+
exports[`Test Typography Components H3 Snapshot 3`] = `null`;
|
|
325
30
|
|
|
326
|
-
exports[`Test Typography Components H3 Snapshot 4`] = `
|
|
327
|
-
<Text
|
|
328
|
-
allowFontScaling={true}
|
|
329
|
-
dynamicTypeRamp="title2"
|
|
330
|
-
maxFontSizeMultiplier={1.5}
|
|
331
|
-
style={
|
|
332
|
-
[
|
|
333
|
-
{},
|
|
334
|
-
{
|
|
335
|
-
"color": "#FFFFFF",
|
|
336
|
-
"fontFamily": "Titillio",
|
|
337
|
-
"fontSize": 22,
|
|
338
|
-
"fontStyle": "normal",
|
|
339
|
-
"fontWeight": "600",
|
|
340
|
-
"lineHeight": 33,
|
|
341
|
-
},
|
|
342
|
-
]
|
|
343
|
-
}
|
|
344
|
-
>
|
|
345
|
-
Text
|
|
346
|
-
</Text>
|
|
347
|
-
`;
|
|
31
|
+
exports[`Test Typography Components H3 Snapshot 4`] = `null`;
|
|
348
32
|
|
|
349
|
-
exports[`Test Typography Components H3 Snapshot 5`] = `
|
|
350
|
-
<Text
|
|
351
|
-
allowFontScaling={true}
|
|
352
|
-
dynamicTypeRamp="title2"
|
|
353
|
-
maxFontSizeMultiplier={1.5}
|
|
354
|
-
style={
|
|
355
|
-
[
|
|
356
|
-
{},
|
|
357
|
-
{
|
|
358
|
-
"color": "#0E0F13",
|
|
359
|
-
"fontFamily": "Titillio",
|
|
360
|
-
"fontSize": 22,
|
|
361
|
-
"fontStyle": "normal",
|
|
362
|
-
"fontWeight": "600",
|
|
363
|
-
"lineHeight": 33,
|
|
364
|
-
},
|
|
365
|
-
]
|
|
366
|
-
}
|
|
367
|
-
>
|
|
368
|
-
Text
|
|
369
|
-
</Text>
|
|
370
|
-
`;
|
|
33
|
+
exports[`Test Typography Components H3 Snapshot 5`] = `null`;
|
|
371
34
|
|
|
372
|
-
exports[`Test Typography Components H4 Snapshot 1`] = `
|
|
373
|
-
<Text
|
|
374
|
-
allowFontScaling={true}
|
|
375
|
-
dynamicTypeRamp="title3"
|
|
376
|
-
maxFontSizeMultiplier={1.5}
|
|
377
|
-
style={
|
|
378
|
-
[
|
|
379
|
-
{},
|
|
380
|
-
{
|
|
381
|
-
"color": "#0E0F13",
|
|
382
|
-
"fontFamily": "Titillio",
|
|
383
|
-
"fontSize": 20,
|
|
384
|
-
"fontStyle": "normal",
|
|
385
|
-
"fontWeight": "600",
|
|
386
|
-
"lineHeight": 24,
|
|
387
|
-
},
|
|
388
|
-
]
|
|
389
|
-
}
|
|
390
|
-
>
|
|
391
|
-
Text
|
|
392
|
-
</Text>
|
|
393
|
-
`;
|
|
35
|
+
exports[`Test Typography Components H4 Snapshot 1`] = `null`;
|
|
394
36
|
|
|
395
|
-
exports[`Test Typography Components H4 Snapshot 2`] = `
|
|
396
|
-
<Text
|
|
397
|
-
allowFontScaling={true}
|
|
398
|
-
dynamicTypeRamp="title3"
|
|
399
|
-
maxFontSizeMultiplier={1.5}
|
|
400
|
-
style={
|
|
401
|
-
[
|
|
402
|
-
{},
|
|
403
|
-
{
|
|
404
|
-
"color": "#0B3EE3",
|
|
405
|
-
"fontFamily": "Titillio",
|
|
406
|
-
"fontSize": 20,
|
|
407
|
-
"fontStyle": "normal",
|
|
408
|
-
"fontWeight": "600",
|
|
409
|
-
"lineHeight": 24,
|
|
410
|
-
},
|
|
411
|
-
]
|
|
412
|
-
}
|
|
413
|
-
>
|
|
414
|
-
Text
|
|
415
|
-
</Text>
|
|
416
|
-
`;
|
|
37
|
+
exports[`Test Typography Components H4 Snapshot 2`] = `null`;
|
|
417
38
|
|
|
418
|
-
exports[`Test Typography Components H4 Snapshot 3`] = `
|
|
419
|
-
<Text
|
|
420
|
-
allowFontScaling={true}
|
|
421
|
-
dynamicTypeRamp="title3"
|
|
422
|
-
maxFontSizeMultiplier={1.5}
|
|
423
|
-
style={
|
|
424
|
-
[
|
|
425
|
-
{},
|
|
426
|
-
{
|
|
427
|
-
"color": "#FFFFFF",
|
|
428
|
-
"fontFamily": "Titillio",
|
|
429
|
-
"fontSize": 20,
|
|
430
|
-
"fontStyle": "normal",
|
|
431
|
-
"fontWeight": "600",
|
|
432
|
-
"lineHeight": 24,
|
|
433
|
-
},
|
|
434
|
-
]
|
|
435
|
-
}
|
|
436
|
-
>
|
|
437
|
-
Text
|
|
438
|
-
</Text>
|
|
439
|
-
`;
|
|
39
|
+
exports[`Test Typography Components H4 Snapshot 3`] = `null`;
|
|
440
40
|
|
|
441
|
-
exports[`Test Typography Components H5 Snapshot 1`] = `
|
|
442
|
-
<Text
|
|
443
|
-
allowFontScaling={true}
|
|
444
|
-
dynamicTypeRamp="subheadline"
|
|
445
|
-
maxFontSizeMultiplier={1.5}
|
|
446
|
-
style={
|
|
447
|
-
[
|
|
448
|
-
{
|
|
449
|
-
"letterSpacing": 0.5,
|
|
450
|
-
"textTransform": "uppercase",
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"color": "#0E0F13",
|
|
454
|
-
"fontFamily": "Titillio",
|
|
455
|
-
"fontSize": 14,
|
|
456
|
-
"fontStyle": "normal",
|
|
457
|
-
"fontWeight": "600",
|
|
458
|
-
"lineHeight": 16,
|
|
459
|
-
},
|
|
460
|
-
]
|
|
461
|
-
}
|
|
462
|
-
>
|
|
463
|
-
Text
|
|
464
|
-
</Text>
|
|
465
|
-
`;
|
|
41
|
+
exports[`Test Typography Components H5 Snapshot 1`] = `null`;
|
|
466
42
|
|
|
467
|
-
exports[`Test Typography Components H5 Snapshot 2`] = `
|
|
468
|
-
<Text
|
|
469
|
-
allowFontScaling={true}
|
|
470
|
-
dynamicTypeRamp="subheadline"
|
|
471
|
-
maxFontSizeMultiplier={1.5}
|
|
472
|
-
style={
|
|
473
|
-
[
|
|
474
|
-
{
|
|
475
|
-
"letterSpacing": 0.5,
|
|
476
|
-
"textTransform": "uppercase",
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"color": "#555C70",
|
|
480
|
-
"fontFamily": "Titillio",
|
|
481
|
-
"fontSize": 14,
|
|
482
|
-
"fontStyle": "normal",
|
|
483
|
-
"fontWeight": "600",
|
|
484
|
-
"lineHeight": 16,
|
|
485
|
-
},
|
|
486
|
-
]
|
|
487
|
-
}
|
|
488
|
-
>
|
|
489
|
-
Text
|
|
490
|
-
</Text>
|
|
491
|
-
`;
|
|
43
|
+
exports[`Test Typography Components H5 Snapshot 2`] = `null`;
|
|
492
44
|
|
|
493
|
-
exports[`Test Typography Components H5 Snapshot 3`] = `
|
|
494
|
-
<Text
|
|
495
|
-
allowFontScaling={true}
|
|
496
|
-
dynamicTypeRamp="subheadline"
|
|
497
|
-
maxFontSizeMultiplier={1.5}
|
|
498
|
-
style={
|
|
499
|
-
[
|
|
500
|
-
{
|
|
501
|
-
"letterSpacing": 0.5,
|
|
502
|
-
"textTransform": "uppercase",
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
"color": "#0B3EE3",
|
|
506
|
-
"fontFamily": "Titillio",
|
|
507
|
-
"fontSize": 14,
|
|
508
|
-
"fontStyle": "normal",
|
|
509
|
-
"fontWeight": "600",
|
|
510
|
-
"lineHeight": 16,
|
|
511
|
-
},
|
|
512
|
-
]
|
|
513
|
-
}
|
|
514
|
-
>
|
|
515
|
-
Text
|
|
516
|
-
</Text>
|
|
517
|
-
`;
|
|
45
|
+
exports[`Test Typography Components H5 Snapshot 3`] = `null`;
|
|
518
46
|
|
|
519
|
-
exports[`Test Typography Components H5 Snapshot 4`] = `
|
|
520
|
-
<Text
|
|
521
|
-
allowFontScaling={true}
|
|
522
|
-
dynamicTypeRamp="subheadline"
|
|
523
|
-
maxFontSizeMultiplier={1.5}
|
|
524
|
-
style={
|
|
525
|
-
[
|
|
526
|
-
{
|
|
527
|
-
"letterSpacing": 0.5,
|
|
528
|
-
"textTransform": "uppercase",
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
"color": "#FFFFFF",
|
|
532
|
-
"fontFamily": "Titillio",
|
|
533
|
-
"fontSize": 14,
|
|
534
|
-
"fontStyle": "normal",
|
|
535
|
-
"fontWeight": "600",
|
|
536
|
-
"lineHeight": 16,
|
|
537
|
-
},
|
|
538
|
-
]
|
|
539
|
-
}
|
|
540
|
-
>
|
|
541
|
-
Text
|
|
542
|
-
</Text>
|
|
543
|
-
`;
|
|
47
|
+
exports[`Test Typography Components H5 Snapshot 4`] = `null`;
|
|
544
48
|
|
|
545
|
-
exports[`Test Typography Components H6 Snapshot 1`] = `
|
|
546
|
-
<Text
|
|
547
|
-
allowFontScaling={true}
|
|
548
|
-
dynamicTypeRamp="headline"
|
|
549
|
-
maxFontSizeMultiplier={1.5}
|
|
550
|
-
style={
|
|
551
|
-
[
|
|
552
|
-
{},
|
|
553
|
-
{
|
|
554
|
-
"color": "#0E0F13",
|
|
555
|
-
"fontFamily": "Titillio",
|
|
556
|
-
"fontSize": 16,
|
|
557
|
-
"fontStyle": "normal",
|
|
558
|
-
"fontWeight": "600",
|
|
559
|
-
"lineHeight": 24,
|
|
560
|
-
},
|
|
561
|
-
]
|
|
562
|
-
}
|
|
563
|
-
>
|
|
564
|
-
Text
|
|
565
|
-
</Text>
|
|
566
|
-
`;
|
|
49
|
+
exports[`Test Typography Components H6 Snapshot 1`] = `null`;
|
|
567
50
|
|
|
568
|
-
exports[`Test Typography Components Link Snapshot 1`] = `
|
|
569
|
-
<Text
|
|
570
|
-
accessibilityRole="link"
|
|
571
|
-
allowFontScaling={true}
|
|
572
|
-
dynamicTypeRamp="body"
|
|
573
|
-
maxFontSizeMultiplier={1.5}
|
|
574
|
-
onPress={[Function]}
|
|
575
|
-
style={
|
|
576
|
-
[
|
|
577
|
-
{
|
|
578
|
-
"textDecorationLine": "underline",
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"color": "#0B3EE3",
|
|
582
|
-
"fontFamily": "Titillio",
|
|
583
|
-
"fontSize": 16,
|
|
584
|
-
"fontStyle": "normal",
|
|
585
|
-
"fontWeight": "400",
|
|
586
|
-
"lineHeight": 24,
|
|
587
|
-
},
|
|
588
|
-
]
|
|
589
|
-
}
|
|
590
|
-
>
|
|
591
|
-
Text
|
|
592
|
-
</Text>
|
|
593
|
-
`;
|
|
51
|
+
exports[`Test Typography Components Link Snapshot 1`] = `null`;
|
|
@@ -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 { IOText, IOTextProps, TypographicStyleProps } from "../IOText";
|
|
5
5
|
|
|
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 { IOText, IOTextProps, TypographicStyleProps } from "../IOText";
|
|
5
5
|
|
|
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 { IOText, IOTextProps, TypographicStyleProps } from "../IOText";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -6,7 +6,7 @@ import React, {
|
|
|
6
6
|
useState
|
|
7
7
|
} from "react";
|
|
8
8
|
import { Appearance, ColorSchemeName } from "react-native";
|
|
9
|
-
import { IOTheme, IOThemeDark, IOThemeLight } from "
|
|
9
|
+
import { IOTheme, IOThemeDark, IOThemeLight } from "../core/IOColors";
|
|
10
10
|
|
|
11
11
|
export const IOThemes = { light: IOThemeLight, dark: IOThemeDark };
|
|
12
12
|
|