@metamask-previews/design-system-react-native 0.0.0-preview.52473ea → 0.0.0-preview.58198a0
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/dist/components/AvatarAccount/AvatarAccount.constants.d.ts +2 -0
- package/dist/components/AvatarAccount/AvatarAccount.constants.d.ts.map +1 -0
- package/dist/components/AvatarAccount/AvatarAccount.constants.js +19 -0
- package/dist/components/AvatarAccount/AvatarAccount.constants.js.map +1 -0
- package/dist/components/AvatarAccount/AvatarAccount.d.ts +4 -0
- package/dist/components/AvatarAccount/AvatarAccount.d.ts.map +1 -0
- package/dist/components/AvatarAccount/AvatarAccount.js +32 -0
- package/dist/components/AvatarAccount/AvatarAccount.js.map +1 -0
- package/dist/components/AvatarAccount/AvatarAccount.types.d.ts +33 -0
- package/dist/components/AvatarAccount/AvatarAccount.types.d.ts.map +1 -0
- package/dist/components/AvatarAccount/AvatarAccount.types.js +3 -0
- package/dist/components/AvatarAccount/AvatarAccount.types.js.map +1 -0
- package/dist/components/AvatarAccount/index.d.ts +4 -0
- package/dist/components/AvatarAccount/index.d.ts.map +1 -0
- package/dist/components/AvatarAccount/index.js +9 -0
- package/dist/components/AvatarAccount/index.js.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.constants.d.ts +6 -0
- package/dist/components/AvatarBase/AvatarBase.constants.d.ts.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.constants.js +33 -0
- package/dist/components/AvatarBase/AvatarBase.constants.js.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.d.ts +4 -0
- package/dist/components/AvatarBase/AvatarBase.d.ts.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.js +31 -0
- package/dist/components/AvatarBase/AvatarBase.js.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.types.d.ts +59 -0
- package/dist/components/AvatarBase/AvatarBase.types.d.ts.map +1 -0
- package/dist/components/AvatarBase/AvatarBase.types.js +3 -0
- package/dist/components/AvatarBase/AvatarBase.types.js.map +1 -0
- package/dist/components/AvatarBase/index.d.ts +4 -0
- package/dist/components/AvatarBase/index.d.ts.map +1 -0
- package/dist/components/AvatarBase/index.js +9 -0
- package/dist/components/AvatarBase/index.js.map +1 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.d.ts +4 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.d.ts.map +1 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.js +50 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.js.map +1 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts +21 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts.map +1 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.types.js +3 -0
- package/dist/components/AvatarFavicon/AvatarFavicon.types.js.map +1 -0
- package/dist/components/AvatarFavicon/index.d.ts +4 -0
- package/dist/components/AvatarFavicon/index.d.ts.map +1 -0
- package/dist/components/AvatarFavicon/index.js +8 -0
- package/dist/components/AvatarFavicon/index.js.map +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts +5 -0
- package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts.map +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.constants.js +21 -0
- package/dist/components/AvatarGroup/AvatarGroup.constants.js.map +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +4 -0
- package/dist/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.js +71 -0
- package/dist/components/AvatarGroup/AvatarGroup.js.map +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +68 -0
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts.map +1 -0
- package/dist/components/AvatarGroup/AvatarGroup.types.js +3 -0
- package/dist/components/AvatarGroup/AvatarGroup.types.js.map +1 -0
- package/dist/components/AvatarGroup/index.d.ts +4 -0
- package/dist/components/AvatarGroup/index.d.ts.map +1 -0
- package/dist/components/AvatarGroup/index.js +9 -0
- package/dist/components/AvatarGroup/index.js.map +1 -0
- package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts +6 -0
- package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts.map +1 -0
- package/dist/components/AvatarIcon/AvatarIcon.constants.js +28 -0
- package/dist/components/AvatarIcon/AvatarIcon.constants.js.map +1 -0
- package/dist/components/AvatarIcon/AvatarIcon.d.ts +4 -0
- package/dist/components/AvatarIcon/AvatarIcon.d.ts.map +1 -0
- package/dist/components/AvatarIcon/AvatarIcon.js +24 -0
- package/dist/components/AvatarIcon/AvatarIcon.js.map +1 -0
- package/dist/components/AvatarIcon/AvatarIcon.types.d.ts +23 -0
- package/dist/components/AvatarIcon/AvatarIcon.types.d.ts.map +1 -0
- package/dist/components/AvatarIcon/AvatarIcon.types.js +3 -0
- package/dist/components/AvatarIcon/AvatarIcon.types.js.map +1 -0
- package/dist/components/AvatarIcon/index.d.ts +4 -0
- package/dist/components/AvatarIcon/index.d.ts.map +1 -0
- package/dist/components/AvatarIcon/index.js +9 -0
- package/dist/components/AvatarIcon/index.js.map +1 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.d.ts +4 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.d.ts.map +1 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.js +50 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.js.map +1 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts +21 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts.map +1 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.types.js +3 -0
- package/dist/components/AvatarNetwork/AvatarNetwork.types.js.map +1 -0
- package/dist/components/AvatarNetwork/index.d.ts +4 -0
- package/dist/components/AvatarNetwork/index.d.ts.map +1 -0
- package/dist/components/AvatarNetwork/index.js +8 -0
- package/dist/components/AvatarNetwork/index.js.map +1 -0
- package/dist/components/AvatarToken/AvatarToken.d.ts +4 -0
- package/dist/components/AvatarToken/AvatarToken.d.ts.map +1 -0
- package/dist/components/AvatarToken/AvatarToken.js +50 -0
- package/dist/components/AvatarToken/AvatarToken.js.map +1 -0
- package/dist/components/AvatarToken/AvatarToken.types.d.ts +21 -0
- package/dist/components/AvatarToken/AvatarToken.types.d.ts.map +1 -0
- package/dist/components/AvatarToken/AvatarToken.types.js +3 -0
- package/dist/components/AvatarToken/AvatarToken.types.js.map +1 -0
- package/dist/components/AvatarToken/index.d.ts +4 -0
- package/dist/components/AvatarToken/index.d.ts.map +1 -0
- package/dist/components/AvatarToken/index.js +8 -0
- package/dist/components/AvatarToken/index.js.map +1 -0
- package/dist/components/BadgeCount/BadgeCount.constants.d.ts +6 -0
- package/dist/components/BadgeCount/BadgeCount.constants.d.ts.map +1 -0
- package/dist/components/BadgeCount/BadgeCount.constants.js +19 -0
- package/dist/components/BadgeCount/BadgeCount.constants.js.map +1 -0
- package/dist/components/BadgeCount/BadgeCount.d.ts +4 -0
- package/dist/components/BadgeCount/BadgeCount.d.ts.map +1 -0
- package/dist/components/BadgeCount/BadgeCount.js +30 -0
- package/dist/components/BadgeCount/BadgeCount.js.map +1 -0
- package/dist/components/BadgeCount/BadgeCount.types.d.ts +39 -0
- package/dist/components/BadgeCount/BadgeCount.types.d.ts.map +1 -0
- package/dist/components/BadgeCount/BadgeCount.types.js +3 -0
- package/dist/components/BadgeCount/BadgeCount.types.js.map +1 -0
- package/dist/components/BadgeCount/index.d.ts +4 -0
- package/dist/components/BadgeCount/index.d.ts.map +1 -0
- package/dist/components/BadgeCount/index.js +8 -0
- package/dist/components/BadgeCount/index.js.map +1 -0
- package/dist/components/BadgeIcon/BadgeIcon.d.ts +4 -0
- package/dist/components/BadgeIcon/BadgeIcon.d.ts.map +1 -0
- package/dist/components/BadgeIcon/BadgeIcon.js +26 -0
- package/dist/components/BadgeIcon/BadgeIcon.js.map +1 -0
- package/dist/components/BadgeIcon/BadgeIcon.types.d.ts +20 -0
- package/dist/components/BadgeIcon/BadgeIcon.types.d.ts.map +1 -0
- package/dist/components/BadgeIcon/BadgeIcon.types.js +3 -0
- package/dist/components/BadgeIcon/BadgeIcon.types.js.map +1 -0
- package/dist/components/BadgeIcon/index.d.ts +3 -0
- package/dist/components/BadgeIcon/index.d.ts.map +1 -0
- package/dist/components/BadgeIcon/index.js +6 -0
- package/dist/components/BadgeIcon/index.js.map +1 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.d.ts +4 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.d.ts.map +1 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.js +11 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.js.map +1 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts +17 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts.map +1 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.types.js +3 -0
- package/dist/components/BadgeNetwork/BadgeNetwork.types.js.map +1 -0
- package/dist/components/BadgeNetwork/index.d.ts +3 -0
- package/dist/components/BadgeNetwork/index.d.ts.map +1 -0
- package/dist/components/BadgeNetwork/index.js +6 -0
- package/dist/components/BadgeNetwork/index.js.map +1 -0
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts +4 -0
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts.map +1 -0
- package/dist/components/BadgeStatus/BadgeStatus.constants.js +17 -0
- package/dist/components/BadgeStatus/BadgeStatus.constants.js.map +1 -0
- package/dist/components/BadgeStatus/BadgeStatus.d.ts +4 -0
- package/dist/components/BadgeStatus/BadgeStatus.d.ts.map +1 -0
- package/dist/components/BadgeStatus/BadgeStatus.js +24 -0
- package/dist/components/BadgeStatus/BadgeStatus.js.map +1 -0
- package/dist/components/BadgeStatus/BadgeStatus.types.d.ts +37 -0
- package/dist/components/BadgeStatus/BadgeStatus.types.d.ts.map +1 -0
- package/dist/components/BadgeStatus/BadgeStatus.types.js +3 -0
- package/dist/components/BadgeStatus/BadgeStatus.types.js.map +1 -0
- package/dist/components/BadgeStatus/index.d.ts +4 -0
- package/dist/components/BadgeStatus/index.d.ts.map +1 -0
- package/dist/components/BadgeStatus/index.js +9 -0
- package/dist/components/BadgeStatus/index.js.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.d.ts +4 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.d.ts.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.js +110 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.js.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts +73 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts.map +1 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.js +3 -0
- package/dist/components/BadgeWrapper/BadgeWrapper.types.js.map +1 -0
- package/dist/components/BadgeWrapper/index.d.ts +5 -0
- package/dist/components/BadgeWrapper/index.d.ts.map +1 -0
- package/dist/components/BadgeWrapper/index.js +9 -0
- package/dist/components/BadgeWrapper/index.js.map +1 -0
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.js +26 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/Button.types.d.ts +14 -0
- package/dist/components/Button/Button.types.d.ts.map +1 -0
- package/dist/components/Button/Button.types.js +3 -0
- package/dist/components/Button/Button.types.js.map +1 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button/index.js +9 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts +4 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js +106 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js.map +1 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts +19 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.js +3 -0
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.js.map +1 -0
- package/dist/components/Button/variants/ButtonPrimary/index.d.ts +4 -0
- package/dist/components/Button/variants/ButtonPrimary/index.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonPrimary/index.js +8 -0
- package/dist/components/Button/variants/ButtonPrimary/index.js.map +1 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts +4 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js +102 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js.map +1 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts +19 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.js +3 -0
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.js.map +1 -0
- package/dist/components/Button/variants/ButtonSecondary/index.d.ts +4 -0
- package/dist/components/Button/variants/ButtonSecondary/index.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonSecondary/index.js +8 -0
- package/dist/components/Button/variants/ButtonSecondary/index.js.map +1 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts +4 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js +109 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js.map +1 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts +19 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.js +3 -0
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.js.map +1 -0
- package/dist/components/Button/variants/ButtonTertiary/index.d.ts +4 -0
- package/dist/components/Button/variants/ButtonTertiary/index.d.ts.map +1 -0
- package/dist/components/Button/variants/ButtonTertiary/index.js +8 -0
- package/dist/components/Button/variants/ButtonTertiary/index.js.map +1 -0
- package/dist/components/ButtonBase/ButtonBase.d.ts +4 -0
- package/dist/components/ButtonBase/ButtonBase.d.ts.map +1 -0
- package/dist/components/ButtonBase/ButtonBase.js +48 -0
- package/dist/components/ButtonBase/ButtonBase.js.map +1 -0
- package/dist/components/ButtonBase/ButtonBase.types.d.ts +85 -0
- package/dist/components/ButtonBase/ButtonBase.types.d.ts.map +1 -0
- package/dist/components/ButtonBase/ButtonBase.types.js +3 -0
- package/dist/components/ButtonBase/ButtonBase.types.js.map +1 -0
- package/dist/components/ButtonBase/index.d.ts +4 -0
- package/dist/components/ButtonBase/index.d.ts.map +1 -0
- package/dist/components/ButtonBase/index.js +8 -0
- package/dist/components/ButtonBase/index.js.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts +9 -0
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.constants.js +17 -0
- package/dist/components/ButtonIcon/ButtonIcon.constants.js.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.d.ts +4 -0
- package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.js +57 -0
- package/dist/components/ButtonIcon/ButtonIcon.js.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.types.d.ts +52 -0
- package/dist/components/ButtonIcon/ButtonIcon.types.d.ts.map +1 -0
- package/dist/components/ButtonIcon/ButtonIcon.types.js +3 -0
- package/dist/components/ButtonIcon/ButtonIcon.types.js.map +1 -0
- package/dist/components/ButtonIcon/index.d.ts +4 -0
- package/dist/components/ButtonIcon/index.d.ts.map +1 -0
- package/dist/components/ButtonIcon/index.js +8 -0
- package/dist/components/ButtonIcon/index.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +17 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.js +122 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +57 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.js +3 -0
- package/dist/components/Checkbox/Checkbox.types.js.map +1 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Checkbox/index.js +6 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/Icon/Icon.assets.d.ts +6 -0
- package/dist/components/Icon/Icon.assets.d.ts.map +1 -0
- package/dist/components/Icon/Icon.assets.js +558 -0
- package/dist/components/Icon/Icon.assets.js.map +1 -0
- package/dist/components/Icon/Icon.d.ts +4 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/Icon.js +46 -0
- package/dist/components/Icon/Icon.js.map +1 -0
- package/dist/components/Icon/Icon.types.d.ts +39 -0
- package/dist/components/Icon/Icon.types.d.ts.map +1 -0
- package/dist/components/Icon/Icon.types.js +3 -0
- package/dist/components/Icon/Icon.types.js.map +1 -0
- package/dist/components/Icon/Icon.utilities.d.ts +22 -0
- package/dist/components/Icon/Icon.utilities.d.ts.map +1 -0
- package/dist/components/Icon/Icon.utilities.js +31 -0
- package/dist/components/Icon/Icon.utilities.js.map +1 -0
- package/dist/components/Icon/assets/accessibility.svg +1 -0
- package/dist/components/Icon/assets/activity.svg +1 -0
- package/dist/components/Icon/assets/add-card.svg +1 -0
- package/dist/components/Icon/assets/add-circle.svg +1 -0
- package/dist/components/Icon/assets/add-square.svg +1 -0
- package/dist/components/Icon/assets/add.svg +1 -0
- package/dist/components/Icon/assets/ai.svg +1 -0
- package/dist/components/Icon/assets/alternate-email.svg +1 -0
- package/dist/components/Icon/assets/apps.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-down.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-left.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-up-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-2-up.svg +1 -0
- package/dist/components/Icon/assets/arrow-circle-down.svg +1 -0
- package/dist/components/Icon/assets/arrow-circle-up.svg +1 -0
- package/dist/components/Icon/assets/arrow-double-left.svg +1 -0
- package/dist/components/Icon/assets/arrow-double-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-down.svg +1 -0
- package/dist/components/Icon/assets/arrow-drop-down-circle.svg +1 -0
- package/dist/components/Icon/assets/arrow-left.svg +1 -0
- package/dist/components/Icon/assets/arrow-right.svg +1 -0
- package/dist/components/Icon/assets/arrow-up.svg +1 -0
- package/dist/components/Icon/assets/attachment.svg +1 -0
- package/dist/components/Icon/assets/ban.svg +1 -0
- package/dist/components/Icon/assets/bank-assured.svg +1 -0
- package/dist/components/Icon/assets/bank.svg +1 -0
- package/dist/components/Icon/assets/bold.svg +1 -0
- package/dist/components/Icon/assets/book.svg +1 -0
- package/dist/components/Icon/assets/bookmark.svg +1 -0
- package/dist/components/Icon/assets/bridge.svg +1 -0
- package/dist/components/Icon/assets/briefcase.svg +1 -0
- package/dist/components/Icon/assets/bulb.svg +1 -0
- package/dist/components/Icon/assets/buy-sell.svg +1 -0
- package/dist/components/Icon/assets/cake.svg +1 -0
- package/dist/components/Icon/assets/calculator.svg +1 -0
- package/dist/components/Icon/assets/calendar.svg +1 -0
- package/dist/components/Icon/assets/call.svg +1 -0
- package/dist/components/Icon/assets/camera.svg +1 -0
- package/dist/components/Icon/assets/campaign.svg +1 -0
- package/dist/components/Icon/assets/card-pos.svg +1 -0
- package/dist/components/Icon/assets/card.svg +1 -0
- package/dist/components/Icon/assets/cash.svg +1 -0
- package/dist/components/Icon/assets/category.svg +1 -0
- package/dist/components/Icon/assets/chart.svg +1 -0
- package/dist/components/Icon/assets/check-bold.svg +1 -0
- package/dist/components/Icon/assets/check.svg +1 -0
- package/dist/components/Icon/assets/circle-x.svg +1 -0
- package/dist/components/Icon/assets/clock-filled.svg +1 -0
- package/dist/components/Icon/assets/clock.svg +1 -0
- package/dist/components/Icon/assets/close.svg +1 -0
- package/dist/components/Icon/assets/cloud-download.svg +1 -0
- package/dist/components/Icon/assets/cloud-upload.svg +1 -0
- package/dist/components/Icon/assets/cloud.svg +1 -0
- package/dist/components/Icon/assets/code-circle.svg +1 -0
- package/dist/components/Icon/assets/code.svg +1 -0
- package/dist/components/Icon/assets/coin.svg +1 -0
- package/dist/components/Icon/assets/collapse.svg +1 -0
- package/dist/components/Icon/assets/confirmation.svg +1 -0
- package/dist/components/Icon/assets/connect.svg +1 -0
- package/dist/components/Icon/assets/copy-success.svg +1 -0
- package/dist/components/Icon/assets/copy.svg +1 -0
- package/dist/components/Icon/assets/credit-check.svg +1 -0
- package/dist/components/Icon/assets/currency-franc.svg +1 -0
- package/dist/components/Icon/assets/currency-lira.svg +1 -0
- package/dist/components/Icon/assets/currency-pound.svg +1 -0
- package/dist/components/Icon/assets/currency-yuan.svg +3 -0
- package/dist/components/Icon/assets/customize.svg +1 -0
- package/dist/components/Icon/assets/danger.svg +1 -0
- package/dist/components/Icon/assets/dark-filled.svg +1 -0
- package/dist/components/Icon/assets/dark.svg +1 -0
- package/dist/components/Icon/assets/data.svg +1 -0
- package/dist/components/Icon/assets/description.svg +1 -0
- package/dist/components/Icon/assets/details.svg +1 -0
- package/dist/components/Icon/assets/diagram.svg +1 -0
- package/dist/components/Icon/assets/document-code.svg +1 -0
- package/dist/components/Icon/assets/download.svg +1 -0
- package/dist/components/Icon/assets/draft.svg +1 -0
- package/dist/components/Icon/assets/eco-leaf.svg +1 -0
- package/dist/components/Icon/assets/edit-square.svg +1 -0
- package/dist/components/Icon/assets/edit.svg +1 -0
- package/dist/components/Icon/assets/encrypted-add.svg +1 -0
- package/dist/components/Icon/assets/eraser.svg +1 -0
- package/dist/components/Icon/assets/error.svg +1 -0
- package/dist/components/Icon/assets/ethereum.svg +1 -0
- package/dist/components/Icon/assets/exchange.svg +1 -0
- package/dist/components/Icon/assets/expand-vertical.svg +1 -0
- package/dist/components/Icon/assets/expand.svg +1 -0
- package/dist/components/Icon/assets/explore-filled.svg +1 -0
- package/dist/components/Icon/assets/explore.svg +1 -0
- package/dist/components/Icon/assets/export.svg +1 -0
- package/dist/components/Icon/assets/extension.svg +1 -0
- package/dist/components/Icon/assets/eye-slash.svg +1 -0
- package/dist/components/Icon/assets/eye.svg +1 -0
- package/dist/components/Icon/assets/face-id.svg +1 -0
- package/dist/components/Icon/assets/feedback.svg +1 -0
- package/dist/components/Icon/assets/file.svg +1 -0
- package/dist/components/Icon/assets/filter.svg +1 -0
- package/dist/components/Icon/assets/fingerprint.svg +1 -0
- package/dist/components/Icon/assets/fire.svg +1 -0
- package/dist/components/Icon/assets/first-page.svg +1 -0
- package/dist/components/Icon/assets/flag.svg +1 -0
- package/dist/components/Icon/assets/flash-slash.svg +1 -0
- package/dist/components/Icon/assets/flash.svg +1 -0
- package/dist/components/Icon/assets/flask.svg +1 -0
- package/dist/components/Icon/assets/flower.svg +1 -0
- package/dist/components/Icon/assets/folder.svg +1 -0
- package/dist/components/Icon/assets/forest.svg +1 -0
- package/dist/components/Icon/assets/full-circle.svg +1 -0
- package/dist/components/Icon/assets/gas.svg +1 -0
- package/dist/components/Icon/assets/gift.svg +1 -0
- package/dist/components/Icon/assets/global-search.svg +1 -0
- package/dist/components/Icon/assets/global.svg +1 -0
- package/dist/components/Icon/assets/graph.svg +1 -0
- package/dist/components/Icon/assets/hardware.svg +1 -0
- package/dist/components/Icon/assets/hash-tag.svg +1 -0
- package/dist/components/Icon/assets/heart-filled.svg +1 -0
- package/dist/components/Icon/assets/heart.svg +1 -0
- package/dist/components/Icon/assets/hierarchy.svg +1 -0
- package/dist/components/Icon/assets/home-filled.svg +1 -0
- package/dist/components/Icon/assets/home.svg +1 -0
- package/dist/components/Icon/assets/image.svg +1 -0
- package/dist/components/Icon/assets/info.svg +1 -0
- package/dist/components/Icon/assets/inventory.svg +1 -0
- package/dist/components/Icon/assets/joystick.svg +1 -0
- package/dist/components/Icon/assets/keep-filled.svg +1 -0
- package/dist/components/Icon/assets/keep.svg +1 -0
- package/dist/components/Icon/assets/key.svg +1 -0
- package/dist/components/Icon/assets/last-page.svg +1 -0
- package/dist/components/Icon/assets/light-filled.svg +1 -0
- package/dist/components/Icon/assets/light.svg +1 -0
- package/dist/components/Icon/assets/link.svg +1 -0
- package/dist/components/Icon/assets/loading.svg +1 -0
- package/dist/components/Icon/assets/location.svg +1 -0
- package/dist/components/Icon/assets/lock-slash.svg +1 -0
- package/dist/components/Icon/assets/lock.svg +1 -0
- package/dist/components/Icon/assets/locked-filled.svg +1 -0
- package/dist/components/Icon/assets/login.svg +1 -0
- package/dist/components/Icon/assets/logout.svg +1 -0
- package/dist/components/Icon/assets/mail.svg +1 -0
- package/dist/components/Icon/assets/map.svg +1 -0
- package/dist/components/Icon/assets/menu.svg +1 -0
- package/dist/components/Icon/assets/message-question.svg +1 -0
- package/dist/components/Icon/assets/messages.svg +1 -0
- package/dist/components/Icon/assets/mic.svg +1 -0
- package/dist/components/Icon/assets/minus-bold.svg +1 -0
- package/dist/components/Icon/assets/minus-square.svg +1 -0
- package/dist/components/Icon/assets/minus.svg +1 -0
- package/dist/components/Icon/assets/mobile.svg +1 -0
- package/dist/components/Icon/assets/money-bag.svg +1 -0
- package/dist/components/Icon/assets/money.svg +1 -0
- package/dist/components/Icon/assets/monitor.svg +1 -0
- package/dist/components/Icon/assets/more-horizontal.svg +1 -0
- package/dist/components/Icon/assets/more-vertical.svg +1 -0
- package/dist/components/Icon/assets/mountain-flag.svg +1 -0
- package/dist/components/Icon/assets/music-note.svg +1 -0
- package/dist/components/Icon/assets/notification.svg +1 -0
- package/dist/components/Icon/assets/page-info.svg +1 -0
- package/dist/components/Icon/assets/palette.svg +1 -0
- package/dist/components/Icon/assets/password-check.svg +1 -0
- package/dist/components/Icon/assets/pending.svg +1 -0
- package/dist/components/Icon/assets/people.svg +1 -0
- package/dist/components/Icon/assets/person-cancel.svg +1 -0
- package/dist/components/Icon/assets/pin.svg +1 -0
- package/dist/components/Icon/assets/plant.svg +1 -0
- package/dist/components/Icon/assets/plug.svg +1 -0
- package/dist/components/Icon/assets/plus-and-minus.svg +1 -0
- package/dist/components/Icon/assets/policy-alert.svg +1 -0
- package/dist/components/Icon/assets/print.svg +1 -0
- package/dist/components/Icon/assets/priority-high.svg +1 -0
- package/dist/components/Icon/assets/privacy-tip.svg +1 -0
- package/dist/components/Icon/assets/programming-arrows.svg +1 -0
- package/dist/components/Icon/assets/publish.svg +1 -0
- package/dist/components/Icon/assets/qr-code.svg +1 -0
- package/dist/components/Icon/assets/question.svg +1 -0
- package/dist/components/Icon/assets/receive.svg +1 -0
- package/dist/components/Icon/assets/received.svg +1 -0
- package/dist/components/Icon/assets/refresh.svg +1 -0
- package/dist/components/Icon/assets/remove-minus.svg +1 -0
- package/dist/components/Icon/assets/report.svg +1 -0
- package/dist/components/Icon/assets/rocket.svg +1 -0
- package/dist/components/Icon/assets/save-filled.svg +1 -0
- package/dist/components/Icon/assets/save.svg +1 -0
- package/dist/components/Icon/assets/saving.svg +1 -0
- package/dist/components/Icon/assets/scan-barcode.svg +1 -0
- package/dist/components/Icon/assets/scan-focus.svg +1 -0
- package/dist/components/Icon/assets/scan.svg +1 -0
- package/dist/components/Icon/assets/search.svg +1 -0
- package/dist/components/Icon/assets/security-alert.svg +1 -0
- package/dist/components/Icon/assets/security-cross.svg +1 -0
- package/dist/components/Icon/assets/security-key.svg +1 -0
- package/dist/components/Icon/assets/security-search.svg +1 -0
- package/dist/components/Icon/assets/security-slash.svg +1 -0
- package/dist/components/Icon/assets/security-tick.svg +1 -0
- package/dist/components/Icon/assets/security-time.svg +1 -0
- package/dist/components/Icon/assets/security-user.svg +1 -0
- package/dist/components/Icon/assets/security.svg +1 -0
- package/dist/components/Icon/assets/send.svg +1 -0
- package/dist/components/Icon/assets/sentiment-dissatisfied.svg +1 -0
- package/dist/components/Icon/assets/sentiment-neutral.svg +1 -0
- package/dist/components/Icon/assets/sentiment-satisfied.svg +1 -0
- package/dist/components/Icon/assets/sentiment-very-satisfied.svg +1 -0
- package/dist/components/Icon/assets/setting-filled.svg +1 -0
- package/dist/components/Icon/assets/setting.svg +1 -0
- package/dist/components/Icon/assets/share.svg +1 -0
- package/dist/components/Icon/assets/shield-lock.svg +1 -0
- package/dist/components/Icon/assets/shopping-bag.svg +1 -0
- package/dist/components/Icon/assets/shopping-cart.svg +1 -0
- package/dist/components/Icon/assets/signal-cellular.svg +1 -0
- package/dist/components/Icon/assets/slash.svg +1 -0
- package/dist/components/Icon/assets/sms.svg +1 -0
- package/dist/components/Icon/assets/snaps-mobile.svg +1 -0
- package/dist/components/Icon/assets/snaps-plus.svg +1 -0
- package/dist/components/Icon/assets/snaps-round.svg +1 -0
- package/dist/components/Icon/assets/snaps.svg +1 -0
- package/dist/components/Icon/assets/sort-by-alpha.svg +1 -0
- package/dist/components/Icon/assets/sort.svg +1 -0
- package/dist/components/Icon/assets/sparkle.svg +1 -0
- package/dist/components/Icon/assets/speed.svg +1 -0
- package/dist/components/Icon/assets/speedometer.svg +1 -0
- package/dist/components/Icon/assets/square.svg +1 -0
- package/dist/components/Icon/assets/stake.svg +1 -0
- package/dist/components/Icon/assets/star-filled.svg +1 -0
- package/dist/components/Icon/assets/star.svg +1 -0
- package/dist/components/Icon/assets/start.svg +1 -0
- package/dist/components/Icon/assets/storefront.svg +1 -0
- package/dist/components/Icon/assets/student.svg +1 -0
- package/dist/components/Icon/assets/swap-horizontal.svg +1 -0
- package/dist/components/Icon/assets/swap-vertical.svg +3 -0
- package/dist/components/Icon/assets/tab-close.svg +1 -0
- package/dist/components/Icon/assets/table-row.svg +1 -0
- package/dist/components/Icon/assets/tablet.svg +1 -0
- package/dist/components/Icon/assets/tag.svg +1 -0
- package/dist/components/Icon/assets/thumb-down-filled.svg +1 -0
- package/dist/components/Icon/assets/thumb-down.svg +1 -0
- package/dist/components/Icon/assets/thumb-up-filled.svg +1 -0
- package/dist/components/Icon/assets/thumb-up.svg +1 -0
- package/dist/components/Icon/assets/tint.svg +1 -0
- package/dist/components/Icon/assets/tooltip.svg +1 -0
- package/dist/components/Icon/assets/translate.svg +1 -0
- package/dist/components/Icon/assets/trash.svg +1 -0
- package/dist/components/Icon/assets/trend-down.svg +1 -0
- package/dist/components/Icon/assets/trend-up.svg +1 -0
- package/dist/components/Icon/assets/undo.svg +1 -0
- package/dist/components/Icon/assets/unfold.svg +1 -0
- package/dist/components/Icon/assets/unlocked-filled.svg +1 -0
- package/dist/components/Icon/assets/unpin.svg +1 -0
- package/dist/components/Icon/assets/upload-file.svg +1 -0
- package/dist/components/Icon/assets/upload.svg +1 -0
- package/dist/components/Icon/assets/usb.svg +1 -0
- package/dist/components/Icon/assets/user-check.svg +1 -0
- package/dist/components/Icon/assets/user-circle-add.svg +1 -0
- package/dist/components/Icon/assets/user-circle-remove.svg +1 -0
- package/dist/components/Icon/assets/user-circle.svg +1 -0
- package/dist/components/Icon/assets/user.svg +1 -0
- package/dist/components/Icon/assets/verified-filled.svg +1 -0
- package/dist/components/Icon/assets/verified.svg +1 -0
- package/dist/components/Icon/assets/videocam.svg +1 -0
- package/dist/components/Icon/assets/view-column.svg +1 -0
- package/dist/components/Icon/assets/view-in-ar.svg +1 -0
- package/dist/components/Icon/assets/volume-off.svg +1 -0
- package/dist/components/Icon/assets/volume-up.svg +1 -0
- package/dist/components/Icon/assets/wallet-filled.svg +1 -0
- package/dist/components/Icon/assets/wallet.svg +1 -0
- package/dist/components/Icon/assets/warning.svg +1 -0
- package/dist/components/Icon/assets/web-traffic.svg +1 -0
- package/dist/components/Icon/assets/widgets.svg +1 -0
- package/dist/components/Icon/assets/wifi-off.svg +1 -0
- package/dist/components/Icon/assets/wifi.svg +1 -0
- package/dist/components/Icon/assets/x.svg +1 -0
- package/dist/components/Icon/index.d.ts +4 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/Icon/index.js +10 -0
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/Text/Text.constants.d.ts +8 -0
- package/dist/components/Text/Text.constants.d.ts.map +1 -0
- package/dist/components/Text/Text.constants.js +23 -0
- package/dist/components/Text/Text.constants.js.map +1 -0
- package/dist/components/Text/Text.d.ts +4 -0
- package/dist/components/Text/Text.d.ts.map +1 -0
- package/dist/components/Text/Text.js +51 -0
- package/dist/components/Text/Text.js.map +1 -0
- package/dist/components/Text/Text.types.d.ts +45 -0
- package/dist/components/Text/Text.types.d.ts.map +1 -0
- package/dist/components/Text/Text.types.js +3 -0
- package/dist/components/Text/Text.types.js.map +1 -0
- package/dist/components/Text/Text.utilities.d.ts +32 -0
- package/dist/components/Text/Text.utilities.d.ts.map +1 -0
- package/dist/components/Text/Text.utilities.js +46 -0
- package/dist/components/Text/Text.utilities.js.map +1 -0
- package/dist/components/Text/index.d.ts +4 -0
- package/dist/components/Text/index.d.ts.map +1 -0
- package/dist/components/Text/index.js +12 -0
- package/dist/components/Text/index.js.map +1 -0
- package/dist/components/TextButton/TextButton.constants.d.ts +4 -0
- package/dist/components/TextButton/TextButton.constants.d.ts.map +1 -0
- package/dist/components/TextButton/TextButton.constants.js +12 -0
- package/dist/components/TextButton/TextButton.constants.js.map +1 -0
- package/dist/components/TextButton/TextButton.d.ts +4 -0
- package/dist/components/TextButton/TextButton.d.ts.map +1 -0
- package/dist/components/TextButton/TextButton.js +68 -0
- package/dist/components/TextButton/TextButton.js.map +1 -0
- package/dist/components/TextButton/TextButton.types.d.ts +69 -0
- package/dist/components/TextButton/TextButton.types.d.ts.map +1 -0
- package/dist/components/TextButton/TextButton.types.js +3 -0
- package/dist/components/TextButton/TextButton.types.js.map +1 -0
- package/dist/components/TextButton/index.d.ts +4 -0
- package/dist/components/TextButton/index.d.ts.map +1 -0
- package/dist/components/TextButton/index.js +8 -0
- package/dist/components/TextButton/index.js.map +1 -0
- package/dist/components/index.d.ts +49 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +81 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.d.ts +4 -0
- package/dist/components/temp-components/Blockies/Blockies.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.js +14 -0
- package/dist/components/temp-components/Blockies/Blockies.js.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.types.d.ts +15 -0
- package/dist/components/temp-components/Blockies/Blockies.types.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.types.js +3 -0
- package/dist/components/temp-components/Blockies/Blockies.types.js.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts +24 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.js +492 -0
- package/dist/components/temp-components/Blockies/Blockies.utilities.js.map +1 -0
- package/dist/components/temp-components/Blockies/index.d.ts +3 -0
- package/dist/components/temp-components/Blockies/index.d.ts.map +1 -0
- package/dist/components/temp-components/Blockies/index.js +6 -0
- package/dist/components/temp-components/Blockies/index.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts +4 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.d.ts.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js +59 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts +6 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.js +3 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/index.d.ts +3 -0
- package/dist/components/temp-components/ButtonAnimated/index.d.ts.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/index.js +6 -0
- package/dist/components/temp-components/ButtonAnimated/index.js.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts +4 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.d.ts.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js +74 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts +64 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js +3 -0
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.js.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/index.d.ts +3 -0
- package/dist/components/temp-components/ImageOrSvg/index.d.ts.map +1 -0
- package/dist/components/temp-components/ImageOrSvg/index.js +6 -0
- package/dist/components/temp-components/ImageOrSvg/index.js.map +1 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts +4 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.d.ts.map +1 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.js +14 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.js.map +1 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts +11 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts.map +1 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.js +3 -0
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.js.map +1 -0
- package/dist/components/temp-components/Jazzicon/index.d.ts +3 -0
- package/dist/components/temp-components/Jazzicon/index.d.ts.map +1 -0
- package/dist/components/temp-components/Jazzicon/index.js +6 -0
- package/dist/components/temp-components/Jazzicon/index.js.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.d.ts +4 -0
- package/dist/components/temp-components/Maskicon/Maskicon.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.js +52 -0
- package/dist/components/temp-components/Maskicon/Maskicon.js.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts +15 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.js +3 -0
- package/dist/components/temp-components/Maskicon/Maskicon.types.js.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts +57 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.js +282 -0
- package/dist/components/temp-components/Maskicon/Maskicon.utilities.js.map +1 -0
- package/dist/components/temp-components/Maskicon/index.d.ts +3 -0
- package/dist/components/temp-components/Maskicon/index.d.ts.map +1 -0
- package/dist/components/temp-components/Maskicon/index.js +6 -0
- package/dist/components/temp-components/Maskicon/index.js.map +1 -0
- package/dist/components/temp-components/Spinner/Spinner.d.ts +4 -0
- package/dist/components/temp-components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/temp-components/Spinner/Spinner.js +68 -0
- package/dist/components/temp-components/Spinner/Spinner.js.map +1 -0
- package/dist/components/temp-components/Spinner/Spinner.types.d.ts +31 -0
- package/dist/components/temp-components/Spinner/Spinner.types.d.ts.map +1 -0
- package/dist/components/temp-components/Spinner/Spinner.types.js +3 -0
- package/dist/components/temp-components/Spinner/Spinner.types.js.map +1 -0
- package/dist/components/temp-components/Spinner/index.d.ts +3 -0
- package/dist/components/temp-components/Spinner/index.d.ts.map +1 -0
- package/dist/components/temp-components/Spinner/index.js +6 -0
- package/dist/components/temp-components/Spinner/index.js.map +1 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts +4 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.d.ts.map +1 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.js +16 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.js.map +1 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts +16 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts.map +1 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.js +3 -0
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.js.map +1 -0
- package/dist/components/temp-components/TextOrChildren/index.d.ts +3 -0
- package/dist/components/temp-components/TextOrChildren/index.d.ts.map +1 -0
- package/dist/components/temp-components/TextOrChildren/index.js +6 -0
- package/dist/components/temp-components/TextOrChildren/index.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts +618 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +629 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +39 -16
- package/dist/index.cjs +0 -13
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -8
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -8
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -10
- package/dist/index.mjs.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarToken = exports.AvatarTokenSize = void 0;
|
|
4
|
+
var types_1 = require("../../types");
|
|
5
|
+
Object.defineProperty(exports, "AvatarTokenSize", { enumerable: true, get: function () { return types_1.AvatarTokenSize; } });
|
|
6
|
+
var AvatarToken_1 = require("./AvatarToken");
|
|
7
|
+
Object.defineProperty(exports, "AvatarToken", { enumerable: true, get: function () { return AvatarToken_1.AvatarToken; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AvatarToken/index.ts"],"names":[],"mappings":";;;AAAA,qCAA8C;AAArC,wGAAA,eAAe,OAAA;AACxB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA","sourcesContent":["export { AvatarTokenSize } from '../../types';\nexport { AvatarToken } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken.types';\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BadgeCountSize } from '../../types';
|
|
2
|
+
import { TextVariant } from '../Text';
|
|
3
|
+
export declare const MAP_BADGECOUNT_SIZE_TEXTVARIANT: Record<BadgeCountSize, TextVariant>;
|
|
4
|
+
export declare const MAP_BADGECOUNT_SIZE_LINEHEIGHT: Record<BadgeCountSize, string>;
|
|
5
|
+
export declare const TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER: Record<BadgeCountSize, string>;
|
|
6
|
+
//# sourceMappingURL=BadgeCount.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCount.constants.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeCount/BadgeCount.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAGtC,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAClD,cAAc,EACd,WAAW,CAIZ,CAAC;AACF,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAGzE,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,MAAM,CACvD,cAAc,EACd,MAAM,CAIP,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER = exports.MAP_BADGECOUNT_SIZE_LINEHEIGHT = exports.MAP_BADGECOUNT_SIZE_TEXTVARIANT = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const Text_1 = require("../Text");
|
|
6
|
+
// Mappings
|
|
7
|
+
exports.MAP_BADGECOUNT_SIZE_TEXTVARIANT = {
|
|
8
|
+
[types_1.BadgeCountSize.Md]: Text_1.TextVariant.BodyXs,
|
|
9
|
+
[types_1.BadgeCountSize.Lg]: Text_1.TextVariant.BodySm,
|
|
10
|
+
};
|
|
11
|
+
exports.MAP_BADGECOUNT_SIZE_LINEHEIGHT = {
|
|
12
|
+
[types_1.BadgeCountSize.Md]: 'leading-[14px]',
|
|
13
|
+
[types_1.BadgeCountSize.Lg]: 'leading-4', // line-height 16px
|
|
14
|
+
};
|
|
15
|
+
exports.TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER = {
|
|
16
|
+
[types_1.BadgeCountSize.Md]: 'min-w-4 h-3.5 py-0 px-1',
|
|
17
|
+
[types_1.BadgeCountSize.Lg]: 'min-w-6 h-5 py-0.5 px-1.5', // min-width 24px, height 20px, padding-vertical 2, padding-horizontal 6
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=BadgeCount.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCount.constants.js","sourceRoot":"","sources":["../../../src/components/BadgeCount/BadgeCount.constants.ts"],"names":[],"mappings":";;;AAAA,uCAA6C;AAC7C,kCAAsC;AAEtC,WAAW;AACE,QAAA,+BAA+B,GAGxC;IACF,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,MAAM;IACvC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,MAAM;CACxC,CAAC;AACW,QAAA,8BAA8B,GAAmC;IAC5E,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,gBAAgB;IACrC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,mBAAmB;CACtD,CAAC;AAEW,QAAA,oCAAoC,GAG7C;IACF,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,yBAAyB;IAC9C,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,2BAA2B,EAAE,wEAAwE;CAC3H,CAAC","sourcesContent":["import { BadgeCountSize } from '../../types';\nimport { TextVariant } from '../Text';\n\n// Mappings\nexport const MAP_BADGECOUNT_SIZE_TEXTVARIANT: Record<\n BadgeCountSize,\n TextVariant\n> = {\n [BadgeCountSize.Md]: TextVariant.BodyXs,\n [BadgeCountSize.Lg]: TextVariant.BodySm,\n};\nexport const MAP_BADGECOUNT_SIZE_LINEHEIGHT: Record<BadgeCountSize, string> = {\n [BadgeCountSize.Md]: 'leading-[14px]', // line-height 14px\n [BadgeCountSize.Lg]: 'leading-4', // line-height 16px\n};\n\nexport const TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER: Record<\n BadgeCountSize,\n string\n> = {\n [BadgeCountSize.Md]: 'min-w-4 h-3.5 py-0 px-1', // min-width 16px, height 14px, padding-vertical 0, padding-horizontal 4\n [BadgeCountSize.Lg]: 'min-w-6 h-5 py-0.5 px-1.5', // min-width 24px, height 20px, padding-vertical 2, padding-horizontal 6\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCount.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeCount/BadgeCount.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,kEAQpB,eAAe,sBAwBjB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BadgeCount = void 0;
|
|
7
|
+
const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const react_native_1 = require("react-native");
|
|
10
|
+
const types_1 = require("../../types");
|
|
11
|
+
const Text_1 = require("../Text");
|
|
12
|
+
const BadgeCount_constants_1 = require("./BadgeCount.constants");
|
|
13
|
+
const BadgeCount = ({ size = types_1.BadgeCountSize.Md, count, max = 99, textProps, twClassName = '', style, ...props }) => {
|
|
14
|
+
const tw = (0, design_system_twrnc_preset_1.useTailwind)();
|
|
15
|
+
const twContainerClassNames = `
|
|
16
|
+
bg-error-default
|
|
17
|
+
rounded-lg
|
|
18
|
+
items-center
|
|
19
|
+
justify-center
|
|
20
|
+
self-start
|
|
21
|
+
${BadgeCount_constants_1.TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER[size]}
|
|
22
|
+
${twClassName}`;
|
|
23
|
+
return (<react_native_1.View style={[tw `${twContainerClassNames}`, style]} {...props}>
|
|
24
|
+
<Text_1.Text variant={BadgeCount_constants_1.MAP_BADGECOUNT_SIZE_TEXTVARIANT[size]} color={Text_1.TextColor.ErrorInverse} fontWeight={Text_1.FontWeight.Medium} {...textProps} twClassName={`${BadgeCount_constants_1.MAP_BADGECOUNT_SIZE_LINEHEIGHT[size]} ${textProps?.twClassName || ''}`}>
|
|
25
|
+
{count > max ? `${max}+` : `${count}`}
|
|
26
|
+
</Text_1.Text>
|
|
27
|
+
</react_native_1.View>);
|
|
28
|
+
};
|
|
29
|
+
exports.BadgeCount = BadgeCount;
|
|
30
|
+
//# sourceMappingURL=BadgeCount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCount.js","sourceRoot":"","sources":["../../../src/components/BadgeCount/BadgeCount.tsx"],"names":[],"mappings":";;;;;;AAAA,8FAA4E;AAC5E,kDAA0B;AAC1B,+CAAoC;AAEpC,uCAA6C;AAC7C,kCAAsD;AAEtD,iEAIgC;AAGzB,MAAM,UAAU,GAAG,CAAC,EACzB,IAAI,GAAG,sBAAc,CAAC,EAAE,EACxB,KAAK,EACL,GAAG,GAAG,EAAE,EACR,SAAS,EACT,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,GAAG,KAAK,EACQ,EAAE,EAAE;IACpB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IACzB,MAAM,qBAAqB,GAAG;;;;;;MAM1B,2DAAoC,CAAC,IAAI,CAAC;MAC1C,WAAW,EAAE,CAAC;IAElB,OAAO,CACL,CAAC,mBAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAA,GAAG,qBAAqB,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAC5D;MAAA,CAAC,WAAI,CACH,OAAO,CAAC,CAAC,sDAA+B,CAAC,IAAsB,CAAC,CAAC,CACjE,KAAK,CAAC,CAAC,gBAAS,CAAC,YAAY,CAAC,CAC9B,UAAU,CAAC,CAAC,iBAAU,CAAC,MAAM,CAAC,CAC9B,IAAI,SAAS,CAAC,CACd,WAAW,CAAC,CAAC,GAAG,qDAA8B,CAAC,IAAI,CAAC,IAAI,SAAS,EAAE,WAAW,IAAI,EAAE,EAAE,CAAC,CAEvF;QAAA,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,CACvC;MAAA,EAAE,WAAI,CACR;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAhCW,QAAA,UAAU,cAgCrB","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { BadgeCountSize } from '../../types';\nimport { Text, TextColor, FontWeight } from '../Text';\n\nimport {\n MAP_BADGECOUNT_SIZE_TEXTVARIANT,\n TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER,\n MAP_BADGECOUNT_SIZE_LINEHEIGHT,\n} from './BadgeCount.constants';\nimport type { BadgeCountProps } from './BadgeCount.types';\n\nexport const BadgeCount = ({\n size = BadgeCountSize.Md,\n count,\n max = 99,\n textProps,\n twClassName = '',\n style,\n ...props\n}: BadgeCountProps) => {\n const tw = useTailwind();\n const twContainerClassNames = `\n bg-error-default\n rounded-lg\n items-center\n justify-center\n self-start\n ${TWCLASSMAP_BADGECOUNT_SIZE_CONTAINER[size]}\n ${twClassName}`;\n\n return (\n <View style={[tw`${twContainerClassNames}`, style]} {...props}>\n <Text\n variant={MAP_BADGECOUNT_SIZE_TEXTVARIANT[size as BadgeCountSize]}\n color={TextColor.ErrorInverse}\n fontWeight={FontWeight.Medium}\n {...textProps}\n twClassName={`${MAP_BADGECOUNT_SIZE_LINEHEIGHT[size]} ${textProps?.twClassName || ''}`}\n >\n {count > max ? `${max}+` : `${count}`}\n </Text>\n </View>\n );\n};\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ViewProps, StyleProp, ViewStyle } from 'react-native';
|
|
2
|
+
import type { BadgeCountSize } from '../../types';
|
|
3
|
+
import type { TextProps } from '../Text';
|
|
4
|
+
/**
|
|
5
|
+
* BadgeCount component props.
|
|
6
|
+
*/
|
|
7
|
+
export type BadgeCountProps = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional prop to control the size of the BadgeCount
|
|
10
|
+
* Different sizes map to specific height
|
|
11
|
+
*
|
|
12
|
+
* @default IconSize.Md
|
|
13
|
+
*/
|
|
14
|
+
size?: BadgeCountSize;
|
|
15
|
+
/**
|
|
16
|
+
* Required prop to show the count number
|
|
17
|
+
*/
|
|
18
|
+
count: number;
|
|
19
|
+
/**
|
|
20
|
+
* Optional prop to determine the max the count can go up to.
|
|
21
|
+
* If count > max, the count will be shown as "max+"
|
|
22
|
+
*
|
|
23
|
+
* @default 99
|
|
24
|
+
*/
|
|
25
|
+
max?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Optional props to be passed to the Text component used by count
|
|
28
|
+
*/
|
|
29
|
+
textProps?: Partial<TextProps>;
|
|
30
|
+
/**
|
|
31
|
+
* Optional prop to add twrnc overriding classNames.
|
|
32
|
+
*/
|
|
33
|
+
twClassName?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Optional prop to control the style.
|
|
36
|
+
*/
|
|
37
|
+
style?: StyleProp<ViewStyle>;
|
|
38
|
+
} & Omit<ViewProps, 'children'>;
|
|
39
|
+
//# sourceMappingURL=BadgeCount.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCount.types.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeCount/BadgeCount.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCount.types.js","sourceRoot":"","sources":["../../../src/components/BadgeCount/BadgeCount.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps, StyleProp, ViewStyle } from 'react-native';\n\nimport type { BadgeCountSize } from '../../types';\nimport type { TextProps } from '../Text';\n\n/**\n * BadgeCount component props.\n */\nexport type BadgeCountProps = {\n /**\n * Optional prop to control the size of the BadgeCount\n * Different sizes map to specific height\n *\n * @default IconSize.Md\n */\n size?: BadgeCountSize;\n /**\n * Required prop to show the count number\n */\n count: number;\n /**\n * Optional prop to determine the max the count can go up to.\n * If count > max, the count will be shown as \"max+\"\n *\n * @default 99\n */\n max?: number;\n /**\n * Optional props to be passed to the Text component used by count\n */\n textProps?: Partial<TextProps>;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n /**\n * Optional prop to control the style.\n */\n style?: StyleProp<ViewStyle>;\n} & Omit<ViewProps, 'children'>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeCount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BadgeCount = exports.BadgeCountSize = void 0;
|
|
4
|
+
var types_1 = require("../../types");
|
|
5
|
+
Object.defineProperty(exports, "BadgeCountSize", { enumerable: true, get: function () { return types_1.BadgeCountSize; } });
|
|
6
|
+
var BadgeCount_1 = require("./BadgeCount");
|
|
7
|
+
Object.defineProperty(exports, "BadgeCount", { enumerable: true, get: function () { return BadgeCount_1.BadgeCount; } });
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/BadgeCount/index.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;AAApC,uGAAA,cAAc,OAAA;AACvB,2CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { BadgeCountSize } from '../../types';\nexport { BadgeCount } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeIcon/BadgeIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,SAAS,0DAMnB,cAAc,sBAyBhB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BadgeIcon = void 0;
|
|
7
|
+
const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const react_native_1 = require("react-native");
|
|
10
|
+
const Icon_1 = require("../Icon");
|
|
11
|
+
const BadgeIcon = ({ iconName, iconProps, twClassName = '', style, ...props }) => {
|
|
12
|
+
const tw = (0, design_system_twrnc_preset_1.useTailwind)();
|
|
13
|
+
const twContainerClassNames = `
|
|
14
|
+
h-4 w-4
|
|
15
|
+
bg-icon-default
|
|
16
|
+
rounded-full
|
|
17
|
+
items-center
|
|
18
|
+
justify-center
|
|
19
|
+
${twClassName}
|
|
20
|
+
`.trim();
|
|
21
|
+
return (<react_native_1.View style={[tw `${twContainerClassNames}`, style]} accessibilityRole="image" {...props}>
|
|
22
|
+
<Icon_1.Icon color={Icon_1.IconColor.PrimaryInverse} {...iconProps} size={Icon_1.IconSize.Xs} name={iconName}/>
|
|
23
|
+
</react_native_1.View>);
|
|
24
|
+
};
|
|
25
|
+
exports.BadgeIcon = BadgeIcon;
|
|
26
|
+
//# sourceMappingURL=BadgeIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeIcon.js","sourceRoot":"","sources":["../../../src/components/BadgeIcon/BadgeIcon.tsx"],"names":[],"mappings":";;;;;;AAAA,8FAA4E;AAC5E,kDAA0B;AAC1B,+CAAoC;AAEpC,kCAAoD;AAI7C,MAAM,SAAS,GAAG,CAAC,EACxB,QAAQ,EACR,SAAS,EACT,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,GAAG,KAAK,EACO,EAAE,EAAE;IACnB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IACzB,MAAM,qBAAqB,GAAG;;;;;;MAM1B,WAAW;GACd,CAAC,IAAI,EAAE,CAAC;IAET,OAAO,CACL,CAAC,mBAAI,CACH,KAAK,CAAC,CAAC,CAAC,EAAE,CAAA,GAAG,qBAAqB,EAAE,EAAE,KAAK,CAAC,CAAC,CAC7C,iBAAiB,CAAC,OAAO,CACzB,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,WAAI,CACH,KAAK,CAAC,CAAC,gBAAS,CAAC,cAAc,CAAC,CAChC,IAAI,SAAS,CAAC,CACd,IAAI,CAAC,CAAC,eAAQ,CAAC,EAAE,CAAC,CAClB,IAAI,CAAC,CAAC,QAAQ,CAAC,EAEnB;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AA/BW,QAAA,SAAS,aA+BpB","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { Icon, IconSize, IconColor } from '../Icon';\n\nimport type { BadgeIconProps } from './BadgeIcon.types';\n\nexport const BadgeIcon = ({\n iconName,\n iconProps,\n twClassName = '',\n style,\n ...props\n}: BadgeIconProps) => {\n const tw = useTailwind();\n const twContainerClassNames = `\n h-4 w-4 \n bg-icon-default \n rounded-full \n items-center \n justify-center \n ${twClassName}\n `.trim();\n\n return (\n <View\n style={[tw`${twContainerClassNames}`, style]}\n accessibilityRole=\"image\"\n {...props}\n >\n <Icon\n color={IconColor.PrimaryInverse}\n {...iconProps}\n size={IconSize.Xs}\n name={iconName}\n />\n </View>\n );\n};\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { IconName, IconProps } from '../Icon';
|
|
3
|
+
/**
|
|
4
|
+
* BadgeIcon component props.
|
|
5
|
+
*/
|
|
6
|
+
export type BadgeIconProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Required prop to specify an icon to show
|
|
9
|
+
*/
|
|
10
|
+
iconName: IconName;
|
|
11
|
+
/**
|
|
12
|
+
* Optional prop to pass additional properties to the icon
|
|
13
|
+
*/
|
|
14
|
+
iconProps?: Omit<IconProps, 'name'>;
|
|
15
|
+
/**
|
|
16
|
+
* Optional prop to add twrnc overriding classNames.
|
|
17
|
+
*/
|
|
18
|
+
twClassName?: string;
|
|
19
|
+
} & Omit<ViewProps, 'children'>;
|
|
20
|
+
//# sourceMappingURL=BadgeIcon.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeIcon/BadgeIcon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeIcon.types.js","sourceRoot":"","sources":["../../../src/components/BadgeIcon/BadgeIcon.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps } from 'react-native';\n\nimport type { IconName, IconProps } from '../Icon';\n\n/**\n * BadgeIcon component props.\n */\nexport type BadgeIconProps = {\n /**\n * Required prop to specify an icon to show\n */\n iconName: IconName;\n /**\n * Optional prop to pass additional properties to the icon\n */\n iconProps?: Omit<IconProps, 'name'>;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n} & Omit<ViewProps, 'children'>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BadgeIcon = void 0;
|
|
4
|
+
var BadgeIcon_1 = require("./BadgeIcon");
|
|
5
|
+
Object.defineProperty(exports, "BadgeIcon", { enumerable: true, get: function () { return BadgeIcon_1.BadgeIcon; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/BadgeIcon/index.ts"],"names":[],"mappings":";;;AAAA,yCAAwC;AAA/B,sGAAA,SAAS,OAAA","sourcesContent":["export { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeNetwork/BadgeNetwork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,eAAO,MAAM,YAAY,0CAKtB,iBAAiB,sBASnB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BadgeNetwork = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const AvatarNetwork_1 = require("../AvatarNetwork");
|
|
9
|
+
const BadgeNetwork = ({ src, name, fallbackText, ...props }) => (<AvatarNetwork_1.AvatarNetwork src={src} name={name} fallbackText={fallbackText} {...props} size={AvatarNetwork_1.AvatarNetworkSize.Xs} hasBorder/>);
|
|
10
|
+
exports.BadgeNetwork = BadgeNetwork;
|
|
11
|
+
//# sourceMappingURL=BadgeNetwork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.js","sourceRoot":"","sources":["../../../src/components/BadgeNetwork/BadgeNetwork.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,oDAAoE;AAI7D,MAAM,YAAY,GAAG,CAAC,EAC3B,GAAG,EACH,IAAI,EACJ,YAAY,EACZ,GAAG,KAAK,EACU,EAAE,EAAE,CAAC,CACvB,CAAC,6BAAa,CACZ,GAAG,CAAC,CAAC,GAAG,CAAC,CACT,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,YAAY,CAAC,CAAC,YAAY,CAAC,CAC3B,IAAI,KAAK,CAAC,CACV,IAAI,CAAC,CAAC,iCAAiB,CAAC,EAAE,CAAC,CAC3B,SAAS,EACT,CACH,CAAC;AAdW,QAAA,YAAY,gBAcvB","sourcesContent":["import React from 'react';\n\nimport { AvatarNetwork, AvatarNetworkSize } from '../AvatarNetwork';\n\nimport type { BadgeNetworkProps } from './BadgeNetwork.types';\n\nexport const BadgeNetwork = ({\n src,\n name,\n fallbackText,\n ...props\n}: BadgeNetworkProps) => (\n <AvatarNetwork\n src={src}\n name={name}\n fallbackText={fallbackText}\n {...props}\n size={AvatarNetworkSize.Xs}\n hasBorder\n />\n);\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AvatarNetworkProps } from '../AvatarNetwork';
|
|
2
|
+
import type { ImageOrSvgSrc } from '../temp-components/ImageOrSvg';
|
|
3
|
+
export type BadgeNetworkProps = Omit<AvatarNetworkProps, 'size' | 'shape'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Optional prop for the source of the image or SVG.
|
|
6
|
+
*/
|
|
7
|
+
src?: ImageOrSvgSrc;
|
|
8
|
+
/**
|
|
9
|
+
* Optional props for network name, to be used to calculate the fallbackText.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Optional text to be rendered when the content fails to render
|
|
14
|
+
*/
|
|
15
|
+
fallbackText?: string;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=BadgeNetwork.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.types.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeNetwork/BadgeNetwork.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG;IAC3E;;OAEG;IACH,GAAG,CAAC,EAAE,aAAa,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeNetwork.types.js","sourceRoot":"","sources":["../../../src/components/BadgeNetwork/BadgeNetwork.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { AvatarNetworkProps } from '../AvatarNetwork';\nimport type { ImageOrSvgSrc } from '../temp-components/ImageOrSvg';\n\nexport type BadgeNetworkProps = Omit<AvatarNetworkProps, 'size' | 'shape'> & {\n /**\n * Optional prop for the source of the image or SVG.\n */\n src?: ImageOrSvgSrc;\n /**\n * Optional props for network name, to be used to calculate the fallbackText.\n */\n name?: string;\n /**\n * Optional text to be rendered when the content fails to render\n */\n fallbackText?: string;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeNetwork/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BadgeNetwork = void 0;
|
|
4
|
+
var BadgeNetwork_1 = require("./BadgeNetwork");
|
|
5
|
+
Object.defineProperty(exports, "BadgeNetwork", { enumerable: true, get: function () { return BadgeNetwork_1.BadgeNetwork; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/BadgeNetwork/index.ts"],"names":[],"mappings":";;;AAAA,+CAA8C;AAArC,4GAAA,YAAY,OAAA","sourcesContent":["export { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork.types';\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BadgeStatusStatus, BadgeStatusSize } from '../../types';
|
|
2
|
+
export declare const TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE: Record<BadgeStatusStatus, string>;
|
|
3
|
+
export declare const TWCLASSMAP_BADGESTATUS_SIZE: Record<BadgeStatusSize, string>;
|
|
4
|
+
//# sourceMappingURL=BadgeStatus.constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeStatus.constants.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeStatus/BadgeStatus.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGjE,eAAO,MAAM,oCAAoC,EAAE,MAAM,CACvD,iBAAiB,EACjB,MAAM,CAOP,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CAGvE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TWCLASSMAP_BADGESTATUS_SIZE = exports.TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
// Mappings
|
|
6
|
+
exports.TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE = {
|
|
7
|
+
[types_1.BadgeStatusStatus.Active]: 'bg-success-default border-success-default',
|
|
8
|
+
[types_1.BadgeStatusStatus.Inactive]: 'bg-background-default border-success-default',
|
|
9
|
+
[types_1.BadgeStatusStatus.Disconnected]: 'bg-icon-muted border-icon-muted',
|
|
10
|
+
[types_1.BadgeStatusStatus.New]: 'bg-primary-default border-primary-default',
|
|
11
|
+
[types_1.BadgeStatusStatus.Attention]: 'bg-error-default border-error-default',
|
|
12
|
+
};
|
|
13
|
+
exports.TWCLASSMAP_BADGESTATUS_SIZE = {
|
|
14
|
+
[types_1.BadgeStatusSize.Md]: 'h-2 w-2',
|
|
15
|
+
[types_1.BadgeStatusSize.Lg]: 'h-2.5 w-2.5', // 10px width and height
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=BadgeStatus.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeStatus.constants.js","sourceRoot":"","sources":["../../../src/components/BadgeStatus/BadgeStatus.constants.ts"],"names":[],"mappings":";;;AAAA,uCAAiE;AAEjE,WAAW;AACE,QAAA,oCAAoC,GAG7C;IACF,CAAC,yBAAiB,CAAC,MAAM,CAAC,EAAE,2CAA2C;IACvE,CAAC,yBAAiB,CAAC,QAAQ,CAAC,EAAE,8CAA8C;IAC5E,CAAC,yBAAiB,CAAC,YAAY,CAAC,EAAE,iCAAiC;IACnE,CAAC,yBAAiB,CAAC,GAAG,CAAC,EAAE,2CAA2C;IACpE,CAAC,yBAAiB,CAAC,SAAS,CAAC,EAAE,uCAAuC;CACvE,CAAC;AAEW,QAAA,2BAA2B,GAAoC;IAC1E,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,SAAS;IAC/B,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,aAAa,EAAE,wBAAwB;CAC9D,CAAC","sourcesContent":["import { BadgeStatusStatus, BadgeStatusSize } from '../../types';\n\n// Mappings\nexport const TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE: Record<\n BadgeStatusStatus,\n string\n> = {\n [BadgeStatusStatus.Active]: 'bg-success-default border-success-default',\n [BadgeStatusStatus.Inactive]: 'bg-background-default border-success-default',\n [BadgeStatusStatus.Disconnected]: 'bg-icon-muted border-icon-muted',\n [BadgeStatusStatus.New]: 'bg-primary-default border-primary-default',\n [BadgeStatusStatus.Attention]: 'bg-error-default border-error-default',\n};\n\nexport const TWCLASSMAP_BADGESTATUS_SIZE: Record<BadgeStatusSize, string> = {\n [BadgeStatusSize.Md]: 'h-2 w-2', // 8px width and height\n [BadgeStatusSize.Lg]: 'h-2.5 w-2.5', // 10px width and height\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeStatus.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeStatus/BadgeStatus.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,8DAOrB,gBAAgB,sBAkBlB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BadgeStatus = void 0;
|
|
7
|
+
const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const react_native_1 = require("react-native");
|
|
10
|
+
const types_1 = require("../../types");
|
|
11
|
+
const BadgeStatus_constants_1 = require("./BadgeStatus.constants");
|
|
12
|
+
const BadgeStatus = ({ status, size = types_1.BadgeStatusSize.Md, hasBorder = true, twClassName = '', style, ...props }) => {
|
|
13
|
+
const tw = (0, design_system_twrnc_preset_1.useTailwind)();
|
|
14
|
+
return (<react_native_1.View style={[
|
|
15
|
+
tw `self-start rounded-full ${hasBorder ? 'border-2 border-background-default' : ''} ${twClassName}`,
|
|
16
|
+
style,
|
|
17
|
+
]} {...props}>
|
|
18
|
+
<react_native_1.View style={[
|
|
19
|
+
tw `rounded-full border-2 ${BadgeStatus_constants_1.TWCLASSMAP_BADGESTATUS_SIZE[size]} ${BadgeStatus_constants_1.TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE[status]} `,
|
|
20
|
+
]}/>
|
|
21
|
+
</react_native_1.View>);
|
|
22
|
+
};
|
|
23
|
+
exports.BadgeStatus = BadgeStatus;
|
|
24
|
+
//# sourceMappingURL=BadgeStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeStatus.js","sourceRoot":"","sources":["../../../src/components/BadgeStatus/BadgeStatus.tsx"],"names":[],"mappings":";;;;;;AAAA,8FAA4E;AAC5E,kDAA0B;AAC1B,+CAAoC;AAEpC,uCAA8C;AAE9C,mEAGiC;AAG1B,MAAM,WAAW,GAAG,CAAC,EAC1B,MAAM,EACN,IAAI,GAAG,uBAAe,CAAC,EAAE,EACzB,SAAS,GAAG,IAAI,EAChB,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,GAAG,KAAK,EACS,EAAE,EAAE;IACrB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,OAAO,CACL,CAAC,mBAAI,CACH,KAAK,CAAC,CAAC;YACL,EAAE,CAAA,2BAA2B,SAAS,CAAC,CAAC,CAAC,oCAAoC,CAAC,CAAC,CAAC,EAAE,IAAI,WAAW,EAAE;YACnG,KAAK;SACN,CAAC,CACF,IAAI,KAAK,CAAC,CAEV;MAAA,CAAC,mBAAI,CACH,KAAK,CAAC,CAAC;YACL,EAAE,CAAA,yBAAyB,mDAA2B,CAAC,IAAI,CAAC,IAAI,4DAAoC,CAAC,MAAM,CAAC,GAAG;SAChH,CAAC,EAEN;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,WAAW,eAyBtB","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React from 'react';\nimport { View } from 'react-native';\n\nimport { BadgeStatusSize } from '../../types';\n\nimport {\n TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE,\n TWCLASSMAP_BADGESTATUS_SIZE,\n} from './BadgeStatus.constants';\nimport type { BadgeStatusProps } from './BadgeStatus.types';\n\nexport const BadgeStatus = ({\n status,\n size = BadgeStatusSize.Md,\n hasBorder = true,\n twClassName = '',\n style,\n ...props\n}: BadgeStatusProps) => {\n const tw = useTailwind();\n\n return (\n <View\n style={[\n tw`self-start rounded-full ${hasBorder ? 'border-2 border-background-default' : ''} ${twClassName}`,\n style,\n ]}\n {...props}\n >\n <View\n style={[\n tw`rounded-full border-2 ${TWCLASSMAP_BADGESTATUS_SIZE[size]} ${TWCLASSMAP_BADGESTATUS_STATUS_CIRCLE[status]} `,\n ]}\n />\n </View>\n );\n};\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { BadgeStatusStatus, BadgeStatusSize } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* BadgeStatus component props.
|
|
5
|
+
*/
|
|
6
|
+
export type BadgeStatusProps = {
|
|
7
|
+
/**
|
|
8
|
+
* Optional prop to control the status of the badge
|
|
9
|
+
* Possible values:
|
|
10
|
+
* - BadgeStatusStatus.Active. (Connected)
|
|
11
|
+
* - BadgeStatusStatus.Inactive. (Connected)
|
|
12
|
+
* - BadgeStatusStatus.Disconnected.
|
|
13
|
+
* - BadgeStatusStatus.New.
|
|
14
|
+
* - BadgeStatusStatus.Attention.
|
|
15
|
+
*/
|
|
16
|
+
status: BadgeStatusStatus;
|
|
17
|
+
/**
|
|
18
|
+
* Optional prop to determine whether the badge should display a border
|
|
19
|
+
*
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
hasBorder?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Optional prop to control the size of the BadgeStatus
|
|
25
|
+
* Possible values:
|
|
26
|
+
* - BadgeStatusSize.Md (8px),
|
|
27
|
+
* - BadgeStatusSize.Lg (10px),
|
|
28
|
+
*
|
|
29
|
+
* @default AvatarBaseSize.Md
|
|
30
|
+
*/
|
|
31
|
+
size?: BadgeStatusSize;
|
|
32
|
+
/**
|
|
33
|
+
* Optional prop to add twrnc overriding classNames.
|
|
34
|
+
*/
|
|
35
|
+
twClassName?: string;
|
|
36
|
+
} & Omit<ViewProps, 'children'>;
|
|
37
|
+
//# sourceMappingURL=BadgeStatus.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeStatus.types.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeStatus/BadgeStatus.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;;;;OAQG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeStatus.types.js","sourceRoot":"","sources":["../../../src/components/BadgeStatus/BadgeStatus.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps } from 'react-native';\n\nimport type { BadgeStatusStatus, BadgeStatusSize } from '../../types';\n\n/**\n * BadgeStatus component props.\n */\nexport type BadgeStatusProps = {\n /**\n * Optional prop to control the status of the badge\n * Possible values:\n * - BadgeStatusStatus.Active. (Connected)\n * - BadgeStatusStatus.Inactive. (Connected)\n * - BadgeStatusStatus.Disconnected.\n * - BadgeStatusStatus.New.\n * - BadgeStatusStatus.Attention.\n */\n status: BadgeStatusStatus;\n /**\n * Optional prop to determine whether the badge should display a border\n *\n * @default true\n */\n hasBorder?: boolean;\n /**\n * Optional prop to control the size of the BadgeStatus\n * Possible values:\n * - BadgeStatusSize.Md (8px),\n * - BadgeStatusSize.Lg (10px),\n *\n * @default AvatarBaseSize.Md\n */\n size?: BadgeStatusSize;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n} & Omit<ViewProps, 'children'>;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeStatus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BadgeStatus = exports.BadgeStatusSize = exports.BadgeStatusStatus = void 0;
|
|
4
|
+
var types_1 = require("../../types");
|
|
5
|
+
Object.defineProperty(exports, "BadgeStatusStatus", { enumerable: true, get: function () { return types_1.BadgeStatusStatus; } });
|
|
6
|
+
Object.defineProperty(exports, "BadgeStatusSize", { enumerable: true, get: function () { return types_1.BadgeStatusSize; } });
|
|
7
|
+
var BadgeStatus_1 = require("./BadgeStatus");
|
|
8
|
+
Object.defineProperty(exports, "BadgeStatus", { enumerable: true, get: function () { return BadgeStatus_1.BadgeStatus; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/BadgeStatus/index.ts"],"names":[],"mappings":";;;AAAA,qCAAiE;AAAxD,0GAAA,iBAAiB,OAAA;AAAE,wGAAA,eAAe,OAAA;AAC3C,6CAA4C;AAAnC,0GAAA,WAAW,OAAA","sourcesContent":["export { BadgeStatusStatus, BadgeStatusSize } from '../../types';\nexport { BadgeStatus } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus.types';\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BadgeWrapperProps } from './BadgeWrapper.types';
|
|
3
|
+
export declare const BadgeWrapper: ({ children, childrenContainerProps, badge, badgeContainerProps, position, positionAnchorShape, positionXOffset, positionYOffset, customPosition, twClassName, style, ...props }: BadgeWrapperProps) => React.JSX.Element;
|
|
4
|
+
//# sourceMappingURL=BadgeWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/BadgeWrapper/BadgeWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAS9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,eAAO,MAAM,YAAY,oLAatB,iBAAiB,sBA2FnB,CAAC"}
|