@metamask-previews/design-system-react-native 0.0.0-preview.1c1a94d → 0.0.0-preview.3774cae
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.d.ts +1 -2
- package/dist/components/AvatarAccount/AvatarAccount.d.ts.map +1 -1
- package/dist/components/AvatarAccount/AvatarAccount.js +17 -14
- package/dist/components/AvatarAccount/AvatarAccount.js.map +1 -1
- package/dist/components/AvatarAccount/AvatarAccount.types.d.ts +18 -5
- package/dist/components/AvatarAccount/AvatarAccount.types.d.ts.map +1 -1
- package/dist/components/AvatarAccount/AvatarAccount.types.js +0 -6
- package/dist/components/AvatarAccount/AvatarAccount.types.js.map +1 -1
- package/dist/components/AvatarAccount/index.d.ts +2 -3
- package/dist/components/AvatarAccount/index.d.ts.map +1 -1
- package/dist/components/AvatarAccount/index.js +5 -9
- package/dist/components/AvatarAccount/index.js.map +1 -1
- 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/{primitives → components}/AvatarBase/AvatarBase.types.d.ts +7 -9
- package/dist/components/AvatarBase/AvatarBase.types.d.ts.map +1 -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 +1 -2
- package/dist/components/AvatarFavicon/AvatarFavicon.d.ts.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.js +14 -17
- package/dist/components/AvatarFavicon/AvatarFavicon.js.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts +12 -3
- package/dist/components/AvatarFavicon/AvatarFavicon.types.d.ts.map +1 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.types.js.map +1 -1
- package/dist/components/AvatarFavicon/index.d.ts +2 -2
- package/dist/components/AvatarFavicon/index.d.ts.map +1 -1
- package/dist/components/AvatarFavicon/index.js +4 -7
- package/dist/components/AvatarFavicon/index.js.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts +2 -10
- package/dist/components/AvatarGroup/AvatarGroup.constants.d.ts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.constants.js +13 -160
- package/dist/components/AvatarGroup/AvatarGroup.constants.js.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +2 -3
- package/dist/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.js +30 -39
- package/dist/components/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts +13 -15
- package/dist/components/AvatarGroup/AvatarGroup.types.d.ts.map +1 -1
- package/dist/components/AvatarGroup/AvatarGroup.types.js +0 -11
- package/dist/components/AvatarGroup/AvatarGroup.types.js.map +1 -1
- package/dist/components/AvatarGroup/index.d.ts +2 -3
- package/dist/components/AvatarGroup/index.d.ts.map +1 -1
- package/dist/components/AvatarGroup/index.js +5 -9
- package/dist/components/AvatarGroup/index.js.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts +1 -2
- package/dist/components/AvatarIcon/AvatarIcon.constants.d.ts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.constants.js +16 -17
- package/dist/components/AvatarIcon/AvatarIcon.constants.js.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.d.ts +1 -2
- package/dist/components/AvatarIcon/AvatarIcon.d.ts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.js +14 -41
- package/dist/components/AvatarIcon/AvatarIcon.js.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.types.d.ts +5 -10
- package/dist/components/AvatarIcon/AvatarIcon.types.d.ts.map +1 -1
- package/dist/components/AvatarIcon/AvatarIcon.types.js +0 -9
- package/dist/components/AvatarIcon/AvatarIcon.types.js.map +1 -1
- package/dist/components/AvatarIcon/index.d.ts +2 -3
- package/dist/components/AvatarIcon/index.d.ts.map +1 -1
- package/dist/components/AvatarIcon/index.js +5 -9
- package/dist/components/AvatarIcon/index.js.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.d.ts +1 -2
- package/dist/components/AvatarNetwork/AvatarNetwork.d.ts.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.js +14 -17
- package/dist/components/AvatarNetwork/AvatarNetwork.js.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts +12 -3
- package/dist/components/AvatarNetwork/AvatarNetwork.types.d.ts.map +1 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.types.js.map +1 -1
- package/dist/components/AvatarNetwork/index.d.ts +2 -2
- package/dist/components/AvatarNetwork/index.d.ts.map +1 -1
- package/dist/components/AvatarNetwork/index.js +4 -7
- package/dist/components/AvatarNetwork/index.js.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.d.ts +1 -2
- package/dist/components/AvatarToken/AvatarToken.d.ts.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.js +14 -17
- package/dist/components/AvatarToken/AvatarToken.js.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.types.d.ts +12 -3
- package/dist/components/AvatarToken/AvatarToken.types.d.ts.map +1 -1
- package/dist/components/AvatarToken/AvatarToken.types.js.map +1 -1
- package/dist/components/AvatarToken/index.d.ts +2 -2
- package/dist/components/AvatarToken/index.d.ts.map +1 -1
- package/dist/components/AvatarToken/index.js +4 -7
- package/dist/components/AvatarToken/index.js.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.constants.d.ts +1 -1
- package/dist/components/BadgeCount/BadgeCount.constants.d.ts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.constants.js +7 -7
- package/dist/components/BadgeCount/BadgeCount.constants.js.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.d.ts +1 -2
- package/dist/components/BadgeCount/BadgeCount.d.ts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.js +7 -30
- package/dist/components/BadgeCount/BadgeCount.js.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.types.d.ts +3 -10
- package/dist/components/BadgeCount/BadgeCount.types.d.ts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.types.js +0 -12
- package/dist/components/BadgeCount/BadgeCount.types.js.map +1 -1
- package/dist/components/BadgeCount/index.d.ts +2 -2
- package/dist/components/BadgeCount/index.d.ts.map +1 -1
- package/dist/components/BadgeCount/index.js +4 -7
- package/dist/components/BadgeCount/index.js.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.d.ts +1 -2
- package/dist/components/BadgeIcon/BadgeIcon.d.ts.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.js +4 -27
- package/dist/components/BadgeIcon/BadgeIcon.js.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.types.d.ts +2 -2
- package/dist/components/BadgeIcon/BadgeIcon.types.d.ts.map +1 -1
- package/dist/components/BadgeIcon/BadgeIcon.types.js.map +1 -1
- package/dist/components/BadgeIcon/index.d.ts +1 -1
- package/dist/components/BadgeIcon/index.d.ts.map +1 -1
- package/dist/components/BadgeIcon/index.js +2 -5
- package/dist/components/BadgeIcon/index.js.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.d.ts +1 -2
- package/dist/components/BadgeNetwork/BadgeNetwork.d.ts.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.js +4 -27
- package/dist/components/BadgeNetwork/BadgeNetwork.js.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts +16 -2
- package/dist/components/BadgeNetwork/BadgeNetwork.types.d.ts.map +1 -1
- package/dist/components/BadgeNetwork/BadgeNetwork.types.js.map +1 -1
- package/dist/components/BadgeNetwork/index.d.ts +1 -1
- package/dist/components/BadgeNetwork/index.d.ts.map +1 -1
- package/dist/components/BadgeNetwork/index.js +2 -5
- package/dist/components/BadgeNetwork/index.js.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.d.ts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.constants.js +8 -8
- package/dist/components/BadgeStatus/BadgeStatus.constants.js.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.d.ts +1 -2
- package/dist/components/BadgeStatus/BadgeStatus.d.ts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.js +6 -16
- package/dist/components/BadgeStatus/BadgeStatus.js.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.d.ts +7 -27
- package/dist/components/BadgeStatus/BadgeStatus.types.d.ts.map +1 -1
- package/dist/components/BadgeStatus/BadgeStatus.types.js +0 -26
- package/dist/components/BadgeStatus/BadgeStatus.types.js.map +1 -1
- package/dist/components/BadgeStatus/index.d.ts +2 -2
- package/dist/components/BadgeStatus/index.d.ts.map +1 -1
- package/dist/components/BadgeStatus/index.js +5 -8
- package/dist/components/BadgeStatus/index.js.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.d.ts +1 -2
- package/dist/components/BadgeWrapper/BadgeWrapper.d.ts.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.js +14 -12
- package/dist/components/BadgeWrapper/BadgeWrapper.js.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts +18 -26
- package/dist/components/BadgeWrapper/BadgeWrapper.types.d.ts.map +1 -1
- package/dist/components/BadgeWrapper/BadgeWrapper.types.js +0 -16
- package/dist/components/BadgeWrapper/BadgeWrapper.types.js.map +1 -1
- package/dist/components/BadgeWrapper/index.d.ts +3 -2
- package/dist/components/BadgeWrapper/index.d.ts.map +1 -1
- package/dist/components/BadgeWrapper/index.js +5 -8
- package/dist/components/BadgeWrapper/index.js.map +1 -1
- package/dist/components/Box/Box.constants.d.ts +17 -0
- package/dist/components/Box/Box.constants.d.ts.map +1 -0
- package/dist/components/Box/Box.constants.js +229 -0
- package/dist/components/Box/Box.constants.js.map +1 -0
- package/dist/components/Box/Box.d.ts +4 -0
- package/dist/components/Box/Box.d.ts.map +1 -0
- package/dist/components/Box/Box.js +45 -0
- package/dist/components/Box/Box.js.map +1 -0
- package/dist/components/Box/Box.types.d.ts +116 -0
- package/dist/components/Box/Box.types.d.ts.map +1 -0
- package/dist/components/Box/Box.types.js +3 -0
- package/dist/components/Box/Box.types.js.map +1 -0
- package/dist/components/Box/index.d.ts +4 -0
- package/dist/components/Box/index.d.ts.map +1 -0
- package/dist/components/Box/index.js +6 -0
- package/dist/components/Box/index.js.map +1 -0
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +13 -12
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.types.d.ts +1 -10
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/Button.types.js +0 -12
- package/dist/components/Button/Button.types.js.map +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +5 -8
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts +1 -2
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js +56 -50
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.js.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts +3 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.types.js.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/index.d.ts +2 -2
- package/dist/components/Button/variants/ButtonPrimary/index.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonPrimary/index.js +4 -7
- package/dist/components/Button/variants/ButtonPrimary/index.js.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts +1 -2
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js +62 -50
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.js.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts +3 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.types.js.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/index.d.ts +2 -2
- package/dist/components/Button/variants/ButtonSecondary/index.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonSecondary/index.js +4 -7
- package/dist/components/Button/variants/ButtonSecondary/index.js.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts +1 -2
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js +69 -50
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.js.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts +3 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.types.js.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/index.d.ts +2 -2
- package/dist/components/Button/variants/ButtonTertiary/index.d.ts.map +1 -1
- package/dist/components/Button/variants/ButtonTertiary/index.js +4 -7
- package/dist/components/Button/variants/ButtonTertiary/index.js.map +1 -1
- 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/{primitives → components}/ButtonBase/ButtonBase.types.d.ts +9 -17
- 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 +7 -4
- package/dist/components/ButtonIcon/ButtonIcon.constants.d.ts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.constants.js +10 -13
- package/dist/components/ButtonIcon/ButtonIcon.constants.js.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.d.ts +1 -2
- package/dist/components/ButtonIcon/ButtonIcon.d.ts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.js +17 -32
- package/dist/components/ButtonIcon/ButtonIcon.js.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.types.d.ts +8 -16
- package/dist/components/ButtonIcon/ButtonIcon.types.d.ts.map +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.types.js +0 -16
- package/dist/components/ButtonIcon/ButtonIcon.types.js.map +1 -1
- package/dist/components/ButtonIcon/index.d.ts +2 -2
- package/dist/components/ButtonIcon/index.d.ts.map +1 -1
- package/dist/components/ButtonIcon/index.js +4 -7
- package/dist/components/ButtonIcon/index.js.map +1 -1
- 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.map +1 -1
- package/dist/components/Icon/Icon.assets.js +401 -171
- package/dist/components/Icon/Icon.assets.js.map +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -2
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/Icon.js +4 -3
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Icon/Icon.types.d.ts +3 -220
- package/dist/components/Icon/Icon.types.d.ts.map +1 -1
- package/dist/components/Icon/Icon.types.js +0 -228
- package/dist/components/Icon/Icon.types.js.map +1 -1
- package/dist/components/Icon/Icon.utilities.d.ts.map +1 -1
- package/dist/components/Icon/Icon.utilities.js +2 -2
- package/dist/components/Icon/Icon.utilities.js.map +1 -1
- 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 +2 -2
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +6 -9
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Text/Text.constants.d.ts +5 -4
- package/dist/components/Text/Text.constants.d.ts.map +1 -1
- package/dist/components/Text/Text.constants.js +18 -10
- package/dist/components/Text/Text.constants.js.map +1 -1
- package/dist/components/Text/Text.d.ts +1 -2
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/Text.js +7 -5
- package/dist/components/Text/Text.js.map +1 -1
- package/dist/components/Text/Text.types.d.ts +9 -89
- package/dist/components/Text/Text.types.d.ts.map +1 -1
- package/dist/components/Text/Text.types.js +0 -92
- package/dist/components/Text/Text.types.js.map +1 -1
- package/dist/components/Text/Text.utilities.d.ts.map +1 -1
- package/dist/components/Text/Text.utilities.js +4 -4
- package/dist/components/Text/Text.utilities.js.map +1 -1
- package/dist/components/Text/index.d.ts +2 -2
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +8 -11
- package/dist/components/Text/index.js.map +1 -1
- package/dist/components/TextButton/TextButton.constants.d.ts +3 -2
- package/dist/components/TextButton/TextButton.constants.d.ts.map +1 -1
- package/dist/components/TextButton/TextButton.constants.js +7 -24
- package/dist/components/TextButton/TextButton.constants.js.map +1 -1
- package/dist/components/TextButton/TextButton.d.ts +1 -2
- package/dist/components/TextButton/TextButton.d.ts.map +1 -1
- package/dist/components/TextButton/TextButton.js +33 -152
- package/dist/components/TextButton/TextButton.js.map +1 -1
- package/dist/components/TextButton/TextButton.types.d.ts +11 -15
- package/dist/components/TextButton/TextButton.types.d.ts.map +1 -1
- package/dist/components/TextButton/TextButton.types.js.map +1 -1
- package/dist/components/TextButton/index.d.ts +2 -1
- package/dist/components/TextButton/index.d.ts.map +1 -1
- package/dist/components/TextButton/index.js +4 -5
- package/dist/components/TextButton/index.js.map +1 -1
- package/dist/components/index.d.ts +49 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +80 -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/{primitives → components/temp-components}/Blockies/Blockies.js +2 -3
- package/dist/components/temp-components/Blockies/Blockies.js.map +1 -0
- package/dist/{primitives → components/temp-components}/Blockies/Blockies.types.d.ts +1 -1
- package/dist/components/temp-components/Blockies/Blockies.types.d.ts.map +1 -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/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.js +2 -1
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.js.map +1 -0
- package/dist/components/temp-components/ButtonAnimated/ButtonAnimated.types.d.ts.map +1 -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/{primitives → components/temp-components}/ImageOrSvg/ImageOrSvg.js +3 -5
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.js.map +1 -0
- package/dist/{primitives → components/temp-components}/ImageOrSvg/ImageOrSvg.types.d.ts +7 -7
- package/dist/components/temp-components/ImageOrSvg/ImageOrSvg.types.d.ts.map +1 -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/{primitives → components/temp-components}/Jazzicon/Jazzicon.js +2 -2
- package/dist/components/temp-components/Jazzicon/Jazzicon.js.map +1 -0
- package/dist/{primitives → components/temp-components}/Jazzicon/Jazzicon.types.d.ts +1 -1
- package/dist/components/temp-components/Jazzicon/Jazzicon.types.d.ts.map +1 -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/{temp-components → components/temp-components}/Spinner/Spinner.js +13 -13
- package/dist/components/temp-components/Spinner/Spinner.js.map +1 -0
- package/dist/{temp-components → components/temp-components}/Spinner/Spinner.types.d.ts +3 -2
- package/dist/components/temp-components/Spinner/Spinner.types.d.ts.map +1 -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/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.js +5 -4
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.js.map +1 -0
- package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.types.d.ts +2 -1
- package/dist/components/temp-components/TextOrChildren/TextOrChildren.types.d.ts.map +1 -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 +1 -136
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -85
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +721 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +737 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +9 -3
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.d.ts +0 -2
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.d.ts.map +0 -1
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.js +0 -14
- package/dist/components/AvatarFavicon/AvatarFavicon.constants.js.map +0 -1
- package/dist/components/AvatarGroup/AvatarGroup.utilities.d.ts +0 -48
- package/dist/components/AvatarGroup/AvatarGroup.utilities.d.ts.map +0 -1
- package/dist/components/AvatarGroup/AvatarGroup.utilities.js +0 -72
- package/dist/components/AvatarGroup/AvatarGroup.utilities.js.map +0 -1
- package/dist/components/AvatarIcon/AvatarIcon.utilities.d.ts +0 -24
- package/dist/components/AvatarIcon/AvatarIcon.utilities.d.ts.map +0 -1
- package/dist/components/AvatarIcon/AvatarIcon.utilities.js +0 -31
- package/dist/components/AvatarIcon/AvatarIcon.utilities.js.map +0 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.d.ts +0 -2
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.d.ts.map +0 -1
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.js +0 -14
- package/dist/components/AvatarNetwork/AvatarNetwork.constants.js.map +0 -1
- package/dist/components/AvatarToken/AvatarToken.constants.d.ts +0 -2
- package/dist/components/AvatarToken/AvatarToken.constants.d.ts.map +0 -1
- package/dist/components/AvatarToken/AvatarToken.constants.js +0 -14
- package/dist/components/AvatarToken/AvatarToken.constants.js.map +0 -1
- package/dist/components/Button/Button.constants.d.ts +0 -2
- package/dist/components/Button/Button.constants.d.ts.map +0 -1
- package/dist/components/Button/Button.constants.js +0 -7
- package/dist/components/Button/Button.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.d.ts +0 -3
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.js +0 -29
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.d.ts +0 -78
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.js +0 -122
- package/dist/components/Button/variants/ButtonPrimary/ButtonPrimary.utilities.js.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.d.ts +0 -3
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.js +0 -29
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.d.ts +0 -90
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.js +0 -145
- package/dist/components/Button/variants/ButtonSecondary/ButtonSecondary.utilities.js.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.d.ts +0 -3
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.js +0 -29
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.constants.js.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.d.ts +0 -88
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.d.ts.map +0 -1
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.js +0 -147
- package/dist/components/Button/variants/ButtonTertiary/ButtonTertiary.utilities.js.map +0 -1
- package/dist/components/ButtonIcon/ButtonIcon.utilities.d.ts +0 -55
- package/dist/components/ButtonIcon/ButtonIcon.utilities.d.ts.map +0 -1
- package/dist/components/ButtonIcon/ButtonIcon.utilities.js +0 -73
- package/dist/components/ButtonIcon/ButtonIcon.utilities.js.map +0 -1
- package/dist/components/Icon/Icon.constants.d.ts +0 -7
- package/dist/components/Icon/Icon.constants.d.ts.map +0 -1
- package/dist/components/Icon/Icon.constants.js +0 -15
- package/dist/components/Icon/Icon.constants.js.map +0 -1
- package/dist/components/TextButton/TextButton.utilities.d.ts +0 -55
- package/dist/components/TextButton/TextButton.utilities.d.ts.map +0 -1
- package/dist/components/TextButton/TextButton.utilities.js +0 -77
- package/dist/components/TextButton/TextButton.utilities.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.constants.d.ts +0 -6
- package/dist/primitives/AvatarBase/AvatarBase.constants.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.constants.js +0 -34
- package/dist/primitives/AvatarBase/AvatarBase.constants.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.d.ts +0 -5
- package/dist/primitives/AvatarBase/AvatarBase.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.js +0 -55
- package/dist/primitives/AvatarBase/AvatarBase.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.types.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.types.js.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.utilities.d.ts +0 -30
- package/dist/primitives/AvatarBase/AvatarBase.utilities.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/AvatarBase.utilities.js +0 -60
- package/dist/primitives/AvatarBase/AvatarBase.utilities.js.map +0 -1
- package/dist/primitives/AvatarBase/index.d.ts +0 -4
- package/dist/primitives/AvatarBase/index.d.ts.map +0 -1
- package/dist/primitives/AvatarBase/index.js +0 -11
- package/dist/primitives/AvatarBase/index.js.map +0 -1
- package/dist/primitives/Blockies/Blockies.d.ts +0 -5
- package/dist/primitives/Blockies/Blockies.d.ts.map +0 -1
- package/dist/primitives/Blockies/Blockies.js.map +0 -1
- package/dist/primitives/Blockies/Blockies.types.d.ts.map +0 -1
- package/dist/primitives/Blockies/Blockies.types.js.map +0 -1
- package/dist/primitives/Blockies/index.d.ts +0 -3
- package/dist/primitives/Blockies/index.d.ts.map +0 -1
- package/dist/primitives/Blockies/index.js +0 -9
- package/dist/primitives/Blockies/index.js.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.d.ts +0 -5
- package/dist/primitives/ButtonAnimated/ButtonAnimated.d.ts.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.js.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.types.d.ts.map +0 -1
- package/dist/primitives/ButtonAnimated/ButtonAnimated.types.js.map +0 -1
- package/dist/primitives/ButtonAnimated/index.d.ts +0 -3
- package/dist/primitives/ButtonAnimated/index.d.ts.map +0 -1
- package/dist/primitives/ButtonAnimated/index.js +0 -9
- package/dist/primitives/ButtonAnimated/index.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.constants.d.ts +0 -3
- package/dist/primitives/ButtonBase/ButtonBase.constants.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.constants.js +0 -32
- package/dist/primitives/ButtonBase/ButtonBase.constants.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.d.ts +0 -5
- package/dist/primitives/ButtonBase/ButtonBase.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.js +0 -84
- package/dist/primitives/ButtonBase/ButtonBase.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.types.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.types.js +0 -19
- package/dist/primitives/ButtonBase/ButtonBase.types.js.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.utilities.d.ts +0 -28
- package/dist/primitives/ButtonBase/ButtonBase.utilities.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/ButtonBase.utilities.js +0 -41
- package/dist/primitives/ButtonBase/ButtonBase.utilities.js.map +0 -1
- package/dist/primitives/ButtonBase/index.d.ts +0 -4
- package/dist/primitives/ButtonBase/index.d.ts.map +0 -1
- package/dist/primitives/ButtonBase/index.js +0 -11
- package/dist/primitives/ButtonBase/index.js.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.d.ts +0 -5
- package/dist/primitives/ImageOrSvg/ImageOrSvg.d.ts.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.js.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.types.d.ts.map +0 -1
- package/dist/primitives/ImageOrSvg/ImageOrSvg.types.js.map +0 -1
- package/dist/primitives/ImageOrSvg/index.d.ts +0 -3
- package/dist/primitives/ImageOrSvg/index.d.ts.map +0 -1
- package/dist/primitives/ImageOrSvg/index.js +0 -9
- package/dist/primitives/ImageOrSvg/index.js.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.d.ts +0 -5
- package/dist/primitives/Jazzicon/Jazzicon.d.ts.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.js.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.types.d.ts.map +0 -1
- package/dist/primitives/Jazzicon/Jazzicon.types.js.map +0 -1
- package/dist/primitives/Jazzicon/index.d.ts +0 -3
- package/dist/primitives/Jazzicon/index.d.ts.map +0 -1
- package/dist/primitives/Jazzicon/index.js +0 -9
- package/dist/primitives/Jazzicon/index.js.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.d.ts +0 -5
- package/dist/primitives/TextOrChildren/TextOrChildren.d.ts.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.js.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.types.d.ts.map +0 -1
- package/dist/primitives/TextOrChildren/TextOrChildren.types.js.map +0 -1
- package/dist/primitives/TextOrChildren/index.d.ts +0 -3
- package/dist/primitives/TextOrChildren/index.d.ts.map +0 -1
- package/dist/primitives/TextOrChildren/index.js +0 -9
- package/dist/primitives/TextOrChildren/index.js.map +0 -1
- package/dist/shared/enums.d.ts +0 -47
- package/dist/shared/enums.d.ts.map +0 -1
- package/dist/shared/enums.js +0 -44
- package/dist/shared/enums.js.map +0 -1
- package/dist/temp-components/Spinner/Spinner.constants.d.ts +0 -3
- package/dist/temp-components/Spinner/Spinner.constants.d.ts.map +0 -1
- package/dist/temp-components/Spinner/Spinner.constants.js +0 -21
- package/dist/temp-components/Spinner/Spinner.constants.js.map +0 -1
- package/dist/temp-components/Spinner/Spinner.d.ts +0 -5
- package/dist/temp-components/Spinner/Spinner.d.ts.map +0 -1
- package/dist/temp-components/Spinner/Spinner.js.map +0 -1
- package/dist/temp-components/Spinner/Spinner.types.d.ts.map +0 -1
- package/dist/temp-components/Spinner/Spinner.types.js.map +0 -1
- package/dist/temp-components/Spinner/index.d.ts +0 -3
- package/dist/temp-components/Spinner/index.d.ts.map +0 -1
- package/dist/temp-components/Spinner/index.js +0 -9
- package/dist/temp-components/Spinner/index.js.map +0 -1
- /package/dist/{primitives → components}/AvatarBase/AvatarBase.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/Blockies/Blockies.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.types.d.ts +0 -0
- /package/dist/{primitives → components/temp-components}/ButtonAnimated/ButtonAnimated.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/ImageOrSvg/ImageOrSvg.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/Jazzicon/Jazzicon.types.js +0 -0
- /package/dist/{temp-components → components/temp-components}/Spinner/Spinner.types.js +0 -0
- /package/dist/{primitives → components/temp-components}/TextOrChildren/TextOrChildren.types.js +0 -0
|
@@ -1,168 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const
|
|
3
|
+
exports.MAP_AVATARGROUP_SIZE_OVERFLOWTEXT_TEXTVARIANT = exports.TWCLASSMAP_AVATARGROUP_SIZE_SPACEBETWEENAVATARS = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
5
|
const Text_1 = require("../Text");
|
|
6
|
-
const AvatarAccount_1 = require("../AvatarAccount");
|
|
7
|
-
const AvatarAccount_constants_1 = require("../AvatarAccount/AvatarAccount.constants");
|
|
8
|
-
const AvatarFavicon_constants_1 = require("../AvatarFavicon/AvatarFavicon.constants");
|
|
9
|
-
const AvatarNetwork_constants_1 = require("../AvatarNetwork/AvatarNetwork.constants");
|
|
10
|
-
const AvatarToken_constants_1 = require("../AvatarToken/AvatarToken.constants");
|
|
11
6
|
// Mappings
|
|
12
|
-
exports.
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
7
|
+
exports.TWCLASSMAP_AVATARGROUP_SIZE_SPACEBETWEENAVATARS = {
|
|
8
|
+
[types_1.AvatarGroupSize.Xs]: 'gap-[-6px]',
|
|
9
|
+
[types_1.AvatarGroupSize.Sm]: 'gap-[-10px]',
|
|
10
|
+
[types_1.AvatarGroupSize.Md]: 'gap-[-14px]',
|
|
11
|
+
[types_1.AvatarGroupSize.Lg]: 'gap-[-18px]',
|
|
12
|
+
[types_1.AvatarGroupSize.Xl]: 'gap-[-22px]',
|
|
18
13
|
};
|
|
19
14
|
exports.MAP_AVATARGROUP_SIZE_OVERFLOWTEXT_TEXTVARIANT = {
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
15
|
+
[types_1.AvatarGroupSize.Xs]: Text_1.TextVariant.BodyXs,
|
|
16
|
+
[types_1.AvatarGroupSize.Sm]: Text_1.TextVariant.BodySm,
|
|
17
|
+
[types_1.AvatarGroupSize.Md]: Text_1.TextVariant.BodyMd,
|
|
18
|
+
[types_1.AvatarGroupSize.Lg]: Text_1.TextVariant.HeadingMd,
|
|
19
|
+
[types_1.AvatarGroupSize.Xl]: Text_1.TextVariant.HeadingMd,
|
|
25
20
|
};
|
|
26
|
-
// Sample consts
|
|
27
|
-
exports.SAMPLE_AVATARGROUP_AVATARACCOUNTPROPSARR = [
|
|
28
|
-
{
|
|
29
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Jazzicon,
|
|
30
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[0],
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Blockies,
|
|
34
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[1],
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Jazzicon,
|
|
38
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[2],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Jazzicon,
|
|
42
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[3],
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Jazzicon,
|
|
46
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[4],
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Blockies,
|
|
50
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[5],
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
variant: AvatarAccount_1.AvatarAccountVariant.Blockies,
|
|
54
|
-
address: AvatarAccount_constants_1.SAMPLE_AVATARACCOUNT_ADDRESSES[6],
|
|
55
|
-
},
|
|
56
|
-
];
|
|
57
|
-
exports.SAMPLE_AVATARGROUP_AVATARFAVICONPROPSARR = [
|
|
58
|
-
{
|
|
59
|
-
src: {
|
|
60
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[0],
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
src: {
|
|
65
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[1],
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
src: {
|
|
70
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[2],
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
src: {
|
|
75
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[3],
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
src: {
|
|
80
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[4],
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
src: {
|
|
85
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[5],
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
src: {
|
|
90
|
-
uri: AvatarFavicon_constants_1.SAMPLE_AVATARFAVICON_URIS[6],
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
];
|
|
94
|
-
exports.SAMPLE_AVATARGROUP_AVATARNETWORKPROPSARR = [
|
|
95
|
-
{
|
|
96
|
-
src: {
|
|
97
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[0],
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
src: {
|
|
102
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[1],
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
src: {
|
|
107
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[2],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
src: {
|
|
112
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[3],
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
src: {
|
|
117
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[4],
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
src: {
|
|
122
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[5],
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
src: {
|
|
127
|
-
uri: AvatarNetwork_constants_1.SAMPLE_AVATARNETWORK_URIS[6],
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
];
|
|
131
|
-
exports.SAMPLE_AVATARGROUP_AVATARTOKENPROPSARR = [
|
|
132
|
-
{
|
|
133
|
-
src: {
|
|
134
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[0],
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
src: {
|
|
139
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[1],
|
|
140
|
-
},
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
src: {
|
|
144
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[2],
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
src: {
|
|
149
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[3],
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
src: {
|
|
154
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[4],
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
src: {
|
|
159
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[5],
|
|
160
|
-
},
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
src: {
|
|
164
|
-
uri: AvatarToken_constants_1.SAMPLE_AVATARTOKEN_URIS[6],
|
|
165
|
-
},
|
|
166
|
-
},
|
|
167
|
-
];
|
|
168
21
|
//# sourceMappingURL=AvatarGroup.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.constants.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.constants.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AvatarGroup.constants.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.constants.ts"],"names":[],"mappings":";;;AAAA,uCAA8C;AAC9C,kCAAsC;AAEtC,WAAW;AACE,QAAA,+CAA+C,GAGxD;IACF,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,YAAY;IAClC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,aAAa;IACnC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,aAAa;IACnC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,aAAa;IACnC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,aAAa;CACpC,CAAC;AAEW,QAAA,6CAA6C,GAGtD;IACF,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,MAAM;IACxC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,MAAM;IACxC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,MAAM;IACxC,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,SAAS;IAC3C,CAAC,uBAAe,CAAC,EAAE,CAAC,EAAE,kBAAW,CAAC,SAAS;CAC5C,CAAC","sourcesContent":["import { AvatarGroupSize } from '../../types';\nimport { TextVariant } from '../Text';\n\n// Mappings\nexport const TWCLASSMAP_AVATARGROUP_SIZE_SPACEBETWEENAVATARS: Record<\n AvatarGroupSize,\n string\n> = {\n [AvatarGroupSize.Xs]: 'gap-[-6px]',\n [AvatarGroupSize.Sm]: 'gap-[-10px]',\n [AvatarGroupSize.Md]: 'gap-[-14px]',\n [AvatarGroupSize.Lg]: 'gap-[-18px]',\n [AvatarGroupSize.Xl]: 'gap-[-22px]',\n};\n\nexport const MAP_AVATARGROUP_SIZE_OVERFLOWTEXT_TEXTVARIANT: Record<\n AvatarGroupSize,\n TextVariant\n> = {\n [AvatarGroupSize.Xs]: TextVariant.BodyXs,\n [AvatarGroupSize.Sm]: TextVariant.BodySm,\n [AvatarGroupSize.Md]: TextVariant.BodyMd,\n [AvatarGroupSize.Lg]: TextVariant.HeadingMd,\n [AvatarGroupSize.Xl]: TextVariant.HeadingMd,\n};\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { AvatarGroupProps } from './AvatarGroup.types';
|
|
3
|
-
declare const AvatarGroup: ({ variant, avatarPropsArr, size, max, isReverse, style, twClassName, ...props }: AvatarGroupProps) => React.JSX.Element;
|
|
4
|
-
export default AvatarGroup;
|
|
2
|
+
import type { AvatarGroupProps } from './AvatarGroup.types';
|
|
3
|
+
export declare const AvatarGroup: ({ variant, avatarPropsArr, size, max, isReverse, overflowTextProps, style, twClassName, ...props }: AvatarGroupProps) => React.JSX.Element;
|
|
5
4
|
//# sourceMappingURL=AvatarGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarGroup.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAmB3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,uGAUrB,gBAAgB,sBAiFlB,CAAC"}
|
|
@@ -22,59 +22,50 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.AvatarGroup = void 0;
|
|
27
|
+
const design_system_twrnc_preset_1 = require("@metamask-previews/design-system-twrnc-preset");
|
|
29
28
|
const react_1 = __importStar(require("react"));
|
|
30
29
|
const react_native_1 = require("react-native");
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const AvatarFavicon_1 =
|
|
35
|
-
const AvatarNetwork_1 =
|
|
36
|
-
const AvatarToken_1 =
|
|
37
|
-
const Text_1 =
|
|
30
|
+
const types_1 = require("../../types");
|
|
31
|
+
const AvatarAccount_1 = require("../AvatarAccount");
|
|
32
|
+
const AvatarBase_1 = require("../AvatarBase");
|
|
33
|
+
const AvatarFavicon_1 = require("../AvatarFavicon");
|
|
34
|
+
const AvatarNetwork_1 = require("../AvatarNetwork");
|
|
35
|
+
const AvatarToken_1 = require("../AvatarToken");
|
|
36
|
+
const Text_1 = require("../Text");
|
|
38
37
|
const AvatarGroup_constants_1 = require("./AvatarGroup.constants");
|
|
39
|
-
const
|
|
40
|
-
const AvatarGroup_utilities_1 = require("./AvatarGroup.utilities");
|
|
41
|
-
const AvatarGroup = ({ variant, avatarPropsArr, size = enums_1.AvatarGroupSize.Md, max = 4, isReverse = false, style, twClassName, ...props }) => {
|
|
38
|
+
const AvatarGroup = ({ variant, avatarPropsArr, size = types_1.AvatarGroupSize.Md, max = 4, isReverse = false, overflowTextProps, style, twClassName, ...props }) => {
|
|
42
39
|
const tw = (0, design_system_twrnc_preset_1.useTailwind)();
|
|
43
40
|
const overflowCounter = avatarPropsArr.length - max;
|
|
44
41
|
const shouldRenderOverflowCounter = overflowCounter > 0;
|
|
45
|
-
const twContainerClassNames =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
twClassName,
|
|
50
|
-
});
|
|
51
|
-
}, [size, isReverse, twClassName]);
|
|
52
|
-
const twOverflowTextContainerClassNames = (0, react_1.useMemo)(() => {
|
|
53
|
-
return (0, AvatarGroup_utilities_1.generateAvatarGroupOverflowTextContainerClassNames)({
|
|
54
|
-
size,
|
|
55
|
-
variant,
|
|
56
|
-
});
|
|
57
|
-
}, [size, variant]);
|
|
42
|
+
const twContainerClassNames = `
|
|
43
|
+
${isReverse ? 'flex-row-reverse' : 'flex-row'}
|
|
44
|
+
${AvatarGroup_constants_1.TWCLASSMAP_AVATARGROUP_SIZE_SPACEBETWEENAVATARS[size]}
|
|
45
|
+
`;
|
|
58
46
|
const renderAvatarList = (0, react_1.useCallback)(() => avatarPropsArr.slice(0, max).map((avatarProps, index) => {
|
|
59
47
|
switch (variant) {
|
|
60
|
-
case
|
|
61
|
-
return (<AvatarAccount_1.
|
|
62
|
-
case
|
|
63
|
-
return (<AvatarFavicon_1.
|
|
64
|
-
case
|
|
65
|
-
return (<AvatarNetwork_1.
|
|
66
|
-
case
|
|
67
|
-
return (<AvatarToken_1.
|
|
48
|
+
case types_1.AvatarGroupVariant.Account:
|
|
49
|
+
return (<AvatarAccount_1.AvatarAccount key={`avatar-${index}`} {...avatarProps} size={size} hasBorder/>);
|
|
50
|
+
case types_1.AvatarGroupVariant.Favicon:
|
|
51
|
+
return (<AvatarFavicon_1.AvatarFavicon key={`avatar-${index}`} {...avatarProps} size={size} hasBorder/>);
|
|
52
|
+
case types_1.AvatarGroupVariant.Network:
|
|
53
|
+
return (<AvatarNetwork_1.AvatarNetwork key={`avatar-${index}`} {...avatarProps} size={size} hasBorder/>);
|
|
54
|
+
case types_1.AvatarGroupVariant.Token:
|
|
55
|
+
return (<AvatarToken_1.AvatarToken key={`avatar-${index}`} {...avatarProps} size={size} hasBorder/>);
|
|
68
56
|
default:
|
|
69
|
-
throw new Error(`Invalid Avatar Variant: ${variant}. Expected one of: ${Object.values(
|
|
57
|
+
throw new Error(`Invalid Avatar Variant: ${variant}. Expected one of: ${Object.values(types_1.AvatarGroupVariant).join(', ')}`);
|
|
70
58
|
}
|
|
71
59
|
}), [avatarPropsArr, max, size, tw]);
|
|
72
60
|
return (<react_native_1.View style={[tw `${twContainerClassNames}`, style]} {...props}>
|
|
73
61
|
{renderAvatarList()}
|
|
74
|
-
{shouldRenderOverflowCounter && (<
|
|
75
|
-
|
|
76
|
-
|
|
62
|
+
{shouldRenderOverflowCounter && (<AvatarBase_1.AvatarBase twClassName="bg-icon-default" hasBorder fallbackText={`+${overflowCounter}`} fallbackTextProps={{
|
|
63
|
+
variant: AvatarGroup_constants_1.MAP_AVATARGROUP_SIZE_OVERFLOWTEXT_TEXTVARIANT[size],
|
|
64
|
+
color: Text_1.TextColor.PrimaryInverse,
|
|
65
|
+
}} size={size} shape={variant === types_1.AvatarGroupVariant.Network
|
|
66
|
+
? AvatarBase_1.AvatarBaseShape.Square
|
|
67
|
+
: AvatarBase_1.AvatarBaseShape.Circle} {...overflowTextProps}/>)}
|
|
77
68
|
</react_native_1.View>);
|
|
78
69
|
};
|
|
79
|
-
exports.
|
|
70
|
+
exports.AvatarGroup = AvatarGroup;
|
|
80
71
|
//# sourceMappingURL=AvatarGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarGroup.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8FAA4E;AAC5E,+CAA2C;AAC3C,+CAAoC;AAEpC,uCAAkE;AAElE,oDAAiD;AACjD,8CAA4D;AAE5D,oDAAiD;AAEjD,oDAAiD;AAEjD,gDAA6C;AAC7C,kCAA0C;AAE1C,mEAGiC;AAG1B,MAAM,WAAW,GAAG,CAAC,EAC1B,OAAO,EACP,cAAc,EACd,IAAI,GAAG,uBAAe,CAAC,EAAE,EACzB,GAAG,GAAG,CAAC,EACP,SAAS,GAAG,KAAK,EACjB,iBAAiB,EACjB,KAAK,EACL,WAAW,EACX,GAAG,KAAK,EACS,EAAE,EAAE;IACrB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IACzB,MAAM,eAAe,GAAG,cAAc,CAAC,MAAM,GAAG,GAAG,CAAC;IACpD,MAAM,2BAA2B,GAAG,eAAe,GAAG,CAAC,CAAC;IACxD,MAAM,qBAAqB,GAAG;MAC1B,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU;MAC3C,uEAA+C,CAAC,IAAI,CAAC;GACxD,CAAC;IAEF,MAAM,gBAAgB,GAAG,IAAA,mBAAW,EAClC,GAAG,EAAE,CACH,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE;QACtD,QAAQ,OAAO,EAAE;YACf,KAAK,0BAAkB,CAAC,OAAO;gBAC7B,OAAO,CACL,CAAC,6BAAa,CACZ,GAAG,CAAC,CAAC,UAAU,KAAK,EAAE,CAAC,CACvB,IAAK,WAAkC,CAAC,CACxC,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,SAAS,EACT,CACH,CAAC;YACJ,KAAK,0BAAkB,CAAC,OAAO;gBAC7B,OAAO,CACL,CAAC,6BAAa,CACZ,GAAG,CAAC,CAAC,UAAU,KAAK,EAAE,CAAC,CACvB,IAAK,WAAkC,CAAC,CACxC,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,SAAS,EACT,CACH,CAAC;YACJ,KAAK,0BAAkB,CAAC,OAAO;gBAC7B,OAAO,CACL,CAAC,6BAAa,CACZ,GAAG,CAAC,CAAC,UAAU,KAAK,EAAE,CAAC,CACvB,IAAK,WAAkC,CAAC,CACxC,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,SAAS,EACT,CACH,CAAC;YACJ,KAAK,0BAAkB,CAAC,KAAK;gBAC3B,OAAO,CACL,CAAC,yBAAW,CACV,GAAG,CAAC,CAAC,UAAU,KAAK,EAAE,CAAC,CACvB,IAAK,WAAgC,CAAC,CACtC,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,SAAS,EACT,CACH,CAAC;YACJ;gBACE,MAAM,IAAI,KAAK,CACb,2BAA2B,OAAO,sBAAsB,MAAM,CAAC,MAAM,CAAC,0BAAkB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACvG,CAAC;SACL;IACH,CAAC,CAAC,EACJ,CAAC,cAAc,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,CAChC,CAAC;IAEF,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,gBAAgB,EAAE,CACnB;MAAA,CAAC,2BAA2B,IAAI,CAC9B,CAAC,uBAAU,CACT,WAAW,CAAC,iBAAiB,CAC7B,SAAS,CACT,YAAY,CAAC,CAAC,IAAI,eAAe,EAAE,CAAC,CACpC,iBAAiB,CAAC,CAAC;gBACjB,OAAO,EAAE,qEAA6C,CAAC,IAAI,CAAC;gBAC5D,KAAK,EAAE,gBAAS,CAAC,cAAc;aAChC,CAAC,CACF,IAAI,CAAC,CAAC,IAAI,CAAC,CACX,KAAK,CAAC,CACJ,OAAO,KAAK,0BAAkB,CAAC,OAAO;gBACpC,CAAC,CAAC,4BAAe,CAAC,MAAM;gBACxB,CAAC,CAAC,4BAAe,CAAC,MAAM,CAC3B,CACD,IAAI,iBAAiB,CAAC,EACtB,CACH,CACH;IAAA,EAAE,mBAAI,CAAC,CACR,CAAC;AACJ,CAAC,CAAC;AA3FW,QAAA,WAAW,eA2FtB","sourcesContent":["import { useTailwind } from '@metamask-previews/design-system-twrnc-preset';\nimport React, { useCallback } from 'react';\nimport { View } from 'react-native';\n\nimport { AvatarGroupSize, AvatarGroupVariant } from '../../types';\nimport type { AvatarAccountProps } from '../AvatarAccount';\nimport { AvatarAccount } from '../AvatarAccount';\nimport { AvatarBase, AvatarBaseShape } from '../AvatarBase';\nimport type { AvatarFaviconProps } from '../AvatarFavicon';\nimport { AvatarFavicon } from '../AvatarFavicon';\nimport type { AvatarNetworkProps } from '../AvatarNetwork';\nimport { AvatarNetwork } from '../AvatarNetwork';\nimport type { AvatarTokenProps } from '../AvatarToken';\nimport { AvatarToken } from '../AvatarToken';\nimport { Text, TextColor } from '../Text';\n\nimport {\n MAP_AVATARGROUP_SIZE_OVERFLOWTEXT_TEXTVARIANT,\n TWCLASSMAP_AVATARGROUP_SIZE_SPACEBETWEENAVATARS,\n} from './AvatarGroup.constants';\nimport type { AvatarGroupProps } from './AvatarGroup.types';\n\nexport const AvatarGroup = ({\n variant,\n avatarPropsArr,\n size = AvatarGroupSize.Md,\n max = 4,\n isReverse = false,\n overflowTextProps,\n style,\n twClassName,\n ...props\n}: AvatarGroupProps) => {\n const tw = useTailwind();\n const overflowCounter = avatarPropsArr.length - max;\n const shouldRenderOverflowCounter = overflowCounter > 0;\n const twContainerClassNames = `\n ${isReverse ? 'flex-row-reverse' : 'flex-row'}\n ${TWCLASSMAP_AVATARGROUP_SIZE_SPACEBETWEENAVATARS[size]}\n `;\n\n const renderAvatarList = useCallback(\n () =>\n avatarPropsArr.slice(0, max).map((avatarProps, index) => {\n switch (variant) {\n case AvatarGroupVariant.Account:\n return (\n <AvatarAccount\n key={`avatar-${index}`}\n {...(avatarProps as AvatarAccountProps)}\n size={size}\n hasBorder\n />\n );\n case AvatarGroupVariant.Favicon:\n return (\n <AvatarFavicon\n key={`avatar-${index}`}\n {...(avatarProps as AvatarFaviconProps)}\n size={size}\n hasBorder\n />\n );\n case AvatarGroupVariant.Network:\n return (\n <AvatarNetwork\n key={`avatar-${index}`}\n {...(avatarProps as AvatarNetworkProps)}\n size={size}\n hasBorder\n />\n );\n case AvatarGroupVariant.Token:\n return (\n <AvatarToken\n key={`avatar-${index}`}\n {...(avatarProps as AvatarTokenProps)}\n size={size}\n hasBorder\n />\n );\n default:\n throw new Error(\n `Invalid Avatar Variant: ${variant}. Expected one of: ${Object.values(AvatarGroupVariant).join(', ')}`,\n );\n }\n }),\n [avatarPropsArr, max, size, tw],\n );\n\n return (\n <View style={[tw`${twContainerClassNames}`, style]} {...props}>\n {renderAvatarList()}\n {shouldRenderOverflowCounter && (\n <AvatarBase\n twClassName=\"bg-icon-default\"\n hasBorder\n fallbackText={`+${overflowCounter}`}\n fallbackTextProps={{\n variant: MAP_AVATARGROUP_SIZE_OVERFLOWTEXT_TEXTVARIANT[size],\n color: TextColor.PrimaryInverse,\n }}\n size={size}\n shape={\n variant === AvatarGroupVariant.Network\n ? AvatarBaseShape.Square\n : AvatarBaseShape.Circle\n }\n {...overflowTextProps}\n />\n )}\n </View>\n );\n};\n"]}
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import { ViewProps } from 'react-native';
|
|
2
|
-
import { AvatarGroupSize } from '../../
|
|
3
|
-
import { AvatarAccountProps } from '../AvatarAccount';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
* AvatarGroup variants.
|
|
9
|
-
*/
|
|
10
|
-
export declare enum AvatarGroupVariant {
|
|
11
|
-
Account = "Account",
|
|
12
|
-
Favicon = "Favicon",
|
|
13
|
-
Network = "Network",
|
|
14
|
-
Token = "Token"
|
|
15
|
-
}
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { AvatarGroupSize, AvatarGroupVariant } from '../../types';
|
|
3
|
+
import type { AvatarAccountProps } from '../AvatarAccount';
|
|
4
|
+
import type { AvatarBaseProps } from '../AvatarBase';
|
|
5
|
+
import type { AvatarFaviconProps } from '../AvatarFavicon';
|
|
6
|
+
import type { AvatarNetworkProps } from '../AvatarNetwork';
|
|
7
|
+
import type { AvatarTokenProps } from '../AvatarToken';
|
|
16
8
|
type BaseAvatarGroupProps = {
|
|
17
9
|
/**
|
|
18
10
|
* Optional enum to select between Avatar Group sizes.
|
|
11
|
+
*
|
|
19
12
|
* @default AvatarGroupSize.Md
|
|
20
13
|
*/
|
|
21
14
|
size?: AvatarGroupSize;
|
|
22
15
|
/**
|
|
23
16
|
* Optional enum to select max number of Avatars visible,
|
|
24
17
|
* before the overflow counter being displayed
|
|
18
|
+
*
|
|
25
19
|
* @default 4
|
|
26
20
|
*/
|
|
27
21
|
max?: number;
|
|
@@ -29,6 +23,10 @@ type BaseAvatarGroupProps = {
|
|
|
29
23
|
* Optional prop to reverse the direction of the AvatarGroup
|
|
30
24
|
*/
|
|
31
25
|
isReverse?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Optional prop to pass additional AvatarBase props to the overflow Text element
|
|
28
|
+
*/
|
|
29
|
+
overflowTextProps?: AvatarBaseProps;
|
|
32
30
|
/**
|
|
33
31
|
* Optional prop to add twrnc overriding classNames.
|
|
34
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.types.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"AvatarGroup.types.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,KAAK,oBAAoB,GAAG;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GACjD,CACI;IACE,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;IACpC;;;OAGG;IACH,cAAc,EAAE,kBAAkB,EAAE,CAAC;CACtC,GACD;IACE,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;IACpC;;;OAGG;IACH,cAAc,EAAE,kBAAkB,EAAE,CAAC;CACtC,GACD;IACE,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC;IACpC;;;OAGG;IACH,cAAc,EAAE,kBAAkB,EAAE,CAAC;CACtC,GACD;IACE,OAAO,EAAE,kBAAkB,CAAC,KAAK,CAAC;IAClC;;;OAGG;IACH,cAAc,EAAE,gBAAgB,EAAE,CAAC;CACpC,CACJ,CAAC"}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AvatarGroupVariant = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* AvatarGroup variants.
|
|
6
|
-
*/
|
|
7
|
-
var AvatarGroupVariant;
|
|
8
|
-
(function (AvatarGroupVariant) {
|
|
9
|
-
AvatarGroupVariant["Account"] = "Account";
|
|
10
|
-
AvatarGroupVariant["Favicon"] = "Favicon";
|
|
11
|
-
AvatarGroupVariant["Network"] = "Network";
|
|
12
|
-
AvatarGroupVariant["Token"] = "Token";
|
|
13
|
-
})(AvatarGroupVariant || (exports.AvatarGroupVariant = AvatarGroupVariant = {}));
|
|
14
3
|
//# sourceMappingURL=AvatarGroup.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarGroup.types.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarGroup.types.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/AvatarGroup.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ViewProps } from 'react-native';\n\nimport type { AvatarGroupSize, AvatarGroupVariant } from '../../types';\nimport type { AvatarAccountProps } from '../AvatarAccount';\nimport type { AvatarBaseProps } from '../AvatarBase';\nimport type { AvatarFaviconProps } from '../AvatarFavicon';\nimport type { AvatarNetworkProps } from '../AvatarNetwork';\nimport type { AvatarTokenProps } from '../AvatarToken';\n\ntype BaseAvatarGroupProps = {\n /**\n * Optional enum to select between Avatar Group sizes.\n *\n * @default AvatarGroupSize.Md\n */\n size?: AvatarGroupSize;\n /**\n * Optional enum to select max number of Avatars visible,\n * before the overflow counter being displayed\n *\n * @default 4\n */\n max?: number;\n /**\n * Optional prop to reverse the direction of the AvatarGroup\n */\n isReverse?: boolean;\n /**\n * Optional prop to pass additional AvatarBase props to the overflow Text element\n */\n overflowTextProps?: AvatarBaseProps;\n /**\n * Optional prop to add twrnc overriding classNames.\n */\n twClassName?: string;\n} & ViewProps;\n\n/**\n * AvatarGroup props.\n */\nexport type AvatarGroupProps = BaseAvatarGroupProps &\n (\n | {\n variant: AvatarGroupVariant.Account;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarAccountProps[];\n }\n | {\n variant: AvatarGroupVariant.Favicon;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarFaviconProps[];\n }\n | {\n variant: AvatarGroupVariant.Network;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarNetworkProps[];\n }\n | {\n variant: AvatarGroupVariant.Token;\n /**\n * A list of Avatars to be horizontally stacked.\n * Note: AvatarGroupProps's size prop will overwrite each individual avatarProp's size.\n */\n avatarPropsArr: AvatarTokenProps[];\n }\n );\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AvatarGroupSize, AvatarGroupVariant } from '../../types';
|
|
2
|
+
export { AvatarGroup } from './AvatarGroup';
|
|
2
3
|
export type { AvatarGroupProps } from './AvatarGroup.types';
|
|
3
|
-
export { AvatarGroupSize } from '../../shared/enums';
|
|
4
|
-
export { AvatarGroupVariant } from './AvatarGroup.types';
|
|
5
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
3
|
+
exports.AvatarGroup = exports.AvatarGroupVariant = exports.AvatarGroupSize = void 0;
|
|
4
|
+
var types_1 = require("../../types");
|
|
5
|
+
Object.defineProperty(exports, "AvatarGroupSize", { enumerable: true, get: function () { return types_1.AvatarGroupSize; } });
|
|
6
|
+
Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: function () { return types_1.AvatarGroupVariant; } });
|
|
7
7
|
var AvatarGroup_1 = require("./AvatarGroup");
|
|
8
|
-
Object.defineProperty(exports, "
|
|
9
|
-
var enums_1 = require("../../shared/enums");
|
|
10
|
-
Object.defineProperty(exports, "AvatarGroupSize", { enumerable: true, get: function () { return enums_1.AvatarGroupSize; } });
|
|
11
|
-
var AvatarGroup_types_1 = require("./AvatarGroup.types");
|
|
12
|
-
Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: function () { return AvatarGroup_types_1.AvatarGroupVariant; } });
|
|
8
|
+
Object.defineProperty(exports, "AvatarGroup", { enumerable: true, get: function () { return AvatarGroup_1.AvatarGroup; } });
|
|
13
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AvatarGroup/index.ts"],"names":[],"mappings":";;;AAAA,qCAAkE;AAAzD,wGAAA,eAAe,OAAA;AAAE,2GAAA,kBAAkB,OAAA;AAC5C,6CAA4C;AAAnC,0GAAA,WAAW,OAAA","sourcesContent":["export { AvatarGroupSize, AvatarGroupVariant } from '../../types';\nexport { AvatarGroup } from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup.types';\n"]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { AvatarIconSeverity } from '
|
|
1
|
+
import { AvatarIconSize, AvatarIconSeverity } from '../../types';
|
|
2
2
|
import { IconSize, IconColor } from '../Icon';
|
|
3
|
-
import { AvatarIconSize } from '../../shared/enums';
|
|
4
3
|
export declare const TWCLASSMAP_AVATARICON_SEVERITY_BACKGROUNDCOLOR: Record<AvatarIconSeverity, string>;
|
|
5
4
|
export declare const MAP_AVATARICON_SIZE_ICONSIZE: Record<AvatarIconSize, IconSize>;
|
|
6
5
|
export declare const MAP_AVATARICON_SEVERITY_ICONCOLOR: Record<AvatarIconSeverity, IconColor>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarIcon.constants.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarIcon/AvatarIcon.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AvatarIcon.constants.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarIcon/AvatarIcon.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAG9C,eAAO,MAAM,8CAA8C,EAAE,MAAM,CACjE,kBAAkB,EAClB,MAAM,CAOP,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,cAAc,EAAE,QAAQ,CAMzE,CAAC;AACF,eAAO,MAAM,iCAAiC,EAAE,MAAM,CACpD,kBAAkB,EAClB,SAAS,CAOV,CAAC"}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MAP_AVATARICON_SEVERITY_ICONCOLOR = exports.MAP_AVATARICON_SIZE_ICONSIZE = exports.TWCLASSMAP_AVATARICON_SEVERITY_BACKGROUNDCOLOR = void 0;
|
|
4
|
-
const
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
5
|
const Icon_1 = require("../Icon");
|
|
6
|
-
const enums_1 = require("../../shared/enums");
|
|
7
6
|
// Mappings
|
|
8
7
|
exports.TWCLASSMAP_AVATARICON_SEVERITY_BACKGROUNDCOLOR = {
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
8
|
+
[types_1.AvatarIconSeverity.Neutral]: 'bg-background-muted',
|
|
9
|
+
[types_1.AvatarIconSeverity.Info]: 'bg-info-muted',
|
|
10
|
+
[types_1.AvatarIconSeverity.Success]: 'bg-success-muted',
|
|
11
|
+
[types_1.AvatarIconSeverity.Error]: 'bg-error-muted',
|
|
12
|
+
[types_1.AvatarIconSeverity.Warning]: 'bg-warning-muted',
|
|
14
13
|
};
|
|
15
14
|
exports.MAP_AVATARICON_SIZE_ICONSIZE = {
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
15
|
+
[types_1.AvatarIconSize.Xs]: Icon_1.IconSize.Xs,
|
|
16
|
+
[types_1.AvatarIconSize.Sm]: Icon_1.IconSize.Sm,
|
|
17
|
+
[types_1.AvatarIconSize.Md]: Icon_1.IconSize.Md,
|
|
18
|
+
[types_1.AvatarIconSize.Lg]: Icon_1.IconSize.Lg,
|
|
19
|
+
[types_1.AvatarIconSize.Xl]: Icon_1.IconSize.Xl, // 48px avatar -> 32px icon
|
|
21
20
|
};
|
|
22
21
|
exports.MAP_AVATARICON_SEVERITY_ICONCOLOR = {
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
22
|
+
[types_1.AvatarIconSeverity.Neutral]: Icon_1.IconColor.IconAlternative,
|
|
23
|
+
[types_1.AvatarIconSeverity.Info]: Icon_1.IconColor.InfoDefault,
|
|
24
|
+
[types_1.AvatarIconSeverity.Success]: Icon_1.IconColor.SuccessDefault,
|
|
25
|
+
[types_1.AvatarIconSeverity.Error]: Icon_1.IconColor.ErrorDefault,
|
|
26
|
+
[types_1.AvatarIconSeverity.Warning]: Icon_1.IconColor.WarningDefault,
|
|
28
27
|
};
|
|
29
28
|
//# sourceMappingURL=AvatarIcon.constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarIcon.constants.js","sourceRoot":"","sources":["../../../src/components/AvatarIcon/AvatarIcon.constants.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AvatarIcon.constants.js","sourceRoot":"","sources":["../../../src/components/AvatarIcon/AvatarIcon.constants.ts"],"names":[],"mappings":";;;AAAA,uCAAiE;AACjE,kCAA8C;AAE9C,WAAW;AACE,QAAA,8CAA8C,GAGvD;IACF,CAAC,0BAAkB,CAAC,OAAO,CAAC,EAAE,qBAAqB;IACnD,CAAC,0BAAkB,CAAC,IAAI,CAAC,EAAE,eAAe;IAC1C,CAAC,0BAAkB,CAAC,OAAO,CAAC,EAAE,kBAAkB;IAChD,CAAC,0BAAkB,CAAC,KAAK,CAAC,EAAE,gBAAgB;IAC5C,CAAC,0BAAkB,CAAC,OAAO,CAAC,EAAE,kBAAkB;CACjD,CAAC;AACW,QAAA,4BAA4B,GAAqC;IAC5E,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;IAChC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;IAChC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;IAChC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE;IAChC,CAAC,sBAAc,CAAC,EAAE,CAAC,EAAE,eAAQ,CAAC,EAAE,EAAE,2BAA2B;CAC9D,CAAC;AACW,QAAA,iCAAiC,GAG1C;IACF,CAAC,0BAAkB,CAAC,OAAO,CAAC,EAAE,gBAAS,CAAC,eAAe;IACvD,CAAC,0BAAkB,CAAC,IAAI,CAAC,EAAE,gBAAS,CAAC,WAAW;IAChD,CAAC,0BAAkB,CAAC,OAAO,CAAC,EAAE,gBAAS,CAAC,cAAc;IACtD,CAAC,0BAAkB,CAAC,KAAK,CAAC,EAAE,gBAAS,CAAC,YAAY;IAClD,CAAC,0BAAkB,CAAC,OAAO,CAAC,EAAE,gBAAS,CAAC,cAAc;CACvD,CAAC","sourcesContent":["import { AvatarIconSize, AvatarIconSeverity } from '../../types';\nimport { IconSize, IconColor } from '../Icon';\n\n// Mappings\nexport const TWCLASSMAP_AVATARICON_SEVERITY_BACKGROUNDCOLOR: Record<\n AvatarIconSeverity,\n string\n> = {\n [AvatarIconSeverity.Neutral]: 'bg-background-muted',\n [AvatarIconSeverity.Info]: 'bg-info-muted',\n [AvatarIconSeverity.Success]: 'bg-success-muted',\n [AvatarIconSeverity.Error]: 'bg-error-muted',\n [AvatarIconSeverity.Warning]: 'bg-warning-muted',\n};\nexport const MAP_AVATARICON_SIZE_ICONSIZE: Record<AvatarIconSize, IconSize> = {\n [AvatarIconSize.Xs]: IconSize.Xs, // 16px avatar -> 12px icon\n [AvatarIconSize.Sm]: IconSize.Sm, // 24px avatar -> 16px icon\n [AvatarIconSize.Md]: IconSize.Md, // 32px avatar -> 20px icon\n [AvatarIconSize.Lg]: IconSize.Lg, // 40px avatar -> 24px icon\n [AvatarIconSize.Xl]: IconSize.Xl, // 48px avatar -> 32px icon\n};\nexport const MAP_AVATARICON_SEVERITY_ICONCOLOR: Record<\n AvatarIconSeverity,\n IconColor\n> = {\n [AvatarIconSeverity.Neutral]: IconColor.IconAlternative,\n [AvatarIconSeverity.Info]: IconColor.InfoDefault,\n [AvatarIconSeverity.Success]: IconColor.SuccessDefault,\n [AvatarIconSeverity.Error]: IconColor.ErrorDefault,\n [AvatarIconSeverity.Warning]: IconColor.WarningDefault,\n};\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { AvatarIconProps } from './AvatarIcon.types';
|
|
3
|
-
declare const AvatarIcon: ({ size, shape, severity, iconName, iconProps, twClassName, style, ...props }: AvatarIconProps) => React.JSX.Element;
|
|
4
|
-
export default AvatarIcon;
|
|
3
|
+
export declare const AvatarIcon: ({ size, shape, severity, iconName, iconProps, twClassName, style, ...props }: AvatarIconProps) => React.JSX.Element;
|
|
5
4
|
//# sourceMappingURL=AvatarIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarIcon.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarIcon/AvatarIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AvatarIcon.d.ts","sourceRoot":"","sources":["../../../src/components/AvatarIcon/AvatarIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,eAAO,MAAM,UAAU,iFASpB,eAAe,sBAuBjB,CAAC"}
|