@pagopa/io-app-design-system 1.7.1 → 1.9.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/alert/Alert.js +9 -1
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/badge/Badge.js +11 -2
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +5 -3
- package/lib/commonjs/components/banner/Banner.js +0 -1
- package/lib/commonjs/components/banner/Banner.js.map +1 -1
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +5 -5
- package/lib/commonjs/components/buttons/ButtonExtendedOutline.js +1 -1
- package/lib/commonjs/components/buttons/ButtonExtendedOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonLink.js +3 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +8 -48
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +5 -7
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonSolid.js +54 -29
- package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +23 -21
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +14 -2
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +11 -3
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +31 -8
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/featureInfo/FeatureInfo.js +55 -0
- package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -0
- package/lib/commonjs/components/featureInfo/index.js +17 -0
- package/lib/commonjs/components/featureInfo/index.js.map +1 -0
- package/lib/commonjs/components/icons/Icon.js +35 -15
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/IconContained.js +59 -0
- package/lib/commonjs/components/icons/IconContained.js.map +1 -0
- package/lib/commonjs/components/icons/index.js +11 -0
- package/lib/commonjs/components/icons/index.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconChange.js +31 -0
- package/lib/commonjs/components/icons/svg/IconChange.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconContactless.js +31 -0
- package/lib/commonjs/components/icons/svg/IconContactless.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconDisabilityCard.js +31 -0
- package/lib/commonjs/components/icons/svg/IconDisabilityCard.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconDriverLicense.js +31 -0
- package/lib/commonjs/components/icons/svg/IconDriverLicense.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconHealthCard.js +31 -0
- package/lib/commonjs/components/icons/svg/IconHealthCard.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconKey.js +31 -0
- package/lib/commonjs/components/icons/svg/IconKey.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconKeyboard.js +31 -0
- package/lib/commonjs/components/icons/svg/IconKeyboard.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconNotification.js +31 -0
- package/lib/commonjs/components/icons/svg/IconNotification.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconOption.js +31 -0
- package/lib/commonjs/components/icons/svg/IconOption.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconTransactions.js +1 -1
- package/lib/commonjs/components/icons/svg/IconTransactions.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconTransactionsBoxed.js +31 -0
- package/lib/commonjs/components/icons/svg/IconTransactionsBoxed.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconChange.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconContactless.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconDisabilityCard.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconDriverLicense.svg +8 -0
- package/lib/commonjs/components/icons/svg/originals/IconHealthCard.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconKey.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconKeyboard.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconNotification.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconOption.svg +7 -0
- package/lib/commonjs/components/icons/svg/originals/IconTransactions.svg +8 -0
- package/lib/commonjs/components/icons/svg/originals/IconTransactionsBoxed.svg +8 -0
- package/lib/commonjs/components/index.js +22 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAction.js +38 -8
- package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +31 -7
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +40 -10
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +30 -7
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js +32 -7
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -1
- package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +75 -108
- package/lib/commonjs/components/listitems/__test__/listitem.test.js +2 -2
- package/lib/commonjs/components/listitems/__test__/listitem.test.js.map +1 -1
- package/lib/commonjs/components/listitems/index.js +4 -4
- package/lib/commonjs/components/listitems/index.js.map +1 -1
- package/lib/commonjs/components/{listitems/ListItemIDP.js → modules/ModuleIDP.js} +19 -12
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -0
- package/lib/commonjs/components/modules/index.js +17 -0
- package/lib/commonjs/components/modules/index.js.map +1 -0
- package/lib/commonjs/components/pictograms/Pictogram.js +53 -12
- package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramBleedCie.js +47 -0
- package/lib/commonjs/components/pictograms/svg/PictogramBleedCie.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramBleedFeature.js +50 -0
- package/lib/commonjs/components/pictograms/svg/PictogramBleedFeature.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramBleedSecurity.js +44 -0
- package/lib/commonjs/components/pictograms/svg/{PictogramFollowMessage.js.map → PictogramBleedSecurity.js.map} +1 -1
- package/lib/commonjs/components/pictograms/svg/PictogramCie.js +47 -0
- package/lib/commonjs/components/pictograms/svg/PictogramCie.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramFeature.js +50 -0
- package/lib/commonjs/components/pictograms/svg/PictogramFeature.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjClock.js +34 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjClock.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjFlyingMessage.js +34 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjFlyingMessage.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/{PictogramFollowMessage.js → PictogramObjFollowMessage.js} +3 -3
- package/lib/commonjs/components/pictograms/svg/PictogramObjFollowMessage.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjIbanCard.js +76 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjIbanCard.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramObjKey.js +36 -0
- package/lib/commonjs/components/pictograms/svg/{PictogramManual.js.map → PictogramObjKey.js.map} +1 -1
- package/lib/commonjs/components/pictograms/svg/{PictogramManual.js → PictogramObjManual.js} +3 -3
- package/lib/commonjs/components/pictograms/svg/PictogramObjManual.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/{PictogramTrash.js → PictogramObjTrash.js} +3 -3
- package/lib/commonjs/components/pictograms/svg/PictogramObjTrash.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/PictogramSecurity.js +47 -0
- package/lib/commonjs/components/pictograms/svg/PictogramSecurity.js.map +1 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedCie.svg +30 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedFeature.svg +34 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramBleedSecurity.svg +26 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramCie.svg +30 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramFeature.svg +34 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramObjClock.svg +12 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramObjFlyingMessage.svg +12 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramObjIbanCard.svg +59 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramObjKey.svg +14 -0
- package/lib/commonjs/components/pictograms/svg/originals/PictogramSecurity.svg +30 -0
- package/lib/commonjs/components/radio/AnimatedRadio.js +14 -2
- package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/commonjs/components/switch/NativeSwitch.js +19 -5
- package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
- package/lib/commonjs/components/switch/SwitchLabel.js +31 -8
- package/lib/commonjs/components/switch/SwitchLabel.js.map +1 -1
- package/lib/commonjs/components/tag/Tag.js +16 -8
- package/lib/commonjs/components/tag/Tag.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +11 -2
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +1 -4
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/BodyMonospace.js +28 -0
- package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -0
- package/lib/commonjs/components/typography/ButtonText.js +39 -0
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -0
- package/lib/commonjs/components/typography/Caption.js +37 -0
- package/lib/commonjs/components/typography/Caption.js.map +1 -0
- package/lib/commonjs/components/typography/Chip.js +34 -0
- package/lib/commonjs/components/typography/Chip.js.map +1 -0
- package/lib/commonjs/components/typography/H1.js +18 -15
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +18 -15
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +24 -18
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +18 -14
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +19 -33
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +15 -13
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +38 -0
- package/lib/commonjs/components/typography/Hero.js.map +1 -0
- package/lib/commonjs/components/typography/Label.js +13 -10
- package/lib/commonjs/components/typography/Label.js.map +1 -1
- package/lib/commonjs/components/typography/LabelHeader.js +19 -16
- package/lib/commonjs/components/typography/LabelHeader.js.map +1 -1
- package/lib/commonjs/components/typography/{Link.js → LabelLink.js} +9 -14
- package/lib/commonjs/components/typography/LabelLink.js.map +1 -0
- package/lib/commonjs/components/typography/LabelSmall.js +18 -22
- package/lib/commonjs/components/typography/LabelSmall.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +195 -379
- package/lib/commonjs/components/typography/__test__/typography.test.js +10 -42
- package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/commonjs/components/typography/common.js +18 -1
- package/lib/commonjs/components/typography/common.js.map +1 -1
- package/lib/commonjs/components/typography/index.js +45 -12
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/core/IOShapes.js +3 -3
- package/lib/commonjs/core/IOShapes.js.map +1 -1
- package/lib/commonjs/core/IOSpacing.js +8 -8
- package/lib/commonjs/core/IOSpacing.js.map +1 -1
- package/lib/commonjs/core/IOStyles.js +2 -8
- package/lib/commonjs/core/IOStyles.js.map +1 -1
- package/lib/commonjs/stories/Link.stories.js +1 -1
- package/lib/commonjs/stories/Link.stories.js.map +1 -1
- package/lib/commonjs/stories/Monospace.stories.js +1 -1
- package/lib/commonjs/stories/Monospace.stories.js.map +1 -1
- package/lib/commonjs/utils/fonts.js +8 -6
- package/lib/commonjs/utils/fonts.js.map +1 -1
- package/lib/module/components/alert/Alert.js +9 -1
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/badge/Badge.js +12 -3
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +5 -3
- package/lib/module/components/banner/Banner.js +0 -1
- package/lib/module/components/banner/Banner.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +5 -5
- package/lib/module/components/buttons/ButtonExtendedOutline.js +2 -2
- package/lib/module/components/buttons/ButtonExtendedOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonLink.js +3 -2
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +8 -48
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +5 -7
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IconButtonSolid.js +55 -30
- package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +23 -21
- package/lib/module/components/checkbox/AnimatedCheckbox.js +15 -3
- package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +13 -5
- package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +32 -9
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/featureInfo/FeatureInfo.js +47 -0
- package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -0
- package/lib/module/components/featureInfo/index.js +2 -0
- package/lib/module/components/featureInfo/index.js.map +1 -0
- package/lib/module/components/icons/Icon.js +35 -15
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/IconContained.js +51 -0
- package/lib/module/components/icons/IconContained.js.map +1 -0
- package/lib/module/components/icons/index.js +1 -0
- package/lib/module/components/icons/index.js.map +1 -1
- package/lib/module/components/icons/svg/IconChange.js +23 -0
- package/lib/module/components/icons/svg/IconChange.js.map +1 -0
- package/lib/module/components/icons/svg/IconContactless.js +23 -0
- package/lib/module/components/icons/svg/IconContactless.js.map +1 -0
- package/lib/module/components/icons/svg/IconDisabilityCard.js +23 -0
- package/lib/module/components/icons/svg/IconDisabilityCard.js.map +1 -0
- package/lib/module/components/icons/svg/IconDriverLicense.js +23 -0
- package/lib/module/components/icons/svg/IconDriverLicense.js.map +1 -0
- package/lib/module/components/icons/svg/IconHealthCard.js +23 -0
- package/lib/module/components/icons/svg/IconHealthCard.js.map +1 -0
- package/lib/module/components/icons/svg/IconKey.js +23 -0
- package/lib/module/components/icons/svg/IconKey.js.map +1 -0
- package/lib/module/components/icons/svg/IconKeyboard.js +23 -0
- package/lib/module/components/icons/svg/IconKeyboard.js.map +1 -0
- package/lib/module/components/icons/svg/IconNotification.js +23 -0
- package/lib/module/components/icons/svg/IconNotification.js.map +1 -0
- package/lib/module/components/icons/svg/IconOption.js +23 -0
- package/lib/module/components/icons/svg/IconOption.js.map +1 -0
- package/lib/module/components/icons/svg/IconTransactions.js +1 -1
- package/lib/module/components/icons/svg/IconTransactions.js.map +1 -1
- package/lib/module/components/icons/svg/IconTransactionsBoxed.js +23 -0
- package/lib/module/components/icons/svg/IconTransactionsBoxed.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconChange.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconContactless.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconDisabilityCard.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconDriverLicense.svg +8 -0
- package/lib/module/components/icons/svg/originals/IconHealthCard.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconKey.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconKeyboard.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconNotification.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconOption.svg +7 -0
- package/lib/module/components/icons/svg/originals/IconTransactions.svg +8 -0
- package/lib/module/components/icons/svg/originals/IconTransactionsBoxed.svg +8 -0
- package/lib/module/components/index.js +2 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemAction.js +40 -10
- package/lib/module/components/listitems/ListItemAction.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +34 -10
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +43 -13
- package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +34 -10
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemNavAlert.js +35 -10
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemSwitch.js +2 -2
- package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +75 -108
- 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/{listitems/ListItemIDP.js → modules/ModuleIDP.js} +18 -11
- package/lib/module/components/modules/ModuleIDP.js.map +1 -0
- package/lib/module/components/modules/index.js +2 -0
- package/lib/module/components/modules/index.js.map +1 -0
- package/lib/module/components/pictograms/Pictogram.js +51 -10
- package/lib/module/components/pictograms/Pictogram.js.map +1 -1
- package/lib/module/components/pictograms/svg/PictogramBleedCie.js +39 -0
- package/lib/module/components/pictograms/svg/PictogramBleedCie.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramBleedFeature.js +42 -0
- package/lib/module/components/pictograms/svg/PictogramBleedFeature.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramBleedSecurity.js +36 -0
- package/lib/module/components/pictograms/svg/PictogramBleedSecurity.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramCie.js +39 -0
- package/lib/module/components/pictograms/svg/PictogramCie.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramFeature.js +42 -0
- package/lib/module/components/pictograms/svg/PictogramFeature.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramObjClock.js +26 -0
- package/lib/module/components/pictograms/svg/PictogramObjClock.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramObjFlyingMessage.js +26 -0
- package/lib/module/components/pictograms/svg/PictogramObjFlyingMessage.js.map +1 -0
- package/lib/module/components/pictograms/svg/{PictogramFollowMessage.js → PictogramObjFollowMessage.js} +3 -3
- package/lib/module/components/pictograms/svg/PictogramObjFollowMessage.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramObjIbanCard.js +68 -0
- package/lib/module/components/pictograms/svg/PictogramObjIbanCard.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramObjKey.js +28 -0
- package/lib/module/components/pictograms/svg/{PictogramManual.js.map → PictogramObjKey.js.map} +1 -1
- package/lib/module/components/pictograms/svg/{PictogramManual.js → PictogramObjManual.js} +3 -3
- package/lib/module/components/pictograms/svg/PictogramObjManual.js.map +1 -0
- package/lib/module/components/pictograms/svg/{PictogramTrash.js → PictogramObjTrash.js} +3 -3
- package/lib/module/components/pictograms/svg/PictogramObjTrash.js.map +1 -0
- package/lib/module/components/pictograms/svg/PictogramSecurity.js +39 -0
- package/lib/module/components/pictograms/svg/PictogramSecurity.js.map +1 -0
- package/lib/module/components/pictograms/svg/originals/PictogramBleedCie.svg +30 -0
- package/lib/module/components/pictograms/svg/originals/PictogramBleedFeature.svg +34 -0
- package/lib/module/components/pictograms/svg/originals/PictogramBleedSecurity.svg +26 -0
- package/lib/module/components/pictograms/svg/originals/PictogramCie.svg +30 -0
- package/lib/module/components/pictograms/svg/originals/PictogramFeature.svg +34 -0
- package/lib/module/components/pictograms/svg/originals/PictogramObjClock.svg +12 -0
- package/lib/module/components/pictograms/svg/originals/PictogramObjFlyingMessage.svg +12 -0
- package/lib/module/components/pictograms/svg/originals/PictogramObjIbanCard.svg +59 -0
- package/lib/module/components/pictograms/svg/originals/PictogramObjKey.svg +14 -0
- package/lib/module/components/pictograms/svg/originals/PictogramSecurity.svg +30 -0
- package/lib/module/components/radio/AnimatedRadio.js +15 -3
- package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/module/components/switch/NativeSwitch.js +20 -6
- package/lib/module/components/switch/NativeSwitch.js.map +1 -1
- package/lib/module/components/switch/SwitchLabel.js +32 -9
- package/lib/module/components/switch/SwitchLabel.js.map +1 -1
- package/lib/module/components/tag/Tag.js +12 -4
- package/lib/module/components/tag/Tag.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +12 -3
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/typography/Body.js +1 -4
- package/lib/module/components/typography/Body.js.map +1 -1
- package/lib/module/components/typography/BodyMonospace.js +21 -0
- package/lib/module/components/typography/BodyMonospace.js.map +1 -0
- package/lib/module/components/typography/ButtonText.js +31 -0
- package/lib/module/components/typography/ButtonText.js.map +1 -0
- package/lib/module/components/typography/Caption.js +29 -0
- package/lib/module/components/typography/Caption.js.map +1 -0
- package/lib/module/components/typography/Chip.js +27 -0
- package/lib/module/components/typography/Chip.js.map +1 -0
- package/lib/module/components/typography/H1.js +17 -12
- package/lib/module/components/typography/H1.js.map +1 -1
- package/lib/module/components/typography/H2.js +17 -12
- package/lib/module/components/typography/H2.js.map +1 -1
- package/lib/module/components/typography/H3.js +24 -18
- package/lib/module/components/typography/H3.js.map +1 -1
- package/lib/module/components/typography/H4.js +17 -13
- package/lib/module/components/typography/H4.js.map +1 -1
- package/lib/module/components/typography/H5.js +17 -31
- package/lib/module/components/typography/H5.js.map +1 -1
- package/lib/module/components/typography/H6.js +15 -11
- package/lib/module/components/typography/H6.js.map +1 -1
- package/lib/module/components/typography/Hero.js +29 -0
- package/lib/module/components/typography/Hero.js.map +1 -0
- package/lib/module/components/typography/Label.js +13 -10
- package/lib/module/components/typography/Label.js.map +1 -1
- package/lib/module/components/typography/LabelHeader.js +20 -17
- package/lib/module/components/typography/LabelHeader.js.map +1 -1
- package/lib/module/components/typography/{Link.js → LabelLink.js} +6 -11
- package/lib/module/components/typography/LabelLink.js.map +1 -0
- package/lib/module/components/typography/LabelSmall.js +18 -22
- package/lib/module/components/typography/LabelSmall.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +195 -379
- package/lib/module/components/typography/__test__/typography.test.js +10 -42
- package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
- package/lib/module/components/typography/common.js +15 -0
- package/lib/module/components/typography/common.js.map +1 -1
- package/lib/module/components/typography/index.js +6 -3
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/core/IOShapes.js +1 -1
- package/lib/module/core/IOShapes.js.map +1 -1
- package/lib/module/core/IOSpacing.js +4 -4
- package/lib/module/core/IOSpacing.js.map +1 -1
- package/lib/module/core/IOStyles.js +2 -8
- package/lib/module/core/IOStyles.js.map +1 -1
- package/lib/module/stories/Link.stories.js +2 -2
- package/lib/module/stories/Link.stories.js.map +1 -1
- package/lib/module/stories/Monospace.stories.js +2 -2
- package/lib/module/stories/Monospace.stories.js.map +1 -1
- package/lib/module/utils/fonts.js +8 -6
- 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.map +1 -1
- package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +2 -3
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/AnimatedMessageCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
- package/lib/typescript/components/featureInfo/FeatureInfo.d.ts +24 -0
- package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -0
- package/lib/typescript/components/featureInfo/index.d.ts +2 -0
- package/lib/typescript/components/featureInfo/index.d.ts.map +1 -0
- package/lib/typescript/components/icons/Icon.d.ts +11 -1
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/IconContained.d.ts +10 -0
- package/lib/typescript/components/icons/IconContained.d.ts.map +1 -0
- package/lib/typescript/components/icons/index.d.ts +1 -0
- package/lib/typescript/components/icons/index.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconChange.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconChange.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconContactless.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconContactless.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconDisabilityCard.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconDisabilityCard.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconDriverLicense.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconDriverLicense.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconHealthCard.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconHealthCard.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconKey.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconKey.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconKeyboard.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconKeyboard.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconNotification.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconNotification.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconOption.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconOption.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconTransactionsBoxed.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconTransactionsBoxed.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +2 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemAction.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts +1 -1
- package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
- 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/{listitems/ListItemIDP.d.ts → modules/ModuleIDP.d.ts} +4 -4
- package/lib/typescript/components/modules/ModuleIDP.d.ts.map +1 -0
- package/lib/typescript/components/modules/index.d.ts +2 -0
- package/lib/typescript/components/modules/index.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/Pictogram.d.ts +21 -5
- package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
- package/lib/typescript/components/pictograms/svg/PictogramBleedCie.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedCie.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedFeature.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedFeature.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedSecurity.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramBleedSecurity.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramCie.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramCie.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramFeature.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramFeature.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjClock.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjClock.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjFlyingMessage.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjFlyingMessage.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjFollowMessage.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjFollowMessage.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjIbanCard.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjIbanCard.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjKey.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjKey.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjManual.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjManual.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjTrash.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramObjTrash.d.ts.map +1 -0
- package/lib/typescript/components/pictograms/svg/PictogramSecurity.d.ts +5 -0
- package/lib/typescript/components/pictograms/svg/PictogramSecurity.d.ts.map +1 -0
- package/lib/typescript/components/radio/AnimatedRadio.d.ts.map +1 -1
- package/lib/typescript/components/switch/NativeSwitch.d.ts.map +1 -1
- package/lib/typescript/components/switch/SwitchLabel.d.ts.map +1 -1
- package/lib/typescript/components/tag/Tag.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/lib/typescript/components/typography/Body.d.ts +4 -7
- package/lib/typescript/components/typography/Body.d.ts.map +1 -1
- package/lib/typescript/components/typography/BodyMonospace.d.ts +13 -0
- package/lib/typescript/components/typography/BodyMonospace.d.ts.map +1 -0
- package/lib/typescript/components/typography/ButtonText.d.ts +14 -0
- package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -0
- package/lib/typescript/components/typography/Caption.d.ts +14 -0
- package/lib/typescript/components/typography/Caption.d.ts.map +1 -0
- package/lib/typescript/components/typography/Chip.d.ts +13 -0
- package/lib/typescript/components/typography/Chip.d.ts.map +1 -0
- package/lib/typescript/components/typography/H1.d.ts +9 -15
- package/lib/typescript/components/typography/H1.d.ts.map +1 -1
- package/lib/typescript/components/typography/H2.d.ts +9 -15
- package/lib/typescript/components/typography/H2.d.ts.map +1 -1
- package/lib/typescript/components/typography/H3.d.ts +7 -10
- package/lib/typescript/components/typography/H3.d.ts.map +1 -1
- package/lib/typescript/components/typography/H4.d.ts +8 -11
- package/lib/typescript/components/typography/H4.d.ts.map +1 -1
- package/lib/typescript/components/typography/H5.d.ts +9 -24
- package/lib/typescript/components/typography/H5.d.ts.map +1 -1
- package/lib/typescript/components/typography/H6.d.ts +7 -12
- package/lib/typescript/components/typography/H6.d.ts.map +1 -1
- package/lib/typescript/components/typography/Hero.d.ts +15 -0
- package/lib/typescript/components/typography/Hero.d.ts.map +1 -0
- package/lib/typescript/components/typography/Label.d.ts +8 -9
- package/lib/typescript/components/typography/Label.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelHeader.d.ts +4 -7
- package/lib/typescript/components/typography/LabelHeader.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelLink.d.ts +18 -0
- package/lib/typescript/components/typography/LabelLink.d.ts.map +1 -0
- package/lib/typescript/components/typography/LabelSmall.d.ts +4 -7
- package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
- package/lib/typescript/components/typography/common.d.ts +6 -0
- package/lib/typescript/components/typography/common.d.ts.map +1 -1
- package/lib/typescript/components/typography/index.d.ts +6 -3
- package/lib/typescript/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/core/IOShapes.d.ts +1 -1
- package/lib/typescript/core/IOShapes.d.ts.map +1 -1
- package/lib/typescript/core/IOSpacing.d.ts +5 -5
- package/lib/typescript/core/IOSpacing.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +1 -6
- package/lib/typescript/core/IOStyles.d.ts.map +1 -1
- package/lib/typescript/stories/H1.stories.d.ts +2 -2
- package/lib/typescript/stories/H2.stories.d.ts +2 -2
- package/lib/typescript/stories/H3.stories.d.ts +2 -2
- package/lib/typescript/stories/H4.stories.d.ts +2 -2
- package/lib/typescript/stories/H5.stories.d.ts +2 -10
- package/lib/typescript/stories/H5.stories.d.ts.map +1 -1
- package/lib/typescript/stories/H6.stories.d.ts +2 -2
- package/lib/typescript/stories/Label.stories.d.ts +4 -2
- package/lib/typescript/stories/Label.stories.d.ts.map +1 -1
- package/lib/typescript/stories/LabelSmall.stories.d.ts +2 -2
- package/lib/typescript/stories/Link.stories.d.ts +3 -3
- package/lib/typescript/stories/Link.stories.d.ts.map +1 -1
- package/lib/typescript/stories/Monospace.stories.d.ts +2 -2
- package/lib/typescript/stories/Monospace.stories.d.ts.map +1 -1
- package/lib/typescript/utils/fonts.d.ts +3 -3
- package/lib/typescript/utils/fonts.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/alert/Alert.tsx +7 -1
- package/src/components/badge/Badge.tsx +30 -19
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +5 -3
- package/src/components/banner/Banner.tsx +1 -3
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +5 -5
- package/src/components/buttons/ButtonExtendedOutline.tsx +2 -2
- package/src/components/buttons/ButtonLink.tsx +3 -2
- package/src/components/buttons/ButtonOutline.tsx +6 -53
- package/src/components/buttons/ButtonSolid.tsx +8 -17
- package/src/components/buttons/IconButtonSolid.tsx +43 -13
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +23 -21
- package/src/components/checkbox/AnimatedCheckbox.tsx +26 -5
- package/src/components/checkbox/AnimatedMessageCheckbox.tsx +20 -10
- package/src/components/checkbox/CheckboxLabel.tsx +33 -6
- package/src/components/featureInfo/FeatureInfo.tsx +85 -0
- package/src/components/featureInfo/index.tsx +1 -0
- package/src/components/icons/Icon.tsx +35 -15
- package/src/components/icons/IconContained.tsx +76 -0
- package/src/components/icons/index.tsx +1 -0
- package/src/components/icons/svg/IconChange.tsx +16 -0
- package/src/components/icons/svg/IconContactless.tsx +16 -0
- package/src/components/icons/svg/IconDisabilityCard.tsx +16 -0
- package/src/components/icons/svg/IconDriverLicense.tsx +16 -0
- package/src/components/icons/svg/IconHealthCard.tsx +16 -0
- package/src/components/icons/svg/IconKey.tsx +16 -0
- package/src/components/icons/svg/IconKeyboard.tsx +16 -0
- package/src/components/icons/svg/IconNotification.tsx +16 -0
- package/src/components/icons/svg/IconOption.tsx +16 -0
- package/src/components/icons/svg/IconTransactions.tsx +1 -1
- package/src/components/icons/svg/IconTransactionsBoxed.tsx +16 -0
- package/src/components/icons/svg/originals/IconChange.svg +3 -0
- package/src/components/icons/svg/originals/IconContactless.svg +3 -0
- package/src/components/icons/svg/originals/IconDisabilityCard.svg +7 -0
- package/src/components/icons/svg/originals/IconDriverLicense.svg +8 -0
- package/src/components/icons/svg/originals/IconHealthCard.svg +7 -0
- package/src/components/icons/svg/originals/IconKey.svg +7 -0
- package/src/components/icons/svg/originals/IconKeyboard.svg +3 -0
- package/src/components/icons/svg/originals/IconNotification.svg +7 -0
- package/src/components/icons/svg/originals/IconOption.svg +7 -0
- package/src/components/icons/svg/originals/IconTransactions.svg +8 -0
- package/src/components/icons/svg/originals/IconTransactionsBoxed.svg +8 -0
- package/src/components/index.tsx +2 -0
- package/src/components/listitems/ListItemAction.tsx +53 -11
- package/src/components/listitems/ListItemInfo.tsx +55 -11
- package/src/components/listitems/ListItemInfoCopy.tsx +67 -18
- package/src/components/listitems/ListItemNav.tsx +60 -12
- package/src/components/listitems/ListItemNavAlert.tsx +50 -9
- package/src/components/listitems/ListItemSwitch.tsx +4 -4
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +75 -108
- package/src/components/listitems/__test__/listitem.test.tsx +1 -1
- package/src/components/listitems/index.tsx +1 -1
- package/src/components/{listitems/ListItemIDP.tsx → modules/ModuleIDP.tsx} +29 -16
- package/src/components/modules/index.tsx +1 -0
- package/src/components/pictograms/Pictogram.tsx +48 -11
- package/src/components/pictograms/svg/PictogramBleedCie.tsx +38 -0
- package/src/components/pictograms/svg/PictogramBleedFeature.tsx +46 -0
- package/src/components/pictograms/svg/PictogramBleedSecurity.tsx +38 -0
- package/src/components/pictograms/svg/PictogramCie.tsx +38 -0
- package/src/components/pictograms/svg/PictogramFeature.tsx +42 -0
- package/src/components/pictograms/svg/PictogramObjClock.tsx +20 -0
- package/src/components/pictograms/svg/PictogramObjFlyingMessage.tsx +24 -0
- package/src/components/pictograms/svg/{PictogramFollowMessage.tsx → PictogramObjFollowMessage.tsx} +2 -2
- package/src/components/pictograms/svg/PictogramObjIbanCard.tsx +67 -0
- package/src/components/pictograms/svg/PictogramObjKey.tsx +22 -0
- package/src/components/pictograms/svg/{PictogramManual.tsx → PictogramObjManual.tsx} +2 -2
- package/src/components/pictograms/svg/{PictogramTrash.tsx → PictogramObjTrash.tsx} +2 -2
- package/src/components/pictograms/svg/PictogramSecurity.tsx +38 -0
- package/src/components/pictograms/svg/originals/PictogramBleedCie.svg +30 -0
- package/src/components/pictograms/svg/originals/PictogramBleedFeature.svg +34 -0
- package/src/components/pictograms/svg/originals/PictogramBleedSecurity.svg +26 -0
- package/src/components/pictograms/svg/originals/PictogramCie.svg +30 -0
- package/src/components/pictograms/svg/originals/PictogramFeature.svg +34 -0
- package/src/components/pictograms/svg/originals/PictogramObjClock.svg +12 -0
- package/src/components/pictograms/svg/originals/PictogramObjFlyingMessage.svg +12 -0
- package/src/components/pictograms/svg/originals/PictogramObjIbanCard.svg +59 -0
- package/src/components/pictograms/svg/originals/PictogramObjKey.svg +14 -0
- package/src/components/pictograms/svg/originals/PictogramSecurity.svg +30 -0
- package/src/components/radio/AnimatedRadio.tsx +26 -5
- package/src/components/switch/NativeSwitch.tsx +35 -13
- package/src/components/switch/SwitchLabel.tsx +33 -6
- package/src/components/tag/Tag.tsx +39 -24
- package/src/components/textInput/TextInputBase.tsx +20 -3
- package/src/components/typography/Body.tsx +3 -7
- package/src/components/typography/BodyMonospace.tsx +29 -0
- package/src/components/typography/ButtonText.tsx +45 -0
- package/src/components/typography/Caption.tsx +37 -0
- package/src/components/typography/Chip.tsx +33 -0
- package/src/components/typography/H1.tsx +20 -29
- package/src/components/typography/H2.tsx +20 -29
- package/src/components/typography/H3.tsx +21 -20
- package/src/components/typography/H4.tsx +19 -20
- package/src/components/typography/H5.tsx +22 -54
- package/src/components/typography/H6.tsx +17 -15
- package/src/components/typography/Hero.tsx +34 -0
- package/src/components/typography/Label.tsx +23 -21
- package/src/components/typography/LabelHeader.tsx +12 -12
- package/src/components/typography/{Link.tsx → LabelLink.tsx} +15 -12
- package/src/components/typography/LabelSmall.tsx +13 -14
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +195 -379
- package/src/components/typography/__test__/typography.test.tsx +12 -50
- package/src/components/typography/common.tsx +16 -0
- package/src/components/typography/index.tsx +6 -3
- package/src/core/IOShapes.ts +1 -1
- package/src/core/IOSpacing.ts +6 -6
- package/src/core/IOStyles.ts +3 -8
- package/src/stories/Link.stories.ts +5 -5
- package/src/stories/Monospace.stories.ts +5 -5
- package/src/utils/fonts.ts +8 -6
- package/lib/commonjs/components/listitems/ListItemIDP.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramIBANCard.js +0 -75
- package/lib/commonjs/components/pictograms/svg/PictogramIBANCard.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/PictogramTrash.js.map +0 -1
- package/lib/commonjs/components/pictograms/svg/originals/PictogramIBANCard.svg +0 -15
- package/lib/commonjs/components/typography/CTA.js +0 -34
- package/lib/commonjs/components/typography/CTA.js.map +0 -1
- package/lib/commonjs/components/typography/Link.js.map +0 -1
- package/lib/commonjs/components/typography/Monospace.js +0 -30
- package/lib/commonjs/components/typography/Monospace.js.map +0 -1
- package/lib/module/components/listitems/ListItemIDP.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramFollowMessage.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramIBANCard.js +0 -67
- package/lib/module/components/pictograms/svg/PictogramIBANCard.js.map +0 -1
- package/lib/module/components/pictograms/svg/PictogramTrash.js.map +0 -1
- package/lib/module/components/pictograms/svg/originals/PictogramIBANCard.svg +0 -15
- package/lib/module/components/typography/CTA.js +0 -27
- package/lib/module/components/typography/CTA.js.map +0 -1
- package/lib/module/components/typography/Link.js.map +0 -1
- package/lib/module/components/typography/Monospace.js +0 -23
- package/lib/module/components/typography/Monospace.js.map +0 -1
- package/lib/typescript/components/listitems/ListItemIDP.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramFollowMessage.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramFollowMessage.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramIBANCard.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramIBANCard.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramManual.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramManual.d.ts.map +0 -1
- package/lib/typescript/components/pictograms/svg/PictogramTrash.d.ts +0 -5
- package/lib/typescript/components/pictograms/svg/PictogramTrash.d.ts.map +0 -1
- package/lib/typescript/components/typography/CTA.d.ts +0 -16
- package/lib/typescript/components/typography/CTA.d.ts.map +0 -1
- package/lib/typescript/components/typography/Link.d.ts +0 -22
- package/lib/typescript/components/typography/Link.d.ts.map +0 -1
- package/lib/typescript/components/typography/Monospace.d.ts +0 -16
- package/lib/typescript/components/typography/Monospace.d.ts.map +0 -1
- package/src/components/pictograms/svg/PictogramIBANCard.tsx +0 -67
- package/src/components/pictograms/svg/originals/PictogramIBANCard.svg +0 -15
- package/src/components/typography/CTA.tsx +0 -35
- package/src/components/typography/Monospace.tsx +0 -34
- /package/lib/commonjs/components/pictograms/svg/originals/{PictogramFollowMessage.svg → PictogramObjFollowMessage.svg} +0 -0
- /package/lib/commonjs/components/pictograms/svg/originals/{PictogramManual.svg → PictogramObjManual.svg} +0 -0
- /package/lib/commonjs/components/pictograms/svg/originals/{PictogramTrash.svg → PictogramObjTrash.svg} +0 -0
- /package/lib/module/components/pictograms/svg/originals/{PictogramFollowMessage.svg → PictogramObjFollowMessage.svg} +0 -0
- /package/lib/module/components/pictograms/svg/originals/{PictogramManual.svg → PictogramObjManual.svg} +0 -0
- /package/lib/module/components/pictograms/svg/originals/{PictogramTrash.svg → PictogramObjTrash.svg} +0 -0
- /package/src/components/pictograms/svg/originals/{PictogramFollowMessage.svg → PictogramObjFollowMessage.svg} +0 -0
- /package/src/components/pictograms/svg/originals/{PictogramManual.svg → PictogramObjManual.svg} +0 -0
- /package/src/components/pictograms/svg/originals/{PictogramTrash.svg → PictogramObjTrash.svg} +0 -0
|
@@ -3,30 +3,33 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.h1LineHeight = exports.h1FontSize = exports.
|
|
6
|
+
exports.h1LineHeight = exports.h1FontSize = exports.H1 = void 0;
|
|
7
|
+
var _core = require("../../core");
|
|
7
8
|
var _Factory = require("./Factory");
|
|
8
|
-
const h1FontSize =
|
|
9
|
+
const h1FontSize = 28;
|
|
9
10
|
exports.h1FontSize = h1FontSize;
|
|
10
|
-
const h1LineHeight =
|
|
11
|
+
const h1LineHeight = 42;
|
|
11
12
|
exports.h1LineHeight = h1LineHeight;
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
13
|
+
const font = "ReadexPro";
|
|
14
|
+
const defaultColor = "black";
|
|
15
|
+
const defaultWeight = "Regular";
|
|
16
|
+
|
|
17
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
18
|
+
const legacyFont = "TitilliumWeb";
|
|
19
|
+
const legacyDefaultWeight = "Bold";
|
|
15
20
|
|
|
16
21
|
/**
|
|
17
|
-
*
|
|
18
|
-
* default values(if not defined) are weight: `Bold`, color: `bluegreyDark`
|
|
19
|
-
* @param props
|
|
20
|
-
* @constructor
|
|
22
|
+
* `H1` typographic style
|
|
21
23
|
*/
|
|
22
|
-
exports.h1DefaultWeight = h1DefaultWeight;
|
|
23
24
|
const H1 = props => {
|
|
24
|
-
const
|
|
25
|
+
const {
|
|
26
|
+
isExperimental
|
|
27
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
25
28
|
return (0, _Factory.useTypographyFactory)({
|
|
26
29
|
...props,
|
|
27
|
-
defaultWeight:
|
|
28
|
-
defaultColor
|
|
29
|
-
font:
|
|
30
|
+
defaultWeight: isExperimental ? defaultWeight : legacyDefaultWeight,
|
|
31
|
+
defaultColor,
|
|
32
|
+
font: isExperimental ? font : legacyFont,
|
|
30
33
|
fontStyle: {
|
|
31
34
|
fontSize: h1FontSize,
|
|
32
35
|
lineHeight: h1LineHeight
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","h1FontSize","exports","h1LineHeight","font","defaultColor","defaultWeight","legacyFont","legacyDefaultWeight","H1","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/H1.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAUO,MAAME,UAAU,GAAG,EAAE;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AACtB,MAAME,YAAY,GAAG,EAAE;AAACD,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAC/B,MAAMC,IAAgB,GAAG,WAAW;AACpC,MAAMC,YAA2B,GAAG,OAAO;AAC3C,MAAMC,aAA4B,GAAG,SAAS;;AAE9C;AACA,MAAMC,UAAsB,GAAG,cAAc;AAC7C,MAAMC,mBAAkC,GAAG,MAAM;;AAEjD;AACA;AACA;AACO,MAAMC,EAAE,GAAIC,KAAc,IAAK;EACpC,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EAEpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRJ,aAAa,EAAEK,cAAc,GAAGL,aAAa,GAAGE,mBAAmB;IACnEH,YAAY;IACZD,IAAI,EAAEO,cAAc,GAAGP,IAAI,GAAGG,UAAU;IACxCO,SAAS,EAAE;MAAEC,QAAQ,EAAEd,UAAU;MAAEe,UAAU,EAAEb;IAAa;EAC9D,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAO,EAAA,GAAAA,EAAA"}
|
|
@@ -3,30 +3,33 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.h2LineHeight = exports.h2FontSize = exports.
|
|
6
|
+
exports.h2LineHeight = exports.h2FontSize = exports.H2 = void 0;
|
|
7
|
+
var _core = require("../../core");
|
|
7
8
|
var _Factory = require("./Factory");
|
|
8
|
-
const h2FontSize =
|
|
9
|
+
const h2FontSize = 26;
|
|
9
10
|
exports.h2FontSize = h2FontSize;
|
|
10
|
-
const h2LineHeight =
|
|
11
|
+
const h2LineHeight = 39;
|
|
11
12
|
exports.h2LineHeight = h2LineHeight;
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
13
|
+
const font = "ReadexPro";
|
|
14
|
+
const defaultColor = "black";
|
|
15
|
+
const defaultWeight = "Regular";
|
|
16
|
+
|
|
17
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
18
|
+
const legacyFont = "TitilliumWeb";
|
|
19
|
+
const legacyDefaultWeight = "Bold";
|
|
15
20
|
|
|
16
21
|
/**
|
|
17
|
-
*
|
|
18
|
-
* default values(if not defined) are weight: `Bold`, color: `bluegreyDark`
|
|
19
|
-
* @param props
|
|
20
|
-
* @constructor
|
|
22
|
+
* `H2` typographic style
|
|
21
23
|
*/
|
|
22
|
-
exports.h2DefaultWeight = h2DefaultWeight;
|
|
23
24
|
const H2 = props => {
|
|
24
|
-
const
|
|
25
|
+
const {
|
|
26
|
+
isExperimental
|
|
27
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
25
28
|
return (0, _Factory.useTypographyFactory)({
|
|
26
29
|
...props,
|
|
27
|
-
defaultWeight:
|
|
28
|
-
defaultColor
|
|
29
|
-
font:
|
|
30
|
+
defaultWeight: isExperimental ? defaultWeight : legacyDefaultWeight,
|
|
31
|
+
defaultColor,
|
|
32
|
+
font: isExperimental ? font : legacyFont,
|
|
30
33
|
fontStyle: {
|
|
31
34
|
fontSize: h2FontSize,
|
|
32
35
|
lineHeight: h2LineHeight
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","h2FontSize","exports","h2LineHeight","font","defaultColor","defaultWeight","legacyFont","legacyDefaultWeight","H2","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/H2.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAUO,MAAME,UAAU,GAAG,EAAE;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AACtB,MAAME,YAAY,GAAG,EAAE;AAACD,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAC/B,MAAMC,IAAgB,GAAG,WAAW;AACpC,MAAMC,YAA2B,GAAG,OAAO;AAC3C,MAAMC,aAA4B,GAAG,SAAS;;AAE9C;AACA,MAAMC,UAAsB,GAAG,cAAc;AAC7C,MAAMC,mBAAkC,GAAG,MAAM;;AAEjD;AACA;AACA;AACO,MAAMC,EAAE,GAAIC,KAAc,IAAK;EACpC,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EAEpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRJ,aAAa,EAAEK,cAAc,GAAGL,aAAa,GAAGE,mBAAmB;IACnEH,YAAY;IACZD,IAAI,EAAEO,cAAc,GAAGP,IAAI,GAAGG,UAAU;IACxCO,SAAS,EAAE;MAAEC,QAAQ,EAAEd,UAAU;MAAEe,UAAU,EAAEb;IAAa;EAC9D,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAO,EAAA,GAAAA,EAAA"}
|
|
@@ -4,32 +4,38 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.h3LineHeight = exports.h3FontSize = exports.H3 = void 0;
|
|
7
|
+
var _core = require("../../core");
|
|
7
8
|
var _Factory = require("./Factory");
|
|
8
9
|
/* Common typographic styles */
|
|
9
10
|
const h3FontSize = 22;
|
|
10
11
|
exports.h3FontSize = h3FontSize;
|
|
11
12
|
const h3LineHeight = 33;
|
|
12
|
-
/* New typographic styles */
|
|
13
13
|
exports.h3LineHeight = h3LineHeight;
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
14
|
+
const font = "ReadexPro";
|
|
15
|
+
const defaultColor = "black";
|
|
16
|
+
const defaultWeight = "Regular";
|
|
17
17
|
|
|
18
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
19
|
+
const legacyFontName = "TitilliumWeb";
|
|
20
|
+
const legacyDefaultColor = "bluegreyDark";
|
|
21
|
+
const legacyDefaultWeight = "Bold";
|
|
18
22
|
/**
|
|
19
|
-
*
|
|
20
|
-
* default values(if not defined) are weight: `Bold`, color: `bluegreyDark`
|
|
21
|
-
* @param props
|
|
22
|
-
* @constructor
|
|
23
|
+
* `H3` typographic style
|
|
23
24
|
*/
|
|
24
|
-
const H3 = props =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
const H3 = props => {
|
|
26
|
+
const {
|
|
27
|
+
isExperimental
|
|
28
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
29
|
+
return (0, _Factory.useTypographyFactory)({
|
|
30
|
+
...props,
|
|
31
|
+
defaultWeight: isExperimental ? defaultWeight : legacyDefaultWeight,
|
|
32
|
+
defaultColor: isExperimental ? defaultColor : legacyDefaultColor,
|
|
33
|
+
font: isExperimental ? font : legacyFontName,
|
|
34
|
+
fontStyle: {
|
|
35
|
+
fontSize: h3FontSize,
|
|
36
|
+
lineHeight: h3LineHeight
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
};
|
|
34
40
|
exports.H3 = H3;
|
|
35
41
|
//# sourceMappingURL=H3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","h3FontSize","exports","h3LineHeight","font","defaultColor","defaultWeight","legacyFontName","legacyDefaultColor","legacyDefaultWeight","H3","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/H3.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAUA;AACO,MAAME,UAAU,GAAG,EAAE;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AACtB,MAAME,YAAY,GAAG,EAAE;AAACD,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAC/B,MAAMC,IAAgB,GAAG,WAAW;AACpC,MAAMC,YAA2B,GAAG,OAAO;AAC3C,MAAMC,aAA4B,GAAG,SAAS;;AAE9C;AACA,MAAMC,cAA0B,GAAG,cAAc;AACjD,MAAMC,kBAAiC,GAAG,cAAc;AACxD,MAAMC,mBAAkC,GAAG,MAAM;AACjD;AACA;AACA;AACO,MAAMC,EAAE,GAAIC,KAAc,IAAK;EACpC,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EACpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRL,aAAa,EAAEM,cAAc,GAAGN,aAAa,GAAGG,mBAAmB;IACnEJ,YAAY,EAAEO,cAAc,GAAGP,YAAY,GAAGG,kBAAkB;IAChEJ,IAAI,EAAEQ,cAAc,GAAGR,IAAI,GAAGG,cAAc;IAC5CQ,SAAS,EAAE;MAAEC,QAAQ,EAAEf,UAAU;MAAEgB,UAAU,EAAEd;IAAa;EAC9D,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAQ,EAAA,GAAAA,EAAA"}
|
|
@@ -4,29 +4,33 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.h4LineHeight = exports.h4FontSize = exports.H4 = void 0;
|
|
7
|
+
var _core = require("../../core");
|
|
7
8
|
var _Factory = require("./Factory");
|
|
8
|
-
/* Common typographic styles */
|
|
9
9
|
const h4FontSize = 20;
|
|
10
10
|
exports.h4FontSize = h4FontSize;
|
|
11
|
-
const h4LineHeight =
|
|
11
|
+
const h4LineHeight = 30;
|
|
12
|
+
exports.h4LineHeight = h4LineHeight;
|
|
13
|
+
const font = "ReadexPro";
|
|
14
|
+
const defaultColor = "black";
|
|
15
|
+
const defaultWeight = "Regular";
|
|
16
|
+
|
|
17
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
18
|
+
const legacyFontName = "TitilliumWeb";
|
|
19
|
+
const legacyDefaultColor = "bluegreyDark";
|
|
20
|
+
const legacyDefaultWeight = "SemiBold";
|
|
12
21
|
|
|
13
22
|
/**
|
|
14
|
-
*
|
|
15
|
-
* default values(if not defined) are weight: `Regular/SemiBold`, color: `black/bluegreyDark` if design system is enabled or not
|
|
16
|
-
* @param props
|
|
17
|
-
* @constructor
|
|
23
|
+
* `H4` typographic style
|
|
18
24
|
*/
|
|
19
|
-
exports.h4LineHeight = h4LineHeight;
|
|
20
25
|
const H4 = props => {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const defaultWeight = "Regular";
|
|
26
|
+
const {
|
|
27
|
+
isExperimental
|
|
28
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
25
29
|
return (0, _Factory.useTypographyFactory)({
|
|
26
30
|
...props,
|
|
27
|
-
defaultWeight,
|
|
28
|
-
defaultColor,
|
|
29
|
-
font,
|
|
31
|
+
defaultWeight: isExperimental ? defaultWeight : legacyDefaultWeight,
|
|
32
|
+
defaultColor: isExperimental ? defaultColor : legacyDefaultColor,
|
|
33
|
+
font: isExperimental ? font : legacyFontName,
|
|
30
34
|
fontStyle: {
|
|
31
35
|
fontSize: h4FontSize,
|
|
32
36
|
lineHeight: h4LineHeight
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","h4FontSize","exports","h4LineHeight","font","defaultColor","defaultWeight","legacyFontName","legacyDefaultColor","legacyDefaultWeight","H4","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/H4.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAUO,MAAME,UAAU,GAAG,EAAE;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AACtB,MAAME,YAAY,GAAG,EAAE;AAACD,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAC/B,MAAMC,IAAgB,GAAG,WAAW;AACpC,MAAMC,YAA2B,GAAG,OAAO;AAC3C,MAAMC,aAA4B,GAAG,SAAS;;AAE9C;AACA,MAAMC,cAA0B,GAAG,cAAc;AACjD,MAAMC,kBAAiC,GAAG,cAAc;AACxD,MAAMC,mBAAkC,GAAG,UAAU;;AAErD;AACA;AACA;AACO,MAAMC,EAAE,GAAIC,KAAc,IAAK;EACpC,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EACpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRL,aAAa,EAAEM,cAAc,GAAGN,aAAa,GAAGG,mBAAmB;IACnEJ,YAAY,EAAEO,cAAc,GAAGP,YAAY,GAAGG,kBAAkB;IAChEJ,IAAI,EAAEQ,cAAc,GAAGR,IAAI,GAAGG,cAAc;IAC5CQ,SAAS,EAAE;MAAEC,QAAQ,EAAEf,UAAU;MAAEgB,UAAU,EAAEd;IAAa;EAC9D,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAQ,EAAA,GAAAA,EAAA"}
|
|
@@ -3,44 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.h5LineHeight = exports.h5FontSize = exports.H5 = void 0;
|
|
7
7
|
var _Factory = require("./Factory");
|
|
8
|
-
// these colors are allowed only when the weight is SemiBold
|
|
9
|
-
|
|
10
|
-
// when the weight is bold, only the white color is allowed
|
|
11
|
-
|
|
12
|
-
// all the possible colors
|
|
13
|
-
|
|
14
|
-
// all the possible weight
|
|
15
|
-
|
|
16
|
-
// these are the properties allowed only if weight is undefined or SemiBold
|
|
17
|
-
|
|
18
|
-
// these are the properties allowed only if weight is Bold
|
|
19
|
-
|
|
20
8
|
const h5FontSize = 14;
|
|
21
9
|
exports.h5FontSize = h5FontSize;
|
|
22
|
-
const
|
|
23
|
-
exports.
|
|
24
|
-
const
|
|
10
|
+
const h5LineHeight = 16;
|
|
11
|
+
exports.h5LineHeight = h5LineHeight;
|
|
12
|
+
const font = "TitilliumWeb";
|
|
13
|
+
const defaultColor = "black";
|
|
14
|
+
const defaultWeight = "SemiBold";
|
|
25
15
|
|
|
26
16
|
/**
|
|
27
|
-
*
|
|
28
|
-
* default values(if not defined) are weight: `SemiBold`, color: `bluegreyDark`
|
|
29
|
-
* @param props
|
|
30
|
-
* @constructor
|
|
17
|
+
* `H5` typographic style
|
|
31
18
|
*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
};
|
|
19
|
+
const H5 = props => (0, _Factory.useTypographyFactory)({
|
|
20
|
+
...props,
|
|
21
|
+
defaultWeight,
|
|
22
|
+
defaultColor,
|
|
23
|
+
font,
|
|
24
|
+
fontStyle: {
|
|
25
|
+
fontSize: h5FontSize,
|
|
26
|
+
lineHeight: h5LineHeight,
|
|
27
|
+
textTransform: "uppercase",
|
|
28
|
+
letterSpacing: 0.5
|
|
29
|
+
}
|
|
30
|
+
});
|
|
45
31
|
exports.H5 = H5;
|
|
46
32
|
//# sourceMappingURL=H5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_Factory","require","h5FontSize","exports","
|
|
1
|
+
{"version":3,"names":["_Factory","require","h5FontSize","exports","h5LineHeight","font","defaultColor","defaultWeight","H5","props","useTypographyFactory","fontStyle","fontSize","lineHeight","textTransform","letterSpacing"],"sourceRoot":"../../../../src","sources":["components/typography/H5.tsx"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AAUO,MAAMC,UAAU,GAAG,EAAE;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AACtB,MAAME,YAAY,GAAG,EAAE;AAACD,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAC/B,MAAMC,IAAgB,GAAG,cAAc;AACvC,MAAMC,YAA2B,GAAG,OAAO;AAC3C,MAAMC,aAA4B,GAAG,UAAU;;AAE/C;AACA;AACA;AACO,MAAMC,EAAE,GAAIC,KAAc,IAC/B,IAAAC,6BAAoB,EAA+B;EACjD,GAAGD,KAAK;EACRF,aAAa;EACbD,YAAY;EACZD,IAAI;EACJM,SAAS,EAAE;IACTC,QAAQ,EAAEV,UAAU;IACpBW,UAAU,EAAET,YAAY;IACxBU,aAAa,EAAE,WAAW;IAC1BC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC;AAACZ,OAAA,CAAAK,EAAA,GAAAA,EAAA"}
|
|
@@ -3,33 +3,35 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.h6LineHeight = exports.h6FontSize = exports.
|
|
7
|
-
var
|
|
6
|
+
exports.h6LineHeight = exports.h6FontSize = exports.H6 = void 0;
|
|
7
|
+
var _core = require("../../core");
|
|
8
8
|
var _Factory = require("./Factory");
|
|
9
9
|
// when the weight is bold, only these color are allowed
|
|
10
10
|
|
|
11
11
|
const h6FontSize = 16;
|
|
12
12
|
exports.h6FontSize = h6FontSize;
|
|
13
|
-
const h6LineHeight =
|
|
13
|
+
const h6LineHeight = 24;
|
|
14
14
|
exports.h6LineHeight = h6LineHeight;
|
|
15
|
-
const h6DefaultColor =
|
|
16
|
-
exports.h6DefaultColor = h6DefaultColor;
|
|
15
|
+
const h6DefaultColor = _core.IOThemeLight["textBody-default"];
|
|
17
16
|
const h6DefaultWeight = "Regular";
|
|
17
|
+
const fontName = "ReadexPro";
|
|
18
|
+
|
|
19
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
20
|
+
const legacyFontName = "TitilliumWeb";
|
|
21
|
+
const legacyDefaultWeight = "SemiBold";
|
|
18
22
|
|
|
19
23
|
/**
|
|
20
|
-
*
|
|
21
|
-
* default values(if not defined) are weight: `Regular`, color: `black`
|
|
22
|
-
* @param props
|
|
23
|
-
* @constructor
|
|
24
|
+
* `H6` typographic style
|
|
24
25
|
*/
|
|
25
|
-
exports.h6DefaultWeight = h6DefaultWeight;
|
|
26
26
|
const H6 = props => {
|
|
27
|
-
const
|
|
27
|
+
const {
|
|
28
|
+
isExperimental
|
|
29
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
28
30
|
return (0, _Factory.useTypographyFactory)({
|
|
29
31
|
...props,
|
|
30
|
-
defaultWeight: h6DefaultWeight,
|
|
32
|
+
defaultWeight: isExperimental ? h6DefaultWeight : legacyDefaultWeight,
|
|
31
33
|
defaultColor: h6DefaultColor,
|
|
32
|
-
font: fontName,
|
|
34
|
+
font: isExperimental ? fontName : legacyFontName,
|
|
33
35
|
fontStyle: {
|
|
34
36
|
fontSize: h6FontSize,
|
|
35
37
|
lineHeight: h6LineHeight
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","h6FontSize","exports","h6LineHeight","h6DefaultColor","IOThemeLight","h6DefaultWeight","fontName","legacyFontName","legacyDefaultWeight","H6","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","defaultWeight","defaultColor","font","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/H6.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAGA;;AAQO,MAAME,UAAU,GAAG,EAAE;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AACtB,MAAME,YAAY,GAAG,EAAE;AAACD,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAC/B,MAAMC,cAA6B,GAAGC,kBAAY,CAAC,kBAAkB,CAAC;AACtE,MAAMC,eAA8B,GAAG,SAAS;AAChD,MAAMC,QAAoB,GAAG,WAAW;;AAExC;AACA,MAAMC,cAA0B,GAAG,cAAc;AACjD,MAAMC,mBAAkC,GAAG,UAAU;;AAErD;AACA;AACA;AACO,MAAMC,EAAE,GAAIC,KAAc,IAAK;EACpC,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EAEpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRI,aAAa,EAAEH,cAAc,GAAGN,eAAe,GAAGG,mBAAmB;IACrEO,YAAY,EAAEZ,cAAc;IAC5Ba,IAAI,EAAEL,cAAc,GAAGL,QAAQ,GAAGC,cAAc;IAChDU,SAAS,EAAE;MAAEC,QAAQ,EAAElB,UAAU;MAAEmB,UAAU,EAAEjB;IAAa;EAC9D,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAQ,EAAA,GAAAA,EAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.heroLineHeight = exports.heroFontSize = exports.Hero = void 0;
|
|
7
|
+
var _core = require("../../core");
|
|
8
|
+
var _Factory = require("./Factory");
|
|
9
|
+
const heroFontSize = 32;
|
|
10
|
+
exports.heroFontSize = heroFontSize;
|
|
11
|
+
const heroLineHeight = 48;
|
|
12
|
+
exports.heroLineHeight = heroLineHeight;
|
|
13
|
+
const font = "ReadexPro";
|
|
14
|
+
const defaultColor = "black";
|
|
15
|
+
const defaultWeight = "Regular";
|
|
16
|
+
|
|
17
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
18
|
+
const legacyFont = "TitilliumWeb";
|
|
19
|
+
/**
|
|
20
|
+
* `Hero` typographic style
|
|
21
|
+
*/
|
|
22
|
+
const Hero = props => {
|
|
23
|
+
const {
|
|
24
|
+
isExperimental
|
|
25
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
26
|
+
return (0, _Factory.useTypographyFactory)({
|
|
27
|
+
...props,
|
|
28
|
+
defaultWeight,
|
|
29
|
+
defaultColor,
|
|
30
|
+
font: isExperimental ? font : legacyFont,
|
|
31
|
+
fontStyle: {
|
|
32
|
+
fontSize: heroFontSize,
|
|
33
|
+
lineHeight: heroLineHeight
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
exports.Hero = Hero;
|
|
38
|
+
//# sourceMappingURL=Hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","heroFontSize","exports","heroLineHeight","font","defaultColor","defaultWeight","legacyFont","Hero","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/Hero.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AAUO,MAAME,YAAY,GAAG,EAAE;AAACC,OAAA,CAAAD,YAAA,GAAAA,YAAA;AACxB,MAAME,cAAc,GAAG,EAAE;AAACD,OAAA,CAAAC,cAAA,GAAAA,cAAA;AACjC,MAAMC,IAAgB,GAAG,WAAW;AACpC,MAAMC,YAA2B,GAAG,OAAO;AAC3C,MAAMC,aAA4B,GAAG,SAAS;;AAE9C;AACA,MAAMC,UAAsB,GAAG,cAAc;AAC7C;AACA;AACA;AACO,MAAMC,IAAI,GAAIC,KAAgB,IAAK;EACxC,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EAEpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRH,aAAa;IACbD,YAAY;IACZD,IAAI,EAAEM,cAAc,GAAGN,IAAI,GAAGG,UAAU;IACxCM,SAAS,EAAE;MAAEC,QAAQ,EAAEb,YAAY;MAAEc,UAAU,EAAEZ;IAAe;EAClE,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAM,IAAA,GAAAA,IAAA"}
|
|
@@ -5,24 +5,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Label = void 0;
|
|
7
7
|
var _Factory = require("./Factory");
|
|
8
|
+
var _common = require("./common");
|
|
9
|
+
const fontName = "TitilliumWeb";
|
|
10
|
+
const labelDefaultWeight = "Bold";
|
|
11
|
+
const labelDefaultcolor = "black";
|
|
12
|
+
|
|
8
13
|
/**
|
|
9
|
-
*
|
|
10
|
-
* default values(if not defined) are weight: `Bold`, color: `blue`
|
|
11
|
-
* @param props`
|
|
12
|
-
* @constructor
|
|
14
|
+
* `Label` typographic style
|
|
13
15
|
*/
|
|
14
|
-
const Label =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
const Label = _ref => {
|
|
17
|
+
let {
|
|
18
|
+
fontSize,
|
|
19
|
+
...props
|
|
20
|
+
} = _ref;
|
|
19
21
|
return (0, _Factory.useTypographyFactory)({
|
|
20
22
|
...props,
|
|
21
23
|
defaultWeight: labelDefaultWeight,
|
|
22
24
|
defaultColor: labelDefaultcolor,
|
|
23
25
|
font: fontName,
|
|
24
26
|
fontStyle: {
|
|
25
|
-
fontSize
|
|
27
|
+
fontSize: fontSize ? _common.fontSizeMapping[fontSize] : _common.fontSizeMapping.regular,
|
|
28
|
+
lineHeight: fontSize ? _common.lineHeightMapping[fontSize] : _common.lineHeightMapping.regular
|
|
26
29
|
}
|
|
27
30
|
});
|
|
28
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_Factory","require","
|
|
1
|
+
{"version":3,"names":["_Factory","require","_common","fontName","labelDefaultWeight","labelDefaultcolor","Label","_ref","fontSize","props","useTypographyFactory","defaultWeight","defaultColor","font","fontStyle","fontSizeMapping","regular","lineHeight","lineHeightMapping","exports"],"sourceRoot":"../../../../src","sources":["components/typography/Label.tsx"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAeA,MAAME,QAAoB,GAAG,cAAc;AAC3C,MAAMC,kBAAkB,GAAG,MAAM;AACjC,MAAMC,iBAAiB,GAAG,OAAO;;AAEjC;AACA;AACA;AACO,MAAMC,KAAK,GAAGC,IAAA;EAAA,IAAC;IAAEC,QAAQ;IAAE,GAAGC;EAAkB,CAAC,GAAAF,IAAA;EAAA,OACtD,IAAAG,6BAAoB,EAA+B;IACjD,GAAGD,KAAK;IACRE,aAAa,EAAEP,kBAAkB;IACjCQ,YAAY,EAAEP,iBAAiB;IAC/BQ,IAAI,EAAEV,QAAQ;IACdW,SAAS,EAAE;MACTN,QAAQ,EAAEA,QAAQ,GAAGO,uBAAe,CAACP,QAAQ,CAAC,GAAGO,uBAAe,CAACC,OAAO;MACxEC,UAAU,EAAET,QAAQ,GAChBU,yBAAiB,CAACV,QAAQ,CAAC,GAC3BU,yBAAiB,CAACF;IACxB;EACF,CAAC,CAAC;AAAA;AAACG,OAAA,CAAAb,KAAA,GAAAA,KAAA"}
|
|
@@ -6,32 +6,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.labelHeaderLineHeight = exports.labelHeaderFontSize = exports.labelHeaderDefaultColor = exports.LabelHeader = void 0;
|
|
7
7
|
var _core = require("../../core");
|
|
8
8
|
var _Factory = require("./Factory");
|
|
9
|
-
/* Common typographic styles */
|
|
10
9
|
const labelHeaderFontSize = 14;
|
|
11
10
|
exports.labelHeaderFontSize = labelHeaderFontSize;
|
|
12
11
|
const labelHeaderLineHeight = 18;
|
|
13
12
|
exports.labelHeaderLineHeight = labelHeaderLineHeight;
|
|
14
13
|
const labelHeaderDefaultColor = _core.IOThemeLight["textBody-default"];
|
|
15
|
-
/* New typographic styles */
|
|
16
14
|
exports.labelHeaderDefaultColor = labelHeaderDefaultColor;
|
|
17
15
|
const labelHeaderFontName = "ReadexPro";
|
|
18
16
|
const labelHeaderDefaultWeight = "Regular";
|
|
19
17
|
|
|
18
|
+
// TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
|
|
19
|
+
const legacyLabelHeaderFontName = "TitilliumWeb";
|
|
20
|
+
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
-
* default values(if not defined) are weight: `Regular`, color: `bluegreyDark`
|
|
23
|
-
* @param props
|
|
24
|
-
* @constructor
|
|
22
|
+
* `LabelHeader` typographic style
|
|
25
23
|
*/
|
|
26
|
-
const LabelHeader = props =>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
const LabelHeader = props => {
|
|
25
|
+
const {
|
|
26
|
+
isExperimental
|
|
27
|
+
} = (0, _core.useIOExperimentalDesign)();
|
|
28
|
+
return (0, _Factory.useTypographyFactory)({
|
|
29
|
+
...props,
|
|
30
|
+
defaultWeight: labelHeaderDefaultWeight,
|
|
31
|
+
defaultColor: labelHeaderDefaultColor,
|
|
32
|
+
font: isExperimental ? legacyLabelHeaderFontName : labelHeaderFontName,
|
|
33
|
+
fontStyle: {
|
|
34
|
+
fontSize: labelHeaderFontSize,
|
|
35
|
+
lineHeight: labelHeaderLineHeight
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
};
|
|
36
39
|
exports.LabelHeader = LabelHeader;
|
|
37
40
|
//# sourceMappingURL=LabelHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_core","require","_Factory","labelHeaderFontSize","exports","labelHeaderLineHeight","labelHeaderDefaultColor","IOThemeLight","labelHeaderFontName","labelHeaderDefaultWeight","LabelHeader","props","useTypographyFactory","defaultWeight","defaultColor","font","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/LabelHeader.tsx"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"names":["_core","require","_Factory","labelHeaderFontSize","exports","labelHeaderLineHeight","labelHeaderDefaultColor","IOThemeLight","labelHeaderFontName","labelHeaderDefaultWeight","legacyLabelHeaderFontName","LabelHeader","props","isExperimental","useIOExperimentalDesign","useTypographyFactory","defaultWeight","defaultColor","font","fontStyle","fontSize","lineHeight"],"sourceRoot":"../../../../src","sources":["components/typography/LabelHeader.tsx"],"mappings":";;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAeO,MAAME,mBAAmB,GAAG,EAAE;AAACC,OAAA,CAAAD,mBAAA,GAAAA,mBAAA;AAC/B,MAAME,qBAAqB,GAAG,EAAE;AAACD,OAAA,CAAAC,qBAAA,GAAAA,qBAAA;AACjC,MAAMC,uBAAsC,GACjDC,kBAAY,CAAC,kBAAkB,CAAC;AAACH,OAAA,CAAAE,uBAAA,GAAAA,uBAAA;AACnC,MAAME,mBAAiC,GAAG,WAAW;AACrD,MAAMC,wBAAuC,GAAG,SAAS;;AAEzD;AACA,MAAMC,yBAAuC,GAAG,cAAc;;AAE9D;AACA;AACA;AACO,MAAMC,WAAW,GAAIC,KAAuB,IAAK;EACtD,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EAEpD,OAAO,IAAAC,6BAAoB,EAA+B;IACxD,GAAGH,KAAK;IACRI,aAAa,EAAEP,wBAAwB;IACvCQ,YAAY,EAAEX,uBAAuB;IACrCY,IAAI,EAAEL,cAAc,GAAGH,yBAAyB,GAAGF,mBAAmB;IACtEW,SAAS,EAAE;MACTC,QAAQ,EAAEjB,mBAAmB;MAC7BkB,UAAU,EAAEhB;IACd;EACF,CAAC,CAAC;AACJ,CAAC;AAACD,OAAA,CAAAO,WAAA,GAAAA,WAAA"}
|
|
@@ -3,34 +3,29 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.linkDefaultWeight = exports.linkDefaultColor = exports.
|
|
6
|
+
exports.linkDefaultWeight = exports.linkDefaultColor = exports.LabelLink = void 0;
|
|
7
|
+
var _common = require("./common");
|
|
7
8
|
var _Factory = require("./Factory");
|
|
8
9
|
const fontName = "TitilliumWeb";
|
|
9
|
-
const fontSizeMapping = {
|
|
10
|
-
regular: 16,
|
|
11
|
-
small: 14
|
|
12
|
-
};
|
|
13
10
|
const linkDefaultColor = "blueIO-500";
|
|
14
11
|
exports.linkDefaultColor = linkDefaultColor;
|
|
15
|
-
const linkDefaultWeight = "
|
|
12
|
+
const linkDefaultWeight = "SemiBold";
|
|
16
13
|
|
|
17
14
|
/**
|
|
18
|
-
*
|
|
19
|
-
* default values(if not defined) are weight: `SemiBold`, color: `blue`
|
|
20
|
-
* @param props`
|
|
21
|
-
* @constructor
|
|
15
|
+
* `Link` typographic style
|
|
22
16
|
*/
|
|
23
17
|
exports.linkDefaultWeight = linkDefaultWeight;
|
|
24
|
-
const
|
|
18
|
+
const LabelLink = props => (0, _Factory.useTypographyFactory)({
|
|
25
19
|
accessibilityRole: props.onPress ? "link" : undefined,
|
|
26
20
|
...props,
|
|
27
21
|
defaultWeight: linkDefaultWeight,
|
|
28
22
|
defaultColor: linkDefaultColor,
|
|
29
23
|
font: fontName,
|
|
30
24
|
fontStyle: {
|
|
31
|
-
fontSize: props.fontSize ? fontSizeMapping[props.fontSize] : fontSizeMapping.regular,
|
|
25
|
+
fontSize: props.fontSize ? _common.fontSizeMapping[props.fontSize] : _common.fontSizeMapping.regular,
|
|
26
|
+
lineHeight: props.fontSize ? _common.lineHeightMapping[props.fontSize] : _common.lineHeightMapping.regular,
|
|
32
27
|
textDecorationLine: "underline"
|
|
33
28
|
}
|
|
34
29
|
});
|
|
35
|
-
exports.
|
|
36
|
-
//# sourceMappingURL=
|
|
30
|
+
exports.LabelLink = LabelLink;
|
|
31
|
+
//# sourceMappingURL=LabelLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_common","require","_Factory","fontName","linkDefaultColor","exports","linkDefaultWeight","LabelLink","props","useTypographyFactory","accessibilityRole","onPress","undefined","defaultWeight","defaultColor","font","fontStyle","fontSize","fontSizeMapping","regular","lineHeight","lineHeightMapping","textDecorationLine"],"sourceRoot":"../../../../src","sources":["components/typography/LabelLink.tsx"],"mappings":";;;;;;AAEA,IAAAA,OAAA,GAAAC,OAAA;AAOA,IAAAC,QAAA,GAAAD,OAAA;AAWA,MAAME,QAAsB,GAAG,cAAc;AAEtC,MAAMC,gBAA+B,GAAG,YAAY;AAACC,OAAA,CAAAD,gBAAA,GAAAA,gBAAA;AACrD,MAAME,iBAAgC,GAAG,UAAU;;AAE1D;AACA;AACA;AAFAD,OAAA,CAAAC,iBAAA,GAAAA,iBAAA;AAGO,MAAMC,SAAS,GAAIC,KAAgB,IACxC,IAAAC,6BAAoB,EAA+B;EACjDC,iBAAiB,EAAEF,KAAK,CAACG,OAAO,GAAG,MAAM,GAAGC,SAAS;EACrD,GAAGJ,KAAK;EACRK,aAAa,EAAEP,iBAAiB;EAChCQ,YAAY,EAAEV,gBAAgB;EAC9BW,IAAI,EAAEZ,QAAQ;EACda,SAAS,EAAE;IACTC,QAAQ,EAAET,KAAK,CAACS,QAAQ,GACpBC,uBAAe,CAACV,KAAK,CAACS,QAAQ,CAAC,GAC/BC,uBAAe,CAACC,OAAO;IAC3BC,UAAU,EAAEZ,KAAK,CAACS,QAAQ,GACtBI,yBAAiB,CAACb,KAAK,CAACS,QAAQ,CAAC,GACjCI,yBAAiB,CAACF,OAAO;IAC7BG,kBAAkB,EAAE;EACtB;AACF,CAAC,CAAC;AAACjB,OAAA,CAAAE,SAAA,GAAAA,SAAA"}
|