@pagopa/io-app-design-system 4.3.0 → 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 +34 -34
- package/lib/commonjs/components/alert/Alert.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.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/commonjs/components/buttons/ButtonLink.js +6 -1
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +11 -9
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +10 -6
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButton.js +2 -0
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +1 -0
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +27 -9
- 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/listitems/ListItemAction.js +11 -7
- 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 +12 -7
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +9 -2
- 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 +15 -13
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +20 -17
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +19 -14
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +24 -9
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +5 -0
- 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 +2 -0
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +435 -429
- 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/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +20 -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/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/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/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +3 -3
- package/lib/module/components/alert/Alert.js +35 -35
- package/lib/module/components/alert/Alert.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.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/module/components/buttons/ButtonLink.js +6 -1
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +11 -9
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +10 -6
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IconButton.js +2 -0
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +1 -0
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +27 -9
- 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/listitems/ListItemAction.js +11 -7
- 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 +14 -9
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +9 -2
- 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 +15 -13
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +22 -19
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +21 -16
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +25 -10
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +6 -1
- 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 +2 -0
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +435 -429
- 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/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +20 -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/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/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/typescript/components/alert/Alert.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/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/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.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/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/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/IOStyles.d.ts +7 -7
- 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/package.json +1 -1
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +3 -3
- package/src/components/alert/Alert.tsx +43 -61
- 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 +0 -2
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/src/components/buttons/ButtonLink.tsx +4 -0
- package/src/components/buttons/ButtonOutline.tsx +24 -25
- package/src/components/buttons/ButtonSolid.tsx +10 -9
- package/src/components/buttons/IconButton.tsx +2 -0
- package/src/components/buttons/IconButtonSolid.tsx +1 -0
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +27 -9
- 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/listitems/ListItemAction.tsx +19 -8
- package/src/components/listitems/ListItemAmount.tsx +16 -11
- package/src/components/listitems/ListItemCheckbox.tsx +29 -15
- package/src/components/listitems/ListItemHeader.tsx +12 -2
- package/src/components/listitems/ListItemInfo.tsx +27 -20
- package/src/components/listitems/ListItemInfoCopy.tsx +27 -16
- package/src/components/listitems/ListItemNav.tsx +44 -40
- package/src/components/listitems/ListItemNavAlert.tsx +30 -16
- package/src/components/listitems/ListItemRadio.tsx +46 -32
- package/src/components/listitems/ListItemRadioWithAmount.tsx +7 -2
- package/src/components/listitems/ListItemSwitch.tsx +21 -27
- package/src/components/listitems/ListItemTransaction.tsx +3 -0
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +435 -429
- package/src/components/modules/ModuleCredential.tsx +5 -2
- package/src/components/modules/ModuleNavigation.tsx +3 -1
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +20 -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/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/utils/accessibility.ts +32 -1
- package/src/utils/fonts.ts +1 -0
|
@@ -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
|
[
|
|
@@ -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
|
|
@@ -23,4 +25,29 @@ export const useBoldTextEnabled = () => {
|
|
|
23
25
|
}, []);
|
|
24
26
|
return boldTextEnabled;
|
|
25
27
|
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Returns a font size multiplier based on the font scale of the device,
|
|
31
|
+
* but limited to the `IOFontSizeMultiplier` value.
|
|
32
|
+
* @returns number
|
|
33
|
+
*/
|
|
34
|
+
export const useIOFontDynamicScale = () => {
|
|
35
|
+
const {
|
|
36
|
+
isExperimental
|
|
37
|
+
} = useIOExperimentalDesign();
|
|
38
|
+
const {
|
|
39
|
+
fontScale
|
|
40
|
+
} = useWindowDimensions();
|
|
41
|
+
const deviceFontScale = isExperimental ? fontScale : 1;
|
|
42
|
+
const hugeFontEnabled = deviceFontScale >= 1.35;
|
|
43
|
+
const dynamicFontScale = Math.min(deviceFontScale, IOFontSizeMultiplier);
|
|
44
|
+
/* We make the spacing dynamic based on the font scale, but we multiply
|
|
45
|
+
this value to limit the amount of scaling applied to the spacing */
|
|
46
|
+
const spacingScaleMultiplier = dynamicFontScale <= IOFontSizeMultiplier ? 1 : 0.8;
|
|
47
|
+
return {
|
|
48
|
+
hugeFontEnabled,
|
|
49
|
+
dynamicFontScale,
|
|
50
|
+
spacingScaleMultiplier
|
|
51
|
+
};
|
|
52
|
+
};
|
|
26
53
|
//# sourceMappingURL=accessibility.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useState","AccessibilityInfo","Platform","useBoldTextEnabled","boldTextEnabled","setBoldTextEnabled","OS","boldTextChangedSubscription","addEventListener","isBoldTextEnabled","then","catch","_","remove"],"sourceRoot":"../../../src","sources":["utils/accessibility.ts"],"mappings":"AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,iBAAiB,EAAEC,QAAQ,QAAQ,cAAc;;
|
|
1
|
+
{"version":3,"names":["useEffect","useState","AccessibilityInfo","Platform","useWindowDimensions","useIOExperimentalDesign","IOFontSizeMultiplier","useBoldTextEnabled","boldTextEnabled","setBoldTextEnabled","OS","boldTextChangedSubscription","addEventListener","isBoldTextEnabled","then","catch","_","remove","useIOFontDynamicScale","isExperimental","fontScale","deviceFontScale","hugeFontEnabled","dynamicFontScale","Math","min","spacingScaleMultiplier"],"sourceRoot":"../../../src","sources":["utils/accessibility.ts"],"mappings":"AAAA,SAASA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3C,SAASC,iBAAiB,EAAEC,QAAQ,EAAEC,mBAAmB,QAAQ,cAAc;AAC/E,SAASC,uBAAuB,QAAQ,SAAS;AACjD,SAASC,oBAAoB,QAAQ,SAAS;;AAE9C;AACA;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAGA,CAAA,KAAM;EACtC,MAAM,CAACC,eAAe,EAAEC,kBAAkB,CAAC,GAAGR,QAAQ,CAAC,KAAK,CAAC;EAE7DD,SAAS,CAAC,MAAM;IACd,IAAIG,QAAQ,CAACO,EAAE,KAAK,KAAK,EAAE;MACzB,MAAMC,2BAA2B,GAAGT,iBAAiB,CAACU,gBAAgB,CACpE,iBAAiB,EACjBC,iBAAiB,IAAI;QACnBJ,kBAAkB,CAACI,iBAAiB,CAAC;MACvC,CACF,CAAC;MAEDX,iBAAiB,CAACW,iBAAiB,CAAC,CAAC,CAClCC,IAAI,CAACD,iBAAiB,IAAI;QACzBJ,kBAAkB,CAACI,iBAAiB,CAAC;MACvC,CAAC,CAAC,CACDE,KAAK,CAACC,CAAC,IAAI,KAAK,CAAC;MAEpB,OAAO,MAAM;QACXL,2BAA2B,CAACM,MAAM,CAAC,CAAC;MACtC,CAAC;IACH;IACA;EACF,CAAC,EAAE,EAAE,CAAC;EAEN,OAAOT,eAAe;AACxB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMU,qBAAqB,GAAGA,CAAA,KAIhC;EACH,MAAM;IAAEC;EAAe,CAAC,GAAGd,uBAAuB,CAAC,CAAC;EACpD,MAAM;IAAEe;EAAU,CAAC,GAAGhB,mBAAmB,CAAC,CAAC;EAE3C,MAAMiB,eAAe,GAAGF,cAAc,GAAGC,SAAS,GAAG,CAAC;EACtD,MAAME,eAAe,GAAGD,eAAe,IAAI,IAAI;EAE/C,MAAME,gBAAgB,GAAGC,IAAI,CAACC,GAAG,CAACJ,eAAe,EAAEf,oBAAoB,CAAC;EACxE;AACF;EACE,MAAMoB,sBAAsB,GAC1BH,gBAAgB,IAAIjB,oBAAoB,GAAG,CAAC,GAAG,GAAG;EAEpD,OAAO;IACLgB,eAAe;IACfC,gBAAgB;IAChBG;EACF,CAAC;AACH,CAAC"}
|
|
@@ -84,6 +84,7 @@ export const makeFontFamilyName = (font, weight = defaultWeight, fontStyle = "no
|
|
|
84
84
|
const defaultFont = "TitilliumSansPro";
|
|
85
85
|
const defaultWeight = "Regular";
|
|
86
86
|
const defaultFontSize = 16;
|
|
87
|
+
export const IOFontSizeMultiplier = 1.5;
|
|
87
88
|
|
|
88
89
|
/**
|
|
89
90
|
* Return a {@link FontStyleObject} with the fields filled based on the platform (iOS or Android).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","fonts","TitilliumSansPro","select","android","web","ios","default","Titillio","DMMono","fontSizes","fontSizesLegacy","allFontSizes","Set","weights","weightValues","fontWeights","Thin","Light","Regular","Medium","Semibold","Bold","Black","getBolderFontWeight","weight","currentWeight","indexOf","length","makeFontFamilyName","font","defaultWeight","fontStyle","defaultFont","defaultFontSize","makeFontStyleObject","size","lineHeight","boldEnabled","dynamicWeight","fontSize","fontFamily","fontWeight","includeFontPadding"],"sourceRoot":"../../../src","sources":["utils/fonts.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAmB,cAAc;;AAElD;AACA;AACA;AACA,MAAMC,KAAK,GAAG;EACZC,gBAAgB,EAAEF,QAAQ,CAACG,MAAM,CAAC;IAChCC,OAAO,EAAE,kBAAkB;IAC3BC,GAAG,EAAE,kBAAkB;IACvBC,GAAG,EAAE,oBAAoB;IACzBC,OAAO,EAAE;EACX,CAAC,CAAC;EACFC,QAAQ,EAAER,QAAQ,CAACG,MAAM,CAAC;IACxBC,OAAO,EAAE,UAAU;IACnBC,GAAG,EAAE,UAAU;IACfC,GAAG,EAAE,UAAU;IACfC,OAAO,EAAE;EACX,CAAC,CAAC;EACFE,MAAM,EAAET,QAAQ,CAACG,MAAM,CAAC;IACtBC,OAAO,EAAE,QAAQ;IACjBC,GAAG,EAAE,QAAQ;IACbC,GAAG,EAAE,SAAS;IACdC,OAAO,EAAE;EACX,CAAC;AACH,CAAU;AAIV;AACA;AACA;AACA,MAAMG,SAAS,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAU;AAC3D,MAAMC,eAAe,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAU;AACjD,MAAMC,YAAY,GAAG,CAAC,GAAG,IAAIC,GAAG,CAAC,CAAC,GAAGH,SAAS,EAAE,GAAGC,eAAe,CAAC,CAAC,CAAC;AAGrE;AACA;AACA;;AAEA,MAAMG,OAAO,GAAG,CACd,MAAM,EACN,OAAO,EACP,SAAS,E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;;
|
|
1
|
+
{"version":3,"names":["Platform","fonts","TitilliumSansPro","select","android","web","ios","default","Titillio","DMMono","fontSizes","fontSizesLegacy","allFontSizes","Set","weights","weightValues","fontWeights","Thin","Light","Regular","Medium","Semibold","Bold","Black","getBolderFontWeight","weight","currentWeight","indexOf","length","makeFontFamilyName","font","defaultWeight","fontStyle","defaultFont","defaultFontSize","IOFontSizeMultiplier","makeFontStyleObject","size","lineHeight","boldEnabled","dynamicWeight","fontSize","fontFamily","fontWeight","includeFontPadding"],"sourceRoot":"../../../src","sources":["utils/fonts.ts"],"mappings":"AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAmB,cAAc;;AAElD;AACA;AACA;AACA,MAAMC,KAAK,GAAG;EACZC,gBAAgB,EAAEF,QAAQ,CAACG,MAAM,CAAC;IAChCC,OAAO,EAAE,kBAAkB;IAC3BC,GAAG,EAAE,kBAAkB;IACvBC,GAAG,EAAE,oBAAoB;IACzBC,OAAO,EAAE;EACX,CAAC,CAAC;EACFC,QAAQ,EAAER,QAAQ,CAACG,MAAM,CAAC;IACxBC,OAAO,EAAE,UAAU;IACnBC,GAAG,EAAE,UAAU;IACfC,GAAG,EAAE,UAAU;IACfC,OAAO,EAAE;EACX,CAAC,CAAC;EACFE,MAAM,EAAET,QAAQ,CAACG,MAAM,CAAC;IACtBC,OAAO,EAAE,QAAQ;IACjBC,GAAG,EAAE,QAAQ;IACbC,GAAG,EAAE,SAAS;IACdC,OAAO,EAAE;EACX,CAAC;AACH,CAAU;AAIV;AACA;AACA;AACA,MAAMG,SAAS,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAU;AAC3D,MAAMC,eAAe,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAU;AACjD,MAAMC,YAAY,GAAG,CAAC,GAAG,IAAIC,GAAG,CAAC,CAAC,GAA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CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAEL,qBAAqB,
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AACjE,OAAO,EAEL,qBAAqB,EAIrB,IAAI,EACL,MAAM,cAAc,CAAC;AAQtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAU/C,KAAK,UAAU,GAAG,UAAU,CAAC;IAC3B,OAAO,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH,KAAK,gBAAgB,GACjB;IACE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEN,KAAK,SAAS,GAAG,UAAU,GAAG,gBAAgB,CAAC;AAgE/C,eAAO,MAAM,KAAK,wEAqIjB,CAAC"}
|
|
@@ -3,10 +3,11 @@ import { WithTestID } from "../../utils/types";
|
|
|
3
3
|
export type Badge = WithTestID<{
|
|
4
4
|
outline?: boolean;
|
|
5
5
|
text: string;
|
|
6
|
+
allowFontScaling?: boolean;
|
|
6
7
|
variant: "default" | "info" | "warning" | "error" | "success" | "purple" | "lightBlue" | "blue" | "turquoise" | "contrast";
|
|
7
8
|
}>;
|
|
8
9
|
/**
|
|
9
10
|
* Official badge component
|
|
10
11
|
*/
|
|
11
|
-
export declare const Badge: ({ text, outline, variant, testID }: Badge) => React.JSX.Element;
|
|
12
|
+
export declare const Badge: ({ text, outline, allowFontScaling, variant, testID }: Badge) => React.JSX.Element;
|
|
12
13
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAG/C,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,EACH,SAAS,GACT,MAAM,GACN,SAAS,GACT,OAAO,GACP,SAAS,GACT,QAAQ,GACR,WAAW,GACX,MAAM,GACN,WAAW,GACX,UAAU,CAAC;CAChB,CAAC,CAAC;AA+BH;;GAEG;AACH,eAAO,MAAM,KAAK,yDAMf,KAAK,sBA8NP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAGrB,IAAI,EAEL,MAAM,cAAc,CAAC;AActB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC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B,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,uBAAuB,CAAC;AAE5B,KAAK,iBAAiB,GAClB;IACE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,iBAAiB,CAAC,EAAE,KAAK,CAAC;CAC3B,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC,CAAC;AAGN,KAAK,gBAAgB,GACjB;IACE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GACD;IACE,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB,CAAC;AAEN,MAAM,MAAM,MAAM,GAAG,eAAe,GAClC,mBAAmB,GACnB,iBAAiB,GACjB,gBAAgB,CAAC;AAMnB,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAGnE,CAAC;AAkBF,eAAO,MAAM,MAAM,iJAchB,MAAM,sBAuIR,CAAC"}
|
|
@@ -17,7 +17,7 @@ export declare const ButtonLink: React.ForwardRefExoticComponent<{
|
|
|
17
17
|
color?: ColorButtonLink | undefined;
|
|
18
18
|
label: string;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
|
-
icon?: "code" | "option" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "
|
|
20
|
+
icon?: "code" | "option" | "search" | "light" | "change" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "lightFilled" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
21
21
|
iconPosition?: "end" | "start" | undefined;
|
|
22
22
|
accessibilityLabel?: string | undefined;
|
|
23
23
|
accessibilityHint?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AActE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AActE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAwDH,eAAO,MAAM,UAAU;;WAlEd,MAAM;;;;;;aASJ,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;mEAsKhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -15,7 +15,7 @@ export declare const ButtonOutline: React.ForwardRefExoticComponent<{
|
|
|
15
15
|
color?: ColorButtonOutline | undefined;
|
|
16
16
|
label: string;
|
|
17
17
|
fullWidth?: boolean | undefined;
|
|
18
|
-
icon?: "code" | "option" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "
|
|
18
|
+
icon?: "code" | "option" | "search" | "light" | "change" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "lightFilled" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
19
19
|
iconPosition?: "end" | "start" | undefined;
|
|
20
20
|
onPress: (event: GestureResponderEvent) => void;
|
|
21
21
|
} & Pick<import("react-native").PressableProps & React.RefAttributes<View>, "accessibilityLabel" | "disabled" | "accessibilityHint"> & import("../../utils/types").TestID & React.RefAttributes<View>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAC1D,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAetB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAC1D,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAetB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,OAAO,EAER,MAAM,UAAU,CAAC;AAGlB,KAAK,kBAAkB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC;IACE,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GAAG,IAAI,CACN,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CACxD,CACF,CAAC;AAgKF,eAAO,MAAM,aAAa;;WA3Kf,MAAM;;;;aAMJ,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;sMAkUlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -38,7 +38,7 @@ export declare const ButtonSolid: React.ForwardRefExoticComponent<{
|
|
|
38
38
|
* @default false
|
|
39
39
|
*/
|
|
40
40
|
loading?: boolean | undefined;
|
|
41
|
-
icon?: "code" | "option" | "search" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "
|
|
41
|
+
icon?: "code" | "option" | "search" | "light" | "change" | "key" | "spid" | "cie" | "cieLetter" | "qrCode" | "bell" | "website" | "abacus" | "home" | "homeFill" | "copy" | "selfCert" | "institution" | "merchant" | "hourglass" | "shareiOs" | "shareAndroid" | "filterOniOS" | "filterOffiOS" | "filterAndroid" | "locked" | "unlocked" | "initiatives" | "analytics" | "fornitori" | "eyeShow" | "eyeHide" | "pinOff" | "pinOn" | "emojiSad" | "emojiHappy" | "phone" | "email" | "emailFill" | "pec" | "messageLegal" | "message" | "chat" | "archive" | "archiveFilled" | "inbox" | "inboxFilled" | "security" | "docGiacenza" | "docPaymentTitle" | "docPaymentCode" | "docAttach" | "docAttachPDF" | "folder" | "receiptOn" | "receiptOff" | "notes" | "attachment" | "print" | "add" | "addSmall" | "success" | "ok" | "fiscalCodeIndividual" | "entityCode" | "creditCard" | "creditCardOff" | "creditCardFilled" | "bonus" | "bonusFilled" | "transactionsBoxed" | "transactions" | "amount" | "psp" | "mapPin" | "locationiOS" | "locationiOSFilled" | "locationAndroid" | "coggle" | "warningFilled" | "notice" | "noticeFilled" | "noticePlain" | "info" | "infoFilled" | "canceled" | "errorFilled" | "legalValue" | "refund" | "reload" | "history" | "edit" | "battery" | "trashcan" | "calendar" | "profile" | "familySharing" | "lightbulb" | "magicWand" | "sparkles" | "starEmpty" | "starFilled" | "starOff" | "heartEmpty" | "heartFilled" | "heartOff" | "switchOff" | "switchCard" | "fingerprint" | "touch" | "device" | "deviceVibration" | "contactless" | "signal" | "notification" | "keyboard" | "keyboardDown" | "dotMenu" | "barcode" | "save" | "login" | "logout" | "ladybug" | "tag" | "gallery" | "externalLink" | "externalLinkSmall" | "forward" | "cancel" | "compare" | "instruction" | "terms" | "help" | "accessibility" | "car" | "healthCard" | "chevronRight" | "chevronLeft" | "chevronBottom" | "chevronTop" | "chevronRightListItem" | "closeLarge" | "closeMedium" | "closeSmall" | "arrowBottom" | "arrowLeft" | "arrowTop" | "arrowRight" | "backiOS" | "backAndroid" | "checkTick" | "checkTickBig" | "read" | "lightFilled" | "navMessages" | "navMessagesFocused" | "navWallet" | "navWalletFocused" | "navQrWallet" | "navScan" | "navServices" | "navServicesFocused" | "navProfile" | "navProfileFocused" | "navPsp" | "legRadioOn" | "legRadioOff" | "legCheckOn" | "legCheckOff" | "biomFingerprint" | "biomFaceID" | "categCulture" | "categWellness" | "categLearning" | "categSport" | "categHome" | "categTelco" | "categFinance" | "categTravel" | "categMobility" | "categJobOffers" | "categShopping" | "categSustainability" | "productIOApp" | "productPagoPA" | "productIOAppBlueBg" | "systemSettingsAndroid" | "systemSettingsiOS" | "systemToggleInstructions" | "systemAppsAndroid" | "systemNotificationsInstructions" | "systemPermissionsAndroid" | "systemLocationiOS" | "systemPhotosiOS" | "systemPrivacyiOS" | "systemBiometricRecognitionOS" | "systemNFC" | "systemPasswordAndroid" | "systemPasswordiOS" | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* @default start
|
|
44
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAe,MAAM,OAAO,CAAC;AAC3D,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAiBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAe,MAAM,OAAO,CAAC;AAC3D,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAiBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAI1D,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAkCjE,MAAM,MAAM,gBAAgB,GAAG,UAAU,CACvC;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAC/B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GAAG,IAAI,CACN,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CACxD,CACF,CAAC;AAqEF,eAAO,MAAM,WAAW;IA5FpB;;OAEG;;WAEI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;;IAGH;;OAEG;;aAEM,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;sMA0NlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAchE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAEL,eAAe,EACf,OAAO,EAER,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAuEH,eAAO,MAAM,UAAU,gGASpB,UAAU,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAchE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAEL,eAAe,EACf,OAAO,EAER,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAuEH,eAAO,MAAM,UAAU,gGASpB,UAAU,sBAoEZ,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAahE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAgB,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAyEH,eAAO,MAAM,eAAe,sFAQzB,eAAe,
|
|
1
|
+
{"version":3,"file":"IconButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAahE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAgB,OAAO,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAyEH,eAAO,MAAM,eAAe,sFAQzB,eAAe,sBA6DjB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PressableProps } from "react-native";
|
|
3
3
|
type Props = {
|
|
4
|
+
size: number;
|
|
4
5
|
checked?: boolean;
|
|
5
6
|
};
|
|
6
7
|
type OwnProps = Props & Pick<PressableProps, "disabled" | "onPress">;
|
|
@@ -8,6 +9,6 @@ type OwnProps = Props & Pick<PressableProps, "disabled" | "onPress">;
|
|
|
8
9
|
* An animated checkbox. This can be used to implement a
|
|
9
10
|
* standard {@link CheckBox} or other composite components.
|
|
10
11
|
*/
|
|
11
|
-
export declare const AnimatedCheckbox: ({ checked, onPress, disabled }: OwnProps) => React.JSX.Element;
|
|
12
|
+
export declare const AnimatedCheckbox: ({ size, checked, onPress, disabled }: OwnProps) => React.JSX.Element;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=AnimatedCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/AnimatedCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,
|
|
1
|
+
{"version":3,"file":"AnimatedCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/AnimatedCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAEL,cAAc,EAIf,MAAM,cAAc,CAAC;AAmBtB,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,QAAQ,GAAG,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAoBrE;;;GAGG;AACH,eAAO,MAAM,gBAAgB,yCAK1B,QAAQ,sBAkGV,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
2
3
|
import { Pressable } from "react-native";
|
|
3
4
|
import { AnimatedCheckbox } from "./AnimatedCheckbox";
|
|
4
5
|
type Props = {
|
|
5
6
|
label: string;
|
|
6
7
|
onValueChange?: (newValue: boolean) => void;
|
|
7
8
|
};
|
|
8
|
-
type OwnProps = Props & Pick<
|
|
9
|
+
type OwnProps = Props & Pick<ComponentProps<typeof AnimatedCheckbox>, "disabled" | "checked"> & Pick<ComponentProps<typeof Pressable>, "onPress">;
|
|
9
10
|
/**
|
|
10
11
|
* A checkbox with the automatic state management that uses a {@link AnimatedCheckBox}
|
|
11
12
|
* The toggleValue change when a `onPress` event is received and dispatch the `onValueChange`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/CheckboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CheckboxLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/checkbox/CheckboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,SAAS,EAAQ,MAAM,cAAc,CAAC;AAU/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7C,CAAC;AAOF,KAAK,QAAQ,GAAG,KAAK,GACnB,IAAI,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GACrE,IAAI,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC;AAEpD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,gDAKvB,QAAQ,sBAwDV,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import { SharedValue } from "react-native-reanimated";
|
|
3
3
|
import { PathProps } from "react-native-svg";
|
|
4
4
|
interface AnimatedTickProps extends PathProps {
|
|
5
|
-
|
|
5
|
+
size?: number;
|
|
6
|
+
progress: SharedValue<number>;
|
|
6
7
|
onLayout?: () => void;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
@@ -10,6 +11,6 @@ interface AnimatedTickProps extends PathProps {
|
|
|
10
11
|
* It comes without any state logic.
|
|
11
12
|
*
|
|
12
13
|
*/
|
|
13
|
-
export declare const AnimatedTick: ({ progress, ...pathProps }: AnimatedTickProps) => React.JSX.Element;
|
|
14
|
+
export declare const AnimatedTick: ({ size, progress, ...pathProps }: AnimatedTickProps) => React.JSX.Element;
|
|
14
15
|
export {};
|
|
15
16
|
//# sourceMappingURL=AnimatedTick.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedTick.d.ts","sourceRoot":"","sources":["../../../../src/components/common/AnimatedTick.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,
|
|
1
|
+
{"version":3,"file":"AnimatedTick.d.ts","sourceRoot":"","sources":["../../../../src/components/common/AnimatedTick.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAiB,EACf,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AACjC,OAAY,EAAQ,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIxD,UAAU,iBAAkB,SAAQ,SAAS;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAKD;;;;GAIG;AACH,eAAO,MAAM,YAAY,qCAItB,iBAAiB,sBAiCnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoPaymentWithFallback.d.ts","sourceRoot":"","sources":["../../../../src/components/common/LogoPaymentWithFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"LogoPaymentWithFallback.d.ts","sourceRoot":"","sources":["../../../../src/components/common/LogoPaymentWithFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,eAAe,EAAQ,MAAM,UAAU,CAAC;AACjD,OAAO,EACL,oBAAoB,EAMrB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,iBAAiB,CAAC,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AACF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,mDAKjC,uBAAuB,sBAuCzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/featureInfo/FeatureInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"FeatureInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/featureInfo/FeatureInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAIL,OAAO,EAEP,YAAY,EAIb,MAAM,kBAAkB,CAAC;AAG1B,KAAK,kBAAkB,GAAG;IAExB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,KAAK,sBAAsB,GACvB;IACE,MAAM,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;KACjD,CAAC;CACH,GACD;IACE,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB,CAAC;AAEN,KAAK,uBAAuB,GACxB;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC;IAAC,aAAa,EAAE,YAAY,CAAA;CAAE,GACjD;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,aAAa,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAEjD,KAAK,gBAAgB,GAAG,uBAAuB,GAC7C,kBAAkB,GAClB,sBAAsB,CAAC;AAazB,eAAO,MAAM,WAAW,8CAKrB,gBAAgB,sBAqClB,CAAC"}
|