@pagopa/io-app-design-system 4.2.1 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +3 -3
- package/lib/commonjs/components/alert/Alert.js +44 -65
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js +9 -29
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/commonjs/components/badge/Badge.js +16 -3
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +9 -5
- package/lib/commonjs/components/banner/Banner.js +10 -34
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/commonjs/components/buttons/ButtonLink.js +26 -54
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +27 -45
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +24 -45
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +15 -32
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +19 -42
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +16 -31
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +61 -19
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +23 -18
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +13 -8
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/common/AnimatedTick.js +7 -3
- package/lib/commonjs/components/common/AnimatedTick.js.map +1 -1
- package/lib/commonjs/components/common/LogoPaymentWithFallback.js +9 -3
- package/lib/commonjs/components/common/LogoPaymentWithFallback.js.map +1 -1
- package/lib/commonjs/components/featureInfo/FeatureInfo.js +9 -6
- package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/commonjs/components/icons/Icon.js +14 -7
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +7 -10
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +8 -9
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/layout/index.js +0 -11
- package/lib/commonjs/components/layout/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAction.js +24 -46
- package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js +13 -11
- package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +25 -48
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +11 -4
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +14 -17
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +29 -55
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +36 -64
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +32 -58
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +43 -58
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +7 -2
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +12 -14
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +4 -2
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/{PressableListItemsBase.js → PressableListItemBase.js} +7 -7
- package/lib/commonjs/components/listitems/PressableListItemBase.js.map +1 -0
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +442 -430
- package/lib/commonjs/components/listitems/__test__/listitem.test.js +3 -3
- package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/commonjs/components/listitems/index.js +11 -11
- package/lib/commonjs/components/listitems/index.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +7 -2
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +5 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/PressableModuleBase.js +17 -11
- package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/commonjs/components/modules/index.js +8 -8
- package/lib/commonjs/components/modules/index.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +12 -28
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +40 -20
- package/lib/commonjs/components/pictograms/Pictogram.js +17 -4
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/radio/AnimatedRadio.js +16 -15
- package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +9 -5
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +4 -3
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/spacer/Spacer.js +13 -6
- package/lib/commonjs/components/spacer/Spacer.js.map +1 -1
- package/lib/commonjs/components/stack/Stack.js +19 -9
- package/lib/commonjs/components/stack/Stack.js.map +1 -1
- package/lib/commonjs/components/tabs/TabItem.js +15 -21
- package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
- package/lib/commonjs/components/tag/Tag.js +21 -8
- package/lib/commonjs/components/tag/Tag.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInput.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +23 -10
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/typography/IOText.js +3 -6
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +84 -84
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +50 -50
- package/lib/commonjs/core/IOAnimations.js +6 -12
- package/lib/commonjs/core/IOAnimations.js.map +1 -1
- package/lib/commonjs/hooks/index.js +28 -0
- package/lib/commonjs/hooks/index.js.map +1 -0
- package/lib/commonjs/hooks/useListItemAnimation.js +40 -0
- package/lib/commonjs/hooks/useListItemAnimation.js.map +1 -0
- package/lib/commonjs/hooks/useScaleAnimation.js +36 -0
- package/lib/commonjs/hooks/useScaleAnimation.js.map +1 -0
- package/lib/commonjs/index.js +11 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/accessibility.js +29 -1
- package/lib/commonjs/utils/accessibility.js.map +1 -1
- package/lib/commonjs/utils/fonts.js +3 -2
- package/lib/commonjs/utils/fonts.js.map +1 -1
- package/lib/commonjs/utils/hooks/index.js +28 -0
- package/lib/commonjs/utils/hooks/index.js.map +1 -0
- package/lib/commonjs/utils/hooks/useSpringPressProgressValue.js +5 -7
- package/lib/commonjs/utils/hooks/useSpringPressProgressValue.js.map +1 -1
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +3 -3
- package/lib/module/components/alert/Alert.js +45 -67
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/alert/AlertEdgeToEdge.js +10 -31
- package/lib/module/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/module/components/badge/Badge.js +16 -3
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +9 -5
- package/lib/module/components/banner/Banner.js +10 -33
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/module/components/buttons/ButtonLink.js +29 -57
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +30 -48
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +27 -48
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +18 -35
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +21 -45
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +18 -34
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +61 -19
- package/lib/module/components/checkbox/AnimatedCheckbox.js +23 -18
- package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +14 -9
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/common/AnimatedTick.js +7 -3
- package/lib/module/components/common/AnimatedTick.js.map +1 -1
- package/lib/module/components/common/LogoPaymentWithFallback.js +9 -3
- package/lib/module/components/common/LogoPaymentWithFallback.js.map +1 -1
- package/lib/module/components/featureInfo/FeatureInfo.js +11 -8
- package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/module/components/icons/Icon.js +15 -6
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/layout/HeaderFirstLevel.js +8 -11
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/layout/HeaderSecondLevel.js +9 -10
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/layout/index.js +0 -1
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemAction.js +25 -48
- package/lib/module/components/listitems/ListItemAction.js.map +1 -1
- package/lib/module/components/listitems/ListItemAmount.js +13 -11
- package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemCheckbox.js +28 -51
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +11 -4
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +14 -17
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +30 -57
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +38 -65
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +33 -58
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +46 -61
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +7 -2
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +12 -14
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +3 -1
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/{PressableListItemsBase.js → PressableListItemBase.js} +7 -7
- package/lib/module/components/listitems/PressableListItemBase.js.map +1 -0
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +442 -430
- package/lib/module/components/listitems/__test__/listitem.test.js +1 -1
- package/lib/module/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/module/components/listitems/index.js +1 -1
- package/lib/module/components/listitems/index.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +7 -2
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/ModuleNavigation.js +5 -1
- package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/module/components/modules/PressableModuleBase.js +17 -10
- package/lib/module/components/modules/PressableModuleBase.js.map +1 -1
- package/lib/module/components/modules/index.js +1 -1
- package/lib/module/components/modules/index.js.map +1 -1
- package/lib/module/components/numberpad/NumberButton.js +14 -30
- package/lib/module/components/numberpad/NumberButton.js.map +1 -1
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +40 -20
- package/lib/module/components/pictograms/Pictogram.js +17 -4
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/radio/AnimatedRadio.js +16 -15
- package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/module/components/radio/RadioButtonLabel.js +10 -6
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/module/components/searchInput/SearchInput.js +5 -4
- package/lib/module/components/searchInput/SearchInput.js.map +1 -1
- package/lib/module/components/spacer/Spacer.js +11 -5
- package/lib/module/components/spacer/Spacer.js.map +1 -1
- package/lib/module/components/stack/Stack.js +19 -9
- package/lib/module/components/stack/Stack.js.map +1 -1
- package/lib/module/components/tabs/TabItem.js +18 -24
- package/lib/module/components/tabs/TabItem.js.map +1 -1
- package/lib/module/components/tag/Tag.js +21 -8
- package/lib/module/components/tag/Tag.js.map +1 -1
- package/lib/module/components/textInput/TextInput.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +23 -10
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/typography/IOText.js +5 -8
- package/lib/module/components/typography/IOText.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +84 -84
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +50 -50
- package/lib/module/core/IOAnimations.js +4 -10
- package/lib/module/core/IOAnimations.js.map +1 -1
- package/lib/module/hooks/index.js +3 -0
- package/lib/module/hooks/index.js.map +1 -0
- package/lib/module/hooks/useListItemAnimation.js +33 -0
- package/lib/module/hooks/useListItemAnimation.js.map +1 -0
- package/lib/module/hooks/useScaleAnimation.js +29 -0
- package/lib/module/hooks/useScaleAnimation.js.map +1 -0
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/accessibility.js +28 -1
- package/lib/module/utils/accessibility.js.map +1 -1
- package/lib/module/utils/fonts.js +1 -0
- package/lib/module/utils/fonts.js.map +1 -1
- package/lib/module/utils/hooks/index.js +3 -0
- package/lib/module/utils/hooks/index.js.map +1 -0
- package/lib/module/utils/hooks/useSpringPressProgressValue.js +5 -5
- package/lib/module/utils/hooks/useSpringPressProgressValue.js.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/alert/AlertEdgeToEdge.d.ts.map +1 -1
- package/lib/typescript/components/badge/Badge.d.ts +2 -1
- package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonContained.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts +2 -1
- package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts +2 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
- package/lib/typescript/components/common/AnimatedTick.d.ts +4 -3
- package/lib/typescript/components/common/AnimatedTick.d.ts.map +1 -1
- package/lib/typescript/components/common/LogoPaymentWithFallback.d.ts.map +1 -1
- package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +5 -3
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/layout/index.d.ts +0 -1
- 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/ListItemAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts +2 -2
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/listitems/{PressableListItemsBase.d.ts → PressableListItemBase.d.ts} +3 -2
- package/lib/typescript/components/listitems/PressableListItemBase.d.ts.map +1 -0
- package/lib/typescript/components/listitems/index.d.ts +1 -1
- package/lib/typescript/components/listitems/index.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCredential.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
- package/lib/typescript/components/modules/PressableModuleBase.d.ts.map +1 -1
- package/lib/typescript/components/modules/index.d.ts +1 -1
- package/lib/typescript/components/modules/index.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/Pictogram.d.ts +5 -3
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/types.d.ts +1 -2
- package/lib/typescript/components/pictograms/types.d.ts.map +1 -1
- package/lib/typescript/components/radio/AnimatedRadio.d.ts +2 -1
- package/lib/typescript/components/radio/AnimatedRadio.d.ts.map +1 -1
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts +2 -1
- 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/spacer/Spacer.d.ts +1 -0
- package/lib/typescript/components/spacer/Spacer.d.ts.map +1 -1
- package/lib/typescript/components/stack/Stack.d.ts +2 -1
- package/lib/typescript/components/stack/Stack.d.ts.map +1 -1
- package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
- package/lib/typescript/components/tag/Tag.d.ts +4 -2
- package/lib/typescript/components/tag/Tag.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInput.d.ts +2 -1
- package/lib/typescript/components/textInput/TextInput.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodyMonospace.d.ts +1 -1
- package/lib/typescript/components/typography/ButtonText.d.ts +1 -1
- package/lib/typescript/components/typography/Caption.d.ts +1 -1
- package/lib/typescript/components/typography/H1.d.ts +1 -1
- package/lib/typescript/components/typography/H2.d.ts +1 -1
- package/lib/typescript/components/typography/H3.d.ts +1 -1
- package/lib/typescript/components/typography/H4.d.ts +1 -1
- package/lib/typescript/components/typography/H5.d.ts +1 -1
- package/lib/typescript/components/typography/H6.d.ts +1 -1
- package/lib/typescript/components/typography/Hero.d.ts +1 -1
- package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
- package/lib/typescript/components/typography/markdown/MdH1.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH2.d.ts +1 -1
- package/lib/typescript/components/typography/markdown/MdH3.d.ts +1 -1
- package/lib/typescript/core/IOAnimations.d.ts +6 -10
- package/lib/typescript/core/IOAnimations.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +7 -7
- package/lib/typescript/hooks/index.d.ts +3 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/useListItemAnimation.d.ts +10 -0
- package/lib/typescript/hooks/useListItemAnimation.d.ts.map +1 -0
- package/lib/typescript/hooks/useScaleAnimation.d.ts +10 -0
- package/lib/typescript/hooks/useScaleAnimation.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/utils/accessibility.d.ts +10 -0
- package/lib/typescript/utils/accessibility.d.ts.map +1 -1
- package/lib/typescript/utils/fonts.d.ts +2 -1
- package/lib/typescript/utils/fonts.d.ts.map +1 -1
- package/lib/typescript/utils/hooks/index.d.ts +3 -0
- package/lib/typescript/utils/hooks/index.d.ts.map +1 -0
- package/lib/typescript/utils/hooks/useSpringPressProgressValue.d.ts +7 -8
- package/lib/typescript/utils/hooks/useSpringPressProgressValue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +3 -3
- package/src/components/alert/Alert.tsx +49 -106
- package/src/components/alert/AlertEdgeToEdge.tsx +6 -46
- package/src/components/badge/Badge.tsx +29 -4
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +9 -5
- package/src/components/banner/Banner.tsx +6 -54
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/src/components/buttons/ButtonLink.tsx +36 -89
- package/src/components/buttons/ButtonOutline.tsx +40 -75
- package/src/components/buttons/ButtonSolid.tsx +21 -67
- package/src/components/buttons/IconButton.tsx +12 -47
- package/src/components/buttons/IconButtonContained.tsx +21 -57
- package/src/components/buttons/IconButtonSolid.tsx +16 -46
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +61 -19
- package/src/components/checkbox/AnimatedCheckbox.tsx +36 -18
- package/src/components/checkbox/CheckboxLabel.tsx +22 -10
- package/src/components/common/AnimatedTick.tsx +9 -3
- package/src/components/common/LogoPaymentWithFallback.tsx +27 -5
- package/src/components/featureInfo/FeatureInfo.tsx +13 -9
- package/src/components/icons/Icon.tsx +23 -7
- package/src/components/layout/HeaderFirstLevel.tsx +11 -21
- package/src/components/layout/HeaderSecondLevel.tsx +5 -14
- package/src/components/layout/index.tsx +0 -1
- package/src/components/listitems/ListItemAction.tsx +28 -73
- package/src/components/listitems/ListItemAmount.tsx +16 -11
- package/src/components/listitems/ListItemCheckbox.tsx +39 -83
- package/src/components/listitems/ListItemHeader.tsx +14 -4
- package/src/components/listitems/ListItemInfo.tsx +27 -20
- package/src/components/listitems/ListItemInfoCopy.tsx +37 -86
- package/src/components/listitems/ListItemNav.tsx +55 -112
- package/src/components/listitems/ListItemNavAlert.tsx +42 -102
- package/src/components/listitems/ListItemRadio.tsx +60 -107
- package/src/components/listitems/ListItemRadioWithAmount.tsx +9 -3
- package/src/components/listitems/ListItemSwitch.tsx +21 -27
- package/src/components/listitems/ListItemTransaction.tsx +4 -1
- package/src/components/listitems/{PressableListItemsBase.tsx → PressableListItemBase.tsx} +7 -6
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +442 -430
- package/src/components/listitems/__test__/listitem.test.tsx +1 -1
- package/src/components/listitems/index.tsx +1 -1
- package/src/components/modules/ModuleCredential.tsx +5 -2
- package/src/components/modules/ModuleNavigation.tsx +3 -1
- package/src/components/modules/PressableModuleBase.tsx +15 -8
- package/src/components/modules/index.tsx +1 -1
- package/src/components/numberpad/NumberButton.tsx +12 -43
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +40 -20
- package/src/components/pictograms/Pictogram.tsx +24 -5
- package/src/components/pictograms/types.ts +1 -3
- package/src/components/radio/AnimatedRadio.tsx +31 -15
- package/src/components/radio/RadioButtonLabel.tsx +16 -8
- package/src/components/searchInput/SearchInput.tsx +10 -5
- package/src/components/spacer/Spacer.tsx +21 -6
- package/src/components/stack/Stack.tsx +25 -14
- package/src/components/tabs/TabItem.tsx +15 -29
- package/src/components/tag/Tag.tsx +26 -8
- package/src/components/textInput/TextInput.tsx +2 -1
- package/src/components/textInput/TextInputBase.tsx +44 -11
- package/src/components/typography/IOText.tsx +5 -6
- package/src/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +84 -84
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +50 -50
- package/src/core/IOAnimations.ts +8 -10
- package/src/hooks/index.tsx +2 -0
- package/src/hooks/useListItemAnimation.tsx +59 -0
- package/src/hooks/useScaleAnimation.tsx +41 -0
- package/src/index.tsx +1 -0
- package/src/utils/accessibility.ts +32 -1
- package/src/utils/fonts.ts +1 -0
- package/src/utils/hooks/index.tsx +2 -0
- package/src/utils/hooks/useSpringPressProgressValue.ts +14 -8
- package/lib/commonjs/components/layout/FooterWithButtons.js +0 -84
- package/lib/commonjs/components/layout/FooterWithButtons.js.map +0 -1
- package/lib/commonjs/components/listitems/PressableListItemsBase.js.map +0 -1
- package/lib/commonjs/components/listitems/hooks/useListItemSpringAnimation.js +0 -56
- package/lib/commonjs/components/listitems/hooks/useListItemSpringAnimation.js.map +0 -1
- package/lib/commonjs/components/modules/hooks/useModuleSpringAnimation.js +0 -41
- package/lib/commonjs/components/modules/hooks/useModuleSpringAnimation.js.map +0 -1
- package/lib/module/components/layout/FooterWithButtons.js +0 -75
- package/lib/module/components/layout/FooterWithButtons.js.map +0 -1
- package/lib/module/components/listitems/PressableListItemsBase.js.map +0 -1
- package/lib/module/components/listitems/hooks/useListItemSpringAnimation.js +0 -47
- package/lib/module/components/listitems/hooks/useListItemSpringAnimation.js.map +0 -1
- package/lib/module/components/modules/hooks/useModuleSpringAnimation.js +0 -34
- package/lib/module/components/modules/hooks/useModuleSpringAnimation.js.map +0 -1
- package/lib/typescript/components/layout/FooterWithButtons.d.ts +0 -16
- package/lib/typescript/components/layout/FooterWithButtons.d.ts.map +0 -1
- package/lib/typescript/components/listitems/PressableListItemsBase.d.ts.map +0 -1
- package/lib/typescript/components/listitems/hooks/useListItemSpringAnimation.d.ts +0 -13
- package/lib/typescript/components/listitems/hooks/useListItemSpringAnimation.d.ts.map +0 -1
- package/lib/typescript/components/modules/hooks/useModuleSpringAnimation.d.ts +0 -10
- package/lib/typescript/components/modules/hooks/useModuleSpringAnimation.d.ts.map +0 -1
- package/src/components/layout/FooterWithButtons.tsx +0 -90
- package/src/components/listitems/hooks/useListItemSpringAnimation.ts +0 -72
- package/src/components/modules/hooks/useModuleSpringAnimation.ts +0 -49
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Test Typography Components Body Snapshot 1`] = `
|
|
4
4
|
<Text
|
|
5
|
-
allowFontScaling={
|
|
5
|
+
allowFontScaling={true}
|
|
6
6
|
dynamicTypeRamp="body"
|
|
7
|
-
maxFontSizeMultiplier={1.
|
|
7
|
+
maxFontSizeMultiplier={1.5}
|
|
8
8
|
style={
|
|
9
9
|
[
|
|
10
10
|
{},
|
|
@@ -25,9 +25,9 @@ exports[`Test Typography Components Body Snapshot 1`] = `
|
|
|
25
25
|
|
|
26
26
|
exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
|
|
27
27
|
<Text
|
|
28
|
-
allowFontScaling={
|
|
28
|
+
allowFontScaling={true}
|
|
29
29
|
dynamicTypeRamp="body"
|
|
30
|
-
maxFontSizeMultiplier={1.
|
|
30
|
+
maxFontSizeMultiplier={1.5}
|
|
31
31
|
style={
|
|
32
32
|
[
|
|
33
33
|
{
|
|
@@ -50,9 +50,9 @@ exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
|
|
|
50
50
|
|
|
51
51
|
exports[`Test Typography Components BodySmall Snapshot 1`] = `
|
|
52
52
|
<Text
|
|
53
|
-
allowFontScaling={
|
|
53
|
+
allowFontScaling={true}
|
|
54
54
|
dynamicTypeRamp="footnote"
|
|
55
|
-
maxFontSizeMultiplier={1.
|
|
55
|
+
maxFontSizeMultiplier={1.5}
|
|
56
56
|
style={
|
|
57
57
|
[
|
|
58
58
|
{},
|
|
@@ -73,9 +73,9 @@ exports[`Test Typography Components BodySmall Snapshot 1`] = `
|
|
|
73
73
|
|
|
74
74
|
exports[`Test Typography Components BodySmall Snapshot 2`] = `
|
|
75
75
|
<Text
|
|
76
|
-
allowFontScaling={
|
|
76
|
+
allowFontScaling={true}
|
|
77
77
|
dynamicTypeRamp="footnote"
|
|
78
|
-
maxFontSizeMultiplier={1.
|
|
78
|
+
maxFontSizeMultiplier={1.5}
|
|
79
79
|
style={
|
|
80
80
|
[
|
|
81
81
|
{},
|
|
@@ -96,9 +96,9 @@ exports[`Test Typography Components BodySmall Snapshot 2`] = `
|
|
|
96
96
|
|
|
97
97
|
exports[`Test Typography Components BodySmall Snapshot 3`] = `
|
|
98
98
|
<Text
|
|
99
|
-
allowFontScaling={
|
|
99
|
+
allowFontScaling={true}
|
|
100
100
|
dynamicTypeRamp="footnote"
|
|
101
|
-
maxFontSizeMultiplier={1.
|
|
101
|
+
maxFontSizeMultiplier={1.5}
|
|
102
102
|
style={
|
|
103
103
|
[
|
|
104
104
|
{},
|
|
@@ -119,9 +119,9 @@ exports[`Test Typography Components BodySmall Snapshot 3`] = `
|
|
|
119
119
|
|
|
120
120
|
exports[`Test Typography Components BodySmall Snapshot 4`] = `
|
|
121
121
|
<Text
|
|
122
|
-
allowFontScaling={
|
|
122
|
+
allowFontScaling={true}
|
|
123
123
|
dynamicTypeRamp="footnote"
|
|
124
|
-
maxFontSizeMultiplier={1.
|
|
124
|
+
maxFontSizeMultiplier={1.5}
|
|
125
125
|
style={
|
|
126
126
|
[
|
|
127
127
|
{},
|
|
@@ -142,9 +142,9 @@ exports[`Test Typography Components BodySmall Snapshot 4`] = `
|
|
|
142
142
|
|
|
143
143
|
exports[`Test Typography Components BodySmall Snapshot 5`] = `
|
|
144
144
|
<Text
|
|
145
|
-
allowFontScaling={
|
|
145
|
+
allowFontScaling={true}
|
|
146
146
|
dynamicTypeRamp="footnote"
|
|
147
|
-
maxFontSizeMultiplier={1.
|
|
147
|
+
maxFontSizeMultiplier={1.5}
|
|
148
148
|
style={
|
|
149
149
|
[
|
|
150
150
|
{},
|
|
@@ -165,8 +165,8 @@ exports[`Test Typography Components BodySmall Snapshot 5`] = `
|
|
|
165
165
|
|
|
166
166
|
exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
167
167
|
<Text
|
|
168
|
-
allowFontScaling={
|
|
169
|
-
maxFontSizeMultiplier={1.
|
|
168
|
+
allowFontScaling={true}
|
|
169
|
+
maxFontSizeMultiplier={1.5}
|
|
170
170
|
style={
|
|
171
171
|
[
|
|
172
172
|
{},
|
|
@@ -187,9 +187,9 @@ exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
|
187
187
|
|
|
188
188
|
exports[`Test Typography Components H1 Snapshot 1`] = `
|
|
189
189
|
<Text
|
|
190
|
-
allowFontScaling={
|
|
190
|
+
allowFontScaling={true}
|
|
191
191
|
dynamicTypeRamp="largeTitle"
|
|
192
|
-
maxFontSizeMultiplier={1.
|
|
192
|
+
maxFontSizeMultiplier={1.5}
|
|
193
193
|
style={
|
|
194
194
|
[
|
|
195
195
|
{},
|
|
@@ -210,9 +210,9 @@ exports[`Test Typography Components H1 Snapshot 1`] = `
|
|
|
210
210
|
|
|
211
211
|
exports[`Test Typography Components H1 Snapshot 2`] = `
|
|
212
212
|
<Text
|
|
213
|
-
allowFontScaling={
|
|
213
|
+
allowFontScaling={true}
|
|
214
214
|
dynamicTypeRamp="largeTitle"
|
|
215
|
-
maxFontSizeMultiplier={1.
|
|
215
|
+
maxFontSizeMultiplier={1.5}
|
|
216
216
|
style={
|
|
217
217
|
[
|
|
218
218
|
{},
|
|
@@ -233,9 +233,9 @@ exports[`Test Typography Components H1 Snapshot 2`] = `
|
|
|
233
233
|
|
|
234
234
|
exports[`Test Typography Components H2 Snapshot 1`] = `
|
|
235
235
|
<Text
|
|
236
|
-
allowFontScaling={
|
|
236
|
+
allowFontScaling={true}
|
|
237
237
|
dynamicTypeRamp="title1"
|
|
238
|
-
maxFontSizeMultiplier={1.
|
|
238
|
+
maxFontSizeMultiplier={1.5}
|
|
239
239
|
style={
|
|
240
240
|
[
|
|
241
241
|
{},
|
|
@@ -256,9 +256,9 @@ exports[`Test Typography Components H2 Snapshot 1`] = `
|
|
|
256
256
|
|
|
257
257
|
exports[`Test Typography Components H3 Snapshot 1`] = `
|
|
258
258
|
<Text
|
|
259
|
-
allowFontScaling={
|
|
259
|
+
allowFontScaling={true}
|
|
260
260
|
dynamicTypeRamp="title2"
|
|
261
|
-
maxFontSizeMultiplier={1.
|
|
261
|
+
maxFontSizeMultiplier={1.5}
|
|
262
262
|
style={
|
|
263
263
|
[
|
|
264
264
|
{},
|
|
@@ -279,9 +279,9 @@ exports[`Test Typography Components H3 Snapshot 1`] = `
|
|
|
279
279
|
|
|
280
280
|
exports[`Test Typography Components H3 Snapshot 2`] = `
|
|
281
281
|
<Text
|
|
282
|
-
allowFontScaling={
|
|
282
|
+
allowFontScaling={true}
|
|
283
283
|
dynamicTypeRamp="title2"
|
|
284
|
-
maxFontSizeMultiplier={1.
|
|
284
|
+
maxFontSizeMultiplier={1.5}
|
|
285
285
|
style={
|
|
286
286
|
[
|
|
287
287
|
{},
|
|
@@ -302,9 +302,9 @@ exports[`Test Typography Components H3 Snapshot 2`] = `
|
|
|
302
302
|
|
|
303
303
|
exports[`Test Typography Components H3 Snapshot 3`] = `
|
|
304
304
|
<Text
|
|
305
|
-
allowFontScaling={
|
|
305
|
+
allowFontScaling={true}
|
|
306
306
|
dynamicTypeRamp="title2"
|
|
307
|
-
maxFontSizeMultiplier={1.
|
|
307
|
+
maxFontSizeMultiplier={1.5}
|
|
308
308
|
style={
|
|
309
309
|
[
|
|
310
310
|
{},
|
|
@@ -325,9 +325,9 @@ exports[`Test Typography Components H3 Snapshot 3`] = `
|
|
|
325
325
|
|
|
326
326
|
exports[`Test Typography Components H3 Snapshot 4`] = `
|
|
327
327
|
<Text
|
|
328
|
-
allowFontScaling={
|
|
328
|
+
allowFontScaling={true}
|
|
329
329
|
dynamicTypeRamp="title2"
|
|
330
|
-
maxFontSizeMultiplier={1.
|
|
330
|
+
maxFontSizeMultiplier={1.5}
|
|
331
331
|
style={
|
|
332
332
|
[
|
|
333
333
|
{},
|
|
@@ -348,9 +348,9 @@ exports[`Test Typography Components H3 Snapshot 4`] = `
|
|
|
348
348
|
|
|
349
349
|
exports[`Test Typography Components H3 Snapshot 5`] = `
|
|
350
350
|
<Text
|
|
351
|
-
allowFontScaling={
|
|
351
|
+
allowFontScaling={true}
|
|
352
352
|
dynamicTypeRamp="title2"
|
|
353
|
-
maxFontSizeMultiplier={1.
|
|
353
|
+
maxFontSizeMultiplier={1.5}
|
|
354
354
|
style={
|
|
355
355
|
[
|
|
356
356
|
{},
|
|
@@ -371,9 +371,9 @@ exports[`Test Typography Components H3 Snapshot 5`] = `
|
|
|
371
371
|
|
|
372
372
|
exports[`Test Typography Components H4 Snapshot 1`] = `
|
|
373
373
|
<Text
|
|
374
|
-
allowFontScaling={
|
|
374
|
+
allowFontScaling={true}
|
|
375
375
|
dynamicTypeRamp="title3"
|
|
376
|
-
maxFontSizeMultiplier={1.
|
|
376
|
+
maxFontSizeMultiplier={1.5}
|
|
377
377
|
style={
|
|
378
378
|
[
|
|
379
379
|
{},
|
|
@@ -394,9 +394,9 @@ exports[`Test Typography Components H4 Snapshot 1`] = `
|
|
|
394
394
|
|
|
395
395
|
exports[`Test Typography Components H4 Snapshot 2`] = `
|
|
396
396
|
<Text
|
|
397
|
-
allowFontScaling={
|
|
397
|
+
allowFontScaling={true}
|
|
398
398
|
dynamicTypeRamp="title3"
|
|
399
|
-
maxFontSizeMultiplier={1.
|
|
399
|
+
maxFontSizeMultiplier={1.5}
|
|
400
400
|
style={
|
|
401
401
|
[
|
|
402
402
|
{},
|
|
@@ -417,9 +417,9 @@ exports[`Test Typography Components H4 Snapshot 2`] = `
|
|
|
417
417
|
|
|
418
418
|
exports[`Test Typography Components H4 Snapshot 3`] = `
|
|
419
419
|
<Text
|
|
420
|
-
allowFontScaling={
|
|
420
|
+
allowFontScaling={true}
|
|
421
421
|
dynamicTypeRamp="title3"
|
|
422
|
-
maxFontSizeMultiplier={1.
|
|
422
|
+
maxFontSizeMultiplier={1.5}
|
|
423
423
|
style={
|
|
424
424
|
[
|
|
425
425
|
{},
|
|
@@ -440,9 +440,9 @@ exports[`Test Typography Components H4 Snapshot 3`] = `
|
|
|
440
440
|
|
|
441
441
|
exports[`Test Typography Components H5 Snapshot 1`] = `
|
|
442
442
|
<Text
|
|
443
|
-
allowFontScaling={
|
|
443
|
+
allowFontScaling={true}
|
|
444
444
|
dynamicTypeRamp="subheadline"
|
|
445
|
-
maxFontSizeMultiplier={1.
|
|
445
|
+
maxFontSizeMultiplier={1.5}
|
|
446
446
|
style={
|
|
447
447
|
[
|
|
448
448
|
{
|
|
@@ -466,9 +466,9 @@ exports[`Test Typography Components H5 Snapshot 1`] = `
|
|
|
466
466
|
|
|
467
467
|
exports[`Test Typography Components H5 Snapshot 2`] = `
|
|
468
468
|
<Text
|
|
469
|
-
allowFontScaling={
|
|
469
|
+
allowFontScaling={true}
|
|
470
470
|
dynamicTypeRamp="subheadline"
|
|
471
|
-
maxFontSizeMultiplier={1.
|
|
471
|
+
maxFontSizeMultiplier={1.5}
|
|
472
472
|
style={
|
|
473
473
|
[
|
|
474
474
|
{
|
|
@@ -492,9 +492,9 @@ exports[`Test Typography Components H5 Snapshot 2`] = `
|
|
|
492
492
|
|
|
493
493
|
exports[`Test Typography Components H5 Snapshot 3`] = `
|
|
494
494
|
<Text
|
|
495
|
-
allowFontScaling={
|
|
495
|
+
allowFontScaling={true}
|
|
496
496
|
dynamicTypeRamp="subheadline"
|
|
497
|
-
maxFontSizeMultiplier={1.
|
|
497
|
+
maxFontSizeMultiplier={1.5}
|
|
498
498
|
style={
|
|
499
499
|
[
|
|
500
500
|
{
|
|
@@ -518,9 +518,9 @@ exports[`Test Typography Components H5 Snapshot 3`] = `
|
|
|
518
518
|
|
|
519
519
|
exports[`Test Typography Components H5 Snapshot 4`] = `
|
|
520
520
|
<Text
|
|
521
|
-
allowFontScaling={
|
|
521
|
+
allowFontScaling={true}
|
|
522
522
|
dynamicTypeRamp="subheadline"
|
|
523
|
-
maxFontSizeMultiplier={1.
|
|
523
|
+
maxFontSizeMultiplier={1.5}
|
|
524
524
|
style={
|
|
525
525
|
[
|
|
526
526
|
{
|
|
@@ -544,9 +544,9 @@ exports[`Test Typography Components H5 Snapshot 4`] = `
|
|
|
544
544
|
|
|
545
545
|
exports[`Test Typography Components H6 Snapshot 1`] = `
|
|
546
546
|
<Text
|
|
547
|
-
allowFontScaling={
|
|
547
|
+
allowFontScaling={true}
|
|
548
548
|
dynamicTypeRamp="headline"
|
|
549
|
-
maxFontSizeMultiplier={1.
|
|
549
|
+
maxFontSizeMultiplier={1.5}
|
|
550
550
|
style={
|
|
551
551
|
[
|
|
552
552
|
{},
|
|
@@ -568,9 +568,9 @@ exports[`Test Typography Components H6 Snapshot 1`] = `
|
|
|
568
568
|
exports[`Test Typography Components Link Snapshot 1`] = `
|
|
569
569
|
<Text
|
|
570
570
|
accessibilityRole="link"
|
|
571
|
-
allowFontScaling={
|
|
571
|
+
allowFontScaling={true}
|
|
572
572
|
dynamicTypeRamp="body"
|
|
573
|
-
maxFontSizeMultiplier={1.
|
|
573
|
+
maxFontSizeMultiplier={1.5}
|
|
574
574
|
onPress={[Function]}
|
|
575
575
|
style={
|
|
576
576
|
[
|
package/src/core/IOAnimations.ts
CHANGED
|
@@ -27,17 +27,15 @@ export const IOSpringValues = {
|
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export type IOSpringValues = keyof typeof IOSpringValues;
|
|
31
|
+
|
|
32
|
+
export const IOScaleEffect = {
|
|
31
33
|
// Slight scale effect
|
|
32
|
-
|
|
33
|
-
pressedState: 0.99
|
|
34
|
-
},
|
|
34
|
+
slight: 0.99,
|
|
35
35
|
// Medium scale effect
|
|
36
|
-
|
|
37
|
-
pressedState: 0.97
|
|
38
|
-
},
|
|
36
|
+
medium: 0.97,
|
|
39
37
|
// Exaggerated scale effect
|
|
40
|
-
|
|
41
|
-
pressedState: 0.95
|
|
42
|
-
}
|
|
38
|
+
exaggerated: 0.95
|
|
43
39
|
};
|
|
40
|
+
|
|
41
|
+
export type IOScaleEffect = keyof typeof IOScaleEffect;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { GestureResponderEvent, ViewStyle } from "react-native";
|
|
2
|
+
import {
|
|
3
|
+
AnimatedStyle,
|
|
4
|
+
Extrapolation,
|
|
5
|
+
interpolate,
|
|
6
|
+
interpolateColor,
|
|
7
|
+
SharedValue,
|
|
8
|
+
useAnimatedStyle
|
|
9
|
+
} from "react-native-reanimated";
|
|
10
|
+
import { hexToRgba, IOColors, IOScaleEffect, useIOTheme } from "../core";
|
|
11
|
+
import { useSpringPressProgressValue } from "../utils/hooks";
|
|
12
|
+
|
|
13
|
+
export const useListItemAnimation = (): {
|
|
14
|
+
progress: SharedValue<number>;
|
|
15
|
+
onPressIn: (event: GestureResponderEvent) => void;
|
|
16
|
+
onPressOut: (event: GestureResponderEvent) => void;
|
|
17
|
+
scaleAnimatedStyle: AnimatedStyle<ViewStyle>;
|
|
18
|
+
backgroundAnimatedStyle: AnimatedStyle<ViewStyle>;
|
|
19
|
+
} => {
|
|
20
|
+
const { progress, onPressIn, onPressOut } =
|
|
21
|
+
useSpringPressProgressValue("button");
|
|
22
|
+
|
|
23
|
+
const theme = useIOTheme();
|
|
24
|
+
|
|
25
|
+
const mapBackgroundStates: Record<string, string> = {
|
|
26
|
+
default: hexToRgba(IOColors[theme["listItem-pressed"]], 0),
|
|
27
|
+
pressed: IOColors[theme["listItem-pressed"]]
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// Interpolate animation values from `isPressed` values
|
|
31
|
+
const scaleAnimatedStyle = useAnimatedStyle(() => ({
|
|
32
|
+
transform: [
|
|
33
|
+
{
|
|
34
|
+
scale: interpolate(
|
|
35
|
+
progress.value,
|
|
36
|
+
[0, 1],
|
|
37
|
+
[1, IOScaleEffect.slight],
|
|
38
|
+
Extrapolation.CLAMP
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}));
|
|
43
|
+
|
|
44
|
+
const backgroundAnimatedStyle = useAnimatedStyle(() => ({
|
|
45
|
+
backgroundColor: interpolateColor(
|
|
46
|
+
progress.value,
|
|
47
|
+
[0, 1],
|
|
48
|
+
[mapBackgroundStates.default, mapBackgroundStates.pressed]
|
|
49
|
+
)
|
|
50
|
+
}));
|
|
51
|
+
|
|
52
|
+
return {
|
|
53
|
+
progress,
|
|
54
|
+
onPressIn,
|
|
55
|
+
onPressOut,
|
|
56
|
+
scaleAnimatedStyle,
|
|
57
|
+
backgroundAnimatedStyle
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { GestureResponderEvent, ViewStyle } from "react-native";
|
|
2
|
+
import {
|
|
3
|
+
AnimatedStyle,
|
|
4
|
+
Extrapolation,
|
|
5
|
+
interpolate,
|
|
6
|
+
SharedValue,
|
|
7
|
+
useAnimatedStyle
|
|
8
|
+
} from "react-native-reanimated";
|
|
9
|
+
import { IOScaleEffect } from "../core";
|
|
10
|
+
import { useSpringPressProgressValue } from "../utils/hooks";
|
|
11
|
+
|
|
12
|
+
export const useScaleAnimation = (
|
|
13
|
+
magnitude: IOScaleEffect = "slight"
|
|
14
|
+
): {
|
|
15
|
+
progress: SharedValue<number>;
|
|
16
|
+
onPressIn: (event: GestureResponderEvent) => void;
|
|
17
|
+
onPressOut: (event: GestureResponderEvent) => void;
|
|
18
|
+
scaleAnimatedStyle: AnimatedStyle<ViewStyle>;
|
|
19
|
+
} => {
|
|
20
|
+
const { progress, onPressIn, onPressOut } =
|
|
21
|
+
useSpringPressProgressValue("button");
|
|
22
|
+
|
|
23
|
+
// Scaling transformation applied when the button is pressed
|
|
24
|
+
const animationScaleValue = IOScaleEffect[magnitude];
|
|
25
|
+
|
|
26
|
+
const scaleAnimatedStyle = useAnimatedStyle(() => {
|
|
27
|
+
// Scale down button slightly when pressed
|
|
28
|
+
const scale = interpolate(
|
|
29
|
+
progress.value,
|
|
30
|
+
[0, 1],
|
|
31
|
+
[1, animationScaleValue],
|
|
32
|
+
Extrapolation.CLAMP
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
transform: [{ scale }]
|
|
37
|
+
};
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
return { progress, onPressIn, onPressOut, scaleAnimatedStyle };
|
|
41
|
+
};
|
package/src/index.tsx
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { useEffect, useState } from "react";
|
|
2
|
-
import { AccessibilityInfo, Platform } from "react-native";
|
|
2
|
+
import { AccessibilityInfo, Platform, useWindowDimensions } from "react-native";
|
|
3
|
+
import { useIOExperimentalDesign } from "../core";
|
|
4
|
+
import { IOFontSizeMultiplier } from "./fonts";
|
|
3
5
|
|
|
4
6
|
/**
|
|
5
7
|
* Query whether a bold text is currently enabled. The result is true
|
|
@@ -32,3 +34,32 @@ export const useBoldTextEnabled = () => {
|
|
|
32
34
|
|
|
33
35
|
return boldTextEnabled;
|
|
34
36
|
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Returns a font size multiplier based on the font scale of the device,
|
|
40
|
+
* but limited to the `IOFontSizeMultiplier` value.
|
|
41
|
+
* @returns number
|
|
42
|
+
*/
|
|
43
|
+
export const useIOFontDynamicScale = (): {
|
|
44
|
+
dynamicFontScale: number;
|
|
45
|
+
spacingScaleMultiplier: number;
|
|
46
|
+
hugeFontEnabled: boolean;
|
|
47
|
+
} => {
|
|
48
|
+
const { isExperimental } = useIOExperimentalDesign();
|
|
49
|
+
const { fontScale } = useWindowDimensions();
|
|
50
|
+
|
|
51
|
+
const deviceFontScale = isExperimental ? fontScale : 1;
|
|
52
|
+
const hugeFontEnabled = deviceFontScale >= 1.35;
|
|
53
|
+
|
|
54
|
+
const dynamicFontScale = Math.min(deviceFontScale, IOFontSizeMultiplier);
|
|
55
|
+
/* We make the spacing dynamic based on the font scale, but we multiply
|
|
56
|
+
this value to limit the amount of scaling applied to the spacing */
|
|
57
|
+
const spacingScaleMultiplier =
|
|
58
|
+
dynamicFontScale <= IOFontSizeMultiplier ? 1 : 0.8;
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
hugeFontEnabled,
|
|
62
|
+
dynamicFontScale,
|
|
63
|
+
spacingScaleMultiplier
|
|
64
|
+
};
|
|
65
|
+
};
|
package/src/utils/fonts.ts
CHANGED
|
@@ -122,6 +122,7 @@ export const makeFontFamilyName = (
|
|
|
122
122
|
const defaultFont: IOFontFamily = "TitilliumSansPro";
|
|
123
123
|
const defaultWeight: IOFontWeight = "Regular";
|
|
124
124
|
const defaultFontSize: IOFontSize = 16;
|
|
125
|
+
export const IOFontSizeMultiplier = 1.5;
|
|
125
126
|
|
|
126
127
|
/**
|
|
127
128
|
* Return a {@link FontStyleObject} with the fields filled based on the platform (iOS or Android).
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { GestureResponderEvent } from "react-native";
|
|
3
|
+
import {
|
|
4
|
+
SharedValue,
|
|
3
5
|
useDerivedValue,
|
|
4
6
|
useSharedValue,
|
|
5
7
|
withSpring
|
|
@@ -7,19 +9,23 @@ import Animated, {
|
|
|
7
9
|
import { IOSpringValues } from "../../core";
|
|
8
10
|
|
|
9
11
|
export const useSpringPressProgressValue = (
|
|
10
|
-
springValue =
|
|
11
|
-
)
|
|
12
|
-
|
|
12
|
+
springValue: IOSpringValues = "button"
|
|
13
|
+
): {
|
|
14
|
+
progress: SharedValue<number>;
|
|
15
|
+
onPressIn: (event: GestureResponderEvent) => void;
|
|
16
|
+
onPressOut: (event: GestureResponderEvent) => void;
|
|
17
|
+
} => {
|
|
18
|
+
const isPressed: SharedValue<number> = useSharedValue(0);
|
|
13
19
|
|
|
14
20
|
const progress = useDerivedValue(() =>
|
|
15
|
-
withSpring(isPressed.value, springValue)
|
|
21
|
+
withSpring(isPressed.value, IOSpringValues[springValue])
|
|
16
22
|
);
|
|
17
23
|
|
|
18
|
-
const onPressIn =
|
|
24
|
+
const onPressIn = useCallback(() => {
|
|
19
25
|
// eslint-disable-next-line functional/immutable-data
|
|
20
26
|
isPressed.value = 1;
|
|
21
27
|
}, [isPressed]);
|
|
22
|
-
const onPressOut =
|
|
28
|
+
const onPressOut = useCallback(() => {
|
|
23
29
|
// eslint-disable-next-line functional/immutable-data
|
|
24
30
|
isPressed.value = 0;
|
|
25
31
|
}, [isPressed]);
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.FooterWithButtons = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
|
|
10
|
-
var _core = require("../../core");
|
|
11
|
-
var _BlockButtons = require("./BlockButtons");
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
// TODO: Refactor with an unique component like `FooterTopShadow` after bonus vacanze
|
|
15
|
-
const styles = _reactNative.StyleSheet.create({
|
|
16
|
-
container: {
|
|
17
|
-
overflow: "hidden",
|
|
18
|
-
width: "100%",
|
|
19
|
-
// This Magic number is an heritage of the app code-base, this component should be removed in favor of `GradientBottomAction`
|
|
20
|
-
marginTop: -50,
|
|
21
|
-
paddingTop: 50
|
|
22
|
-
},
|
|
23
|
-
sticky: {
|
|
24
|
-
position: "absolute",
|
|
25
|
-
bottom: 0
|
|
26
|
-
},
|
|
27
|
-
footerShadow: {
|
|
28
|
-
backgroundColor: _core.IOColors.white,
|
|
29
|
-
paddingHorizontal: _core.IOVisualCostants.appMarginDefault,
|
|
30
|
-
// iOS shadow
|
|
31
|
-
shadowColor: _core.IOColors.black,
|
|
32
|
-
shadowOffset: {
|
|
33
|
-
width: 0,
|
|
34
|
-
height: 50
|
|
35
|
-
},
|
|
36
|
-
shadowOpacity: 0.5,
|
|
37
|
-
shadowRadius: 37,
|
|
38
|
-
elevation: 20 // Prop supported on Android only
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
const verticalSpacing = 16;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Implements a component that show buttons as sticky footer
|
|
46
|
-
* It can include 1, 2 or 3 buttons. If they are 2, they can have the inlineHalf or the inlineOneThird style
|
|
47
|
-
* @deprecated This component is deprecated. Use `FooterActions` or `FooterActionsInline` instead.
|
|
48
|
-
* `FooterActionsInline` is the official replacement for `FooterWithButtons`, but use it only
|
|
49
|
-
* if explicitly required.
|
|
50
|
-
*/
|
|
51
|
-
const FooterWithButtons = ({
|
|
52
|
-
sticky = false,
|
|
53
|
-
onLayoutChange,
|
|
54
|
-
...rest
|
|
55
|
-
}) => {
|
|
56
|
-
const insets = (0, _reactNativeSafeAreaContext.useSafeAreaInsets)();
|
|
57
|
-
const onLayout = event => {
|
|
58
|
-
onLayoutChange === null || onLayoutChange === void 0 || onLayoutChange(event.nativeEvent.layout.height);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
/* Check if the iPhone bottom handle is present.
|
|
62
|
-
If not add a default margin to prevent the
|
|
63
|
-
button from sticking to the bottom. */
|
|
64
|
-
const bottomMargin = (0, React.useMemo)(() => insets.bottom === 0 ? verticalSpacing : insets.bottom, [insets]);
|
|
65
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
66
|
-
style: {
|
|
67
|
-
...styles.container,
|
|
68
|
-
...(sticky ? styles.sticky : {})
|
|
69
|
-
},
|
|
70
|
-
accessible: rest.accessible,
|
|
71
|
-
pointerEvents: "box-none",
|
|
72
|
-
testID: "FooterWithButtons"
|
|
73
|
-
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
74
|
-
onLayout: onLayout,
|
|
75
|
-
style: [styles.footerShadow, {
|
|
76
|
-
paddingBottom: bottomMargin,
|
|
77
|
-
paddingTop: verticalSpacing
|
|
78
|
-
}]
|
|
79
|
-
}, /*#__PURE__*/React.createElement(_BlockButtons.BlockButtons, rest)));
|
|
80
|
-
};
|
|
81
|
-
exports.FooterWithButtons = FooterWithButtons;
|
|
82
|
-
var _default = FooterWithButtons;
|
|
83
|
-
exports.default = _default;
|
|
84
|
-
//# sourceMappingURL=FooterWithButtons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactNativeSafeAreaContext","_core","_BlockButtons","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","styles","StyleSheet","create","container","overflow","width","marginTop","paddingTop","sticky","position","bottom","footerShadow","backgroundColor","IOColors","white","paddingHorizontal","IOVisualCostants","appMarginDefault","shadowColor","black","shadowOffset","height","shadowOpacity","shadowRadius","elevation","verticalSpacing","FooterWithButtons","onLayoutChange","rest","insets","useSafeAreaInsets","onLayout","event","nativeEvent","layout","bottomMargin","useMemo","createElement","View","style","accessible","pointerEvents","testID","paddingBottom","BlockButtons","exports","_default"],"sourceRoot":"../../../../src","sources":["components/layout/FooterWithButtons.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,2BAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,aAAA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Y,UAAW;IAC5BC,aAAa,EAAE,UAAW;IAC1BC,MAAM,EAAC;EAAmB,gBAE1BvE,KAAA,CAAAkE,aAAA,CAAC/D,YAAA,CAAAgE,IAAI;IACHP,QAAQ,EAAEA,QAAS;IACnBQ,KAAK,EAAE,CACLvC,MAAM,CAACW,YAAY,EACnB;MAAEgC,aAAa,EAAER,YAAY;MAAE5B,UAAU,EAAEkB;IAAgB,CAAC;EAC5D,gBAEFtD,KAAA,CAAAkE,aAAA,CAAC5D,aAAA,CAAAmE,YAAY,EAAKhB,IAAO,CACrB,CACF,CAAC;AAEX,CAAC;AAACiB,OAAA,CAAAnB,iBAAA,GAAAA,iBAAA;AAAA,IAAAoB,QAAA,GAEapB,iBAAiB;AAAAmB,OAAA,CAAA5D,OAAA,GAAA6D,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_interopRequireDefault","_core","_useListItemSpringAnimation","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","PressableListItemBase","onPress","testID","children","accessibilityRole","props","onPressIn","onPressOut","animatedScaleStyle","animatedBackgroundStyle","useListItemSpringAnimation","createElement","Pressable","accessible","onTouchEnd","View","style","IOListItemStyles","listItem","listItemInner","columnGap","IOListItemVisualParams","iconMargin","exports"],"sourceRoot":"../../../../src","sources":["components/listitems/PressableListItemsBase.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AAEA,IAAAK,2BAAA,GAAAL,OAAA;AAAgF,SAAA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