decentraland-ui2 0.0.2-9020206964.commit-054087b → 0.0.3-9857431499.commit-4197294
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AddressField/utils.d.ts +3 -0
- package/dist/components/AddressField/utils.js +8 -0
- package/dist/components/AddressField/utils.js.map +1 -0
- package/dist/components/AddressField/utils.spec.d.ts +1 -0
- package/dist/components/AddressField/utils.spec.js +21 -0
- package/dist/components/AddressField/utils.spec.js.map +1 -0
- package/dist/components/Atlas/Atlas.d.ts +3 -42
- package/dist/components/Atlas/Atlas.js +3 -21
- package/dist/components/Atlas/Atlas.js.map +1 -1
- package/dist/components/Atlas/Atlas.stories.d.ts +9 -8
- package/dist/components/Atlas/Atlas.stories.js +11 -9
- package/dist/components/Atlas/Atlas.stories.js.map +1 -1
- package/dist/components/Atlas/Atlas.types.d.ts +41 -0
- package/dist/components/Atlas/Atlas.types.js +20 -0
- package/dist/components/Atlas/Atlas.types.js.map +1 -0
- package/dist/components/Atlas/index.d.ts +4 -0
- package/dist/components/Atlas/index.js +3 -0
- package/dist/components/Atlas/index.js.map +1 -0
- package/dist/components/Atlas/util.d.ts +4 -3
- package/dist/components/Atlas/util.js +5 -4
- package/dist/components/Atlas/util.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.d.ts +4 -0
- package/dist/components/AvatarFace/AvatarFace.js +13 -0
- package/dist/components/AvatarFace/AvatarFace.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.stories.d.ts +10 -0
- package/dist/components/AvatarFace/AvatarFace.stories.js +47 -0
- package/dist/components/AvatarFace/AvatarFace.stories.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.styled.d.ts +12 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js +49 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.types.d.ts +7 -0
- package/dist/components/AvatarFace/AvatarFace.types.js +2 -0
- package/dist/components/AvatarFace/AvatarFace.types.js.map +1 -0
- package/dist/components/AvatarFace/index.d.ts +2 -0
- package/dist/components/AvatarFace/index.js +3 -0
- package/dist/components/AvatarFace/index.js.map +1 -0
- package/dist/components/Icon/Emotes/MuteIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/MuteIcon.js +8 -0
- package/dist/components/Icon/Emotes/MuteIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/PropsIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/PropsIcon.js +8 -0
- package/dist/components/Icon/Emotes/PropsIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/SoundIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/SoundIcon.js +8 -0
- package/dist/components/Icon/Emotes/SoundIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/VolumeIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/VolumeIcon.js +8 -0
- package/dist/components/Icon/Emotes/VolumeIcon.js.map +1 -0
- package/dist/components/Icon/ManaEthIcon.d.ts +4 -0
- package/dist/components/Icon/ManaEthIcon.js +8 -0
- package/dist/components/Icon/ManaEthIcon.js.map +1 -0
- package/dist/components/Icon/ManaMaticIcon.d.ts +4 -0
- package/dist/components/Icon/ManaMaticIcon.js +8 -0
- package/dist/components/Icon/ManaMaticIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js +8 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js +8 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js +8 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.js +8 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.js +8 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js +8 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.js +8 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/HistoryIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/HistoryIcon.js +8 -0
- package/dist/components/Icon/Notifications/HistoryIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.js +8 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.js +8 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js +8 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js +8 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js +8 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.js +8 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.js +8 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js +10 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.js +10 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js +8 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js +8 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PitchIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PitchIcon.js +8 -0
- package/dist/components/Icon/Notifications/PitchIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js +8 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/RewardIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/RewardIcon.js +8 -0
- package/dist/components/Icon/Notifications/RewardIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/TenderIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/TenderIcon.js +8 -0
- package/dist/components/Icon/Notifications/TenderIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.js +8 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.js.map +1 -0
- package/dist/components/Icon/PlacesIcon.d.ts +4 -0
- package/dist/components/Icon/PlacesIcon.js +8 -0
- package/dist/components/Icon/PlacesIcon.js.map +1 -0
- package/dist/components/Icon/SparklesIcon.d.ts +4 -0
- package/dist/components/Icon/SparklesIcon.js +8 -0
- package/dist/components/Icon/SparklesIcon.js.map +1 -0
- package/dist/components/Icon/UtilityIcon.d.ts +4 -0
- package/dist/components/Icon/UtilityIcon.js +8 -0
- package/dist/components/Icon/UtilityIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js +8 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.js +8 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.js +8 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EarringIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EarringIcon.js +8 -0
- package/dist/components/Icon/Wearables/EarringIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyesIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyesIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyesIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyewearIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyewearIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyewearIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.js +8 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/FeetIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/FeetIcon.js +8 -0
- package/dist/components/Icon/Wearables/FeetIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HairIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HairIcon.js +8 -0
- package/dist/components/Icon/Wearables/HairIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.js +8 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HatIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HatIcon.js +8 -0
- package/dist/components/Icon/Wearables/HatIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HelmetIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HelmetIcon.js +8 -0
- package/dist/components/Icon/Wearables/HelmetIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.js +8 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/MaskIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/MaskIcon.js +8 -0
- package/dist/components/Icon/Wearables/MaskIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/MouthIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/MouthIcon.js +8 -0
- package/dist/components/Icon/Wearables/MouthIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/SkinIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/SkinIcon.js +8 -0
- package/dist/components/Icon/Wearables/SkinIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.js +8 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/TiaraIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/TiaraIcon.js +8 -0
- package/dist/components/Icon/Wearables/TiaraIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.js +8 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/UnisexIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/UnisexIcon.js +8 -0
- package/dist/components/Icon/Wearables/UnisexIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.js +8 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.js.map +1 -0
- package/dist/components/Icon/index.d.ts +62 -0
- package/dist/components/Icon/index.js +63 -0
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.d.ts +4 -0
- package/dist/components/IconBadge/IconBadge.js +81 -0
- package/dist/components/IconBadge/IconBadge.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.stories.d.ts +10 -0
- package/dist/components/IconBadge/IconBadge.stories.js +52 -0
- package/dist/components/IconBadge/IconBadge.stories.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.styled.d.ts +17 -0
- package/dist/components/IconBadge/IconBadge.styled.js +38 -0
- package/dist/components/IconBadge/IconBadge.styled.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.types.d.ts +40 -0
- package/dist/components/IconBadge/IconBadge.types.js +34 -0
- package/dist/components/IconBadge/IconBadge.types.js.map +1 -0
- package/dist/components/IconBadge/index.d.ts +2 -0
- package/dist/components/IconBadge/index.js +3 -0
- package/dist/components/IconBadge/index.js.map +1 -0
- package/dist/components/Mana/Mana.d.ts +4 -0
- package/dist/components/Mana/Mana.js +17 -0
- package/dist/components/Mana/Mana.js.map +1 -0
- package/dist/components/Mana/Mana.stories.d.ts +15 -0
- package/dist/components/Mana/Mana.stories.js +90 -0
- package/dist/components/Mana/Mana.stories.js.map +1 -0
- package/dist/components/Mana/Mana.styled.d.ts +17 -0
- package/dist/components/Mana/Mana.styled.js +44 -0
- package/dist/components/Mana/Mana.styled.js.map +1 -0
- package/dist/components/Mana/Mana.types.d.ts +14 -0
- package/dist/components/Mana/Mana.types.js +2 -0
- package/dist/components/Mana/Mana.types.js.map +1 -0
- package/dist/components/Mana/index.d.ts +2 -0
- package/dist/components/Mana/index.js +3 -0
- package/dist/components/Mana/index.js.map +1 -0
- package/dist/components/Media/Media.d.ts +56 -0
- package/dist/components/Media/Media.js +62 -0
- package/dist/components/Media/Media.js.map +1 -0
- package/dist/components/Media/index.d.ts +1 -0
- package/dist/components/Media/index.js +2 -0
- package/dist/components/Media/index.js.map +1 -0
- package/dist/components/Modal/Modal.d.ts +5 -0
- package/dist/components/Modal/Modal.js +15 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +21 -0
- package/dist/components/Modal/Modal.stories.js +91 -0
- package/dist/components/Modal/Modal.stories.js.map +1 -0
- package/dist/components/Modal/Modal.styled.d.ts +23 -0
- package/dist/components/Modal/Modal.styled.js +51 -0
- package/dist/components/Modal/Modal.styled.js.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +13 -0
- package/dist/components/Modal/Modal.types.js +2 -0
- package/dist/components/Modal/Modal.types.js.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.js +2 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.d.ts +4 -0
- package/dist/components/Notifications/NotificationItem.js +14 -0
- package/dist/components/Notifications/NotificationItem.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.styled.d.ts +37 -0
- package/dist/components/Notifications/NotificationItem.styled.js +63 -0
- package/dist/components/Notifications/NotificationItem.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.types.d.ts +8 -0
- package/dist/components/Notifications/NotificationItem.types.js +2 -0
- package/dist/components/Notifications/NotificationItem.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.d.ts +4 -0
- package/dist/components/Notifications/NotificationItemImage.js +12 -0
- package/dist/components/Notifications/NotificationItemImage.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.styled.d.ts +13 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js +26 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.types.d.ts +7 -0
- package/dist/components/Notifications/NotificationItemImage.types.js +2 -0
- package/dist/components/Notifications/NotificationItemImage.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.d.ts +4 -0
- package/dist/components/Notifications/NotificationItemNFTLink.js +9 -0
- package/dist/components/Notifications/NotificationItemNFTLink.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.d.ts +10 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js +11 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.d.ts +7 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.js +2 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.d.ts +42 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js +43 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +11 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.d.ts +33 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js +34 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.d.ts +27 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js +28 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.d.ts +33 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js +34 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js +7 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +15 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +12 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.d.ts +27 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js +28 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +27 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/index.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/index.js +25 -0
- package/dist/components/Notifications/NotificationTypes/index.js.map +1 -0
- package/dist/components/Notifications/Notifications.d.ts +4 -0
- package/dist/components/Notifications/Notifications.js +26 -0
- package/dist/components/Notifications/Notifications.js.map +1 -0
- package/dist/components/Notifications/Notifications.stories.d.ts +19 -0
- package/dist/components/Notifications/Notifications.stories.js +139 -0
- package/dist/components/Notifications/Notifications.stories.js.map +1 -0
- package/dist/components/Notifications/Notifications.styled.d.ts +9 -0
- package/dist/components/Notifications/Notifications.styled.js +57 -0
- package/dist/components/Notifications/Notifications.styled.js.map +1 -0
- package/dist/components/Notifications/Notifications.types.d.ts +17 -0
- package/dist/components/Notifications/Notifications.types.js +2 -0
- package/dist/components/Notifications/Notifications.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.d.ts +4 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.js +25 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.js +50 -0
- package/dist/components/Notifications/NotificationsFeed.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.styled.d.ts +37 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js +52 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.types.d.ts +16 -0
- package/dist/components/Notifications/NotificationsFeed.types.js +2 -0
- package/dist/components/Notifications/NotificationsFeed.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.d.ts +4 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.d.ts +57 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js +58 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.js +25 -0
- package/dist/components/Notifications/NotificationsFeedTabs.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.d.ts +34 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js +56 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.d.ts +13 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.js +2 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.js.map +1 -0
- package/dist/components/Notifications/index.d.ts +3 -0
- package/dist/components/Notifications/index.js +3 -0
- package/dist/components/Notifications/index.js.map +1 -0
- package/dist/components/Notifications/types.d.ts +119 -0
- package/dist/components/Notifications/types.js +7 -0
- package/dist/components/Notifications/types.js.map +1 -0
- package/dist/components/Notifications/utils.d.ts +13 -0
- package/dist/components/Notifications/utils.js +51 -0
- package/dist/components/Notifications/utils.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.d.ts +4 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js +14 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +6 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +28 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +6 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +13 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +7 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js +2 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/index.d.ts +2 -0
- package/dist/components/UserMenu/ManaBalances/index.js +2 -0
- package/dist/components/UserMenu/ManaBalances/index.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.d.ts +4 -0
- package/dist/components/UserMenu/UserMenu.i18n.d.ts +3 -0
- package/dist/components/UserMenu/UserMenu.i18n.js +15 -0
- package/dist/components/UserMenu/UserMenu.i18n.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.js +82 -0
- package/dist/components/UserMenu/UserMenu.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.stories.d.ts +12 -0
- package/dist/components/UserMenu/UserMenu.stories.js +82 -0
- package/dist/components/UserMenu/UserMenu.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.styled.d.ts +22 -0
- package/dist/components/UserMenu/UserMenu.styled.js +27 -0
- package/dist/components/UserMenu/UserMenu.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.types.d.ts +26 -0
- package/dist/components/UserMenu/UserMenu.types.js +15 -0
- package/dist/components/UserMenu/UserMenu.types.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.d.ts +9 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js +39 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.d.ts +5 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js +111 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.d.ts +8 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +65 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +75 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +167 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +29 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js +2 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js.map +1 -0
- package/dist/components/UserMenu/index.d.ts +4 -0
- package/dist/components/UserMenu/index.js +3 -0
- package/dist/components/UserMenu/index.js.map +1 -0
- package/dist/config/index.js.map +1 -1
- package/dist/data/avatar.d.ts +3 -0
- package/dist/data/avatar.js +98 -0
- package/dist/data/avatar.js.map +1 -0
- package/dist/data/notifications.d.ts +27 -0
- package/dist/data/notifications.js +426 -0
- package/dist/data/notifications.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/network.d.ts +8 -0
- package/dist/lib/network.js +17 -0
- package/dist/lib/network.js.map +1 -0
- package/dist/theme/colorSchemes.d.ts +10 -0
- package/dist/theme/colorSchemes.js +362 -0
- package/dist/theme/colorSchemes.js.map +1 -0
- package/dist/{colors.d.ts → theme/colors.d.ts} +19 -18
- package/dist/{colors.js → theme/colors.js} +19 -18
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/components.d.ts +2 -0
- package/dist/theme/components.js +53 -0
- package/dist/theme/components.js.map +1 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.js +19 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/typography.d.ts +44 -0
- package/dist/theme/typography.js +45 -0
- package/dist/theme/typography.js.map +1 -0
- package/package.json +7 -5
- package/dist/colors.js.map +0 -1
- package/dist/theme.d.ts +0 -2
- package/dist/theme.js +0 -73
- package/dist/theme.js.map +0 -1
@@ -0,0 +1,111 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React, { useCallback, useMemo, useState } from "react";
|
3
|
+
import ArrowForwardIcon from "@mui/icons-material/ArrowForward";
|
4
|
+
import LogoutIcon from "@mui/icons-material/Logout";
|
5
|
+
import { Badge, Box, IconButton, Typography } from "@mui/material";
|
6
|
+
import { config } from "../../../config";
|
7
|
+
import { AvatarFace } from "../../AvatarFace";
|
8
|
+
import { useTabletAndBelowMediaQuery } from "../../Media";
|
9
|
+
import { Notifications } from "../../Notifications";
|
10
|
+
import { ManaBalances } from "../ManaBalances";
|
11
|
+
import { UserMenuEventId } from "../UserMenu.types";
|
12
|
+
import { ActionsContainer, ActionsListItemIcon, ActionsMenuItem, ActionsWrapper, ActivityIcon, AvatarFaceContainer, AvatarPreview, AvatarPreviewContainer, LogoutContainer, MenuContainer, MenuInfoContainer, MenuInfoTypography, MenuInfoUnclaimedTypography, MenuInformationActionContainer, UserMenuSignedInContainer, } from "./UserMenuSignedIn.styled";
|
13
|
+
const UserMenuActions = (props) => {
|
14
|
+
const { avatar, address, i18n, trackingId, onClickMarketplaceAuthorization, onClickMyAssets, onClickProfile, onClickSignOut, onClickAccount, onClickUserMenuItem, } = props;
|
15
|
+
const handleClickMyAssets = useCallback((event) => {
|
16
|
+
onClickUserMenuItem &&
|
17
|
+
onClickUserMenuItem(event, {
|
18
|
+
type: UserMenuEventId.MY_ASSETS,
|
19
|
+
track_uuid: trackingId,
|
20
|
+
url: config.get("MARKETPLACE_MY_ASSETS_URL"),
|
21
|
+
});
|
22
|
+
setTimeout(() => {
|
23
|
+
onClickMyAssets
|
24
|
+
? onClickMyAssets(event)
|
25
|
+
: window.open(`${config.get("MARKETPLACE_MY_ASSETS_URL")}`, "_blank", "noopener");
|
26
|
+
}, onClickUserMenuItem ? 300 : 0);
|
27
|
+
}, [onClickMyAssets, onClickUserMenuItem, trackingId]);
|
28
|
+
const handleClickMarketplaceAuthorization = useCallback((event) => {
|
29
|
+
onClickUserMenuItem &&
|
30
|
+
onClickUserMenuItem(event, {
|
31
|
+
type: UserMenuEventId.MARKETPLACE_AUTHORIZATIONS,
|
32
|
+
track_uuid: trackingId,
|
33
|
+
url: config.get("MARKETPLACE_SETTINGS_URL"),
|
34
|
+
});
|
35
|
+
setTimeout(() => {
|
36
|
+
onClickMarketplaceAuthorization
|
37
|
+
? onClickMarketplaceAuthorization(event)
|
38
|
+
: window.open(`${config.get("MARKETPLACE_SETTINGS_URL")}`, "_blank", "noopener");
|
39
|
+
}, onClickUserMenuItem ? 300 : 0);
|
40
|
+
}, [onClickMarketplaceAuthorization, onClickUserMenuItem, trackingId]);
|
41
|
+
const handleClickProfile = useCallback((event) => {
|
42
|
+
onClickUserMenuItem &&
|
43
|
+
onClickUserMenuItem(event, {
|
44
|
+
type: UserMenuEventId.PROFILE,
|
45
|
+
track_uuid: trackingId,
|
46
|
+
url: config.get("PROFILE_URL"),
|
47
|
+
});
|
48
|
+
setTimeout(() => {
|
49
|
+
onClickProfile
|
50
|
+
? onClickProfile(event)
|
51
|
+
: window.open(config.get("PROFILE_URL"), "_blank", "noopener");
|
52
|
+
}, onClickUserMenuItem ? 300 : 0);
|
53
|
+
}, [onClickProfile, onClickUserMenuItem, trackingId]);
|
54
|
+
const handleClickAccount = useCallback((event) => {
|
55
|
+
onClickUserMenuItem &&
|
56
|
+
onClickUserMenuItem(event, {
|
57
|
+
type: UserMenuEventId.ACCOUNT,
|
58
|
+
track_uuid: trackingId,
|
59
|
+
url: config.get("ACCOUNT_URL"),
|
60
|
+
});
|
61
|
+
setTimeout(() => {
|
62
|
+
onClickAccount
|
63
|
+
? onClickAccount(event)
|
64
|
+
: window.open(config.get("ACCOUNT_URL"), "_blank", "noopener");
|
65
|
+
}, onClickUserMenuItem ? 300 : 0);
|
66
|
+
}, [onClickAccount, onClickUserMenuItem, trackingId]);
|
67
|
+
const handleClickSignOut = useCallback((event) => {
|
68
|
+
onClickUserMenuItem &&
|
69
|
+
onClickUserMenuItem(event, {
|
70
|
+
type: UserMenuEventId.SIGN_OUT,
|
71
|
+
track_uuid: trackingId,
|
72
|
+
});
|
73
|
+
onClickSignOut && onClickSignOut(event, trackingId || "");
|
74
|
+
}, [onClickSignOut, onClickUserMenuItem, trackingId]);
|
75
|
+
const userAddress = useMemo(() => avatar?.ethAddress || address, [avatar, address]);
|
76
|
+
return (_jsxs(ActionsContainer, { elevation: 24, children: [_jsx(AvatarPreviewContainer, { children: _jsx(AvatarPreview, { avatar: avatar }) }), _jsxs(MenuInformationActionContainer, { children: [_jsx(MenuInfoContainer, { children: _jsxs(MenuInfoTypography, { variant: "h4", children: [avatar?.name || i18n.guest, " ", !avatar?.hasClaimedName && userAddress && (_jsxs(MenuInfoUnclaimedTypography, { children: ["#", userAddress.substring(userAddress.length - 4)] }))] }) }), _jsxs(ActionsWrapper, { children: [_jsxs(ActionsMenuItem, { onClick: handleClickProfile, children: [_jsx(Typography, { variant: "h6", children: i18n.viewProfile }), _jsx(ActionsListItemIcon, { children: _jsx(ArrowForwardIcon, {}) })] }), _jsxs(ActionsMenuItem, { onClick: handleClickMyAssets, children: [_jsx(Typography, { variant: "h6", children: i18n.myAssets }), _jsx(ActionsListItemIcon, { children: _jsx(ArrowForwardIcon, {}) })] }), _jsxs(ActionsMenuItem, { onClick: handleClickAccount, children: [_jsx(Typography, { variant: "h6", children: i18n.account }), _jsx(ActionsListItemIcon, { children: _jsx(ArrowForwardIcon, {}) })] }), _jsxs(ActionsMenuItem, { onClick: handleClickMarketplaceAuthorization, children: [_jsx(Typography, { variant: "h6", children: i18n.marketplaceAuthorizations }), _jsx(ActionsListItemIcon, { children: _jsx(ArrowForwardIcon, {}) })] })] }), _jsxs(LogoutContainer, { onClick: handleClickSignOut, children: [_jsx(Typography, { variant: "h6", children: i18n.signOut }), _jsx(LogoutIcon, {})] })] })] }));
|
77
|
+
};
|
78
|
+
const UserMenuSignedIn = React.memo((props) => {
|
79
|
+
const { manaBalances, avatar, hasActivity, isOpen, trackingId, notifications, onClickActivity, onClickBalance, onClickClose, onClickUserMenuItem, onClickToggle, ...actionsProps } = props;
|
80
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
81
|
+
const isTabletAndBelow = useTabletAndBelowMediaQuery();
|
82
|
+
const handleClickActivity = useCallback((event) => {
|
83
|
+
onClickUserMenuItem &&
|
84
|
+
onClickUserMenuItem(event, {
|
85
|
+
type: UserMenuEventId.ACTIVITY,
|
86
|
+
track_uuid: trackingId,
|
87
|
+
url: `${config.get("MARKETPLACE_URL")}/activity`,
|
88
|
+
});
|
89
|
+
setTimeout(() => {
|
90
|
+
onClickActivity
|
91
|
+
? onClickActivity(event)
|
92
|
+
: window.open(`${config.get("MARKETPLACE_URL")}/activity`, "_blank", "noopener");
|
93
|
+
}, onClickActivity ? 300 : 0);
|
94
|
+
}, [onClickActivity, onClickUserMenuItem, trackingId]);
|
95
|
+
const handleClickToggle = useCallback((event) => {
|
96
|
+
onClickToggle && onClickToggle(event);
|
97
|
+
setAnchorEl(event.currentTarget);
|
98
|
+
}, [onClickToggle]);
|
99
|
+
const handleClickClose = useCallback(() => {
|
100
|
+
onClickClose && onClickClose();
|
101
|
+
}, [onClickClose]);
|
102
|
+
return (_jsxs(UserMenuSignedInContainer, { children: [notifications && _jsx(Notifications, { ...notifications }), _jsx(IconButton, { "aria-label": "activity", onClick: handleClickActivity, children: _jsx(Badge, { color: "secondary", variant: "dot", invisible: !hasActivity, children: _jsx(ActivityIcon, {}) }) }), _jsx(ManaBalances, { manaBalances: manaBalances, onClickBalance: onClickBalance }), _jsx(AvatarFaceContainer, { onClick: handleClickToggle, children: _jsx(AvatarFace, { size: "medium", avatar: avatar }) }), _jsx(Box, { onMouseLeave: handleClickClose, onScroll: !isTabletAndBelow ? handleClickClose : undefined, children: _jsx(MenuContainer, { anchorEl: anchorEl, open: !!isOpen, onClose: handleClickClose, anchorOrigin: {
|
103
|
+
vertical: "bottom",
|
104
|
+
horizontal: "right",
|
105
|
+
}, transformOrigin: {
|
106
|
+
vertical: "top",
|
107
|
+
horizontal: "right",
|
108
|
+
}, children: _jsx(UserMenuActions, { onClickUserMenuItem: onClickUserMenuItem, avatar: avatar, trackingId: trackingId, ...actionsProps }) }) })] }));
|
109
|
+
});
|
110
|
+
export { UserMenuSignedIn, UserMenuActions };
|
111
|
+
//# sourceMappingURL=UserMenuSignedIn.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenuSignedIn.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC7D,OAAO,gBAAgB,MAAM,kCAAkC,CAAA;AAC/D,OAAO,UAAU,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAKnD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,eAAe,EACf,aAAa,EAC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C,WAAW,YAC5D,KAAC,YAAY,KAAG,GACV,GACG,EACb,KAAC,YAAY,IACX,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,GAC9B,EACF,KAAC,mBAAmB,IAAC,OAAO,EAAE,iBAAiB,YAC7C,KAAC,UAAU,IAAC,IAAI,EAAC,QAAQ,EAAC,MAAM,EAAE,MAAM,GAAI,GACxB,EACtB,KAAC,GAAG,IACF,YAAY,EAAE,gBAAgB,EAC9B,QAAQ,EAAE,CAAC,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,YAE1D,KAAC,aAAa,IACZ,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EACd,OAAO,EAAE,gBAAgB,EACzB,YAAY,EAAE;wBACZ,QAAQ,EAAE,QAAQ;wBAClB,UAAU,EAAE,OAAO;qBACpB,EACD,eAAe,EAAE;wBACf,QAAQ,EAAE,KAAK;wBACf,UAAU,EAAE,OAAO;qBACpB,YAED,KAAC,eAAe,IACd,mBAAmB,EAAE,mBAAmB,EACxC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,KAClB,YAAY,GACC,GACL,GACZ,IACoB,CAC7B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { UserMenuSignedInProps } from "./UserMenuSignedIn.types";
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
3
|
+
declare const meta: Meta<UserMenuSignedInProps>;
|
4
|
+
type Story = StoryObj<UserMenuSignedInProps>;
|
5
|
+
declare const SignedIn: Story;
|
6
|
+
declare const CompleteWithActivity: Story;
|
7
|
+
export default meta;
|
8
|
+
export { SignedIn, CompleteWithActivity };
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { useState } from "react";
|
3
|
+
import { Network } from "@dcl/schemas/dist/dapps/network";
|
4
|
+
import { Box } from "@mui/material";
|
5
|
+
import { UserMenuSignedIn } from "./UserMenuSignedIn";
|
6
|
+
import { avatar } from "../../../data/avatar";
|
7
|
+
import { itemSoldNotificationPropsData } from "../../../data/notifications";
|
8
|
+
import { NotificationActiveTab } from "../../Notifications/types";
|
9
|
+
import { i18n } from "../UserMenu.i18n";
|
10
|
+
const meta = {
|
11
|
+
component: UserMenuSignedIn,
|
12
|
+
title: "Decentraland UI/UserMenuSignedIn",
|
13
|
+
argTypes: {},
|
14
|
+
args: {
|
15
|
+
onClickMarketplaceAuthorization: () => console.log,
|
16
|
+
onClickMyAssets: () => console.log,
|
17
|
+
onClickProfile: () => console.log,
|
18
|
+
onClickSignOut: () => console.log,
|
19
|
+
onClickAccount: () => console.log,
|
20
|
+
avatar: avatar,
|
21
|
+
i18n: i18n,
|
22
|
+
trackingId: "",
|
23
|
+
},
|
24
|
+
render: (args) => {
|
25
|
+
const [open, setOpen] = useState(false);
|
26
|
+
return (_jsx(Box, { sx: { width: "500px", height: "90vh", backgroundColor: "lightgray" }, children: _jsx(UserMenuSignedIn, { ...args, isOpen: open, onClickToggle: () => setOpen(true), onClickClose: () => setOpen(false) }) }));
|
27
|
+
},
|
28
|
+
};
|
29
|
+
const SignedIn = {
|
30
|
+
name: "Signed in",
|
31
|
+
args: {
|
32
|
+
manaBalances: { [Network.ETHEREUM]: 1000, [Network.MATIC]: 2500 },
|
33
|
+
},
|
34
|
+
};
|
35
|
+
const CompleteWithActivity = {
|
36
|
+
name: "Complete with activity",
|
37
|
+
args: {
|
38
|
+
manaBalances: { [Network.ETHEREUM]: 1000, [Network.MATIC]: 2500 },
|
39
|
+
hasActivity: true,
|
40
|
+
},
|
41
|
+
render: (args) => {
|
42
|
+
const [open, setOpen] = useState(false);
|
43
|
+
const [openNotification, setOpenNotification] = useState(false);
|
44
|
+
const [tab, setTab] = useState(NotificationActiveTab.NEWEST);
|
45
|
+
return (_jsx(Box, { sx: {
|
46
|
+
width: "500px",
|
47
|
+
height: "90vh",
|
48
|
+
}, children: _jsx(UserMenuSignedIn, { ...args, notifications: {
|
49
|
+
isOnboarding: false,
|
50
|
+
isOpen: openNotification,
|
51
|
+
isLoading: false,
|
52
|
+
items: [itemSoldNotificationPropsData],
|
53
|
+
locale: "en",
|
54
|
+
activeTab: tab,
|
55
|
+
onBegin: console.log,
|
56
|
+
onChangeTab: (_e, tab) => setTab(tab),
|
57
|
+
onClick: () => setOpenNotification(true),
|
58
|
+
onClose: () => setOpenNotification(false),
|
59
|
+
}, isOpen: open, onClickToggle: () => setOpen(true), onClickClose: () => setOpen(false) }) }));
|
60
|
+
},
|
61
|
+
};
|
62
|
+
// eslint-disable-next-line import/no-default-export
|
63
|
+
export default meta;
|
64
|
+
export { SignedIn, CompleteWithActivity };
|
65
|
+
//# sourceMappingURL=UserMenuSignedIn.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenuSignedIn.stories.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAA;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAIvC,MAAM,IAAI,GAAgC;IACxC,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,kCAAkC;IACzC,QAAQ,EAAE,EAAE;IACZ,IAAI,EAA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";
|
3
|
+
declare const UserMenuSignedInContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
5
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
7
|
+
}, {}, {}>;
|
8
|
+
declare const ActivityIcon: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
9
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
10
|
+
}, "className" | "children" | "color" | "style" | "fontSize" | "shapeRendering" | "classes" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
12
|
+
}, {}, {}>;
|
13
|
+
declare const AvatarFaceContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
15
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
17
|
+
}, {}, {}>;
|
18
|
+
declare const ActionsContainer: import("@emotion/styled").StyledComponent<import("@mui/material").PaperOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
19
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
20
|
+
}, "className" | "children" | "style" | "square" | "classes" | "sx" | "variant" | "elevation"> & {
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
22
|
+
}, {}, {}>;
|
23
|
+
declare const AvatarPreviewContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
24
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
25
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
27
|
+
}, {}, {}>;
|
28
|
+
declare const AvatarPreview: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
29
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
30
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
31
|
+
theme?: import("@emotion/react").Theme | undefined;
|
32
|
+
} & {
|
33
|
+
avatar?: Avatar | undefined;
|
34
|
+
}, {}, {}>;
|
35
|
+
declare const MenuInformationActionContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
36
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
37
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
38
|
+
theme?: import("@emotion/react").Theme | undefined;
|
39
|
+
}, {}, {}>;
|
40
|
+
declare const MenuContainer: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & {
|
41
|
+
theme?: import("@emotion/react").Theme | undefined;
|
42
|
+
}, {}, {}>;
|
43
|
+
declare const MenuInfoContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
44
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
45
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
46
|
+
theme?: import("@emotion/react").Theme | undefined;
|
47
|
+
}, {}, {}>;
|
48
|
+
declare const MenuInfoTypography: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
49
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
50
|
+
}, "className" | "width" | "height" | "padding" | "top" | "left" | "children" | "color" | "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "classes" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
51
|
+
theme?: import("@emotion/react").Theme | undefined;
|
52
|
+
}, {}, {}>;
|
53
|
+
declare const MenuInfoUnclaimedTypography: import("@emotion/styled").StyledComponent<{
|
54
|
+
theme?: import("@emotion/react").Theme | undefined;
|
55
|
+
as?: import("react").ElementType<any> | undefined;
|
56
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
57
|
+
declare const ActionsWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
58
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
59
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
60
|
+
theme?: import("@emotion/react").Theme | undefined;
|
61
|
+
}, {}, {}>;
|
62
|
+
declare const ActionsMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
63
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
64
|
+
}, "className" | "children" | "style" | "autoFocus" | "tabIndex" | "classes" | "sx" | "disabled" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider"> & {
|
65
|
+
theme?: import("@emotion/react").Theme | undefined;
|
66
|
+
}, {}, {}>;
|
67
|
+
declare const ActionsListItemIcon: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemIconProps & {
|
68
|
+
theme?: import("@emotion/react").Theme | undefined;
|
69
|
+
}, {}, {}>;
|
70
|
+
declare const LogoutContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
71
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
72
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
73
|
+
theme?: import("@emotion/react").Theme | undefined;
|
74
|
+
}, {}, {}>;
|
75
|
+
export { UserMenuSignedInContainer, ActivityIcon, AvatarFaceContainer, AvatarPreviewContainer, AvatarPreview, MenuInformationActionContainer, MenuContainer, ActionsContainer, MenuInfoContainer, MenuInfoTypography, MenuInfoUnclaimedTypography, ActionsWrapper, ActionsMenuItem, ActionsListItemIcon, LogoutContainer, };
|
@@ -0,0 +1,167 @@
|
|
1
|
+
import HistoryRoundedIcon from "@mui/icons-material/HistoryRounded";
|
2
|
+
import styled from "@emotion/styled";
|
3
|
+
import { Box, ListItemIcon, Menu, MenuItem, Paper, Typography, useTheme, } from "@mui/material";
|
4
|
+
import ManDefault from "../../../Assets/man-default.png";
|
5
|
+
const UserMenuSignedInContainer = styled(Box)({
|
6
|
+
display: "flex",
|
7
|
+
position: "relative",
|
8
|
+
textAlign: "left",
|
9
|
+
outline: "none",
|
10
|
+
justifyContent: "flex-end",
|
11
|
+
alignItems: "center",
|
12
|
+
height: "66px",
|
13
|
+
"& > *": {
|
14
|
+
marginLeft: "16px",
|
15
|
+
},
|
16
|
+
});
|
17
|
+
const ActivityIcon = styled(HistoryRoundedIcon)(() => {
|
18
|
+
const theme = useTheme();
|
19
|
+
return {
|
20
|
+
"& path": {
|
21
|
+
fill: theme.palette.icon,
|
22
|
+
},
|
23
|
+
};
|
24
|
+
});
|
25
|
+
const AvatarFaceContainer = styled(Box)({
|
26
|
+
cursor: "pointer",
|
27
|
+
marginLeft: "16px",
|
28
|
+
marginRight: "16px",
|
29
|
+
});
|
30
|
+
const ActionsContainer = styled(Paper)({
|
31
|
+
height: "607px",
|
32
|
+
width: "561px",
|
33
|
+
display: "flex",
|
34
|
+
flexDirection: "row",
|
35
|
+
justifyContent: "flex-start",
|
36
|
+
overflow: "hidden",
|
37
|
+
"@media (max-width: 991px)": {
|
38
|
+
marginLeft: "25px",
|
39
|
+
marginRight: "22px",
|
40
|
+
width: "calc(100% - 25px - 22px)",
|
41
|
+
height: "auto",
|
42
|
+
},
|
43
|
+
});
|
44
|
+
const AvatarPreviewContainer = styled(Box)({
|
45
|
+
height: "110%",
|
46
|
+
marginLeft: "-100px",
|
47
|
+
marginBottom: "-100px",
|
48
|
+
width: "330px",
|
49
|
+
});
|
50
|
+
const AvatarPreview = styled(Box)((props) => {
|
51
|
+
let styles = {
|
52
|
+
height: "100%",
|
53
|
+
width: "100%",
|
54
|
+
backgroundRepeat: "no-repeat",
|
55
|
+
backgroundSize: "55%",
|
56
|
+
backgroundImage: `url(${ManDefault})`,
|
57
|
+
backgroundPosition: "center",
|
58
|
+
backgroundPositionX: "50px",
|
59
|
+
backgroundPositionY: "70px",
|
60
|
+
};
|
61
|
+
if (props.avatar?.avatar?.snapshots?.body) {
|
62
|
+
styles = {
|
63
|
+
...styles,
|
64
|
+
backgroundSize: "contain",
|
65
|
+
backgroundImage: `url("${props.avatar.avatar.snapshots.body}")`,
|
66
|
+
backgroundPositionX: "0px",
|
67
|
+
backgroundPositionY: "0px",
|
68
|
+
};
|
69
|
+
}
|
70
|
+
return styles;
|
71
|
+
});
|
72
|
+
const MenuInformationActionContainer = styled(Box)({
|
73
|
+
height: "100%",
|
74
|
+
width: "331px",
|
75
|
+
display: "flex",
|
76
|
+
flexDirection: "column",
|
77
|
+
});
|
78
|
+
const MenuContainer = styled(Menu)({
|
79
|
+
height: "720px",
|
80
|
+
width: "561px",
|
81
|
+
display: "flex",
|
82
|
+
flexDirection: "column",
|
83
|
+
justifyContent: "flex-start",
|
84
|
+
"& .MuiPaper-root .MuiList-root": {
|
85
|
+
paddingTop: 0,
|
86
|
+
paddingBottom: 0,
|
87
|
+
},
|
88
|
+
"@media (max-width: 991px)": {
|
89
|
+
marginLeft: "25px",
|
90
|
+
marginRight: "22px",
|
91
|
+
width: "calc(100% - 25px - 22px)",
|
92
|
+
height: "auto",
|
93
|
+
},
|
94
|
+
});
|
95
|
+
const MenuInfoContainer = styled(Box)({
|
96
|
+
display: "flex",
|
97
|
+
alignItems: "center",
|
98
|
+
padding: "64px 0 47px",
|
99
|
+
});
|
100
|
+
const MenuInfoTypography = styled(Typography)(() => {
|
101
|
+
const theme = useTheme();
|
102
|
+
return {
|
103
|
+
color: theme.palette.text.primary,
|
104
|
+
};
|
105
|
+
});
|
106
|
+
const MenuInfoUnclaimedTypography = styled("span")(() => {
|
107
|
+
const theme = useTheme();
|
108
|
+
return {
|
109
|
+
color: theme.palette.text.secondary,
|
110
|
+
marginLeft: "12px",
|
111
|
+
fontSize: "20px",
|
112
|
+
fontStyle: "normal",
|
113
|
+
fontWeight: "400",
|
114
|
+
lineHeight: "18px",
|
115
|
+
};
|
116
|
+
});
|
117
|
+
const ActionsWrapper = styled(Box)({
|
118
|
+
height: "330px",
|
119
|
+
display: "flex",
|
120
|
+
flexDirection: "column",
|
121
|
+
justifyContent: "flex-start",
|
122
|
+
margin: "0 55px 0 0",
|
123
|
+
});
|
124
|
+
const ActionsMenuItem = styled(MenuItem)(() => {
|
125
|
+
const theme = useTheme();
|
126
|
+
return {
|
127
|
+
borderBottomColor: theme.palette.text.primary,
|
128
|
+
borderBottomWidth: "1px",
|
129
|
+
borderBottomStyle: "solid",
|
130
|
+
color: theme.palette.text.primary,
|
131
|
+
paddingLeft: 0,
|
132
|
+
paddingRight: 0,
|
133
|
+
flex: 1,
|
134
|
+
width: "100%",
|
135
|
+
display: "flex",
|
136
|
+
alignItems: "center",
|
137
|
+
justifyContent: "space-between",
|
138
|
+
};
|
139
|
+
});
|
140
|
+
const ActionsListItemIcon = styled(ListItemIcon)(() => {
|
141
|
+
const theme = useTheme();
|
142
|
+
return {
|
143
|
+
color: theme.palette.text.primary,
|
144
|
+
"&.MuiListItemIcon-root": {
|
145
|
+
minWidth: 0,
|
146
|
+
},
|
147
|
+
};
|
148
|
+
});
|
149
|
+
const LogoutContainer = styled(Box)(() => {
|
150
|
+
const theme = useTheme();
|
151
|
+
return {
|
152
|
+
color: theme.palette.text.primary,
|
153
|
+
fontWeight: "600",
|
154
|
+
height: "24px",
|
155
|
+
lineHeight: "18px",
|
156
|
+
margin: "auto 55px 48px 0",
|
157
|
+
display: "flex",
|
158
|
+
justifyContent: "flex-end",
|
159
|
+
alignItems: "center",
|
160
|
+
cursor: "pointer",
|
161
|
+
"& svg": {
|
162
|
+
marginLeft: "16px",
|
163
|
+
},
|
164
|
+
};
|
165
|
+
});
|
166
|
+
export { UserMenuSignedInContainer, ActivityIcon, AvatarFaceContainer, AvatarPreviewContainer, AvatarPreview, MenuInformationActionContainer, MenuContainer, ActionsContainer, MenuInfoContainer, MenuInfoTypography, MenuInfoUnclaimedTypography, ActionsWrapper, ActionsMenuItem, ActionsListItemIcon, LogoutContainer, };
|
167
|
+
//# sourceMappingURL=UserMenuSignedIn.styled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenuSignedIn.styled.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.tsx"],"names":[],"mappings":"AACA,OAAO,kBAAkB,MAAM,oCAAoC,CAAA;AACnE,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EACL,GAAG,EACH,YAAY,EACZ,IAAI,EACJ,QAAQ,EAER,KAAK,EACL,UAAU,EACV,QAAQ,GACT,MAAM,eAAe,CAAA;AACtB,OAAO,UAAU,MAAM,iCAAiC,CAAA;AAExD,MAAM,yBAAyB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC5C,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,OAAO,EAAE,MAAM;IACf,cAAc,EAAE,UAAU;IAC1B,UAAU,EAAE,QAAQ;IACpB,MAAM,EAAE,MAAM;IACd,OAAO,EAAE;QACP,UAAU,EAAE,MAAM;KACnB;CACF,CAAC,CAAA;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,GAAG,EAAE;IACnD,MAAM,KAAK,GAAG,QAAQ,EAElB,CAAA;IAEJ,OAAO;QACL,QAAQ,EAAE;YACR,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;SACzB;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACtC,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE,MAAM;IAClB,WAAW,EAAE,MAAM;CACpB,CAAC,CAAA;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACrC,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,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,CAAA;AAEF,OAAO,EACL,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,sBAAsB,EACtB,aAAa,EACb,8BAA8B,EAC9B,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,eAAe,GAChB,CAAA"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Avatar } from "@dcl/schemas";
|
3
|
+
import { NotificationsProps } from "../../Notifications/Notifications.types";
|
4
|
+
import { ManaBalancesProps } from "../../UserMenu/ManaBalances/ManaBalances.types";
|
5
|
+
import { UserMenuI18N } from "../UserMenu.types";
|
6
|
+
type UserMenuSignedInProps = ManaBalancesProps & {
|
7
|
+
avatar?: Avatar;
|
8
|
+
address?: string;
|
9
|
+
isOpen?: boolean;
|
10
|
+
trackingId?: string;
|
11
|
+
hasActivity?: boolean;
|
12
|
+
notifications?: NotificationsProps;
|
13
|
+
i18n: UserMenuI18N;
|
14
|
+
onClickMarketplaceAuthorization?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
15
|
+
onClickActivity?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
16
|
+
onClickClose?: () => void;
|
17
|
+
onClickMyAssets?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
18
|
+
onClickProfile?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
19
|
+
onClickSignOut?: (event: React.MouseEvent<HTMLElement, MouseEvent>, trackingId: string) => void;
|
20
|
+
onClickToggle?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
21
|
+
onClickAccount?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
22
|
+
onClickUserMenuItem?: (event: React.MouseEvent<HTMLElement, MouseEvent>, options: {
|
23
|
+
type: string;
|
24
|
+
url?: string;
|
25
|
+
track_uuid?: string;
|
26
|
+
}) => void;
|
27
|
+
};
|
28
|
+
type UserMenuActionsProps = Pick<UserMenuSignedInProps, "avatar" | "address" | "i18n" | "trackingId" | "onClickUserMenuItem" | "onClickMarketplaceAuthorization" | "onClickMyAssets" | "onClickProfile" | "onClickSignOut" | "onClickAccount">;
|
29
|
+
export { UserMenuSignedInProps, UserMenuActionsProps };
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenuSignedIn.types.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/UserMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA"}
|
package/dist/config/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,GAAG,MAAM,gBAAgB,CAAA;AAChC,OAAO,IAAI,MAAM,iBAAiB,CAAA;AAClC,OAAO,GAAG,MAAM,gBAAgB,CAAA;AAEhC,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC;IACjC,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,GAAG;IACtB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG;IAClB,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,IAAI;CACvB,CAAC,CAAA"}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
const avatar = {
|
2
|
+
hasClaimedName: true,
|
3
|
+
description: "My description",
|
4
|
+
tutorialStep: 4095,
|
5
|
+
name: "MotherHacker",
|
6
|
+
userId: "0xd9b96b5dc720fc52bede1ec3b40a930e15f70ddd",
|
7
|
+
email: "",
|
8
|
+
ethAddress: "0xd9b96b5dc720fc52bede1ec3b40a930e15f70ddd",
|
9
|
+
version: 64,
|
10
|
+
avatar: {
|
11
|
+
bodyShape: "urn:decentraland:off-chain:base-avatars:BaseMale",
|
12
|
+
wearables: [
|
13
|
+
"urn:decentraland:off-chain:base-avatars:eyebrows_17",
|
14
|
+
"urn:decentraland:off-chain:base-avatars:eyes_07",
|
15
|
+
"urn:decentraland:off-chain:base-avatars:beard",
|
16
|
+
"urn:decentraland:off-chain:base-avatars:mouth_03",
|
17
|
+
"urn:decentraland:off-chain:base-avatars:hair_coolshortstyle",
|
18
|
+
"urn:decentraland:matic:collections-v2:0xc43914be599f3f8fe4956aa3ec9d6a6aead1edfa:0:84",
|
19
|
+
"urn:decentraland:matic:collections-v2:0xd50191baed16bc532feb9d499fdaa805fe01d3ff:6:631873750011343120187508166102022593913370572403294667525865865224",
|
20
|
+
"urn:decentraland:matic:collections-v2:0xc43914be599f3f8fe4956aa3ec9d6a6aead1edfa:2:210624583337114373395836055367340864637790190801098222508621955166",
|
21
|
+
"urn:decentraland:off-chain:base-avatars:punk_piercing",
|
22
|
+
"urn:decentraland:matic:collections-v2:0x6b9ad15f1b82eb1d8b0f13d847f348b56589f83c:0:78",
|
23
|
+
],
|
24
|
+
forceRender: [],
|
25
|
+
emotes: [
|
26
|
+
{
|
27
|
+
urn: "urn:decentraland:matic:collections-v2:0xea954afa4d2a8d0624adfafeb0e5a725ef777774:1:105312291668557186697918027683670432318895095400549111254310977736",
|
28
|
+
slot: 0,
|
29
|
+
},
|
30
|
+
{
|
31
|
+
urn: "urn:decentraland:matic:collections-v2:0xd50191baed16bc532feb9d499fdaa805fe01d3ff:3:315936875005671560093754083051011296956685286201647333762932932714",
|
32
|
+
slot: 1,
|
33
|
+
},
|
34
|
+
{
|
35
|
+
urn: "urn:decentraland:matic:collections-v2:0xea954afa4d2a8d0624adfafeb0e5a725ef777774:0:219",
|
36
|
+
slot: 2,
|
37
|
+
},
|
38
|
+
{
|
39
|
+
urn: "urn:decentraland:matic:collections-v2:0xef832a5183bf2e4099efed4c6ec981b7b41aa545:0:124",
|
40
|
+
slot: 3,
|
41
|
+
},
|
42
|
+
{
|
43
|
+
slot: 4,
|
44
|
+
urn: "hammer",
|
45
|
+
},
|
46
|
+
{
|
47
|
+
urn: "urn:decentraland:matic:collections-v2:0x768c1027b1f1a452ecb8dab017a1e630a75f0d30:1:105312291668557186697918027683670432318895095400549111254310977547",
|
48
|
+
slot: 5,
|
49
|
+
},
|
50
|
+
{
|
51
|
+
urn: "urn:decentraland:matic:collections-v2:0x83134b69f9af4cb3239e0645281902a0a02adb37:0:100",
|
52
|
+
slot: 6,
|
53
|
+
},
|
54
|
+
{
|
55
|
+
slot: 7,
|
56
|
+
urn: "kiss",
|
57
|
+
},
|
58
|
+
{
|
59
|
+
urn: "urn:decentraland:matic:collections-v2:0xc43914be599f3f8fe4956aa3ec9d6a6aead1edfa:4:421249166674228746791672110734681729275580381602196445017243910359",
|
60
|
+
slot: 8,
|
61
|
+
},
|
62
|
+
{
|
63
|
+
urn: "urn:decentraland:matic:collections-v2:0x0b472c2c04325a545a43370b54e93c87f3d5badf:3:315936875005671560093754083051011296956685286201647333762932932643",
|
64
|
+
slot: 9,
|
65
|
+
},
|
66
|
+
],
|
67
|
+
snapshots: {
|
68
|
+
body: "https://peer-ec2.decentraland.org/content/contents/bafkreierlxqaqy2wqjmdf5y46p7xdzg5skpfbeyaixyrzim2hdmimazbce",
|
69
|
+
face256: "https://peer-ec2.decentraland.org/content/contents/bafkreicow7jrxxezwqdkv63lvgahf42khbnuvnm5auam4sp2ph7ghbhyhi",
|
70
|
+
},
|
71
|
+
eyes: {
|
72
|
+
color: {
|
73
|
+
r: 0.37109375,
|
74
|
+
g: 0.22265625,
|
75
|
+
b: 0.1953125,
|
76
|
+
},
|
77
|
+
},
|
78
|
+
hair: {
|
79
|
+
color: {
|
80
|
+
r: 0.234375,
|
81
|
+
g: 0.12890625,
|
82
|
+
b: 0.04296875,
|
83
|
+
},
|
84
|
+
},
|
85
|
+
skin: {
|
86
|
+
color: {
|
87
|
+
r: 0.60546875,
|
88
|
+
g: 0.4609375,
|
89
|
+
b: 0.35546875,
|
90
|
+
},
|
91
|
+
},
|
92
|
+
},
|
93
|
+
interests: [],
|
94
|
+
hasConnectedWeb3: true,
|
95
|
+
muted: [],
|
96
|
+
};
|
97
|
+
export { avatar };
|
98
|
+
//# sourceMappingURL=avatar.js.map
|