decentraland-ui2 0.0.2 → 0.0.3-9857431499.commit-4197294
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AddressField/utils.d.ts +3 -0
- package/dist/components/AddressField/utils.js +8 -0
- package/dist/components/AddressField/utils.js.map +1 -0
- package/dist/components/AddressField/utils.spec.d.ts +1 -0
- package/dist/components/AddressField/utils.spec.js +21 -0
- package/dist/components/AddressField/utils.spec.js.map +1 -0
- package/dist/components/Atlas/Atlas.d.ts +3 -42
- package/dist/components/Atlas/Atlas.js +3 -21
- package/dist/components/Atlas/Atlas.js.map +1 -1
- package/dist/components/Atlas/Atlas.stories.d.ts +9 -8
- package/dist/components/Atlas/Atlas.stories.js +11 -9
- package/dist/components/Atlas/Atlas.stories.js.map +1 -1
- package/dist/components/Atlas/Atlas.types.d.ts +41 -0
- package/dist/components/Atlas/Atlas.types.js +20 -0
- package/dist/components/Atlas/Atlas.types.js.map +1 -0
- package/dist/components/Atlas/index.d.ts +4 -0
- package/dist/components/Atlas/index.js +3 -0
- package/dist/components/Atlas/index.js.map +1 -0
- package/dist/components/Atlas/util.d.ts +4 -3
- package/dist/components/Atlas/util.js +5 -4
- package/dist/components/Atlas/util.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.d.ts +4 -0
- package/dist/components/AvatarFace/AvatarFace.js +13 -0
- package/dist/components/AvatarFace/AvatarFace.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.stories.d.ts +10 -0
- package/dist/components/AvatarFace/AvatarFace.stories.js +47 -0
- package/dist/components/AvatarFace/AvatarFace.stories.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.styled.d.ts +12 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js +49 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.types.d.ts +7 -0
- package/dist/components/AvatarFace/AvatarFace.types.js +2 -0
- package/dist/components/AvatarFace/AvatarFace.types.js.map +1 -0
- package/dist/components/AvatarFace/index.d.ts +2 -0
- package/dist/components/AvatarFace/index.js +3 -0
- package/dist/components/AvatarFace/index.js.map +1 -0
- package/dist/components/Icon/Emotes/MuteIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/MuteIcon.js +8 -0
- package/dist/components/Icon/Emotes/MuteIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/PropsIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/PropsIcon.js +8 -0
- package/dist/components/Icon/Emotes/PropsIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/SoundIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/SoundIcon.js +8 -0
- package/dist/components/Icon/Emotes/SoundIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/VolumeIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/VolumeIcon.js +8 -0
- package/dist/components/Icon/Emotes/VolumeIcon.js.map +1 -0
- package/dist/components/Icon/ManaEthIcon.d.ts +4 -0
- package/dist/components/Icon/ManaEthIcon.js +8 -0
- package/dist/components/Icon/ManaEthIcon.js.map +1 -0
- package/dist/components/Icon/ManaMaticIcon.d.ts +4 -0
- package/dist/components/Icon/ManaMaticIcon.js +8 -0
- package/dist/components/Icon/ManaMaticIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js +8 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js +8 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js +8 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.js +8 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.js +8 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js +8 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.js +8 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/HistoryIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/HistoryIcon.js +8 -0
- package/dist/components/Icon/Notifications/HistoryIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.js +8 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.js +8 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js +8 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js +8 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js +8 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.js +8 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.js +8 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js +10 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.js +10 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js +8 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js +8 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PitchIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PitchIcon.js +8 -0
- package/dist/components/Icon/Notifications/PitchIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js +8 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/RewardIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/RewardIcon.js +8 -0
- package/dist/components/Icon/Notifications/RewardIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/TenderIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/TenderIcon.js +8 -0
- package/dist/components/Icon/Notifications/TenderIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.js +8 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.js.map +1 -0
- package/dist/components/Icon/PlacesIcon.d.ts +4 -0
- package/dist/components/Icon/PlacesIcon.js +8 -0
- package/dist/components/Icon/PlacesIcon.js.map +1 -0
- package/dist/components/Icon/SparklesIcon.d.ts +4 -0
- package/dist/components/Icon/SparklesIcon.js +8 -0
- package/dist/components/Icon/SparklesIcon.js.map +1 -0
- package/dist/components/Icon/UtilityIcon.d.ts +4 -0
- package/dist/components/Icon/UtilityIcon.js +8 -0
- package/dist/components/Icon/UtilityIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js +8 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.js +8 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.js +8 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EarringIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EarringIcon.js +8 -0
- package/dist/components/Icon/Wearables/EarringIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyesIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyesIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyesIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyewearIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyewearIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyewearIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.js +8 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/FeetIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/FeetIcon.js +8 -0
- package/dist/components/Icon/Wearables/FeetIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HairIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HairIcon.js +8 -0
- package/dist/components/Icon/Wearables/HairIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.js +8 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HatIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HatIcon.js +8 -0
- package/dist/components/Icon/Wearables/HatIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HelmetIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HelmetIcon.js +8 -0
- package/dist/components/Icon/Wearables/HelmetIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.js +8 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/MaskIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/MaskIcon.js +8 -0
- package/dist/components/Icon/Wearables/MaskIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/MouthIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/MouthIcon.js +8 -0
- package/dist/components/Icon/Wearables/MouthIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/SkinIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/SkinIcon.js +8 -0
- package/dist/components/Icon/Wearables/SkinIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.js +8 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/TiaraIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/TiaraIcon.js +8 -0
- package/dist/components/Icon/Wearables/TiaraIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.js +8 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/UnisexIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/UnisexIcon.js +8 -0
- package/dist/components/Icon/Wearables/UnisexIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.js +8 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.js.map +1 -0
- package/dist/components/Icon/index.d.ts +62 -0
- package/dist/components/Icon/index.js +63 -0
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.d.ts +4 -0
- package/dist/components/IconBadge/IconBadge.js +81 -0
- package/dist/components/IconBadge/IconBadge.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.stories.d.ts +10 -0
- package/dist/components/IconBadge/IconBadge.stories.js +52 -0
- package/dist/components/IconBadge/IconBadge.stories.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.styled.d.ts +17 -0
- package/dist/components/IconBadge/IconBadge.styled.js +38 -0
- package/dist/components/IconBadge/IconBadge.styled.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.types.d.ts +40 -0
- package/dist/components/IconBadge/IconBadge.types.js +34 -0
- package/dist/components/IconBadge/IconBadge.types.js.map +1 -0
- package/dist/components/IconBadge/index.d.ts +2 -0
- package/dist/components/IconBadge/index.js +3 -0
- package/dist/components/IconBadge/index.js.map +1 -0
- package/dist/components/Mana/Mana.d.ts +4 -0
- package/dist/components/Mana/Mana.js +17 -0
- package/dist/components/Mana/Mana.js.map +1 -0
- package/dist/components/Mana/Mana.stories.d.ts +15 -0
- package/dist/components/Mana/Mana.stories.js +90 -0
- package/dist/components/Mana/Mana.stories.js.map +1 -0
- package/dist/components/Mana/Mana.styled.d.ts +17 -0
- package/dist/components/Mana/Mana.styled.js +44 -0
- package/dist/components/Mana/Mana.styled.js.map +1 -0
- package/dist/components/Mana/Mana.types.d.ts +14 -0
- package/dist/components/Mana/Mana.types.js +2 -0
- package/dist/components/Mana/Mana.types.js.map +1 -0
- package/dist/components/Mana/index.d.ts +2 -0
- package/dist/components/Mana/index.js +3 -0
- package/dist/components/Mana/index.js.map +1 -0
- package/dist/components/Media/Media.d.ts +56 -0
- package/dist/components/Media/Media.js +62 -0
- package/dist/components/Media/Media.js.map +1 -0
- package/dist/components/Media/index.d.ts +1 -0
- package/dist/components/Media/index.js +2 -0
- package/dist/components/Media/index.js.map +1 -0
- package/dist/components/Modal/Modal.d.ts +5 -0
- package/dist/components/Modal/Modal.js +15 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +21 -0
- package/dist/components/Modal/Modal.stories.js +91 -0
- package/dist/components/Modal/Modal.stories.js.map +1 -0
- package/dist/components/Modal/Modal.styled.d.ts +23 -0
- package/dist/components/Modal/Modal.styled.js +51 -0
- package/dist/components/Modal/Modal.styled.js.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +13 -0
- package/dist/components/Modal/Modal.types.js +2 -0
- package/dist/components/Modal/Modal.types.js.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.js +2 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.d.ts +4 -0
- package/dist/components/Notifications/NotificationItem.js +14 -0
- package/dist/components/Notifications/NotificationItem.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.styled.d.ts +37 -0
- package/dist/components/Notifications/NotificationItem.styled.js +63 -0
- package/dist/components/Notifications/NotificationItem.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.types.d.ts +8 -0
- package/dist/components/Notifications/NotificationItem.types.js +2 -0
- package/dist/components/Notifications/NotificationItem.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.d.ts +4 -0
- package/dist/components/Notifications/NotificationItemImage.js +12 -0
- package/dist/components/Notifications/NotificationItemImage.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.styled.d.ts +13 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js +26 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.types.d.ts +7 -0
- package/dist/components/Notifications/NotificationItemImage.types.js +2 -0
- package/dist/components/Notifications/NotificationItemImage.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.d.ts +4 -0
- package/dist/components/Notifications/NotificationItemNFTLink.js +9 -0
- package/dist/components/Notifications/NotificationItemNFTLink.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.d.ts +10 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js +11 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.d.ts +7 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.js +2 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.d.ts +42 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js +43 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +11 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.d.ts +33 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js +34 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.d.ts +27 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js +28 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.d.ts +33 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js +34 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js +7 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +15 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +12 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.d.ts +27 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js +28 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +27 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/index.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/index.js +25 -0
- package/dist/components/Notifications/NotificationTypes/index.js.map +1 -0
- package/dist/components/Notifications/Notifications.d.ts +4 -0
- package/dist/components/Notifications/Notifications.js +26 -0
- package/dist/components/Notifications/Notifications.js.map +1 -0
- package/dist/components/Notifications/Notifications.stories.d.ts +19 -0
- package/dist/components/Notifications/Notifications.stories.js +139 -0
- package/dist/components/Notifications/Notifications.stories.js.map +1 -0
- package/dist/components/Notifications/Notifications.styled.d.ts +9 -0
- package/dist/components/Notifications/Notifications.styled.js +57 -0
- package/dist/components/Notifications/Notifications.styled.js.map +1 -0
- package/dist/components/Notifications/Notifications.types.d.ts +17 -0
- package/dist/components/Notifications/Notifications.types.js +2 -0
- package/dist/components/Notifications/Notifications.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.d.ts +4 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.js +25 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.js +50 -0
- package/dist/components/Notifications/NotificationsFeed.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.styled.d.ts +37 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js +52 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.types.d.ts +16 -0
- package/dist/components/Notifications/NotificationsFeed.types.js +2 -0
- package/dist/components/Notifications/NotificationsFeed.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.d.ts +4 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.d.ts +57 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js +58 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.js +25 -0
- package/dist/components/Notifications/NotificationsFeedTabs.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.d.ts +34 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js +56 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.d.ts +13 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.js +2 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.js.map +1 -0
- package/dist/components/Notifications/index.d.ts +3 -0
- package/dist/components/Notifications/index.js +3 -0
- package/dist/components/Notifications/index.js.map +1 -0
- package/dist/components/Notifications/types.d.ts +119 -0
- package/dist/components/Notifications/types.js +7 -0
- package/dist/components/Notifications/types.js.map +1 -0
- package/dist/components/Notifications/utils.d.ts +13 -0
- package/dist/components/Notifications/utils.js +51 -0
- package/dist/components/Notifications/utils.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.d.ts +4 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js +14 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +6 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +28 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +6 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +13 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +7 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js +2 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/index.d.ts +2 -0
- package/dist/components/UserMenu/ManaBalances/index.js +2 -0
- package/dist/components/UserMenu/ManaBalances/index.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.d.ts +4 -0
- package/dist/components/UserMenu/UserMenu.i18n.d.ts +3 -0
- package/dist/components/UserMenu/UserMenu.i18n.js +15 -0
- package/dist/components/UserMenu/UserMenu.i18n.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.js +82 -0
- package/dist/components/UserMenu/UserMenu.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.stories.d.ts +12 -0
- package/dist/components/UserMenu/UserMenu.stories.js +82 -0
- package/dist/components/UserMenu/UserMenu.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.styled.d.ts +22 -0
- package/dist/components/UserMenu/UserMenu.styled.js +27 -0
- package/dist/components/UserMenu/UserMenu.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.types.d.ts +26 -0
- package/dist/components/UserMenu/UserMenu.types.js +15 -0
- package/dist/components/UserMenu/UserMenu.types.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.d.ts +9 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js +39 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.d.ts +5 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js +111 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.d.ts +8 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +65 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +75 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +167 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +29 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js +2 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js.map +1 -0
- package/dist/components/UserMenu/index.d.ts +4 -0
- package/dist/components/UserMenu/index.js +3 -0
- package/dist/components/UserMenu/index.js.map +1 -0
- package/dist/config/index.js.map +1 -1
- package/dist/data/avatar.d.ts +3 -0
- package/dist/data/avatar.js +98 -0
- package/dist/data/avatar.js.map +1 -0
- package/dist/data/notifications.d.ts +27 -0
- package/dist/data/notifications.js +426 -0
- package/dist/data/notifications.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/network.d.ts +8 -0
- package/dist/lib/network.js +17 -0
- package/dist/lib/network.js.map +1 -0
- package/dist/theme/colorSchemes.d.ts +10 -0
- package/dist/theme/colorSchemes.js +362 -0
- package/dist/theme/colorSchemes.js.map +1 -0
- package/dist/{colors.d.ts → theme/colors.d.ts} +19 -18
- package/dist/{colors.js → theme/colors.js} +19 -18
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/components.d.ts +2 -0
- package/dist/theme/components.js +53 -0
- package/dist/theme/components.js.map +1 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.js +19 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/typography.d.ts +44 -0
- package/dist/theme/typography.js +45 -0
- package/dist/theme/typography.js.map +1 -0
- package/package.json +7 -5
- package/dist/colors.js.map +0 -1
- package/dist/theme.d.ts +0 -2
- package/dist/theme.js +0 -73
- package/dist/theme.js.map +0 -1
package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: "You received an offer of",
|
5
|
+
middle: "for",
|
6
|
+
},
|
7
|
+
title: "Offer Received",
|
8
|
+
},
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: "Recibiste una oferta de",
|
12
|
+
middle: "para",
|
13
|
+
},
|
14
|
+
title: "Oferta recibida",
|
15
|
+
},
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: "您的出价",
|
19
|
+
middle: "已被接受",
|
20
|
+
},
|
21
|
+
title: "收到报价",
|
22
|
+
},
|
23
|
+
};
|
24
|
+
export { i18n };
|
25
|
+
//# sourceMappingURL=BidReceivedNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"BidReceivedNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,0BAA0B;YACjC,MAAM,EAAE,KAAK;SACd;QACD,KAAK,EAAE,gBAAgB;KACxB;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,yBAAyB;YAChC,MAAM,EAAE,MAAM;SACf;QACD,KAAK,EAAE,iBAAiB;KACzB;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;SACf;QACD,KAAK,EAAE,MAAM;KACd;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { Network } from "@dcl/schemas";
|
4
|
+
import { useTheme } from "@mui/material";
|
5
|
+
import { i18n } from "./BidReceivedNotification.i18n";
|
6
|
+
import { BidAcceptedIcon } from "../../../Icon";
|
7
|
+
import { Mana } from "../../../Mana";
|
8
|
+
import { NotificationItem } from "../../NotificationItem";
|
9
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
10
|
+
import { NotificationItemNFTLink } from "../../NotificationItemNFTLink";
|
11
|
+
import { formatMana, getBGColorByRarity } from "../../utils";
|
12
|
+
const BidReceivedNotification = React.memo((props) => {
|
13
|
+
const { notification, locale } = props;
|
14
|
+
const theme = useTheme();
|
15
|
+
return (_jsxs(NotificationItem, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(BidAcceptedIcon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsxs(NotificationItemDescription, { color: "inherit", underline: "none", children: [i18n[locale].description.start, " ", _jsx(Mana, { inline: true, network: notification.metadata.network === "polygon"
|
16
|
+
? Network.MATIC
|
17
|
+
: Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.price) }), " ", i18n[locale].description.middle, " ", _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] })] }));
|
18
|
+
});
|
19
|
+
export { BidReceivedNotification };
|
20
|
+
//# sourceMappingURL=BidReceivedNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"BidReceivedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAKvE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,uBAAuB,GAAG,KAAK,CAAC,IAAI,CACxC,CAAC,KAA4D,EAAE,EAAE;IAC/D,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EAAE,KAAC,eAAe,KAAG,EAC9B,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,MAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,aAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACpC,KAAC,IAAI,IACH,MAAM,QACN,OAAO,EACL,YAAY,CAAC,QAAQ,CAAC,OAAO,KAAK,SAAS;4BACzC,CAAC,CAAC,OAAO,CAAC,KAAK;4BACf,CAAC,CAAC,OAAO,CAAC,QAAQ,EAEtB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,YAElC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,GACnC,EAAC,GAAG,EACV,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EACrC,KAAC,uBAAuB,IACtB,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IAC0B,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, ItemSoldNotificationProps } from "../../types";
|
3
|
+
declare const ItemSoldNotification: React.MemoExoticComponent<(props: CommonNotificationProps<ItemSoldNotificationProps>) => JSX.Element>;
|
4
|
+
export { ItemSoldNotification };
|
package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: { description: "Someone just bought your ", title: "Item Sold" },
|
3
|
+
es: { description: "Alguien acaba de comprar tu ", title: "Item vendido" },
|
4
|
+
zh: { description: "有人刚买了你的 ", title: "已售商品" },
|
5
|
+
};
|
6
|
+
export { i18n };
|
7
|
+
//# sourceMappingURL=ItemSoldNotification.i18n.js.map
|
package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ItemSoldNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE,EAAE,WAAW,EAAE,2BAA2B,EAAE,KAAK,EAAE,WAAW,EAAE;IACpE,EAAE,EAAE,EAAE,WAAW,EAAE,8BAA8B,EAAE,KAAK,EAAE,cAAc,EAAE;IAC1E,EAAE,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE;CAC/C,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { i18n } from "./ItemSoldNotification.i18n";
|
4
|
+
import { ItemSoldIcon } from "../../../Icon";
|
5
|
+
import { NotificationItem } from "../../NotificationItem";
|
6
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
7
|
+
import { NotificationItemNFTLink } from "../../NotificationItemNFTLink";
|
8
|
+
import { getBGColorByRarity } from "../../utils";
|
9
|
+
const ItemSoldNotification = React.memo((props) => {
|
10
|
+
const { notification, locale } = props;
|
11
|
+
return (_jsxs(NotificationItem, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(ItemSoldIcon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsxs(NotificationItemDescription, { color: "inherit", underline: "none", children: [i18n[locale].description, " ", _jsx(NotificationItemNFTLink, { rarity: notification.metadata.rarity, name: notification.metadata.nftName, link: notification.metadata.link })] })] }));
|
12
|
+
});
|
13
|
+
export { ItemSoldNotification };
|
14
|
+
//# sourceMappingURL=ItemSoldNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ItemSoldNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,oBAAoB,GAAG,KAAK,CAAC,IAAI,CACrC,CAAC,KAAyD,EAAE,EAAE;IAC5D,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EAAE,KAAC,YAAY,KAAG,EAC3B,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,MAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,aAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,GAAG,EAC9B,KAAC,uBAAuB,IACtB,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IAC0B,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, RoyalitesEarnedNotificationProps } from "../../types";
|
3
|
+
declare const RoyaltiesEarnedNotification: React.MemoExoticComponent<(props: CommonNotificationProps<RoyalitesEarnedNotificationProps>) => JSX.Element>;
|
4
|
+
export { RoyaltiesEarnedNotification };
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const i18n: {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: string;
|
5
|
+
middle: string;
|
6
|
+
};
|
7
|
+
title: string;
|
8
|
+
};
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: string;
|
12
|
+
middle: string;
|
13
|
+
};
|
14
|
+
title: string;
|
15
|
+
};
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: string;
|
19
|
+
middle: string;
|
20
|
+
};
|
21
|
+
title: string;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export { i18n };
|
@@ -0,0 +1,25 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: "You've earned",
|
5
|
+
middle: "in royalties for",
|
6
|
+
},
|
7
|
+
title: "Royalties Earned",
|
8
|
+
},
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: "Ganaste",
|
12
|
+
middle: "en regalias por",
|
13
|
+
},
|
14
|
+
title: "Regalias ganadas",
|
15
|
+
},
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: "您为",
|
19
|
+
middle: "赢得了",
|
20
|
+
},
|
21
|
+
title: "所得版税",
|
22
|
+
},
|
23
|
+
};
|
24
|
+
export { i18n };
|
25
|
+
//# sourceMappingURL=RoyaltiesEarnedNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RoyaltiesEarnedNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,kBAAkB;SAC3B;QACD,KAAK,EAAE,kBAAkB;KAC1B;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,iBAAiB;SAC1B;QACD,KAAK,EAAE,kBAAkB;KAC1B;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,KAAK;SACd;QACD,KAAK,EAAE,MAAM;KACd;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { Network } from "@dcl/schemas";
|
4
|
+
import { useTheme } from "@mui/material";
|
5
|
+
import { i18n } from "./RoyaltiesEarnedNotification.i18n";
|
6
|
+
import { ManaMainnetIcon, ManaPolygonIcon } from "../../../Icon";
|
7
|
+
import { Mana } from "../../../Mana";
|
8
|
+
import { NotificationItem } from "../../NotificationItem";
|
9
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
10
|
+
import { NotificationItemNFTLink } from "../../NotificationItemNFTLink";
|
11
|
+
import { formatMana, getBGColorByRarity } from "../../utils";
|
12
|
+
const RoyaltiesEarnedNotification = React.memo((props) => {
|
13
|
+
const { notification, locale } = props;
|
14
|
+
const theme = useTheme();
|
15
|
+
return (_jsxs(NotificationItem, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: notification.metadata.network === "ethereum" ? (_jsx(ManaMainnetIcon, {})) : (_jsx(ManaPolygonIcon, {})), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsxs(NotificationItemDescription, { color: "inherit", underline: "none", children: [i18n[locale].description.start, " ", _jsx(Mana, { inline: true, network: notification.metadata.network === "polygon"
|
16
|
+
? Network.MATIC
|
17
|
+
: Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.royaltiesCut) }), " ", i18n[locale].description.middle, " ", _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] })] }));
|
18
|
+
});
|
19
|
+
export { RoyaltiesEarnedNotification };
|
20
|
+
//# sourceMappingURL=RoyaltiesEarnedNotification.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RoyaltiesEarnedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAKvE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,2BAA2B,GAAG,KAAK,CAAC,IAAI,CAC5C,CAAC,KAAgE,EAAE,EAAE;IACnE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EACP,YAAY,CAAC,QAAQ,CAAC,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,CAC7C,KAAC,eAAe,KAAG,CACpB,CAAC,CAAC,CAAC,CACF,KAAC,eAAe,KAAG,CACpB,EAEH,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,MAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,aAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACpC,KAAC,IAAI,IACH,MAAM,QACN,OAAO,EACL,YAAY,CAAC,QAAQ,CAAC,OAAO,KAAK,SAAS;4BACzC,CAAC,CAAC,OAAO,CAAC,KAAK;4BACf,CAAC,CAAC,OAAO,CAAC,QAAQ,EAEtB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,YAElC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,YAAY,CAAC,GAC1C,EAAC,GAAG,EACV,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EACrC,KAAC,uBAAuB,IACtB,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IAC0B,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, RewardAssignedNotificationProps } from "../../types";
|
3
|
+
declare const RewardAssignedNotification: React.MemoExoticComponent<(props: CommonNotificationProps<RewardAssignedNotificationProps>) => JSX.Element>;
|
4
|
+
export { RewardAssignedNotification };
|
package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.d.ts
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const i18n: {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: string;
|
5
|
+
end: string;
|
6
|
+
};
|
7
|
+
title: string;
|
8
|
+
};
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: string;
|
12
|
+
end: string;
|
13
|
+
};
|
14
|
+
title: string;
|
15
|
+
};
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: string;
|
19
|
+
end: string;
|
20
|
+
};
|
21
|
+
title: string;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export { i18n };
|
package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: "This",
|
5
|
+
end: "is already in your backpack",
|
6
|
+
},
|
7
|
+
title: "New Item Received",
|
8
|
+
},
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: "El item",
|
12
|
+
end: "ya esta disponible en tu backpack",
|
13
|
+
},
|
14
|
+
title: "Nuevo artículo recibido",
|
15
|
+
},
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: "这",
|
19
|
+
end: "已经在您的背包里",
|
20
|
+
},
|
21
|
+
title: "收到的新项目",
|
22
|
+
},
|
23
|
+
};
|
24
|
+
export { i18n };
|
25
|
+
//# sourceMappingURL=RewardAssignedNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RewardAssignedNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,MAAM;YACb,GAAG,EAAE,6BAA6B;SACnC;QACD,KAAK,EAAE,mBAAmB;KAC3B;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,SAAS;YAChB,GAAG,EAAE,mCAAmC;SACzC;QACD,KAAK,EAAE,yBAAyB;KACjC;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,GAAG;YACV,GAAG,EAAE,UAAU;SAChB;QACD,KAAK,EAAE,QAAQ;KAChB;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { i18n } from "./RewardAssignedNotification.i18n";
|
4
|
+
import { config } from "../../../../config";
|
5
|
+
import { RewardIcon } from "../../../Icon";
|
6
|
+
import { NotificationItem } from "../../NotificationItem";
|
7
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
8
|
+
import { NotificationItemNFTLink } from "../../NotificationItemNFTLink";
|
9
|
+
import { getBGColorByRarity } from "../../utils";
|
10
|
+
const RewardAssignedNotification = React.memo((props) => {
|
11
|
+
const { notification, locale } = props;
|
12
|
+
return (_jsxs(NotificationItem, { image: notification.metadata.tokenImage, imageBackgroundColor: getBGColorByRarity(notification.metadata.tokenRarity), badgeIcon: _jsx(RewardIcon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsxs(NotificationItemDescription, { color: "inherit", underline: "none", children: [i18n[locale].description.start, " ", _jsx(NotificationItemNFTLink, { rarity: notification.metadata.tokenRarity, name: notification.metadata.tokenName, link: config.get("EXPLORER_URL") }), " ", i18n[locale].description.end] })] }));
|
13
|
+
});
|
14
|
+
export { RewardAssignedNotification };
|
15
|
+
//# sourceMappingURL=RewardAssignedNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RewardAssignedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAKvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,0BAA0B,GAAG,KAAK,CAAC,IAAI,CAC3C,CAAC,KAA+D,EAAE,EAAE;IAClE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,UAAU,EACvC,oBAAoB,EAAE,kBAAkB,CACtC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAClC,EACD,SAAS,EAAE,KAAC,UAAU,KAAG,EACzB,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,MAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,aAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACpC,KAAC,uBAAuB,IACtB,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,WAAW,EACzC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,SAAS,EACrC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,GAChC,EAAC,GAAG,EACL,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IACD,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,0BAA0B,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, WorldsAccessRestoredNotificationProps } from "../../types";
|
3
|
+
declare const WorldsAccessRestoredNotification: React.MemoExoticComponent<(props: CommonNotificationProps<WorldsAccessRestoredNotificationProps>) => JSX.Element>;
|
4
|
+
export { WorldsAccessRestoredNotification };
|
@@ -0,0 +1,16 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
description: "Access to your Worlds has been restored.",
|
4
|
+
title: "Worlds available",
|
5
|
+
},
|
6
|
+
es: {
|
7
|
+
description: "El acceso a tus Mundos ha sido restaurado.",
|
8
|
+
title: "Mundos disponible",
|
9
|
+
},
|
10
|
+
zh: {
|
11
|
+
description: '您的 "世界 "访问权限已恢复.',
|
12
|
+
title: "可用的世界",
|
13
|
+
},
|
14
|
+
};
|
15
|
+
export { i18n };
|
16
|
+
//# sourceMappingURL=WorldsAccessRestoredNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsAccessRestoredNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,WAAW,EAAE,0CAA0C;QACvD,KAAK,EAAE,kBAAkB;KAC1B;IACD,EAAE,EAAE;QACF,WAAW,EAAE,4CAA4C;QACzD,KAAK,EAAE,mBAAmB;KAC3B;IACD,EAAE,EAAE;QACF,WAAW,EAAE,kBAAkB;QAC/B,KAAK,EAAE,OAAO;KACf;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { i18n } from "./WorldsAccessRestoredNotification.i18n";
|
4
|
+
import { AccessRestoredIcon } from "../../../Icon";
|
5
|
+
import { NotificationItem } from "../../NotificationItem";
|
6
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
7
|
+
const WorldsAccessRestoredNotification = React.memo((props) => {
|
8
|
+
const { notification, locale } = props;
|
9
|
+
return (_jsxs(NotificationItem, { image: _jsx(AccessRestoredIcon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsx(NotificationItemDescription, { color: "inherit", underline: "none", children: i18n[locale].description })] }));
|
10
|
+
});
|
11
|
+
export { WorldsAccessRestoredNotification };
|
12
|
+
//# sourceMappingURL=WorldsAccessRestoredNotification.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsAccessRestoredNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,yCAAyC,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AAMtC,MAAM,gCAAgC,GAAG,KAAK,CAAC,IAAI,CACjD,CAAC,KAAqE,EAAE,EAAE;IACxE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,KAAC,kBAAkB,KAAG,EAC7B,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,KAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,YAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,GACG,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,gCAAgC,EAAE,CAAA"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, WorldsAccessRestrictedNotificationProps } from "../../types";
|
3
|
+
declare const WorldsAccessRestrictedNotification: React.MemoExoticComponent<(props: CommonNotificationProps<WorldsAccessRestrictedNotificationProps>) => JSX.Element>;
|
4
|
+
export { WorldsAccessRestrictedNotification };
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const i18n: {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: string;
|
5
|
+
link_text: string;
|
6
|
+
};
|
7
|
+
title: string;
|
8
|
+
};
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: string;
|
12
|
+
link_text: string;
|
13
|
+
};
|
14
|
+
title: string;
|
15
|
+
};
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: string;
|
19
|
+
link_text: string;
|
20
|
+
};
|
21
|
+
title: string;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export { i18n };
|
@@ -0,0 +1,25 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: "Access to your Worlds has been restricted due to",
|
5
|
+
link_text: "insufficient resources",
|
6
|
+
},
|
7
|
+
title: "Worlds restricted",
|
8
|
+
},
|
9
|
+
es: {
|
10
|
+
description: {
|
11
|
+
start: "El acceso a tus Mundos ha sido restringido debido a",
|
12
|
+
link_text: "falta de recursos",
|
13
|
+
},
|
14
|
+
title: "Mundos restringidos",
|
15
|
+
},
|
16
|
+
zh: {
|
17
|
+
description: {
|
18
|
+
start: "由于资源不足",
|
19
|
+
link_text: "访问您的世界受到限制",
|
20
|
+
},
|
21
|
+
title: "世界限制",
|
22
|
+
},
|
23
|
+
};
|
24
|
+
export { i18n };
|
25
|
+
//# sourceMappingURL=WorldsAccessRestrictedNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsAccessRestrictedNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,kDAAkD;YACzD,SAAS,EAAE,wBAAwB;SACpC;QACD,KAAK,EAAE,mBAAmB;KAC3B;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,qDAAqD;YAC5D,SAAS,EAAE,mBAAmB;SAC/B;QACD,KAAK,EAAE,qBAAqB;KAC7B;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,QAAQ;YACf,SAAS,EAAE,YAAY;SACxB;QACD,KAAK,EAAE,MAAM;KACd;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { Link } from "@mui/material";
|
4
|
+
import { i18n } from "./WorldsAccessRestrictedNotification.i18n";
|
5
|
+
import { AccessRestrictedIcon } from "../../../Icon";
|
6
|
+
import { NotificationItem } from "../../NotificationItem";
|
7
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
8
|
+
const WorldsAccessRestrictedNotification = React.memo((props) => {
|
9
|
+
const { notification, locale } = props;
|
10
|
+
return (_jsxs(NotificationItem, { image: _jsx(AccessRestrictedIcon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsxs(NotificationItemDescription, { color: "inherit", underline: "none", children: [i18n[locale].description.start, " ", _jsx(Link, { href: notification.metadata.url, children: i18n[locale].description.link_text }), "."] })] }));
|
11
|
+
});
|
12
|
+
export { WorldsAccessRestrictedNotification };
|
13
|
+
//# sourceMappingURL=WorldsAccessRestrictedNotification.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsAccessRestrictedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,2CAA2C,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AAMtC,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CACnD,CAAC,KAAuE,EAAE,EAAE;IAC1E,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,MAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,aAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACpC,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAClC,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAC9B,SAEqB,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, WorldsMissingResourcesNotificationProps } from "../../types";
|
3
|
+
declare const WorldsMissingResourcesNotification: React.MemoExoticComponent<(props: CommonNotificationProps<WorldsMissingResourcesNotificationProps>) => JSX.Element>;
|
4
|
+
export { WorldsMissingResourcesNotification };
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const i18n: {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: string;
|
5
|
+
link_text: string;
|
6
|
+
end: string;
|
7
|
+
};
|
8
|
+
title: string;
|
9
|
+
};
|
10
|
+
es: {
|
11
|
+
description: {
|
12
|
+
start: string;
|
13
|
+
link_text: string;
|
14
|
+
end: string;
|
15
|
+
};
|
16
|
+
title: string;
|
17
|
+
};
|
18
|
+
zh: {
|
19
|
+
description: {
|
20
|
+
start: string;
|
21
|
+
link_text: string;
|
22
|
+
end: string;
|
23
|
+
};
|
24
|
+
title: string;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export { i18n };
|
@@ -0,0 +1,28 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
description: {
|
4
|
+
start: "WORLDS access at risk in 48hs.",
|
5
|
+
link_text: "Rectify now",
|
6
|
+
end: "to percent disruption.",
|
7
|
+
},
|
8
|
+
title: "Missing resources",
|
9
|
+
},
|
10
|
+
es: {
|
11
|
+
description: {
|
12
|
+
start: "El acceso a tus Mundos sera restringido en 48 horas.",
|
13
|
+
link_text: "Rectifique ahora",
|
14
|
+
end: "para evitar interrupciones.",
|
15
|
+
},
|
16
|
+
title: "Faltan recursos",
|
17
|
+
},
|
18
|
+
zh: {
|
19
|
+
description: {
|
20
|
+
start: "世界接入在 48 小时内面临风险.",
|
21
|
+
link_text: "立即纠正",
|
22
|
+
end: ",以减少中断",
|
23
|
+
},
|
24
|
+
title: "缺失的资源",
|
25
|
+
},
|
26
|
+
};
|
27
|
+
export { i18n };
|
28
|
+
//# sourceMappingURL=WorldsMissingResourcesNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsMissingResourcesNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,gCAAgC;YACvC,SAAS,EAAE,aAAa;YACxB,GAAG,EAAE,wBAAwB;SAC9B;QACD,KAAK,EAAE,mBAAmB;KAC3B;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,sDAAsD;YAC7D,SAAS,EAAE,kBAAkB;YAC7B,GAAG,EAAE,6BAA6B;SACnC;QACD,KAAK,EAAE,iBAAiB;KACzB;IACD,EAAE,EAAE;QACF,WAAW,EAAE;YACX,KAAK,EAAE,mBAAmB;YAC1B,SAAS,EAAE,MAAM;YACjB,GAAG,EAAE,QAAQ;SACd;QACD,KAAK,EAAE,OAAO;KACf;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { Link } from "@mui/material";
|
4
|
+
import { i18n } from "./WorldsMissingResourcesNotification.i18n";
|
5
|
+
import { MissingResourcesIcon } from "../../../Icon";
|
6
|
+
import { NotificationItem } from "../../NotificationItem";
|
7
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
8
|
+
const WorldsMissingResourcesNotification = React.memo((props) => {
|
9
|
+
const { notification, locale } = props;
|
10
|
+
return (_jsxs(NotificationItem, { image: _jsx(MissingResourcesIcon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: i18n[locale].title }), _jsxs(NotificationItemDescription, { color: "inherit", underline: "none", children: [i18n[locale].description.start, " ", _jsx(Link, { href: notification.metadata.url, children: i18n[locale].description.link_text }), " ", i18n[locale].description.end] })] }));
|
11
|
+
});
|
12
|
+
export { WorldsMissingResourcesNotification };
|
13
|
+
//# sourceMappingURL=WorldsMissingResourcesNotification.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsMissingResourcesNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,2CAA2C,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAA;AAMtC,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CACnD,CAAC,KAAuE,EAAE,EAAE;IAC1E,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,MAAC,gBAAgB,IACf,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,aAEd,KAAC,qBAAqB,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,GAAyB,EACnE,MAAC,2BAA2B,IAAC,KAAK,EAAC,SAAS,EAAC,SAAS,EAAC,MAAM,aAC1D,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACpC,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAClC,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAC9B,EAAC,GAAG,EACV,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IACD,IACb,CACpB,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { CommonNotificationProps, WorldsPermissionGrantedNotificationProps } from "../../types";
|
3
|
+
declare const WorldsPermissionGrantedNotification: React.MemoExoticComponent<(props: CommonNotificationProps<WorldsPermissionGrantedNotificationProps>) => JSX.Element>;
|
4
|
+
export { WorldsPermissionGrantedNotification };
|
@@ -0,0 +1,24 @@
|
|
1
|
+
declare const i18n: {
|
2
|
+
en: {
|
3
|
+
title: string;
|
4
|
+
accessTitle: string;
|
5
|
+
access: string;
|
6
|
+
deployment: string;
|
7
|
+
streaming: string;
|
8
|
+
};
|
9
|
+
es: {
|
10
|
+
title: string;
|
11
|
+
accessTitle: string;
|
12
|
+
access: string;
|
13
|
+
deployment: string;
|
14
|
+
streaming: string;
|
15
|
+
};
|
16
|
+
zh: {
|
17
|
+
title: string;
|
18
|
+
accessTitle: string;
|
19
|
+
access: string;
|
20
|
+
deployment: string;
|
21
|
+
streaming: string;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
export { i18n };
|
@@ -0,0 +1,25 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
title: "World Permission Granted",
|
4
|
+
accessTitle: "World Access",
|
5
|
+
access: "You have been given permission to access World {world}",
|
6
|
+
deployment: "You have been granted deployer permission to World {world}",
|
7
|
+
streaming: "You have been granted streamer permission to World {world}",
|
8
|
+
},
|
9
|
+
es: {
|
10
|
+
title: "Permiso para mundo otorgado",
|
11
|
+
accessTitle: "Acceso a Mundo",
|
12
|
+
access: "Te han dado permiso para acceder al mundo {world}",
|
13
|
+
deployment: "Te han otorgado permiso de deployar al mundo {world}",
|
14
|
+
streaming: "Te han otorgado permiso de trasmitir en el mundo {world}",
|
15
|
+
},
|
16
|
+
zh: {
|
17
|
+
title: "获得世界许可",
|
18
|
+
accessTitle: "世界访问",
|
19
|
+
access: "您已获得访问世界的许可 {world}",
|
20
|
+
deployment: "您已被授予部署者的许可 {world}",
|
21
|
+
streaming: "您已获得流媒体的许可 {world}",
|
22
|
+
},
|
23
|
+
};
|
24
|
+
export { i18n };
|
25
|
+
//# sourceMappingURL=WorldsPermissionGrantedNotification.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WorldsPermissionGrantedNotification.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,KAAK,EAAE,0BAA0B;QACjC,WAAW,EAAE,cAAc;QAC3B,MAAM,EAAE,wDAAwD;QAChE,UAAU,EAAE,4DAA4D;QACxE,SAAS,EAAE,4DAA4D;KACxE;IACD,EAAE,EAAE;QACF,KAAK,EAAE,6BAA6B;QACpC,WAAW,EAAE,gBAAgB;QAC7B,MAAM,EAAE,mDAAmD;QAC3D,UAAU,EAAE,sDAAsD;QAClE,SAAS,EAAE,0DAA0D;KACtE;IACD,EAAE,EAAE;QACF,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,MAAM;QACnB,MAAM,EAAE,qBAAqB;QAC7B,UAAU,EAAE,qBAAqB;QACjC,SAAS,EAAE,oBAAoB;KAChC;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { Link } from "@mui/material";
|
4
|
+
import { i18n } from "./WorldsPermissionGrantedNotification.i18n";
|
5
|
+
import { config } from "../../../../config";
|
6
|
+
import { AccessRestoredIcon, PermissionGrantedIcon } from "../../../Icon";
|
7
|
+
import { NotificationItem } from "../../NotificationItem";
|
8
|
+
import { NotificationItemDescription, NotificationItemTitle, } from "../../NotificationItem.styled";
|
9
|
+
import { replaceWithValues } from "../../utils";
|
10
|
+
const WORLDS_COLLABORATOR_URL = `${config.get("BUILDER_URL")}/worlds?tab=collaborator`;
|
11
|
+
const WORLD_WITH_REALM_URL = `${config.get("EXPLORER_URL")}?realm=`;
|
12
|
+
const WorldsPermissionGrantedNotification = React.memo((props) => {
|
13
|
+
const { notification, locale } = props;
|
14
|
+
const permission = notification.metadata.permissions[0]; // for now only one permission is allowed per notification
|
15
|
+
const isAccessNotification = permission === "access";
|
16
|
+
const world = notification.metadata.world;
|
17
|
+
const Icon = isAccessNotification
|
18
|
+
? AccessRestoredIcon
|
19
|
+
: PermissionGrantedIcon;
|
20
|
+
return (_jsxs(NotificationItem, { image: _jsx(Icon, {}), timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(NotificationItemTitle, { children: isAccessNotification ? i18n[locale].accessTitle : i18n[locale].title }), _jsx(NotificationItemDescription, { color: "inherit", underline: "none", children: replaceWithValues(i18n[locale][permission], {
|
21
|
+
world: (_jsx(Link, { href: isAccessNotification
|
22
|
+
? `${WORLD_WITH_REALM_URL}${world}`
|
23
|
+
: WORLDS_COLLABORATOR_URL, target: "_blank", rel: "noreferrer", children: world })),
|
24
|
+
}) })] }));
|
25
|
+
});
|
26
|
+
export { WorldsPermissionGrantedNotification };
|
27
|
+
//# sourceMappingURL=WorldsPermissionGrantedNotification.js.map
|