decentraland-ui2 0.26.1-17074319572.commit-54256a2 → 0.26.1-17079106219.commit-37645ec
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/Assets/Navbar/create-submenu.png +0 -0
- package/dist/Assets/Navbar/explore-submenu.png +0 -0
- package/dist/Assets/Navbar/governance-submenu.png +0 -0
- package/dist/Assets/Navbar/learn-submenu.png +0 -0
- package/dist/Assets/Navbar/marketplace-submenu.png +0 -0
- package/dist/Assets/man-default.png +0 -0
- package/dist/Assets/man-default1.png +0 -0
- package/dist/components/Address/Address.d.ts +3 -0
- package/dist/components/Address/Address.js +12 -0
- package/dist/components/Address/Address.js.map +1 -0
- package/dist/components/Address/Address.stories.d.ts +10 -0
- package/dist/components/Address/Address.stories.js +58 -0
- package/dist/components/Address/Address.stories.js.map +1 -0
- package/dist/components/Address/Address.styled.d.ts +5 -0
- package/dist/components/Address/Address.styled.js +7 -0
- package/dist/components/Address/Address.styled.js.map +1 -0
- package/dist/components/Address/Address.types.d.ts +7 -0
- package/dist/components/Address/Address.types.js +2 -0
- package/dist/components/Address/Address.types.js.map +1 -0
- package/dist/components/Address/index.d.ts +2 -0
- package/dist/components/Address/index.js +3 -0
- package/dist/components/Address/index.js.map +1 -0
- 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 +5 -0
- package/dist/components/Atlas/Atlas.js +58 -0
- package/dist/components/Atlas/Atlas.js.map +1 -0
- package/dist/components/Atlas/Atlas.stories.d.ts +12 -0
- package/dist/components/Atlas/Atlas.stories.js +249 -0
- package/dist/components/Atlas/Atlas.stories.js.map +1 -0
- 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 -0
- package/dist/components/Atlas/util.js +30 -0
- package/dist/components/Atlas/util.js.map +1 -0
- package/dist/components/Atlas/util.test.d.ts +0 -0
- package/dist/components/Atlas/util.test.js +7 -0
- package/dist/components/Atlas/util.test.js.map +1 -0
- 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 +11 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js +51 -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/Banner/Banner.d.ts +2 -0
- package/dist/components/Banner/Banner.js +53 -0
- package/dist/components/Banner/Banner.js.map +1 -0
- package/dist/components/Banner/Banner.styled.d.ts +47 -0
- package/dist/components/Banner/Banner.styled.js +94 -0
- package/dist/components/Banner/Banner.styled.js.map +1 -0
- package/dist/components/Banner/Banner.types.d.ts +11 -0
- package/dist/components/Banner/Banner.types.js +2 -0
- package/dist/components/Banner/Banner.types.js.map +1 -0
- package/dist/components/Banner/index.d.ts +2 -0
- package/dist/components/Banner/index.js +2 -0
- package/dist/components/Banner/index.js.map +1 -0
- package/dist/components/Blockie/Blockie.d.ts +4 -0
- package/dist/components/Blockie/Blockie.js +33 -0
- package/dist/components/Blockie/Blockie.js.map +1 -0
- package/dist/components/Blockie/Blockie.stories.d.ts +9 -0
- package/dist/components/Blockie/Blockie.stories.js +55 -0
- package/dist/components/Blockie/Blockie.stories.js.map +1 -0
- package/dist/components/Blockie/Blockie.styled.d.ts +13 -0
- package/dist/components/Blockie/Blockie.styled.js +19 -0
- package/dist/components/Blockie/Blockie.styled.js.map +1 -0
- package/dist/components/Blockie/Blockie.types.d.ts +10 -0
- package/dist/components/Blockie/Blockie.types.js +2 -0
- package/dist/components/Blockie/Blockie.types.js.map +1 -0
- package/dist/components/Blockie/index.d.ts +2 -0
- package/dist/components/Blockie/index.js +3 -0
- package/dist/components/Blockie/index.js.map +1 -0
- package/dist/components/Button/Button.d.ts +2 -0
- package/dist/components/Button/Button.js +14 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +51 -0
- package/dist/components/Button/Button.stories.js +157 -0
- package/dist/components/Button/Button.stories.js.map +1 -0
- package/dist/components/Button/Button.types.d.ts +9 -0
- package/dist/components/Button/Button.types.js +2 -0
- package/dist/components/Button/Button.types.js.map +1 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.js +2 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/ChainSelector/ChainSelector.d.ts +3 -0
- package/dist/components/ChainSelector/ChainSelector.js +41 -0
- package/dist/components/ChainSelector/ChainSelector.js.map +1 -0
- package/dist/components/ChainSelector/ChainSelector.stories.d.ts +8 -0
- package/dist/components/ChainSelector/ChainSelector.stories.js +42 -0
- package/dist/components/ChainSelector/ChainSelector.stories.js.map +1 -0
- package/dist/components/ChainSelector/ChainSelector.styled.d.ts +53 -0
- package/dist/components/ChainSelector/ChainSelector.styled.js +138 -0
- package/dist/components/ChainSelector/ChainSelector.styled.js.map +1 -0
- package/dist/components/ChainSelector/ChainSelector.types.d.ts +27 -0
- package/dist/components/ChainSelector/ChainSelector.types.js +15 -0
- package/dist/components/ChainSelector/ChainSelector.types.js.map +1 -0
- package/dist/components/ChainSelector/index.d.ts +2 -0
- package/dist/components/ChainSelector/index.js +3 -0
- package/dist/components/ChainSelector/index.js.map +1 -0
- package/dist/components/DecentralandFont/FontFaceSelector.stories.d.ts +8 -0
- package/dist/components/DecentralandFont/FontFaceSelector.stories.js +39 -0
- package/dist/components/DecentralandFont/FontFaceSelector.stories.js.map +1 -0
- package/dist/components/DownloadButton/DownloadButton.d.ts +4 -0
- package/dist/components/DownloadButton/DownloadButton.js +102 -0
- package/dist/components/DownloadButton/DownloadButton.js.map +1 -0
- package/dist/components/DownloadButton/DownloadButton.stories.d.ts +9 -0
- package/dist/components/DownloadButton/DownloadButton.stories.js +72 -0
- package/dist/components/DownloadButton/DownloadButton.stories.js.map +1 -0
- package/dist/components/DownloadButton/DownloadButton.styled.d.ts +23 -0
- package/dist/components/DownloadButton/DownloadButton.styled.js +77 -0
- package/dist/components/DownloadButton/DownloadButton.styled.js.map +1 -0
- package/dist/components/DownloadButton/DownloadButton.types.d.ts +26 -0
- package/dist/components/DownloadButton/DownloadButton.types.js +7 -0
- package/dist/components/DownloadButton/DownloadButton.types.js.map +1 -0
- package/dist/components/DownloadButton/index.d.ts +3 -0
- package/dist/components/DownloadButton/index.js +3 -0
- package/dist/components/DownloadButton/index.js.map +1 -0
- package/dist/components/Icon/AppleIcon.d.ts +4 -0
- package/dist/components/Icon/AppleIcon.js +8 -0
- package/dist/components/Icon/AppleIcon.js.map +1 -0
- package/dist/components/Icon/Chains/ArbitrumIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/ArbitrumIcon.js +8 -0
- package/dist/components/Icon/Chains/ArbitrumIcon.js.map +1 -0
- package/dist/components/Icon/Chains/AvalancheIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/AvalancheIcon.js +8 -0
- package/dist/components/Icon/Chains/AvalancheIcon.js.map +1 -0
- package/dist/components/Icon/Chains/BinanceIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/BinanceIcon.js +8 -0
- package/dist/components/Icon/Chains/BinanceIcon.js.map +1 -0
- package/dist/components/Icon/Chains/EthereumIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/EthereumIcon.js +8 -0
- package/dist/components/Icon/Chains/EthereumIcon.js.map +1 -0
- package/dist/components/Icon/Chains/FantomIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/FantomIcon.js +8 -0
- package/dist/components/Icon/Chains/FantomIcon.js.map +1 -0
- package/dist/components/Icon/Chains/OptimismIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/OptimismIcon.js +8 -0
- package/dist/components/Icon/Chains/OptimismIcon.js.map +1 -0
- package/dist/components/Icon/Chains/PolygonIcon.d.ts +4 -0
- package/dist/components/Icon/Chains/PolygonIcon.js +8 -0
- package/dist/components/Icon/Chains/PolygonIcon.js.map +1 -0
- package/dist/components/Icon/CreditsIcon.d.ts +4 -0
- package/dist/components/Icon/CreditsIcon.js +8 -0
- package/dist/components/Icon/CreditsIcon.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/JumpInIcon.d.ts +4 -0
- package/dist/components/Icon/JumpInIcon.js +8 -0
- package/dist/components/Icon/JumpInIcon.js.map +1 -0
- package/dist/components/Icon/LocationIcon.d.ts +4 -0
- package/dist/components/Icon/LocationIcon.js +8 -0
- package/dist/components/Icon/LocationIcon.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/CreditsCompleteYourGoalsReminderIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.js +8 -0
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.js +8 -0
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/CreditsIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/CreditsIcon.js +8 -0
- package/dist/components/Icon/Notifications/CreditsIcon.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/ReferralInviteFriendsIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.js +8 -0
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.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/StreamingIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/StreamingIcon.js +8 -0
- package/dist/components/Icon/Notifications/StreamingIcon.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/WindowsIcon.d.ts +4 -0
- package/dist/components/Icon/WindowsIcon.js +8 -0
- package/dist/components/Icon/WindowsIcon.js.map +1 -0
- package/dist/components/Icon/index.d.ts +67 -0
- package/dist/components/Icon/index.js +68 -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 +18 -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/IconChain/IconChain.d.ts +4 -0
- package/dist/components/IconChain/IconChain.js +37 -0
- package/dist/components/IconChain/IconChain.js.map +1 -0
- package/dist/components/IconChain/IconChain.types.d.ts +13 -0
- package/dist/components/IconChain/IconChain.types.js +12 -0
- package/dist/components/IconChain/IconChain.types.js.map +1 -0
- package/dist/components/IconChain/index.d.ts +2 -0
- package/dist/components/IconChain/index.js +2 -0
- package/dist/components/IconChain/index.js.map +1 -0
- package/dist/components/JumpIn/JumpIn.d.ts +4 -0
- package/dist/components/JumpIn/JumpIn.js +42 -0
- package/dist/components/JumpIn/JumpIn.js.map +1 -0
- package/dist/components/JumpIn/JumpIn.stories.d.ts +92 -0
- package/dist/components/JumpIn/JumpIn.stories.js +167 -0
- package/dist/components/JumpIn/JumpIn.stories.js.map +1 -0
- package/dist/components/JumpIn/JumpIn.styled.d.ts +21 -0
- package/dist/components/JumpIn/JumpIn.styled.js +91 -0
- package/dist/components/JumpIn/JumpIn.styled.js.map +1 -0
- package/dist/components/JumpIn/JumpIn.types.d.ts +41 -0
- package/dist/components/JumpIn/JumpIn.types.js +8 -0
- package/dist/components/JumpIn/JumpIn.types.js.map +1 -0
- package/dist/components/JumpIn/index.d.ts +2 -0
- package/dist/components/JumpIn/index.js +3 -0
- package/dist/components/JumpIn/index.js.map +1 -0
- package/dist/components/Logo/Logo.d.ts +4 -0
- package/dist/components/Logo/Logo.js +8 -0
- package/dist/components/Logo/Logo.js.map +1 -0
- package/dist/components/Logo/Logo.stories.d.ts +7 -0
- package/dist/components/Logo/Logo.stories.js +12 -0
- package/dist/components/Logo/Logo.stories.js.map +1 -0
- package/dist/components/Logo/Logo.styled.d.ts +6 -0
- package/dist/components/Logo/Logo.styled.js +10 -0
- package/dist/components/Logo/Logo.styled.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 +92 -0
- package/dist/components/Mana/Mana.stories.js.map +1 -0
- package/dist/components/Mana/Mana.styled.d.ts +18 -0
- package/dist/components/Mana/Mana.styled.js +40 -0
- package/dist/components/Mana/Mana.styled.js.map +1 -0
- package/dist/components/Mana/Mana.types.d.ts +13 -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 +55 -0
- package/dist/components/Media/Media.js +81 -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/DownloadModal/DownloadModal.d.ts +3 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.js +18 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.js.map +1 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.d.ts +10 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.js +133 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.js.map +1 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.styled.d.ts +21 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.styled.js +43 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.styled.js.map +1 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.types.d.ts +7 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.types.js +2 -0
- package/dist/components/Modal/DownloadModal/DownloadModal.types.js.map +1 -0
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.d.ts +4 -0
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.js +11 -0
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.js.map +1 -0
- package/dist/components/Modal/DownloadModal/index.d.ts +2 -0
- package/dist/components/Modal/DownloadModal/index.js +2 -0
- package/dist/components/Modal/DownloadModal/index.js.map +1 -0
- package/dist/components/Modal/Modal.d.ts +5 -0
- package/dist/components/Modal/Modal.js +16 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +28 -0
- package/dist/components/Modal/Modal.stories.js +103 -0
- package/dist/components/Modal/Modal.stories.js.map +1 -0
- package/dist/components/Modal/Modal.styled.d.ts +29 -0
- package/dist/components/Modal/Modal.styled.js +50 -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/Navbar/MainMenu/MainMenu.d.ts +2 -0
- package/dist/components/Navbar/MainMenu/MainMenu.js +26 -0
- package/dist/components/Navbar/MainMenu/MainMenu.js.map +1 -0
- package/dist/components/Navbar/MainMenu/MainMenu.styled.d.ts +9 -0
- package/dist/components/Navbar/MainMenu/MainMenu.styled.js +39 -0
- package/dist/components/Navbar/MainMenu/MainMenu.styled.js.map +1 -0
- package/dist/components/Navbar/MainMenu/MainMenu.types.d.ts +8 -0
- package/dist/components/Navbar/MainMenu/MainMenu.types.js +2 -0
- package/dist/components/Navbar/MainMenu/MainMenu.types.js.map +1 -0
- package/dist/components/Navbar/MenuItem/MenuItem.d.ts +3 -0
- package/dist/components/Navbar/MenuItem/MenuItem.js +15 -0
- package/dist/components/Navbar/MenuItem/MenuItem.js.map +1 -0
- package/dist/components/Navbar/MenuItem/MenuItem.styled.d.ts +18 -0
- package/dist/components/Navbar/MenuItem/MenuItem.styled.js +59 -0
- package/dist/components/Navbar/MenuItem/MenuItem.styled.js.map +1 -0
- package/dist/components/Navbar/MenuItem/MenuItem.types.d.ts +12 -0
- package/dist/components/Navbar/MenuItem/MenuItem.types.js +2 -0
- package/dist/components/Navbar/MenuItem/MenuItem.types.js.map +1 -0
- package/dist/components/Navbar/Navbar.d.ts +4 -0
- package/dist/components/Navbar/Navbar.defaults.d.ts +6 -0
- package/dist/components/Navbar/Navbar.defaults.js +220 -0
- package/dist/components/Navbar/Navbar.defaults.js.map +1 -0
- package/dist/components/Navbar/Navbar.js +46 -0
- package/dist/components/Navbar/Navbar.js.map +1 -0
- package/dist/components/Navbar/Navbar.stories.d.ts +9 -0
- package/dist/components/Navbar/Navbar.stories.js +64 -0
- package/dist/components/Navbar/Navbar.stories.js.map +1 -0
- package/dist/components/Navbar/Navbar.styled.d.ts +55 -0
- package/dist/components/Navbar/Navbar.styled.js +114 -0
- package/dist/components/Navbar/Navbar.styled.js.map +1 -0
- package/dist/components/Navbar/Navbar.types.d.ts +58 -0
- package/dist/components/Navbar/Navbar.types.js +11 -0
- package/dist/components/Navbar/Navbar.types.js.map +1 -0
- package/dist/components/Navbar/SubMenu/SubMenu.d.ts +2 -0
- package/dist/components/Navbar/SubMenu/SubMenu.js +14 -0
- package/dist/components/Navbar/SubMenu/SubMenu.js.map +1 -0
- package/dist/components/Navbar/SubMenu/SubMenu.styled.d.ts +27 -0
- package/dist/components/Navbar/SubMenu/SubMenu.styled.js +165 -0
- package/dist/components/Navbar/SubMenu/SubMenu.styled.js.map +1 -0
- package/dist/components/Navbar/SubMenu/SubMenu.types.d.ts +13 -0
- package/dist/components/Navbar/SubMenu/SubMenu.types.js +2 -0
- package/dist/components/Navbar/SubMenu/SubMenu.types.js.map +1 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.d.ts +3 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.js +9 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.js.map +1 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.d.ts +11 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js +33 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js.map +1 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.types.d.ts +5 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.types.js +2 -0
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.types.js.map +1 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.d.ts +2 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.js +16 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.js.map +1 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.d.ts +32 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js +84 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js.map +1 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.types.d.ts +13 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.types.js +2 -0
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.types.js.map +1 -0
- package/dist/components/Navbar/index.d.ts +2 -0
- package/dist/components/Navbar/index.js +3 -0
- package/dist/components/Navbar/index.js.map +1 -0
- package/dist/components/Navbar/utils.d.ts +16 -0
- package/dist/components/Navbar/utils.js +33 -0
- package/dist/components/Navbar/utils.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 +36 -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 +13 -0
- package/dist/components/Notifications/NotificationItemImage.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.styled.d.ts +15 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js +29 -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 +9 -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/Credits/CreditsClaimReminderNotification.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js +12 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js +12 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js +15 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/types.d.ts +12 -0
- package/dist/components/Notifications/NotificationTypes/Credits/types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Credits/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/Referral/ReferralInvitedUserAcceptedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/types.d.ts +10 -0
- package/dist/components/Notifications/NotificationTypes/Referral/types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Referral/types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js +18 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.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 +9 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/types.d.ts +17 -0
- package/dist/components/Notifications/NotificationTypes/Reward/types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Reward/types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js +9 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/types.d.ts +10 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/types.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 +41 -0
- package/dist/components/Notifications/NotificationTypes/index.js +42 -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 +22 -0
- package/dist/components/Notifications/Notifications.stories.js +181 -0
- package/dist/components/Notifications/Notifications.stories.js.map +1 -0
- package/dist/components/Notifications/Notifications.styled.d.ts +13 -0
- package/dist/components/Notifications/Notifications.styled.js +71 -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 +49 -0
- package/dist/components/Notifications/NotificationsFeed.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.styled.d.ts +39 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js +79 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.types.d.ts +17 -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 +29 -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 +58 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.d.ts +14 -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 +4 -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 +165 -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 +14 -0
- package/dist/components/Notifications/utils.js +68 -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 +23 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +11 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +86 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +33 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +83 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +17 -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 +20 -0
- package/dist/components/UserMenu/UserMenu.i18n.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.js +55 -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 +86 -0
- package/dist/components/UserMenu/UserMenu.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.styled.d.ts +16 -0
- package/dist/components/UserMenu/UserMenu.styled.js +22 -0
- package/dist/components/UserMenu/UserMenu.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.types.d.ts +39 -0
- package/dist/components/UserMenu/UserMenu.types.js +16 -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 +132 -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 +76 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +85 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +216 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +30 -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 +6 -0
- package/dist/components/UserMenu/index.js +4 -0
- package/dist/components/UserMenu/index.js.map +1 -0
- package/dist/components/WearablePreview/WearablePreview.controller.d.ts +2 -0
- package/dist/components/WearablePreview/WearablePreview.controller.js +124 -0
- package/dist/components/WearablePreview/WearablePreview.controller.js.map +1 -0
- package/dist/components/WearablePreview/WearablePreview.d.ts +7 -0
- package/dist/components/WearablePreview/WearablePreview.js +235 -0
- package/dist/components/WearablePreview/WearablePreview.js.map +1 -0
- package/dist/components/WearablePreview/WearablePreview.stories.d.ts +20 -0
- package/dist/components/WearablePreview/WearablePreview.stories.js +278 -0
- package/dist/components/WearablePreview/WearablePreview.stories.js.map +1 -0
- package/dist/components/WearablePreview/WearablePreview.stories.styled.d.ts +5 -0
- package/dist/components/WearablePreview/WearablePreview.stories.styled.js +8 -0
- package/dist/components/WearablePreview/WearablePreview.stories.styled.js.map +1 -0
- package/dist/components/WearablePreview/WearablePreview.styled.d.ts +5 -0
- package/dist/components/WearablePreview/WearablePreview.styled.js +9 -0
- package/dist/components/WearablePreview/WearablePreview.styled.js.map +1 -0
- package/dist/components/WearablePreview/WearablePreview.types.d.ts +68 -0
- package/dist/components/WearablePreview/WearablePreview.types.js +10 -0
- package/dist/components/WearablePreview/WearablePreview.types.js.map +1 -0
- package/dist/components/WearablePreview/index.d.ts +3 -0
- package/dist/components/WearablePreview/index.js +3 -0
- package/dist/components/WearablePreview/index.js.map +1 -0
- package/dist/config/env/dev.json +41 -0
- package/dist/config/env/prod.json +41 -0
- package/dist/config/env/stg.json +41 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +10 -0
- package/dist/config/index.js.map +1 -0
- 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 +45 -0
- package/dist/data/notifications.js +693 -0
- package/dist/data/notifications.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/debounce.d.ts +1 -0
- package/dist/lib/debounce.js +10 -0
- package/dist/lib/debounce.js.map +1 -0
- 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/modules/cdnReleases.d.ts +13 -0
- package/dist/modules/cdnReleases.js +39 -0
- package/dist/modules/cdnReleases.js.map +1 -0
- package/dist/modules/contentful.d.ts +3 -0
- package/dist/modules/contentful.js +13 -0
- package/dist/modules/contentful.js.map +1 -0
- package/dist/modules/file.d.ts +2 -0
- package/dist/modules/file.js +13 -0
- package/dist/modules/file.js.map +1 -0
- package/dist/modules/jumpIn.d.ts +10 -0
- package/dist/modules/jumpIn.js +98 -0
- package/dist/modules/jumpIn.js.map +1 -0
- package/dist/modules/url.d.ts +3 -0
- package/dist/modules/url.js +20 -0
- package/dist/modules/url.js.map +1 -0
- package/dist/modules/userAgent.d.ts +4 -0
- package/dist/modules/userAgent.js +14 -0
- package/dist/modules/userAgent.js.map +1 -0
- package/dist/theme/colorSchemes.d.ts +10 -0
- package/dist/theme/colorSchemes.js +342 -0
- package/dist/theme/colorSchemes.js.map +1 -0
- package/dist/theme/colors.d.ts +73 -0
- package/dist/theme/colors.js +140 -0
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/components.d.ts +2 -0
- package/dist/theme/components.js +2758 -0
- package/dist/theme/components.js.map +1 -0
- package/dist/theme/fonts/RoobertPRO-Bold.otf +0 -0
- package/dist/theme/fonts/RoobertPRO-Bold.ttf +0 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.js +29 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/provider.d.ts +9 -0
- package/dist/theme/provider.js +7 -0
- package/dist/theme/provider.js.map +1 -0
- package/dist/theme/types.d.ts +11 -0
- package/dist/theme/types.js +2 -0
- package/dist/theme/types.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 +5 -5
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenu.i18n.js","sourceRoot":"","sources":["../../../src/components/UserMenu/UserMenu.i18n.ts"],"names":[],"mappings":"AAEA,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,kBAAkB;IAC3B,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,yBAAyB,EAAE,4BAA4B;IACvD,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,SAAS;IACjB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,aAAa,EAAE,gBAAgB;IAC/B,UAAU,EAAE,cAAc;IAC1B,mBAAmB,EAAE,eAAe;IACpC,YAAY,EAAE,8BAA8B;IAC5C,iBAAiB,EAAE,CAAC,KAAa,EAAE,EAAE,CAAC,eAAe,KAAK,OAAO;CAClD,CAAA;AAEjB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React, { useCallback, useState } from "react";
|
3
|
+
import { v4 as uuidv4 } from "uuid";
|
4
|
+
import { CircularProgress } from "@mui/material";
|
5
|
+
import { i18n as i18nUserMenu } from "./UserMenu.i18n";
|
6
|
+
import { UserMenuSignedIn } from "./UserMenuSignedIn/UserMenuSignedIn";
|
7
|
+
import { config } from "../../config";
|
8
|
+
import { DownloadButton } from "../DownloadButton";
|
9
|
+
import { UserMenuEventId } from "./UserMenu.types";
|
10
|
+
import { SignInButton, UserMenuContainer, UserMenuLoaderContainer, } from "./UserMenu.styled";
|
11
|
+
const UserMenu = React.memo((props) => {
|
12
|
+
const { isSignedIn, isSigningIn, isDisconnecting, manaBalances, i18n = i18nUserMenu, hideDownloadButton, cdnLinks, onClickSignIn, onClickBalance, onClickOpen, onClickUserMenuItem, loadingCdnLinks = false, ...signInProps } = props;
|
13
|
+
const [isOpen, setIsOpen] = useState(false);
|
14
|
+
const [trackingId, setTrackingId] = useState(undefined);
|
15
|
+
const handleToggle = useCallback((event) => {
|
16
|
+
const trackId = uuidv4();
|
17
|
+
setIsOpen((prev) => {
|
18
|
+
if (!prev) {
|
19
|
+
setTrackingId(trackId);
|
20
|
+
}
|
21
|
+
if (!prev && onClickOpen) {
|
22
|
+
onClickOpen(event, trackId);
|
23
|
+
}
|
24
|
+
return !prev;
|
25
|
+
});
|
26
|
+
}, [setIsOpen, onClickOpen]);
|
27
|
+
const handleClose = useCallback(() => {
|
28
|
+
setIsOpen(false);
|
29
|
+
}, [setIsOpen]);
|
30
|
+
const handleClickSignIn = useCallback((event) => {
|
31
|
+
event.preventDefault();
|
32
|
+
onClickUserMenuItem &&
|
33
|
+
onClickUserMenuItem(event, {
|
34
|
+
type: UserMenuEventId.SIGN_IN,
|
35
|
+
track_uuid: trackingId || undefined,
|
36
|
+
url: config.get("MARKETPLACE_URL"),
|
37
|
+
});
|
38
|
+
onClickSignIn && onClickSignIn(event);
|
39
|
+
}, [onClickSignIn, onClickUserMenuItem, trackingId]);
|
40
|
+
const handleClickBalance = useCallback((event, network) => {
|
41
|
+
event.preventDefault();
|
42
|
+
onClickUserMenuItem &&
|
43
|
+
onClickUserMenuItem(event, {
|
44
|
+
type: UserMenuEventId.BALANCE,
|
45
|
+
});
|
46
|
+
setTimeout(() => {
|
47
|
+
onClickBalance
|
48
|
+
? onClickBalance(event, network)
|
49
|
+
: window.open(config.get("ACCOUNT_URL"), "_blank", "noopener");
|
50
|
+
}, onClickUserMenuItem ? 300 : 0);
|
51
|
+
}, [onClickBalance, onClickUserMenuItem, trackingId]);
|
52
|
+
return (_jsx(UserMenuContainer, { children: isDisconnecting ? (_jsx(UserMenuLoaderContainer, { children: _jsx(CircularProgress, { size: 20 }) })) : (_jsxs(_Fragment, { children: [isSignedIn && (_jsx(UserMenuSignedIn, { ...signInProps, manaBalances: manaBalances, trackingId: trackingId, isOpen: isOpen, i18n: i18n, onClickToggle: handleToggle, onClickClose: handleClose, onClickUserMenuItem: onClickUserMenuItem, onClickBalance: handleClickBalance })), !isSignedIn ? (_jsx(SignInButton, { variant: "outlined", color: "inherit", disabled: isSigningIn, onClick: handleClickSignIn, children: isSigningIn ? (_jsx(CircularProgress, { size: 20, color: "inherit" })) : (i18n.signIn) })) : null, !hideDownloadButton && (_jsx(DownloadButton, { label: i18n.download, onClick: onClickUserMenuItem, trackingId: trackingId, loadingCdnLinks: loadingCdnLinks, cdnLinks: cdnLinks }))] })) }));
|
53
|
+
});
|
54
|
+
export { UserMenu };
|
55
|
+
//# sourceMappingURL=UserMenu.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenu.js","sourceRoot":"","sources":["../../../src/components/UserMenu/UserMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAEhD,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAiB,MAAM,kBAAkB,CAAA;AACjE,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,mBAAmB,CAAA;AAE1B,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAoB,EAAE,EAAE;IACnD,MAAM,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,YAAY,EACZ,IAAI,GAAG,YAAY,EACnB,kBAAkB,EAClB,QAAQ,EACR,aAAa,EACb,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,eAAe,GAAG,KAAK,EACvB,GAAG,WAAW,EACf,GAAG,KAAK,CAAA;IAET,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAA;IAC3C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAqB,SAAS,CAAC,CAAA;IAE3E,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,KAAgD,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,QAAQ,EAAE,QAAQ,GAClB,CACH,IACA,CACJ,GACiB,CACrB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { UserMenuProps } from "./UserMenu.types";
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
3
|
+
declare const meta: Meta<UserMenuProps>;
|
4
|
+
type Story = StoryObj<UserMenuProps>;
|
5
|
+
declare const SignedOut: Story;
|
6
|
+
declare const SignedIn: Story;
|
7
|
+
declare const SigningIn: Story;
|
8
|
+
declare const Disconnecting: Story;
|
9
|
+
declare const Guest: Story;
|
10
|
+
declare const Complete: Story;
|
11
|
+
export default meta;
|
12
|
+
export { SignedOut, SignedIn, SigningIn, Disconnecting, Guest, Complete };
|
@@ -0,0 +1,86 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { useState } from "react";
|
3
|
+
import { Network } from "@dcl/schemas";
|
4
|
+
import { Box } from "@mui/material";
|
5
|
+
import { UserMenu } from "./UserMenu";
|
6
|
+
import { i18n } from "./UserMenu.i18n";
|
7
|
+
import { avatar } from "../../data/avatar";
|
8
|
+
import { itemSoldNotificationPropsData } from "../../data/notifications";
|
9
|
+
import { NotificationActiveTab } from "../Notifications";
|
10
|
+
const meta = {
|
11
|
+
component: UserMenu,
|
12
|
+
title: "Decentraland UI/UserMenu",
|
13
|
+
argTypes: {},
|
14
|
+
args: {
|
15
|
+
i18n: i18n,
|
16
|
+
},
|
17
|
+
render: (args) => {
|
18
|
+
return _jsx(UserMenu, { ...args });
|
19
|
+
},
|
20
|
+
};
|
21
|
+
const SignedOut = {
|
22
|
+
name: "Signed Out",
|
23
|
+
};
|
24
|
+
const SignedIn = {
|
25
|
+
name: "Signed In",
|
26
|
+
args: {
|
27
|
+
avatar: avatar,
|
28
|
+
isSignedIn: true,
|
29
|
+
},
|
30
|
+
};
|
31
|
+
const SigningIn = {
|
32
|
+
name: "Signing In",
|
33
|
+
args: {
|
34
|
+
avatar: avatar,
|
35
|
+
isSigningIn: true,
|
36
|
+
},
|
37
|
+
};
|
38
|
+
const Disconnecting = {
|
39
|
+
name: "Disconnecting",
|
40
|
+
args: {
|
41
|
+
isDisconnecting: true,
|
42
|
+
},
|
43
|
+
};
|
44
|
+
const Guest = {
|
45
|
+
name: "Guest",
|
46
|
+
args: {
|
47
|
+
avatar: { ...avatar, hasClaimedName: false },
|
48
|
+
isSignedIn: true,
|
49
|
+
},
|
50
|
+
};
|
51
|
+
const Complete = {
|
52
|
+
name: "Complete",
|
53
|
+
args: {
|
54
|
+
avatar: avatar,
|
55
|
+
manaBalances: { [Network.ETHEREUM]: 1000, [Network.MATIC]: 2500 },
|
56
|
+
creditsBalance: {
|
57
|
+
balance: 100,
|
58
|
+
expiresAt: Date.now() + 1000 * 60 * 60 * 24 * 30,
|
59
|
+
},
|
60
|
+
hasActivity: true,
|
61
|
+
isSignedIn: true,
|
62
|
+
},
|
63
|
+
render: (args) => {
|
64
|
+
const [openNotification, setOpenNotification] = useState(false);
|
65
|
+
const [tab, setTab] = useState(NotificationActiveTab.NEWEST);
|
66
|
+
return (_jsx(Box, { sx: {
|
67
|
+
width: "500px",
|
68
|
+
height: "90vh",
|
69
|
+
}, children: _jsx(UserMenu, { ...args, notifications: {
|
70
|
+
isOnboarding: false,
|
71
|
+
isOpen: openNotification,
|
72
|
+
isLoading: false,
|
73
|
+
items: [itemSoldNotificationPropsData],
|
74
|
+
locale: "en",
|
75
|
+
activeTab: tab,
|
76
|
+
onBegin: console.log,
|
77
|
+
onChangeTab: (_e, tab) => setTab(tab),
|
78
|
+
onClick: () => setOpenNotification(true),
|
79
|
+
onClose: () => setOpenNotification(false),
|
80
|
+
} }) }));
|
81
|
+
},
|
82
|
+
};
|
83
|
+
// eslint-disable-next-line import/no-default-export
|
84
|
+
export default meta;
|
85
|
+
export { SignedOut, SignedIn, SigningIn, Disconnecting, Guest, Complete };
|
86
|
+
//# sourceMappingURL=UserMenu.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenu.stories.js","sourceRoot":"","sources":["../../../src/components/UserMenu/UserMenu.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAIxD,MAAM,IAAI,GAAwB;IAChC,SAAS,EAAE,QAAQ;IACnB,KAAK,EAAE,0BAA0B;IACjC,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE;QACJ,IAAI,EAAE,IAAI;KACX;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;QACf,OAAO,KAAC,QAAQ,OAAK,IAAI,GAAI,CAAA;IAC/B,CAAC;CACF,CAAA;AAID,MAAM,SAAS,GAAU;IACvB,IAAI,EAAE,YAAY;CACnB,CAAA;AAED,MAAM,QAAQ,GAAU;IACtB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,UAAU,EAAE,IAAI;KACjB;CACF,CAAA;AAED,MAAM,SAAS,GAAU;IACvB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,WAAW,EAAE,IAAI;KAClB;CACF,CAAA;AAED,MAAM,aAAa,GAAU;IAC3B,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,eAAe,EAAE,IAAI;KACtB;CACF,C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AAG,CAAC;oBACrC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;oBACxC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC;iBAC1C,GACD,GACE,CACP,CAAA;IACH,CAAC;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAA"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare const UserMenuContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
3
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
4
|
+
theme?: import("@emotion/react").Theme;
|
5
|
+
}, {}, {}>;
|
6
|
+
declare const UserMenuLoaderContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
8
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
9
|
+
theme?: import("@emotion/react").Theme;
|
10
|
+
}, {}, {}>;
|
11
|
+
declare const SignInButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
12
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
13
|
+
}, "disabled" | "color" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "tabIndex" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "href" | "size"> & {
|
14
|
+
theme?: import("@emotion/react").Theme;
|
15
|
+
}, {}, {}>;
|
16
|
+
export { UserMenuContainer, UserMenuLoaderContainer, SignInButton };
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import zIndex from "@mui/material/styles/zIndex";
|
2
|
+
import styled from "@emotion/styled";
|
3
|
+
import { Box, Button } from "@mui/material";
|
4
|
+
const UserMenuContainer = styled(Box)({
|
5
|
+
display: "flex",
|
6
|
+
position: "relative",
|
7
|
+
textAlign: "left",
|
8
|
+
outline: "none",
|
9
|
+
alignItems: "center",
|
10
|
+
zIndex: zIndex.appBar,
|
11
|
+
});
|
12
|
+
const UserMenuLoaderContainer = styled(Box)({
|
13
|
+
display: "flex",
|
14
|
+
alignItems: "center",
|
15
|
+
height: "100%",
|
16
|
+
});
|
17
|
+
const SignInButton = styled(Button)({
|
18
|
+
height: "46px",
|
19
|
+
minWidth: "90px",
|
20
|
+
});
|
21
|
+
export { UserMenuContainer, UserMenuLoaderContainer, SignInButton };
|
22
|
+
//# sourceMappingURL=UserMenu.styled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenu.styled.js","sourceRoot":"","sources":["../../../src/components/UserMenu/UserMenu.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACpC,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,MAAM;IACjB,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,MAAM,EAAE,MAAM,CAAC,MAAM;CACtB,CAAC,CAAA;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC1C,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,MAAM,EAAE,MAAM;CACf,CAAC,CAAA;AAEF,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IAClC,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,MAAM;CACjB,CAAC,CAAA;AAEF,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,YAAY,EAAE,CAAA"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import { ManaBalancesProps } from "./ManaBalances/ManaBalances.types";
|
3
|
+
import { UserMenuSignedInProps } from "./UserMenuSignedIn/UserMenuSignedIn.types";
|
4
|
+
type UserMenuI18N = Record<"myAssets" | "account" | "viewProfile" | "signIn" | "signOut" | "guest" | "marketplaceAuthorizations" | "download" | "inviteFriends", string> & ManaBalancesProps["i18n"];
|
5
|
+
type UserMenuProps = Omit<UserMenuSignedInProps, "isOpen" | "isClickable" | "trackingId" | "onClickToggle"> & {
|
6
|
+
isSignedIn?: boolean;
|
7
|
+
isSigningIn?: boolean;
|
8
|
+
isDisconnecting?: boolean;
|
9
|
+
isActivity?: boolean;
|
10
|
+
i18n?: UserMenuI18N;
|
11
|
+
hideDownloadButton?: boolean;
|
12
|
+
loadingCdnLinks?: boolean;
|
13
|
+
cdnLinks?: Record<string, Record<string, string>>;
|
14
|
+
onClickSignIn?: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
|
15
|
+
onClickOpen?: (event: React.MouseEvent<HTMLElement, MouseEvent>, trackingId: string) => void;
|
16
|
+
onClickDownload?: (event: React.MouseEvent<HTMLElement, MouseEvent>, options: {
|
17
|
+
href: string;
|
18
|
+
}) => void;
|
19
|
+
};
|
20
|
+
declare enum UserMenuEventId {
|
21
|
+
ACTIVITY = "activity",
|
22
|
+
ACCOUNT = "account",
|
23
|
+
MY_ASSETS = "my_assets",
|
24
|
+
PROFILE = "profile",
|
25
|
+
SIGN_IN = "sign_in",
|
26
|
+
SIGN_OUT = "sign_out",
|
27
|
+
GUEST = "guest",
|
28
|
+
MARKETPLACE_AUTHORIZATIONS = "marketplace_authorizations",
|
29
|
+
DOWNLOAD = "download",
|
30
|
+
BALANCE = "balance",
|
31
|
+
INVITE_FRIENDS = "invite_friends"
|
32
|
+
}
|
33
|
+
type DownloadProps = {
|
34
|
+
icon: React.ReactNode;
|
35
|
+
link: string;
|
36
|
+
arch: string;
|
37
|
+
};
|
38
|
+
export type { UserMenuProps, UserMenuI18N, DownloadProps };
|
39
|
+
export { UserMenuEventId };
|
@@ -0,0 +1,16 @@
|
|
1
|
+
var UserMenuEventId;
|
2
|
+
(function (UserMenuEventId) {
|
3
|
+
UserMenuEventId["ACTIVITY"] = "activity";
|
4
|
+
UserMenuEventId["ACCOUNT"] = "account";
|
5
|
+
UserMenuEventId["MY_ASSETS"] = "my_assets";
|
6
|
+
UserMenuEventId["PROFILE"] = "profile";
|
7
|
+
UserMenuEventId["SIGN_IN"] = "sign_in";
|
8
|
+
UserMenuEventId["SIGN_OUT"] = "sign_out";
|
9
|
+
UserMenuEventId["GUEST"] = "guest";
|
10
|
+
UserMenuEventId["MARKETPLACE_AUTHORIZATIONS"] = "marketplace_authorizations";
|
11
|
+
UserMenuEventId["DOWNLOAD"] = "download";
|
12
|
+
UserMenuEventId["BALANCE"] = "balance";
|
13
|
+
UserMenuEventId["INVITE_FRIENDS"] = "invite_friends";
|
14
|
+
})(UserMenuEventId || (UserMenuEventId = {}));
|
15
|
+
export { UserMenuEventId };
|
16
|
+
//# sourceMappingURL=UserMenu.types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenu.types.js","sourceRoot":"","sources":["../../../src/components/UserMenu/UserMenu.types.ts"],"names":[],"mappings":"AAyCA,IAAK,eAYJ;AAZD,WAAK,eAAe;IAClB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;IACvB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,kCAAe,CAAA;IACf,4EAAyD,CAAA;IACzD,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,oDAAiC,CAAA;AACnC,CAAC,EAZI,eAAe,KAAf,eAAe,QAYnB;AASD,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { UserMenuActionsProps } from "./UserMenuSignedIn.types";
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
3
|
+
declare const meta: Meta<UserMenuActionsProps>;
|
4
|
+
type Story = StoryObj<UserMenuActionsProps>;
|
5
|
+
declare const Sample: Story;
|
6
|
+
declare const Guest: Story;
|
7
|
+
declare const WithoutProfile: Story;
|
8
|
+
export default meta;
|
9
|
+
export { Sample, Guest, WithoutProfile };
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { UserMenuActions } from "./UserMenuSignedIn";
|
3
|
+
import { avatar } from "../../../data/avatar";
|
4
|
+
import { i18n } from "../UserMenu.i18n";
|
5
|
+
const meta = {
|
6
|
+
component: UserMenuActions,
|
7
|
+
title: "Decentraland UI/User Menu Actions",
|
8
|
+
tags: ["autodocs"],
|
9
|
+
argTypes: {},
|
10
|
+
args: {
|
11
|
+
onClickMarketplaceAuthorization: () => console.log,
|
12
|
+
onClickMyAssets: () => console.log,
|
13
|
+
onClickProfile: () => console.log,
|
14
|
+
onClickSignOut: () => console.log,
|
15
|
+
onClickAccount: () => console.log,
|
16
|
+
trackingId: "",
|
17
|
+
i18n: i18n,
|
18
|
+
},
|
19
|
+
render: (args) => _jsx(UserMenuActions, { ...args }),
|
20
|
+
};
|
21
|
+
const Sample = {
|
22
|
+
args: {
|
23
|
+
avatar: avatar,
|
24
|
+
},
|
25
|
+
};
|
26
|
+
const Guest = {
|
27
|
+
args: {
|
28
|
+
avatar: { ...avatar, hasClaimedName: false },
|
29
|
+
},
|
30
|
+
};
|
31
|
+
const WithoutProfile = {
|
32
|
+
args: {
|
33
|
+
address: avatar.ethAddress,
|
34
|
+
},
|
35
|
+
};
|
36
|
+
// eslint-disable-next-line import/no-default-export
|
37
|
+
export default meta;
|
38
|
+
export { Sample, Guest, WithoutProfile };
|
39
|
+
//# sourceMappingURL=UserMenuActions.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"UserMenuActions.stories.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAIvC,MAAM,IAAI,GAA+B;IACvC,SAAS,EAAE,eAAe;IAC1B,KAAK,EAAE,mCAAmC;IAC1C,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE;QACJ,+BAA+B,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG;QAClD,eAAe,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG;QAClC,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG;QACjC,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG;QACjC,cAAc,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG;QACjC,UAAU,EAAE,EAAE;QACd,IAAI,EAAE,IAAI;KACX;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,eAAe,OAAK,IAAI,GAAI;CAChD,CAAA;AAID,MAAM,MAAM,GAAU;IACpB,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM;KACf;CACF,CAAA;AAED,MAAM,KAAK,GAAU;IACnB,IAAI,EAAE;QACJ,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE;KAC7C;CACF,CAAA;AAED,MAAM,cAAc,GAAU;IAC5B,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM,CAAC,UAAU;KAC3B;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,CAAA"}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { UserMenuActionsProps, UserMenuSignedInProps } from "./UserMenuSignedIn.types";
|
3
|
+
declare const UserMenuActions: (props: UserMenuActionsProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
declare const UserMenuSignedIn: React.MemoExoticComponent<(props: UserMenuSignedInProps) => import("react/jsx-runtime").JSX.Element>;
|
5
|
+
export { UserMenuSignedIn, UserMenuActions };
|
@@ -0,0 +1,132 @@
|
|
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 { ReferralInviteFriendsIcon } from "../../Icon";
|
9
|
+
import { useTabletAndBelowMediaQuery } from "../../Media";
|
10
|
+
import { Notifications } from "../../Notifications";
|
11
|
+
import { ManaBalances } from "../ManaBalances";
|
12
|
+
import { UserMenuEventId } from "../UserMenu.types";
|
13
|
+
import { ActionsContainer, ActionsListItemIcon, ActionsMenuItem, ActionsWrapper, ActivityIcon, AvatarFaceContainer, AvatarPreview, AvatarPreviewContainer, InviteFriendsTypography, LogoutContainer, MenuContainer, MenuInfoContainer, MenuInfoTypography, MenuInfoUnclaimedTypography, MenuInformationActionContainer, ReferralInviteFriendsIconContainer, UserMenuSignedInContainer, } from "./UserMenuSignedIn.styled";
|
14
|
+
const UserMenuActions = (props) => {
|
15
|
+
const { avatar, address, i18n, trackingId, onClickMarketplaceAuthorization, onClickMyAssets, onClickProfile, onClickSignOut, onClickAccount, onClickUserMenuItem, balances, } = props;
|
16
|
+
const isTabletAndBelow = useTabletAndBelowMediaQuery();
|
17
|
+
const handleClickMyAssets = useCallback((event) => {
|
18
|
+
onClickUserMenuItem &&
|
19
|
+
onClickUserMenuItem(event, {
|
20
|
+
type: UserMenuEventId.MY_ASSETS,
|
21
|
+
track_uuid: trackingId,
|
22
|
+
url: config.get("MARKETPLACE_MY_ASSETS_URL"),
|
23
|
+
});
|
24
|
+
setTimeout(() => {
|
25
|
+
onClickMyAssets
|
26
|
+
? onClickMyAssets(event)
|
27
|
+
: window.open(`${config.get("MARKETPLACE_MY_ASSETS_URL")}`, "_blank", "noopener");
|
28
|
+
}, onClickUserMenuItem ? 300 : 0);
|
29
|
+
}, [onClickMyAssets, onClickUserMenuItem, trackingId]);
|
30
|
+
const handleClickMarketplaceAuthorization = useCallback((event) => {
|
31
|
+
onClickUserMenuItem &&
|
32
|
+
onClickUserMenuItem(event, {
|
33
|
+
type: UserMenuEventId.MARKETPLACE_AUTHORIZATIONS,
|
34
|
+
track_uuid: trackingId,
|
35
|
+
url: config.get("MARKETPLACE_SETTINGS_URL"),
|
36
|
+
});
|
37
|
+
setTimeout(() => {
|
38
|
+
onClickMarketplaceAuthorization
|
39
|
+
? onClickMarketplaceAuthorization(event)
|
40
|
+
: window.open(`${config.get("MARKETPLACE_SETTINGS_URL")}`, "_blank", "noopener");
|
41
|
+
}, onClickUserMenuItem ? 300 : 0);
|
42
|
+
}, [onClickMarketplaceAuthorization, onClickUserMenuItem, trackingId]);
|
43
|
+
const handleClickProfile = useCallback((event) => {
|
44
|
+
onClickUserMenuItem &&
|
45
|
+
onClickUserMenuItem(event, {
|
46
|
+
type: UserMenuEventId.PROFILE,
|
47
|
+
track_uuid: trackingId,
|
48
|
+
url: config.get("PROFILE_URL"),
|
49
|
+
});
|
50
|
+
setTimeout(() => {
|
51
|
+
onClickProfile
|
52
|
+
? onClickProfile(event)
|
53
|
+
: window.open(config.get("PROFILE_URL"), "_blank", "noopener");
|
54
|
+
}, onClickUserMenuItem ? 300 : 0);
|
55
|
+
}, [onClickProfile, onClickUserMenuItem, trackingId]);
|
56
|
+
const handleClickAccount = useCallback((event) => {
|
57
|
+
onClickUserMenuItem &&
|
58
|
+
onClickUserMenuItem(event, {
|
59
|
+
type: UserMenuEventId.ACCOUNT,
|
60
|
+
track_uuid: trackingId,
|
61
|
+
url: config.get("ACCOUNT_URL"),
|
62
|
+
});
|
63
|
+
setTimeout(() => {
|
64
|
+
onClickAccount
|
65
|
+
? onClickAccount(event)
|
66
|
+
: window.open(config.get("ACCOUNT_URL"), "_blank", "noopener");
|
67
|
+
}, onClickUserMenuItem ? 300 : 0);
|
68
|
+
}, [onClickAccount, onClickUserMenuItem, trackingId]);
|
69
|
+
const handleClickInviteFriends = useCallback((event) => {
|
70
|
+
onClickUserMenuItem &&
|
71
|
+
onClickUserMenuItem(event, {
|
72
|
+
type: UserMenuEventId.INVITE_FRIENDS,
|
73
|
+
track_uuid: trackingId,
|
74
|
+
url: `${config.get("PROFILE_URL")}/accounts/${userAddress}/referral`,
|
75
|
+
});
|
76
|
+
setTimeout(() => {
|
77
|
+
window.open(`${config.get("PROFILE_URL")}/accounts/${userAddress}/referral`, "_blank", "noopener");
|
78
|
+
}, onClickUserMenuItem ? 300 : 0);
|
79
|
+
}, [onClickUserMenuItem, trackingId]);
|
80
|
+
const handleClickSignOut = useCallback((event) => {
|
81
|
+
onClickUserMenuItem &&
|
82
|
+
onClickUserMenuItem(event, {
|
83
|
+
type: UserMenuEventId.SIGN_OUT,
|
84
|
+
track_uuid: trackingId,
|
85
|
+
});
|
86
|
+
onClickSignOut && onClickSignOut(event, trackingId || "");
|
87
|
+
}, [onClickSignOut, onClickUserMenuItem, trackingId]);
|
88
|
+
const userAddress = useMemo(() => avatar?.ethAddress || address, [avatar, address]);
|
89
|
+
return (_jsxs(ActionsContainer, { elevation: 0, children: [_jsx(AvatarPreviewContainer, { children: _jsx(AvatarPreview, { avatar: avatar }) }), _jsxs(MenuInformationActionContainer, { children: [_jsxs(MenuInfoContainer, { children: [_jsxs(MenuInfoTypography, { variant: "h4", children: [avatar?.name || i18n.guest, " ", !avatar?.hasClaimedName && userAddress && (_jsxs(MenuInfoUnclaimedTypography, { children: ["#", userAddress.substring(userAddress.length - 4)] }))] }), isTabletAndBelow && balances] }), _jsxs(ActionsWrapper, { children: [_jsxs(ActionsMenuItem, { onClick: handleClickInviteFriends, children: [_jsxs(InviteFriendsTypography, { variant: "h6", children: [i18n.inviteFriends, _jsx(ReferralInviteFriendsIconContainer, { children: _jsx(ReferralInviteFriendsIcon, {}) })] }), _jsx(ActionsListItemIcon, { children: _jsx(ArrowForwardIcon, {}) })] }), _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, {})] })] })] }));
|
90
|
+
};
|
91
|
+
const UserMenuSignedIn = React.memo((props) => {
|
92
|
+
const { manaBalances, creditsBalance, avatar, hasActivity, isOpen, trackingId, notifications, onClickActivity, onClickBalance, onClickClose, onClickUserMenuItem, onClickToggle, ...actionsProps } = props;
|
93
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
94
|
+
const isTabletAndBelow = useTabletAndBelowMediaQuery();
|
95
|
+
const balances = useMemo(() => {
|
96
|
+
return (_jsx(ManaBalances, { manaBalances: manaBalances, creditsBalance: creditsBalance, onClickBalance: onClickBalance, i18n: {
|
97
|
+
getCredits: actionsProps.i18n?.getCredits,
|
98
|
+
creditsExpiringSoon: actionsProps.i18n?.creditsExpiringSoon,
|
99
|
+
creditsExpiringIn: actionsProps.i18n?.creditsExpiringIn,
|
100
|
+
creditsValue: actionsProps.i18n?.creditsValue,
|
101
|
+
} }));
|
102
|
+
}, [manaBalances, creditsBalance]);
|
103
|
+
const handleClickActivity = useCallback((event) => {
|
104
|
+
onClickUserMenuItem &&
|
105
|
+
onClickUserMenuItem(event, {
|
106
|
+
type: UserMenuEventId.ACTIVITY,
|
107
|
+
track_uuid: trackingId,
|
108
|
+
url: `${config.get("MARKETPLACE_URL")}/activity`,
|
109
|
+
});
|
110
|
+
setTimeout(() => {
|
111
|
+
onClickActivity
|
112
|
+
? onClickActivity(event)
|
113
|
+
: window.open(`${config.get("MARKETPLACE_URL")}/activity`, "_blank", "noopener");
|
114
|
+
}, onClickActivity ? 300 : 0);
|
115
|
+
}, [onClickActivity, onClickUserMenuItem, trackingId]);
|
116
|
+
const handleClickToggle = useCallback((event) => {
|
117
|
+
onClickToggle && onClickToggle(event);
|
118
|
+
setAnchorEl(event.currentTarget);
|
119
|
+
}, [onClickToggle]);
|
120
|
+
const handleClickClose = useCallback(() => {
|
121
|
+
onClickClose && onClickClose();
|
122
|
+
}, [onClickClose]);
|
123
|
+
return (_jsxs(UserMenuSignedInContainer, { children: [notifications && _jsx(Notifications, { ...notifications }), !isTabletAndBelow && (_jsx(IconButton, { "aria-label": "activity", onClick: handleClickActivity, children: _jsx(Badge, { color: "secondary", variant: "dot", invisible: !hasActivity, children: _jsx(ActivityIcon, {}) }) })), !isTabletAndBelow && balances, _jsx(AvatarFaceContainer, { onClick: handleClickToggle, children: _jsx(AvatarFace, { size: "medium", avatar: avatar }) }), _jsxs(Box, { onMouseLeave: handleClickClose, onScroll: !isTabletAndBelow ? handleClickClose : undefined, children: [!isTabletAndBelow && (_jsx(MenuContainer, { anchorEl: anchorEl, open: !!isOpen, onClose: handleClickClose, anchorOrigin: {
|
124
|
+
vertical: "bottom",
|
125
|
+
horizontal: "right",
|
126
|
+
}, transformOrigin: {
|
127
|
+
vertical: "top",
|
128
|
+
horizontal: "right",
|
129
|
+
}, children: _jsx(UserMenuActions, { onClickUserMenuItem: onClickUserMenuItem, avatar: avatar, trackingId: trackingId, ...actionsProps }) })), isTabletAndBelow && isOpen && (_jsx(UserMenuActions, { balances: balances, onClickUserMenuItem: onClickUserMenuItem, avatar: avatar, trackingId: trackingId, ...actionsProps }))] })] }));
|
130
|
+
});
|
131
|
+
export { UserMenuSignedIn, UserMenuActions };
|
132
|
+
//# 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,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AAI,EAAE,CAAC,CAAC,MAAM,EACd,OAAO,EAAE,gBAAgB,EACzB,YAAY,EAAE;4BACZ,QAAQ,EAAE,QAAQ;4BAClB,UAAU,EAAE,OAAO;yBACpB,EACD,eAAe,EAAE;4BACf,QAAQ,EAAE,KAAK;4BACf,UAAU,EAAE,OAAO;yBACpB,YAED,KAAC,eAAe,IACd,mBAAmB,EAAE,mBAAmB,EACxC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,KAClB,YAAY,GACC,GACL,CACjB,EACA,gBAAgB,IAAI,MAAM,IAAI,CAC7B,KAAC,eAAe,IACd,QAAQ,EAAE,QAAQ,EAClB,mBAAmB,EAAE,mBAAmB,EACxC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,KAClB,YAAY,GACC,CACpB,IACG,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,76 @@
|
|
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/User Menu Signed In",
|
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(true);
|
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
|
+
creditsBalance: {
|
34
|
+
balance: 20,
|
35
|
+
expiresAt: Date.now() + 1000 * 60 * 60 * 24 * 30,
|
36
|
+
},
|
37
|
+
},
|
38
|
+
};
|
39
|
+
const CompleteWithActivity = {
|
40
|
+
name: "Complete with activity",
|
41
|
+
args: {
|
42
|
+
manaBalances: { [Network.ETHEREUM]: 1000, [Network.MATIC]: 2500 },
|
43
|
+
creditsBalance: {
|
44
|
+
balance: 100,
|
45
|
+
expiresAt: Date.now() + 1000 * 60 * 60 * 24 * 3,
|
46
|
+
},
|
47
|
+
hasActivity: true,
|
48
|
+
},
|
49
|
+
render: (args) => {
|
50
|
+
const [open, setOpen] = useState(false);
|
51
|
+
const [openNotification, setOpenNotification] = useState(false);
|
52
|
+
const [tab, setTab] = useState(NotificationActiveTab.NEWEST);
|
53
|
+
return (_jsx(Box, { sx: {
|
54
|
+
width: "500px",
|
55
|
+
height: "90vh",
|
56
|
+
}, children: _jsx(UserMenuSignedIn, { ...args, notifications: {
|
57
|
+
isOnboarding: false,
|
58
|
+
isOpen: openNotification,
|
59
|
+
isLoading: false,
|
60
|
+
items: [itemSoldNotificationPropsData],
|
61
|
+
locale: "en",
|
62
|
+
activeTab: tab,
|
63
|
+
onBegin: console.log,
|
64
|
+
onChangeTab: (_e, tab) => setTab(tab),
|
65
|
+
onClick: () => setOpenNotification(true),
|
66
|
+
onClose: () => setOpenNotification(false),
|
67
|
+
}, manaBalances: { [Network.ETHEREUM]: 1000, [Network.MATIC]: 2500 }, creditsBalance: {
|
68
|
+
balance: 100,
|
69
|
+
expiresAt: Date.now() + 1000 * 60 * 60 * 24 * 3,
|
70
|
+
}, isOpen: open, onClickToggle: () => setOpen(true), onClickClose: () => setOpen(false) }) }));
|
71
|
+
},
|
72
|
+
};
|
73
|
+
// eslint-disable-next-line import/no-default-export
|
74
|
+
export default meta;
|
75
|
+
export { SignedIn, CompleteWithActivity };
|
76
|
+
//# 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;IACx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