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
@@ -0,0 +1,37 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const FeedContainer: import("@emotion/styled").StyledComponent<{
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
6
|
+
declare const EmptyViewContainer: import("@emotion/styled").StyledComponent<{
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
10
|
+
declare const EmptyViewTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
11
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
12
|
+
}, "className" | "width" | "height" | "padding" | "top" | "left" | "children" | "color" | "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "classes" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
14
|
+
}, {}, {}>;
|
15
|
+
declare const EmptyViewDescription: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
16
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
17
|
+
}, "className" | "width" | "height" | "padding" | "top" | "left" | "children" | "color" | "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "classes" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
19
|
+
}, {}, {}>;
|
20
|
+
declare const OnboardingWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
22
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
24
|
+
}, {}, {}>;
|
25
|
+
declare const LoadingContainer: import("@emotion/styled").StyledComponent<{
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
27
|
+
as?: import("react").ElementType<any> | undefined;
|
28
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
29
|
+
declare const NotificationFeedModalContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
30
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
31
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
32
|
+
theme?: import("@emotion/react").Theme | undefined;
|
33
|
+
}, {}, {}>;
|
34
|
+
declare const NotificationFeedContainer: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & {
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
36
|
+
}, {}, {}>;
|
37
|
+
export { FeedContainer, EmptyViewContainer, EmptyViewTitle, EmptyViewDescription, OnboardingWrapper, LoadingContainer, NotificationFeedModalContainer, NotificationFeedContainer, };
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import styled from "@emotion/styled";
|
2
|
+
import { Box, Menu, Typography } from "@mui/material";
|
3
|
+
const FeedContainer = styled("div")({
|
4
|
+
width: "384px",
|
5
|
+
});
|
6
|
+
const EmptyViewContainer = styled("div")({
|
7
|
+
height: "100%",
|
8
|
+
display: "flex",
|
9
|
+
flexDirection: "column",
|
10
|
+
justifyContent: "center",
|
11
|
+
gap: "16px",
|
12
|
+
padding: "40px 80px",
|
13
|
+
alignItems: "center",
|
14
|
+
textAlign: "center",
|
15
|
+
});
|
16
|
+
const EmptyViewTitle = styled(Typography)({
|
17
|
+
fontSize: "18px",
|
18
|
+
fontWeight: "600",
|
19
|
+
marginBottom: 0,
|
20
|
+
});
|
21
|
+
const EmptyViewDescription = styled(Typography)({
|
22
|
+
fontSize: "16px",
|
23
|
+
color: "#a09ba8",
|
24
|
+
});
|
25
|
+
const OnboardingWrapper = styled(Box)({
|
26
|
+
display: "flex",
|
27
|
+
flexDirection: "column",
|
28
|
+
gap: "16px",
|
29
|
+
alignItems: "center",
|
30
|
+
textAlign: "center",
|
31
|
+
padding: "30px",
|
32
|
+
});
|
33
|
+
const LoadingContainer = styled("div")({
|
34
|
+
height: "290px",
|
35
|
+
width: "384px",
|
36
|
+
display: "flex",
|
37
|
+
justifyContent: "center",
|
38
|
+
alignItems: "center",
|
39
|
+
});
|
40
|
+
const NotificationFeedModalContainer = styled(Box)({
|
41
|
+
display: "flex",
|
42
|
+
flexDirection: "column",
|
43
|
+
});
|
44
|
+
const NotificationFeedContainer = styled(Menu)({
|
45
|
+
width: "484px",
|
46
|
+
pointerEvents: "visible",
|
47
|
+
"& .MuiPaper-root": {
|
48
|
+
borderRadius: "8px",
|
49
|
+
},
|
50
|
+
});
|
51
|
+
export { FeedContainer, EmptyViewContainer, EmptyViewTitle, EmptyViewDescription, OnboardingWrapper, LoadingContainer, NotificationFeedModalContainer, NotificationFeedContainer, };
|
52
|
+
//# sourceMappingURL=NotificationsFeed.styled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationsFeed.styled.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeed.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAErD,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAClC,KAAK,EAAE,OAAO;CACf,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,QAAQ;IACxB,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,WAAW;IACpB,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE,QAAQ;CACpB,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IACxC,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE,CAAC;CAChB,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAC9C,QAAQ,EAAE,MAAM;IAChB,KAAK,EAAE,SAAS;CACjB,CAAC,CAAA;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACpC,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,GAAG,EAAE,MAAM;IACX,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE,QAAQ;IACnB,OAAO,EAAE,MAAM;CAChB,CAAC,CAAA;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACrC,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,MAAM;IACf,cAAc,EAAE,QAAQ;IACxB,UAAU,EAAE,QAAQ;CACrB,CAAC,CAAA;AAEF,MAAM,8BAA8B,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACjD,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;CACxB,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7C,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,SAAS;IACxB,kBAAkB,EAAE;QAClB,YAAY,EAAE,KAAK;KACpB;CACF,CAAC,CAAA;AAEF,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,8BAA8B,EAC9B,yBAAyB,GAC1B,CAAA"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { DCLNotificationProps, NotificationActiveTab, NotificationLocale } from "./types";
|
3
|
+
type NotificationsFeedProps = {
|
4
|
+
items: DCLNotificationProps[];
|
5
|
+
isLoading: boolean;
|
6
|
+
locale: NotificationLocale;
|
7
|
+
isOnboarding: boolean;
|
8
|
+
activeTab: NotificationActiveTab;
|
9
|
+
isOpen: boolean;
|
10
|
+
anchorEl: HTMLElement | null;
|
11
|
+
renderProfile?: (address: string) => JSX.Element | string | null;
|
12
|
+
onChangeTab: (e: React.MouseEvent<HTMLDivElement, MouseEvent>, newActiveTab: NotificationActiveTab) => void;
|
13
|
+
onBegin: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
14
|
+
onClose: (event: React.MouseEvent<HTMLElement> | MouseEvent) => void;
|
15
|
+
};
|
16
|
+
export { NotificationsFeedProps };
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationsFeed.types.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeed.types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
declare const i18n: {
|
2
|
+
en: {
|
3
|
+
previous: string;
|
4
|
+
feed: {
|
5
|
+
title: string;
|
6
|
+
tabs: {
|
7
|
+
newest: string;
|
8
|
+
read: string;
|
9
|
+
};
|
10
|
+
empty: {
|
11
|
+
title: string;
|
12
|
+
description: string;
|
13
|
+
};
|
14
|
+
history: {
|
15
|
+
title: string;
|
16
|
+
description: string;
|
17
|
+
};
|
18
|
+
};
|
19
|
+
};
|
20
|
+
es: {
|
21
|
+
previous: string;
|
22
|
+
feed: {
|
23
|
+
title: string;
|
24
|
+
tabs: {
|
25
|
+
newest: string;
|
26
|
+
read: string;
|
27
|
+
};
|
28
|
+
empty: {
|
29
|
+
title: string;
|
30
|
+
description: string;
|
31
|
+
};
|
32
|
+
history: {
|
33
|
+
title: string;
|
34
|
+
description: string;
|
35
|
+
};
|
36
|
+
};
|
37
|
+
};
|
38
|
+
zh: {
|
39
|
+
previous: string;
|
40
|
+
feed: {
|
41
|
+
title: string;
|
42
|
+
tabs: {
|
43
|
+
newest: string;
|
44
|
+
read: string;
|
45
|
+
};
|
46
|
+
empty: {
|
47
|
+
title: string;
|
48
|
+
description: string;
|
49
|
+
};
|
50
|
+
history: {
|
51
|
+
title: string;
|
52
|
+
description: string;
|
53
|
+
};
|
54
|
+
};
|
55
|
+
};
|
56
|
+
};
|
57
|
+
export { i18n };
|
@@ -0,0 +1,58 @@
|
|
1
|
+
const i18n = {
|
2
|
+
en: {
|
3
|
+
previous: "Previous",
|
4
|
+
feed: {
|
5
|
+
title: "Notifications",
|
6
|
+
tabs: {
|
7
|
+
newest: "New",
|
8
|
+
read: "Seen",
|
9
|
+
},
|
10
|
+
empty: {
|
11
|
+
title: "You're all caught up!",
|
12
|
+
description: "No new notifications.",
|
13
|
+
},
|
14
|
+
history: {
|
15
|
+
title: "Notifications History",
|
16
|
+
description: "You'll be able to access old notifications here.",
|
17
|
+
},
|
18
|
+
},
|
19
|
+
},
|
20
|
+
es: {
|
21
|
+
previous: "Previo",
|
22
|
+
feed: {
|
23
|
+
title: "Notificaciones",
|
24
|
+
tabs: {
|
25
|
+
newest: "Reciente",
|
26
|
+
read: "Visto",
|
27
|
+
},
|
28
|
+
empty: {
|
29
|
+
title: "¡Ya estas al día!",
|
30
|
+
description: "Te avisaremos si hay nuevas notificaciones para ti.",
|
31
|
+
},
|
32
|
+
history: {
|
33
|
+
title: "Historial de Notificaciones",
|
34
|
+
description: "Aquí aparecerá una lista detallada de las Notificaciones pasadas",
|
35
|
+
},
|
36
|
+
},
|
37
|
+
},
|
38
|
+
zh: {
|
39
|
+
previous: "以前的",
|
40
|
+
feed: {
|
41
|
+
title: "通知",
|
42
|
+
tabs: {
|
43
|
+
newest: "新",
|
44
|
+
read: "看到的",
|
45
|
+
},
|
46
|
+
empty: {
|
47
|
+
title: "你们都赶上了!",
|
48
|
+
description: "没有新通知。",
|
49
|
+
},
|
50
|
+
history: {
|
51
|
+
title: "通知历史",
|
52
|
+
description: "您可以在这里访问旧通知。",
|
53
|
+
},
|
54
|
+
},
|
55
|
+
},
|
56
|
+
};
|
57
|
+
export { i18n };
|
58
|
+
//# sourceMappingURL=NotificationsFeedTabs.i18n.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.i18n.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeedTabs.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE;YACJ,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE;gBACJ,MAAM,EAAE,KAAK;gBACb,IAAI,EAAE,MAAM;aACb;YACD,KAAK,EAAE;gBACL,KAAK,EAAE,uBAAuB;gBAC9B,WAAW,EAAE,uBAAuB;aACrC;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,uBAAuB;gBAC9B,WAAW,EAAE,kDAAkD;aAChE;SACF;KACF;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE;YACJ,KAAK,EAAE,gBAAgB;YACvB,IAAI,EAAE;gBACJ,MAAM,EAAE,UAAU;gBAClB,IAAI,EAAE,OAAO;aACd;YACD,KAAK,EAAE;gBACL,KAAK,EAAE,mBAAmB;gBAC1B,WAAW,EAAE,qDAAqD;aACnE;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,6BAA6B;gBACpC,WAAW,EACT,kEAAkE;aACrE;SACF;KACF;IACD,EAAE,EAAE;QACF,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE;YACJ,KAAK,EAAE,IAAI;YACX,IAAI,EAAE;gBACJ,MAAM,EAAE,GAAG;gBACX,IAAI,EAAE,KAAK;aACZ;YACD,KAAK,EAAE;gBACL,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,QAAQ;aACtB;YACD,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,cAAc;aAC5B;SACF;KACF;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
|
+
import React, { useCallback } from "react";
|
3
|
+
import { Tab, Tabs } from "@mui/material";
|
4
|
+
import { i18n } from "./NotificationsFeedTabs.i18n";
|
5
|
+
import { NotificationActiveTab, } from "./types";
|
6
|
+
import { NotificationComponentByType } from "./utils";
|
7
|
+
import { EmptyInboxIcon, HistoryIcon } from "../Icon";
|
8
|
+
import { EmptyViewContainer, EmptyViewDescription, EmptyViewTitle, } from "./NotificationsFeed.styled";
|
9
|
+
import { NotificationFeedPrevious, NotificationFeedTabsContainer, NotificationFeedTabsContent, NotificationFeedTabsHeader, NotificationFeedTabsListContainer, NotificationFeedTabsListWrapper, NotificationFeedTabsTitle, } from "./NotificationsFeedTabs.styled";
|
10
|
+
const NotificationHandler = ({ locale, notification, renderProfile, }) => {
|
11
|
+
const NotificationComponent = NotificationComponentByType[notification.type];
|
12
|
+
return (_jsx(NotificationComponent, { notification: notification, locale: locale, renderProfile: renderProfile }));
|
13
|
+
};
|
14
|
+
const NoReadNotifications = ({ locale }) => (_jsxs(EmptyViewContainer, { children: [_jsx(HistoryIcon, { sx: { fontSize: "115px" } }), _jsx(EmptyViewTitle, { children: i18n[locale].feed.history.title }), _jsx(EmptyViewDescription, { children: i18n[locale].feed.history.description })] }));
|
15
|
+
const NoNotifications = ({ locale }) => (_jsxs(EmptyViewContainer, { children: [_jsx(EmptyInboxIcon, { sx: { fontSize: "115px" } }), _jsx(EmptyViewTitle, { children: i18n[locale].feed.empty.title }), _jsx(EmptyViewDescription, { children: i18n[locale].feed.empty.description })] }));
|
16
|
+
const NotificationFeedTabs = React.memo((props) => {
|
17
|
+
const { unreadNotifications, locale, previousNotifications, readNotifications, activeTab, isModal, renderProfile, onChangeTab, } = props;
|
18
|
+
const onChangeHandler = useCallback((e, tab) => {
|
19
|
+
onChangeTab(e, tab);
|
20
|
+
}, [onChangeTab]);
|
21
|
+
return (_jsxs(NotificationFeedTabsContainer, { children: [_jsx(NotificationFeedTabsHeader, { children: _jsx(NotificationFeedTabsTitle, { children: i18n[locale].feed.title }) }), _jsxs(NotificationFeedTabsContent, { children: [_jsxs(Tabs, { value: activeTab, onChange: onChangeHandler, indicatorColor: "primary", children: [_jsx(Tab, { label: i18n[locale].feed.tabs.newest, value: NotificationActiveTab.NEWEST }), _jsx(Tab, { label: i18n[locale].feed.tabs.read, value: NotificationActiveTab.READ })] }), _jsx(NotificationFeedTabsListContainer, { isModal: isModal, children: _jsx(NotificationFeedTabsListWrapper, { children: activeTab === NotificationActiveTab.NEWEST ? (_jsx(_Fragment, { children: !unreadNotifications.length &&
|
22
|
+
!previousNotifications.length ? (_jsx(NoNotifications, { locale: locale })) : (_jsxs(_Fragment, { children: [_jsx("div", { children: unreadNotifications.map((notification) => (_jsx(NotificationHandler, { notification: notification, locale: locale, renderProfile: renderProfile }, notification.id))) }), previousNotifications.length > 0 && (_jsxs("div", { children: [_jsx(NotificationFeedPrevious, { children: i18n[locale].previous }), previousNotifications.map((notification) => (_jsx(NotificationHandler, { notification: notification, locale: locale, renderProfile: renderProfile }, notification.id)))] }))] })) })) : (_jsx(_Fragment, { children: readNotifications.length > 0 ? (readNotifications.map((notification) => (_jsx(NotificationHandler, { notification: notification, locale: locale, renderProfile: renderProfile }, notification.id)))) : (_jsx(NoReadNotifications, { locale: locale })) })) }) })] })] }));
|
23
|
+
});
|
24
|
+
export { NotificationFeedTabs };
|
25
|
+
//# sourceMappingURL=NotificationsFeedTabs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeedTabs.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AACnD,OAAO,EAEL,qBAAqB,GAEtB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErD,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,gCAAgC,CAAA;AAEvC,MAAM,mBAAmB,GAAG,CAAC,EAC3B,MAAM,EACN,YAAY,EACZ,aAAa,GAKd,EAAE,EAAE;IACH,MAAM,qBAAqB,GAAG,2BAA2B,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;IAC5E,OAAO,CACL,KAAC,qBAAqB,IACpB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,GAC5B,CACH,CAAA;AACH,CAAC,CAAA;AAED,MAAM,mBAAmB,GAAG,CAAC,EAAE,MAAM,EAAkC,EAAE,EAAE,CAAC,CAC1E,MAAC,kBAAkB,eACjB,KAAC,WAAW,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAI,EAC1C,KAAC,cAAc,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,GAAkB,EAClE,KAAC,oBAAoB,cAClB,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,GACjB,IACJ,CACtB,CAAA;AAED,MAAM,eAAe,GAAG,CAAC,EAAE,MAAM,EAAkC,EAAE,EAAE,CAAC,CACtE,MAAC,kBAAkB,eACjB,KAAC,cAAc,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAI,EAC7C,KAAC,cAAc,cAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAkB,EAChE,KAAC,oBAAoB,cAClB,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,GACf,IACJ,CACtB,CAAA;AAED,MAAM,oBAAoB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAiC,EAAE,EAAE;IAC5E,MAAM,EACJ,mBAAmB,EACnB,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,SAAS,EACT,OAAO,EACP,aAAa,EACb,WAAW,GACZ,GAAG,KAAK,CAAA;IAET,MAAM,eAAe,GAAG,WAAW,CACjC,CAAC,CAAC,EAAE,GAA0B,EAAE,EAAE;QAChC,WAAW,CAAC,CAAC,EAAE,GAAG,CAAC,CAAA;IACrB,CAAC,EACD,CAAC,WAAW,CAAC,CACd,CAAA;IACD,OAAO,CACL,MAAC,6BAA6B,eAC5B,KAAC,0BAA0B,cACzB,KAAC,yBAAyB,cACvB,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,GACE,GACD,EAC7B,MAAC,2BAA2B,eAC1B,MAAC,IAAI,IACH,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,eAAe,EACzB,cAAc,EAAC,SAAS,aAExB,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EACpC,KAAK,EAAE,qBAAqB,CAAC,MAAM,GACnC,EACF,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAClC,KAAK,EAAE,qBAAqB,CAAC,IAAI,GACjC,IACG,EACP,KAAC,iCAAiC,IAAC,OAAO,EAAE,OAAO,YACjD,KAAC,+BAA+B,cAC7B,SAAS,KAAK,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC5C,4BACG,CAAC,mBAAmB,CAAC,MAAM;oCAC5B,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC9B,KAAC,eAAe,IAAC,MAAM,EAAE,MAAM,GAAI,CACpC,CAAC,CAAC,CAAC,CACF,8BACE,wBACG,mBAAmB,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,CACzC,KAAC,mBAAmB,IAElB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,IAHvB,YAAY,CAAC,EAAE,CAIpB,CACH,CAAC,GACE,EACL,qBAAqB,CAAC,MAAM,GAAG,CAAC,IAAI,CACnC,0BACE,KAAC,wBAAwB,cACtB,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,GACG,EAC1B,qBAAqB,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,CAC3C,KAAC,mBAAmB,IAElB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,IAHvB,YAAY,CAAC,EAAE,CAIpB,CACH,CAAC,IACE,CACP,IACA,CACJ,GACA,CACJ,CAAC,CAAC,CAAC,CACF,4BACG,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC9B,iBAAiB,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,CACtC,KAAC,mBAAmB,IAElB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,IAHvB,YAAY,CAAC,EAAE,CAIpB,CACH,CAAC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,mBAAmB,IAAC,MAAM,EAAE,MAAM,GAAI,CACxC,GACA,CACJ,GAC+B,GACA,IACR,IACA,CACjC,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { NotificationsFeedTabsProps } from "./NotificationsFeedTabs.types";
|
3
|
+
declare const NotificationFeedTabsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
5
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
7
|
+
}, {}, {}>;
|
8
|
+
declare const NotificationFeedTabsHeader: import("@emotion/styled").StyledComponent<{
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
10
|
+
as?: import("react").ElementType<any> | undefined;
|
11
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
12
|
+
declare const NotificationFeedTabsTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
13
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
14
|
+
}, "className" | "width" | "height" | "padding" | "top" | "left" | "children" | "color" | "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "classes" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
16
|
+
}, {}, {}>;
|
17
|
+
declare const NotificationFeedTabsContent: import("@emotion/styled").StyledComponent<{
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
19
|
+
as?: import("react").ElementType<any> | undefined;
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
21
|
+
declare const NotificationFeedTabsListContainer: import("@emotion/styled").StyledComponent<{
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
24
|
+
} & Pick<NotificationsFeedTabsProps, "isModal">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
25
|
+
declare const NotificationFeedTabsListWrapper: import("@emotion/styled").StyledComponent<{
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
27
|
+
as?: import("react").ElementType<any> | undefined;
|
28
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
29
|
+
declare const NotificationFeedPrevious: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
30
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
31
|
+
}, "className" | "width" | "height" | "padding" | "top" | "left" | "children" | "color" | "p" | "style" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "paddingBlock" | "paddingInline" | "classes" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
32
|
+
theme?: import("@emotion/react").Theme | undefined;
|
33
|
+
}, {}, {}>;
|
34
|
+
export { NotificationFeedTabsContainer, NotificationFeedTabsHeader, NotificationFeedTabsTitle, NotificationFeedTabsContent, NotificationFeedTabsListContainer, NotificationFeedTabsListWrapper, NotificationFeedPrevious, };
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import styled from "@emotion/styled";
|
2
|
+
import { Box, Typography } from "@mui/material";
|
3
|
+
const NotificationFeedTabsContainer = styled(Box)({
|
4
|
+
width: "384px",
|
5
|
+
});
|
6
|
+
const NotificationFeedTabsHeader = styled("div")({
|
7
|
+
display: "flex",
|
8
|
+
alignItems: "center",
|
9
|
+
justifyContent: "space-between",
|
10
|
+
padding: "8px 16px",
|
11
|
+
});
|
12
|
+
const NotificationFeedTabsTitle = styled(Typography)({
|
13
|
+
margin: 0,
|
14
|
+
fontSize: "18px",
|
15
|
+
fontWeight: 600,
|
16
|
+
});
|
17
|
+
const NotificationFeedTabsContent = styled("div")({
|
18
|
+
height: "100%",
|
19
|
+
});
|
20
|
+
const NotificationFeedTabsListContainer = styled("div")((props) => {
|
21
|
+
let defaultStyles = {
|
22
|
+
display: "flex",
|
23
|
+
height: "100%",
|
24
|
+
maxHeight: "auto",
|
25
|
+
overflowX: "hidden",
|
26
|
+
overflowY: "default",
|
27
|
+
overscrollBehaviorY: "default",
|
28
|
+
};
|
29
|
+
if (!props.isModal) {
|
30
|
+
defaultStyles = {
|
31
|
+
...defaultStyles,
|
32
|
+
maxHeight: "290px",
|
33
|
+
overflowY: "auto",
|
34
|
+
overscrollBehaviorY: "contain",
|
35
|
+
};
|
36
|
+
}
|
37
|
+
return defaultStyles;
|
38
|
+
});
|
39
|
+
const NotificationFeedTabsListWrapper = styled("div")(() => {
|
40
|
+
return {
|
41
|
+
display: "flex",
|
42
|
+
flexDirection: "column",
|
43
|
+
width: "100%",
|
44
|
+
};
|
45
|
+
});
|
46
|
+
const NotificationFeedPrevious = styled(Typography)(() => {
|
47
|
+
return {
|
48
|
+
fontSize: "16px",
|
49
|
+
fontWeight: 600,
|
50
|
+
paddingLeft: "16px",
|
51
|
+
marginBottom: 0,
|
52
|
+
marginTop: "8px",
|
53
|
+
};
|
54
|
+
});
|
55
|
+
export { NotificationFeedTabsContainer, NotificationFeedTabsHeader, NotificationFeedTabsTitle, NotificationFeedTabsContent, NotificationFeedTabsListContainer, NotificationFeedTabsListWrapper, NotificationFeedPrevious, };
|
56
|
+
//# sourceMappingURL=NotificationsFeedTabs.styled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.styled.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeedTabs.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG/C,MAAM,6BAA6B,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAChD,KAAK,EAAE,OAAO;CACf,CAAC,CAAA;AAEF,MAAM,0BAA0B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC/C,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,eAAe;IAC/B,OAAO,EAAE,UAAU;CACpB,CAAC,CAAA;AAEF,MAAM,yBAAyB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IACnD,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,GAAG;CAChB,CAAC,CAAA;AAEF,MAAM,2BAA2B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,EAAE,MAAM;CACf,CAAC,CAAA;AAEF,MAAM,iCAAiC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CACtD,KAAkD,EAClD,EAAE;IACF,IAAI,aAAa,GAAG;QAClB,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,MAAM;QACjB,SAAS,EAAE,QAAiB;QAC5B,SAAS,EAAE,SAOA;QACX,mBAAmB,EAAE,SAKV;KACZ,CAAA;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE;QAClB,aAAa,GAAG;YACd,GAAG,aAAa;YAChB,SAAS,EAAE,OAAO;YAClB,SAAS,EAAE,MAAM;YACjB,mBAAmB,EAAE,SAAS;SAC/B,CAAA;KACF;IAED,OAAO,aAAa,CAAA;AACtB,CAAC,CAAC,CAAA;AAEF,MAAM,+BAA+B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE;IACzD,OAAO;QACL,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,QAAQ;QACvB,KAAK,EAAE,MAAM;KACd,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE;IACvD,OAAO;QACL,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,GAAG;QACf,WAAW,EAAE,MAAM;QACnB,YAAY,EAAE,CAAC;QACf,SAAS,EAAE,KAAK;KACjB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,yBAAyB,EACzB,2BAA2B,EAC3B,iCAAiC,EACjC,+BAA+B,EAC/B,wBAAwB,GACzB,CAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { DCLNotificationProps, NotificationActiveTab, NotificationLocale } from "./types";
|
3
|
+
type NotificationsFeedTabsProps = {
|
4
|
+
unreadNotifications: DCLNotificationProps[];
|
5
|
+
previousNotifications: DCLNotificationProps[];
|
6
|
+
readNotifications: DCLNotificationProps[];
|
7
|
+
locale: NotificationLocale;
|
8
|
+
activeTab: NotificationActiveTab;
|
9
|
+
isModal?: boolean;
|
10
|
+
renderProfile?: (address: string) => JSX.Element | string | null;
|
11
|
+
onChangeTab: (e: React.MouseEvent<HTMLDivElement, MouseEvent>, newActiveTab: NotificationActiveTab) => void;
|
12
|
+
};
|
13
|
+
export { NotificationsFeedTabsProps };
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.types.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeedTabs.types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { Notifications } from "./Notifications";
|
2
|
+
export { NotificationsProps } from "./Notifications.types";
|
3
|
+
export { NotificationActiveTab, NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, RewardAssignedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, DCLNotificationProps, CommonNotificationProps, } from "./types";
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EACL,qBAAqB,GA4BtB,MAAM,SAAS,CAAA"}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { NFTCategory, NotificationType, Rarity } from "@dcl/schemas";
|
3
|
+
declare enum NotificationActiveTab {
|
4
|
+
NEWEST = "newest",
|
5
|
+
READ = "read"
|
6
|
+
}
|
7
|
+
type NotificationLocale = "en" | "es" | "zh";
|
8
|
+
type RawDecentralandNotification<T extends NotificationType, M> = {
|
9
|
+
id: string;
|
10
|
+
type: T;
|
11
|
+
address: string;
|
12
|
+
timestamp: number;
|
13
|
+
read: boolean;
|
14
|
+
created_at: string;
|
15
|
+
updated_at: string;
|
16
|
+
metadata: M;
|
17
|
+
};
|
18
|
+
type CommonNFTNotificationMetadataProps = {
|
19
|
+
link: string;
|
20
|
+
image: string;
|
21
|
+
rarity: Rarity;
|
22
|
+
nftName: string;
|
23
|
+
network: "ethereum" | "polygon";
|
24
|
+
category: NFTCategory;
|
25
|
+
};
|
26
|
+
type ItemSoldMetadataProps = CommonNFTNotificationMetadataProps & {
|
27
|
+
seller: string;
|
28
|
+
};
|
29
|
+
type RoyalitesEarnedMetadataProps = CommonNFTNotificationMetadataProps & {
|
30
|
+
royaltiesCollector: string;
|
31
|
+
royaltiesCut: string;
|
32
|
+
};
|
33
|
+
type BidAcceptedMetadataProps = CommonNFTNotificationMetadataProps & {
|
34
|
+
price: string;
|
35
|
+
};
|
36
|
+
type BidReceivedMetadataProps = CommonNFTNotificationMetadataProps & {
|
37
|
+
price: string;
|
38
|
+
};
|
39
|
+
type ItemSoldNotificationProps = RawDecentralandNotification<NotificationType.ITEM_SOLD, ItemSoldMetadataProps>;
|
40
|
+
type RoyalitesEarnedNotificationProps = RawDecentralandNotification<NotificationType.ROYALTIES_EARNED, RoyalitesEarnedMetadataProps>;
|
41
|
+
type BidAcceptedNotificationProps = RawDecentralandNotification<NotificationType.BID_ACCEPTED, BidAcceptedMetadataProps>;
|
42
|
+
type BidReceivedNotificationProps = RawDecentralandNotification<NotificationType.BID_RECEIVED, BidReceivedMetadataProps>;
|
43
|
+
type MarketplaceNotificationsProps = ItemSoldNotificationProps | RoyalitesEarnedNotificationProps | BidAcceptedNotificationProps | BidReceivedNotificationProps;
|
44
|
+
type CommonGovernanceNotificationMetadataProps = {
|
45
|
+
proposalId: string;
|
46
|
+
proposalTitle: string;
|
47
|
+
title: string;
|
48
|
+
description: string;
|
49
|
+
link: string;
|
50
|
+
};
|
51
|
+
type GovernanceAnnouncementNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_ANNOUNCEMENT, Omit<CommonGovernanceNotificationMetadataProps, "proposalId" | "proposalTitle">>;
|
52
|
+
type GovernanceProposalEnactedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_PROPOSAL_ENACTED, CommonGovernanceNotificationMetadataProps>;
|
53
|
+
type GovernanceCoauthorRequestedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_COAUTHOR_REQUESTED, CommonGovernanceNotificationMetadataProps>;
|
54
|
+
type GovernanceAuthoredProposalFinishedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED, CommonGovernanceNotificationMetadataProps>;
|
55
|
+
type GovernanceVotingEndedVoterNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_VOTING_ENDED_VOTER, CommonGovernanceNotificationMetadataProps>;
|
56
|
+
type GovernanceNewCommentOnProposalNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL, CommonGovernanceNotificationMetadataProps>;
|
57
|
+
type GovernanceNewCommentOnProjectUpdateNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE, CommonGovernanceNotificationMetadataProps>;
|
58
|
+
type GovernancePitchPassedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_PITCH_PASSED, CommonGovernanceNotificationMetadataProps>;
|
59
|
+
type GovernanceTenderPassedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_TENDER_PASSED, CommonGovernanceNotificationMetadataProps>;
|
60
|
+
type GovernanceNotificationsProps = GovernanceAnnouncementNotificationProps | GovernanceProposalEnactedNotificationProps | GovernanceCoauthorRequestedNotificationProps | GovernanceAuthoredProposalFinishedNotificationProps | GovernanceVotingEndedVoterNotificationProps | GovernanceNewCommentOnProposalNotificationProps | GovernanceNewCommentOnProjectUpdateNotificationProps | GovernancePitchPassedNotificationProps | GovernanceTenderPassedNotificationProps;
|
61
|
+
type CommonWorldsNotificationMetadataProps = {
|
62
|
+
title: string;
|
63
|
+
description: string;
|
64
|
+
url: string;
|
65
|
+
};
|
66
|
+
type WorldsNotificationMetadataWithWhenProps = CommonWorldsNotificationMetadataProps & {
|
67
|
+
when: number;
|
68
|
+
};
|
69
|
+
type WorldsMissingResourcesNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_MISSING_RESOURCES, WorldsNotificationMetadataWithWhenProps>;
|
70
|
+
type WorldsAccessRestrictedNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_ACCESS_RESTRICTED, WorldsNotificationMetadataWithWhenProps>;
|
71
|
+
type WorldsAccessRestoredNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_ACCESS_RESTORED, CommonWorldsNotificationMetadataProps>;
|
72
|
+
type WorldPermissionMetadataProps = {
|
73
|
+
title: string;
|
74
|
+
description: string;
|
75
|
+
world: string;
|
76
|
+
permissions: string[];
|
77
|
+
};
|
78
|
+
type WorldsPermissionGrantedNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_PERMISSION_GRANTED, WorldPermissionMetadataProps>;
|
79
|
+
type WorldsPermissionRevokedNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_PERMISSION_REVOKED, WorldPermissionMetadataProps>;
|
80
|
+
type WorldsNotificationsProps = WorldsMissingResourcesNotificationProps | WorldsAccessRestrictedNotificationProps | WorldsAccessRestoredNotificationProps | WorldsPermissionGrantedNotificationProps | WorldsPermissionRevokedNotificationProps;
|
81
|
+
type LandNotificationMetadataProps = {
|
82
|
+
description: string;
|
83
|
+
link: string;
|
84
|
+
title: string;
|
85
|
+
contract: string;
|
86
|
+
lessor: string;
|
87
|
+
tenant: string;
|
88
|
+
operator: string;
|
89
|
+
startedAt: string;
|
90
|
+
endedAt: string;
|
91
|
+
tokenId: string;
|
92
|
+
land: string;
|
93
|
+
};
|
94
|
+
type LandRentedNotificationProps = RawDecentralandNotification<NotificationType.LAND_RENTED, LandNotificationMetadataProps>;
|
95
|
+
type LandRentalEndedNotificationProps = RawDecentralandNotification<NotificationType.LAND_RENTAL_ENDED, LandNotificationMetadataProps>;
|
96
|
+
type LandNotificationsProps = LandRentedNotificationProps | LandRentalEndedNotificationProps;
|
97
|
+
type RewardAssignedNotificationProps = RawDecentralandNotification<NotificationType.REWARD_ASSIGNED, {
|
98
|
+
tokenName: string;
|
99
|
+
tokenImage: string;
|
100
|
+
tokenRarity: Rarity;
|
101
|
+
}>;
|
102
|
+
type CommonEventsMetadataProps = {
|
103
|
+
image: string;
|
104
|
+
link: string;
|
105
|
+
name: string;
|
106
|
+
};
|
107
|
+
type EventsStartsSoonNotificationProps = RawDecentralandNotification<NotificationType.EVENTS_STARTS_SOON, CommonEventsMetadataProps & {
|
108
|
+
startsAt: string;
|
109
|
+
endsAt: string;
|
110
|
+
}>;
|
111
|
+
type EventsStartedNotificationProps = RawDecentralandNotification<NotificationType.EVENTS_STARTED, CommonEventsMetadataProps>;
|
112
|
+
type EventsNotificationsProps = EventsStartsSoonNotificationProps | EventsStartedNotificationProps;
|
113
|
+
type DCLNotificationProps = MarketplaceNotificationsProps | GovernanceNotificationsProps | WorldsNotificationsProps | LandNotificationsProps | RewardAssignedNotificationProps | EventsNotificationsProps;
|
114
|
+
type CommonNotificationProps<N> = {
|
115
|
+
notification: N;
|
116
|
+
locale: NotificationLocale;
|
117
|
+
renderProfile?: (address: string) => JSX.Element | string | null;
|
118
|
+
};
|
119
|
+
export { NotificationActiveTab, NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, RewardAssignedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, DCLNotificationProps, CommonNotificationProps, };
|
@@ -0,0 +1,7 @@
|
|
1
|
+
var NotificationActiveTab;
|
2
|
+
(function (NotificationActiveTab) {
|
3
|
+
NotificationActiveTab["NEWEST"] = "newest";
|
4
|
+
NotificationActiveTab["READ"] = "read";
|
5
|
+
})(NotificationActiveTab || (NotificationActiveTab = {}));
|
6
|
+
export { NotificationActiveTab, };
|
7
|
+
//# sourceMappingURL=types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/Notifications/types.ts"],"names":[],"mappings":"AAEA,IAAK,qBAGJ;AAHD,WAAK,qBAAqB;IACxB,0CAAiB,CAAA;IACjB,sCAAa,CAAA;AACf,CAAC,EAHI,qBAAqB,KAArB,qBAAqB,QAGzB;AAwQD,OAAO,EACL,qBAAqB,GA4BtB,CAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { FunctionComponent } from "react";
|
2
|
+
import { NotificationType, Rarity } from "@dcl/schemas";
|
3
|
+
import { CommonNotificationProps, DCLNotificationProps } from "./types";
|
4
|
+
declare const MAXIMUM_FRACTION_DIGITS = 2;
|
5
|
+
declare function formatMana(mana: string, maximumFractionDigits?: number): string;
|
6
|
+
declare function getBGColorByRarity(rarity: Rarity): string;
|
7
|
+
type DecentralandNotificationComponentByType<T> = {
|
8
|
+
[k in NotificationType]: T extends DCLNotificationProps ? FunctionComponent<CommonNotificationProps<any>> : never;
|
9
|
+
};
|
10
|
+
declare const NotificationComponentByType: DecentralandNotificationComponentByType<DCLNotificationProps>;
|
11
|
+
declare const CURRENT_AVAILABLE_NOTIFICATIONS: NotificationType[];
|
12
|
+
declare const replaceWithValues: (str: string, values: Record<string, string | JSX.Element>) => JSX.Element | string;
|
13
|
+
export { MAXIMUM_FRACTION_DIGITS, formatMana, getBGColorByRarity, DecentralandNotificationComponentByType, NotificationComponentByType, CURRENT_AVAILABLE_NOTIFICATIONS, replaceWithValues, };
|