decentraland-ui2 1.1.6 → 1.1.7-20782245281.commit-0aa43e4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Icon/Notifications/TipIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/TipIcon.js +8 -0
- package/dist/components/Icon/Notifications/TipIcon.js.map +1 -0
- package/dist/components/Icon/index.d.ts +2 -1
- package/dist/components/Icon/index.js +2 -1
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Notifications/{NotificationItem.js → NotificationItem/NotificationItem.js} +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItem.js.map +1 -0
- package/dist/components/Notifications/{NotificationItem.styled.d.ts → NotificationItem/NotificationItem.styled.d.ts} +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js +61 -0
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js.map +1 -0
- package/dist/components/Notifications/{NotificationItem.types.d.ts → NotificationItem/NotificationItem.types.d.ts} +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItem.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItem/NotificationItemText.d.ts +18 -0
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js +11 -0
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js.map +1 -0
- package/dist/components/Notifications/NotificationItem/index.d.ts +4 -0
- package/dist/components/Notifications/NotificationItem/index.js +3 -0
- package/dist/components/Notifications/NotificationItem/index.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.styled.js +26 -0
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationItemImage/index.js +2 -0
- package/dist/components/Notifications/NotificationItemImage/index.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.styled.js +9 -0
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationItemNFTLink/index.js +2 -0
- package/dist/components/Notifications/NotificationItemNFTLink/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.d.ts +85 -0
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.js +86 -0
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/{types.d.ts → Credits.types.d.ts} +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js +4 -6
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js +6 -7
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js +6 -7
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.js +8 -9
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/index.d.ts +6 -0
- package/dist/components/Notifications/NotificationTypes/Credits/index.js +7 -0
- package/dist/components/Notifications/NotificationTypes/Credits/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +10 -8
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/Events.i18n.d.ts +65 -0
- package/dist/components/Notifications/NotificationTypes/Events/{EventStartsSoonNotification.i18n.js → Events.i18n.js} +26 -3
- package/dist/components/Notifications/NotificationTypes/Events/Events.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/{EventStartedNotification.d.ts → EventsStartedNotification.d.ts} +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.js +12 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/{EventStartsSoonNotification.d.ts → EventsStartsSoonNotification.d.ts} +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationTypes/Events/index.js +3 -0
- package/dist/components/Notifications/NotificationTypes/Events/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.d.ts +206 -0
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.js +207 -0
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +3 -4
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +6 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +6 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/index.d.ts +9 -0
- package/dist/components/Notifications/NotificationTypes/Governance/index.js +10 -0
- package/dist/components/Notifications/NotificationTypes/Governance/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/Land.i18n.d.ts +47 -0
- package/dist/components/Notifications/NotificationTypes/Land/Land.i18n.js +48 -0
- package/dist/components/Notifications/NotificationTypes/Land/Land.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationTypes/Land/index.js +3 -0
- package/dist/components/Notifications/NotificationTypes/Land/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +6 -7
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +6 -7
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/Marketplace.i18n.d.ts +84 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/Marketplace.i18n.js +76 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/Marketplace.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +6 -7
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.js +5 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.d.ts +29 -0
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.js +30 -0
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.types.d.ts +9 -0
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationTypes/Referral/index.js +3 -0
- package/dist/components/Notifications/NotificationTypes/Referral/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js +3 -4
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.d.ts +139 -0
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.js +140 -0
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.types.d.ts +17 -0
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js +3 -4
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/index.d.ts +6 -0
- package/dist/components/Notifications/NotificationTypes/Reward/index.js +7 -0
- package/dist/components/Notifications/NotificationTypes/Reward/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.d.ts +71 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.js +72 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.types.d.ts +9 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.types.js +2 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js +5 -6
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/index.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/index.js +6 -0
- package/dist/components/Notifications/NotificationTypes/Streaming/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.js +6 -7
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.d.ts +29 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.js +30 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/index.js +3 -0
- package/dist/components/Notifications/NotificationTypes/Transfer/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.d.ts +110 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.js +111 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +4 -5
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +10 -9
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +8 -7
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/index.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/index.js +6 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/index.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/index.d.ts +11 -42
- package/dist/components/Notifications/NotificationTypes/index.js +11 -42
- package/dist/components/Notifications/NotificationTypes/index.js.map +1 -1
- package/dist/components/Notifications/Notifications.stories.d.ts +1 -1
- package/dist/components/Notifications/Notifications.stories.js +4 -4
- package/dist/components/Notifications/Notifications.stories.js.map +1 -1
- package/dist/components/Notifications/Notifications.styled.d.ts +1 -13
- package/dist/components/Notifications/Notifications.styled.js +1 -70
- package/dist/components/Notifications/Notifications.styled.js.map +1 -1
- package/dist/components/Notifications/Notifications.types.d.ts +172 -14
- package/dist/components/Notifications/Notifications.types.js +6 -1
- package/dist/components/Notifications/Notifications.types.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.i18n.js.map +1 -0
- package/dist/components/Notifications/{NotificationsFeed.js → NotificationsFeed/NotificationsFeed.js} +3 -3
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.js.map +1 -0
- package/dist/components/Notifications/{NotificationsFeed.styled.d.ts → NotificationsFeed/NotificationsFeed.styled.d.ts} +2 -2
- package/dist/components/Notifications/{NotificationsFeed.styled.js → NotificationsFeed/NotificationsFeed.styled.js} +19 -18
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.js.map +1 -0
- package/dist/components/Notifications/{NotificationsFeed.types.d.ts → NotificationsFeed/NotificationsFeed.types.d.ts} +2 -2
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationsFeed/index.js +2 -0
- package/dist/components/Notifications/NotificationsFeed/index.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.i18n.js.map +1 -0
- package/dist/components/Notifications/{NotificationsFeedTabs.js → NotificationsFeedTabs/NotificationsFeedTabs.js} +5 -5
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.js.map +1 -0
- package/dist/components/Notifications/{NotificationsFeedTabs.styled.d.ts → NotificationsFeedTabs/NotificationsFeedTabs.styled.d.ts} +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js +56 -0
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js.map +1 -0
- package/dist/components/Notifications/{NotificationsFeedTabs.types.d.ts → NotificationsFeedTabs/NotificationsFeedTabs.types.d.ts} +2 -2
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationsFeedTabs/index.js +2 -0
- package/dist/components/Notifications/NotificationsFeedTabs/index.js.map +1 -0
- package/dist/components/Notifications/{Notifications.js → NotificationsToggle/Notifications.js} +2 -2
- package/dist/components/Notifications/NotificationsToggle/Notifications.js.map +1 -0
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.d.ts +13 -0
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.js +66 -0
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsToggle/Notifications.types.d.ts +17 -0
- package/dist/components/Notifications/NotificationsToggle/Notifications.types.js +2 -0
- package/dist/components/Notifications/NotificationsToggle/Notifications.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsToggle/index.d.ts +2 -0
- package/dist/components/Notifications/NotificationsToggle/index.js +2 -0
- package/dist/components/Notifications/NotificationsToggle/index.js.map +1 -0
- package/dist/components/Notifications/index.d.ts +4 -4
- package/dist/components/Notifications/index.js +2 -2
- package/dist/components/Notifications/index.js.map +1 -1
- package/dist/components/Notifications/utils.d.ts +1 -1
- package/dist/components/Notifications/utils.js +2 -1
- package/dist/components/Notifications/utils.js.map +1 -1
- package/dist/components/Profile/Profile.js +6 -3
- package/dist/components/Profile/Profile.js.map +1 -1
- package/dist/components/Profile/Profile.stories.d.ts +2 -1
- package/dist/components/Profile/Profile.stories.js +15 -1
- package/dist/components/Profile/Profile.stories.js.map +1 -1
- package/dist/components/Profile/Profile.styled.d.ts +21 -1
- package/dist/components/Profile/Profile.styled.js +29 -1
- package/dist/components/Profile/Profile.styled.js.map +1 -1
- package/dist/components/Profile/Profile.types.d.ts +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +1 -1
- package/dist/data/notifications.d.ts +5 -4
- package/dist/data/notifications.js +16 -2
- package/dist/data/notifications.js.map +1 -1
- package/package.json +3 -3
- package/dist/components/Notifications/NotificationItem.js.map +0 -1
- package/dist/components/Notifications/NotificationItem.styled.js +0 -63
- package/dist/components/Notifications/NotificationItem.styled.js.map +0 -1
- package/dist/components/Notifications/NotificationItem.types.js.map +0 -1
- package/dist/components/Notifications/NotificationItemImage.js.map +0 -1
- package/dist/components/Notifications/NotificationItemImage.styled.js +0 -29
- package/dist/components/Notifications/NotificationItemImage.styled.js.map +0 -1
- package/dist/components/Notifications/NotificationItemImage.types.js.map +0 -1
- package/dist/components/Notifications/NotificationItemNFTLink.js.map +0 -1
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js +0 -11
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js.map +0 -1
- package/dist/components/Notifications/NotificationItemNFTLink.types.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Credits/types.js +0 -2
- package/dist/components/Notifications/NotificationTypes/Credits/types.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js +0 -13
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.d.ts +0 -42
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js +0 -14
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.d.ts +0 -33
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js +0 -34
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.d.ts +0 -27
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js +0 -28
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.d.ts +0 -33
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js +0 -34
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js +0 -7
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Referral/types.d.ts +0 -10
- package/dist/components/Notifications/NotificationTypes/Referral/types.js +0 -2
- package/dist/components/Notifications/NotificationTypes/Referral/types.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Reward/types.d.ts +0 -17
- package/dist/components/Notifications/NotificationTypes/Reward/types.js +0 -2
- package/dist/components/Notifications/NotificationTypes/Reward/types.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/types.d.ts +0 -10
- package/dist/components/Notifications/NotificationTypes/Streaming/types.js +0 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/types.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.d.ts +0 -15
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js +0 -16
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.d.ts +0 -27
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js +0 -28
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.d.ts +0 -24
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js +0 -25
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js.map +0 -1
- package/dist/components/Notifications/Notifications.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeed.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeed.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeed.styled.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeed.types.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeedTabs.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js +0 -58
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js.map +0 -1
- package/dist/components/Notifications/NotificationsFeedTabs.types.js.map +0 -1
- package/dist/components/Notifications/types.d.ts +0 -170
- package/dist/components/Notifications/types.js +0 -7
- package/dist/components/Notifications/types.js.map +0 -1
- /package/dist/components/Notifications/{NotificationItem.d.ts → NotificationItem/NotificationItem.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItem.types.js → NotificationItem/NotificationItem.types.js} +0 -0
- /package/dist/components/Notifications/{NotificationItemImage.d.ts → NotificationItemImage/NotificationItemImage.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItemImage.js → NotificationItemImage/NotificationItemImage.js} +0 -0
- /package/dist/components/Notifications/{NotificationItemImage.styled.d.ts → NotificationItemImage/NotificationItemImage.styled.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItemImage.types.d.ts → NotificationItemImage/NotificationItemImage.types.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItemImage.types.js → NotificationItemImage/NotificationItemImage.types.js} +0 -0
- /package/dist/components/Notifications/{NotificationItemNFTLink.d.ts → NotificationItemNFTLink/NotificationItemNFTLink.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItemNFTLink.js → NotificationItemNFTLink/NotificationItemNFTLink.js} +0 -0
- /package/dist/components/Notifications/{NotificationItemNFTLink.styled.d.ts → NotificationItemNFTLink/NotificationItemNFTLink.styled.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItemNFTLink.types.d.ts → NotificationItemNFTLink/NotificationItemNFTLink.types.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationItemNFTLink.types.js → NotificationItemNFTLink/NotificationItemNFTLink.types.js} +0 -0
- /package/dist/components/Notifications/{NotificationsFeed.d.ts → NotificationsFeed/NotificationsFeed.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationsFeed.i18n.d.ts → NotificationsFeed/NotificationsFeed.i18n.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationsFeed.i18n.js → NotificationsFeed/NotificationsFeed.i18n.js} +0 -0
- /package/dist/components/Notifications/{NotificationsFeed.types.js → NotificationsFeed/NotificationsFeed.types.js} +0 -0
- /package/dist/components/Notifications/{NotificationsFeedTabs.d.ts → NotificationsFeedTabs/NotificationsFeedTabs.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationsFeedTabs.i18n.d.ts → NotificationsFeedTabs/NotificationsFeedTabs.i18n.d.ts} +0 -0
- /package/dist/components/Notifications/{NotificationsFeedTabs.i18n.js → NotificationsFeedTabs/NotificationsFeedTabs.i18n.js} +0 -0
- /package/dist/components/Notifications/{NotificationsFeedTabs.types.js → NotificationsFeedTabs/NotificationsFeedTabs.types.js} +0 -0
- /package/dist/components/Notifications/{Notifications.d.ts → NotificationsToggle/Notifications.d.ts} +0 -0
|
@@ -1,17 +1,175 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { NFTCategory, NotificationType, Rarity } from "@dcl/schemas";
|
|
2
|
+
import { CreditsClaimReminderNotificationProps, CreditsCompleteYourWeeklyGoalsNotificationProps, CreditsDoNotMissOutNotificationProps, CreditsExpireIn24HrsReminderNotificationProps, CreditsExpireSoonReminderNotificationProps, CreditsNotificationsProps } from "./NotificationTypes/Credits/Credits.types";
|
|
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 RewardsNotificationProps = RewardAssignedNotificationProps | RewardInProgressNotificationProps | RewardDelayedNotificationProps | CampaignOutOfFundsNotificationProps | CampaignOutOfStockNotificationProps | CampaignGasPriceHigherThanExpectedNotificationProps;
|
|
45
|
+
type CommonGovernanceNotificationMetadataProps = {
|
|
46
|
+
proposalId: string;
|
|
47
|
+
proposalTitle: string;
|
|
48
|
+
title: string;
|
|
49
|
+
description: string;
|
|
50
|
+
link: string;
|
|
51
|
+
};
|
|
52
|
+
type GovernanceAnnouncementNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_ANNOUNCEMENT, Omit<CommonGovernanceNotificationMetadataProps, "proposalId" | "proposalTitle">>;
|
|
53
|
+
type GovernanceProposalEnactedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_PROPOSAL_ENACTED, CommonGovernanceNotificationMetadataProps>;
|
|
54
|
+
type GovernanceCoauthorRequestedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_COAUTHOR_REQUESTED, CommonGovernanceNotificationMetadataProps>;
|
|
55
|
+
type GovernanceAuthoredProposalFinishedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED, CommonGovernanceNotificationMetadataProps>;
|
|
56
|
+
type GovernanceVotingEndedVoterNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_VOTING_ENDED_VOTER, CommonGovernanceNotificationMetadataProps>;
|
|
57
|
+
type GovernanceNewCommentOnProposalNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROPOSAL, CommonGovernanceNotificationMetadataProps>;
|
|
58
|
+
type GovernanceNewCommentOnProjectUpdateNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_NEW_COMMENT_ON_PROJECT_UPDATE, CommonGovernanceNotificationMetadataProps>;
|
|
59
|
+
type GovernancePitchPassedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_PITCH_PASSED, CommonGovernanceNotificationMetadataProps>;
|
|
60
|
+
type GovernanceTenderPassedNotificationProps = RawDecentralandNotification<NotificationType.GOVERNANCE_TENDER_PASSED, CommonGovernanceNotificationMetadataProps>;
|
|
61
|
+
type GovernanceVotedOnBehalfNotification = RawDecentralandNotification<NotificationType.GOVERNANCE_VOTED_ON_BEHALF, CommonGovernanceNotificationMetadataProps>;
|
|
62
|
+
type GovernanceWhaleVoteNotification = RawDecentralandNotification<NotificationType.GOVERNANCE_WHALE_VOTE, CommonGovernanceNotificationMetadataProps>;
|
|
63
|
+
type GovernanceCliffEndedNotification = RawDecentralandNotification<NotificationType.GOVERNANCE_CLIFF_ENDED, CommonGovernanceNotificationMetadataProps>;
|
|
64
|
+
type GovernanceNotificationsProps = GovernanceAnnouncementNotificationProps | GovernanceProposalEnactedNotificationProps | GovernanceCoauthorRequestedNotificationProps | GovernanceAuthoredProposalFinishedNotificationProps | GovernanceVotingEndedVoterNotificationProps | GovernanceNewCommentOnProposalNotificationProps | GovernanceNewCommentOnProjectUpdateNotificationProps | GovernancePitchPassedNotificationProps | GovernanceTenderPassedNotificationProps | GovernanceVotedOnBehalfNotification | GovernanceWhaleVoteNotification | GovernanceCliffEndedNotification;
|
|
65
|
+
type CommonWorldsNotificationMetadataProps = {
|
|
66
|
+
title: string;
|
|
67
|
+
description: string;
|
|
68
|
+
url: string;
|
|
69
|
+
};
|
|
70
|
+
type WorldsNotificationMetadataWithWhenProps = CommonWorldsNotificationMetadataProps & {
|
|
71
|
+
when: number;
|
|
72
|
+
};
|
|
73
|
+
type WorldsMissingResourcesNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_MISSING_RESOURCES, WorldsNotificationMetadataWithWhenProps>;
|
|
74
|
+
type WorldsAccessRestrictedNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_ACCESS_RESTRICTED, WorldsNotificationMetadataWithWhenProps>;
|
|
75
|
+
type WorldsAccessRestoredNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_ACCESS_RESTORED, CommonWorldsNotificationMetadataProps>;
|
|
76
|
+
type WorldPermissionMetadataProps = {
|
|
77
|
+
title: string;
|
|
78
|
+
description: string;
|
|
79
|
+
world: string;
|
|
80
|
+
permissions: string[];
|
|
81
|
+
};
|
|
82
|
+
type WorldsPermissionGrantedNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_PERMISSION_GRANTED, WorldPermissionMetadataProps>;
|
|
83
|
+
type WorldsPermissionRevokedNotificationProps = RawDecentralandNotification<NotificationType.WORLDS_PERMISSION_REVOKED, WorldPermissionMetadataProps>;
|
|
84
|
+
type WorldsNotificationsProps = WorldsMissingResourcesNotificationProps | WorldsAccessRestrictedNotificationProps | WorldsAccessRestoredNotificationProps | WorldsPermissionGrantedNotificationProps | WorldsPermissionRevokedNotificationProps;
|
|
85
|
+
type LandNotificationMetadataProps = {
|
|
86
|
+
description: string;
|
|
87
|
+
link: string;
|
|
88
|
+
title: string;
|
|
89
|
+
contract: string;
|
|
90
|
+
lessor: string;
|
|
91
|
+
tenant: string;
|
|
92
|
+
operator: string;
|
|
93
|
+
startedAt: string;
|
|
94
|
+
endedAt: string;
|
|
95
|
+
tokenId: string;
|
|
96
|
+
land: string;
|
|
97
|
+
};
|
|
98
|
+
type LandRentedNotificationProps = RawDecentralandNotification<NotificationType.LAND_RENTED, LandNotificationMetadataProps>;
|
|
99
|
+
type LandRentalEndedNotificationProps = RawDecentralandNotification<NotificationType.LAND_RENTAL_ENDED, LandNotificationMetadataProps>;
|
|
100
|
+
type LandNotificationsProps = LandRentedNotificationProps | LandRentalEndedNotificationProps;
|
|
101
|
+
type TransferNotificationMetadataProps = {
|
|
102
|
+
senderAddress: string;
|
|
103
|
+
};
|
|
104
|
+
type TipNotificationMetadataProps = {
|
|
105
|
+
senderAddress: string;
|
|
106
|
+
manaAmount: string;
|
|
107
|
+
};
|
|
108
|
+
type GiftNotificationProps = RawDecentralandNotification<NotificationType.TRANSFER_RECEIVED, TransferNotificationMetadataProps>;
|
|
109
|
+
type TipNotificationProps = RawDecentralandNotification<NotificationType.TIP_RECEIVED, TipNotificationMetadataProps>;
|
|
110
|
+
type TransferNotificationsProps = GiftNotificationProps | TipNotificationProps;
|
|
111
|
+
type CommonRewardsMetadata = {
|
|
112
|
+
tokenName: string;
|
|
113
|
+
tokenImage: string;
|
|
114
|
+
tokenRarity: Rarity;
|
|
115
|
+
};
|
|
116
|
+
type CommonCampaignMetadata = {
|
|
117
|
+
link?: string;
|
|
118
|
+
campaignName: string;
|
|
119
|
+
};
|
|
120
|
+
type RewardAssignedNotificationProps = RawDecentralandNotification<NotificationType.REWARD_ASSIGNED, CommonRewardsMetadata>;
|
|
121
|
+
type RewardInProgressNotificationProps = RawDecentralandNotification<NotificationType.REWARD_IN_PROGRESS, CommonRewardsMetadata>;
|
|
122
|
+
type RewardDelayedNotificationProps = RawDecentralandNotification<NotificationType.REWARD_DELAYED, CommonRewardsMetadata>;
|
|
123
|
+
type CampaignOutOfStockNotificationProps = RawDecentralandNotification<NotificationType.REWARD_CAMPAIGN_OUT_OF_STOCK, CommonCampaignMetadata>;
|
|
124
|
+
type CampaignOutOfFundsNotificationProps = RawDecentralandNotification<NotificationType.REWARD_CAMPAIGN_OUT_OF_FUNDS, CommonCampaignMetadata>;
|
|
125
|
+
type CampaignGasPriceHigherThanExpectedNotificationProps = RawDecentralandNotification<NotificationType.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED, CommonCampaignMetadata>;
|
|
126
|
+
type CommonEventsMetadataProps = {
|
|
127
|
+
image: string;
|
|
128
|
+
link: string;
|
|
129
|
+
name: string;
|
|
130
|
+
};
|
|
131
|
+
type EventsStartsSoonNotificationProps = RawDecentralandNotification<NotificationType.EVENTS_STARTS_SOON, CommonEventsMetadataProps & {
|
|
132
|
+
startsAt: string;
|
|
133
|
+
endsAt: string;
|
|
134
|
+
}>;
|
|
135
|
+
type EventsStartedNotificationProps = RawDecentralandNotification<NotificationType.EVENTS_STARTED, CommonEventsMetadataProps>;
|
|
136
|
+
type EventsNotificationsProps = EventsStartsSoonNotificationProps | EventsStartedNotificationProps;
|
|
137
|
+
type CommonStreamingNotificationMetadataProps = {
|
|
138
|
+
title: string;
|
|
139
|
+
description: string;
|
|
140
|
+
position: string;
|
|
141
|
+
worldName: string | null;
|
|
142
|
+
isWorld: boolean;
|
|
143
|
+
url: string;
|
|
144
|
+
address: string;
|
|
145
|
+
};
|
|
146
|
+
type StreamingKeyResetNotificationProps = RawDecentralandNotification<NotificationType.STREAMING_KEY_RESET, CommonStreamingNotificationMetadataProps>;
|
|
147
|
+
type StreamingKeyRevokeNotificationProps = RawDecentralandNotification<NotificationType.STREAMING_KEY_REVOKE, CommonStreamingNotificationMetadataProps>;
|
|
148
|
+
type StreamingKeyExpiredNotificationProps = RawDecentralandNotification<NotificationType.STREAMING_KEY_EXPIRED, CommonStreamingNotificationMetadataProps>;
|
|
149
|
+
type StreamingTimeExceededNotificationProps = RawDecentralandNotification<NotificationType.STREAMING_TIME_EXCEEDED, CommonStreamingNotificationMetadataProps>;
|
|
150
|
+
type StreamingPlaceUpdatedNotificationProps = RawDecentralandNotification<NotificationType.STREAMING_PLACE_UPDATED, CommonStreamingNotificationMetadataProps>;
|
|
151
|
+
type StreamingNotificationsProps = StreamingKeyResetNotificationProps | StreamingKeyRevokeNotificationProps | StreamingKeyExpiredNotificationProps | StreamingTimeExceededNotificationProps | StreamingPlaceUpdatedNotificationProps;
|
|
152
|
+
type ReferralNotificationMetadataProps = {
|
|
153
|
+
title: string;
|
|
154
|
+
description: string;
|
|
155
|
+
address: string;
|
|
156
|
+
tier: number;
|
|
157
|
+
url: string;
|
|
158
|
+
image: string;
|
|
159
|
+
invitedUserAddress: string;
|
|
160
|
+
invitedUsers: number;
|
|
161
|
+
};
|
|
162
|
+
type NewTierReachedNotificationMetadata = ReferralNotificationMetadataProps & {
|
|
163
|
+
rarity: Rarity;
|
|
164
|
+
};
|
|
165
|
+
type ReferralNewTierReachedNotificationProps = RawDecentralandNotification<NotificationType.REFERRAL_NEW_TIER_REACHED, NewTierReachedNotificationMetadata>;
|
|
166
|
+
type ReferralInvitedUsersAcceptedNotificationProps = RawDecentralandNotification<NotificationType.REFERRAL_INVITED_USERS_ACCEPTED, ReferralNotificationMetadataProps>;
|
|
167
|
+
type ReferralNotificationsProps = ReferralNewTierReachedNotificationProps | ReferralInvitedUsersAcceptedNotificationProps;
|
|
168
|
+
type DCLNotificationProps = MarketplaceNotificationsProps | GovernanceNotificationsProps | WorldsNotificationsProps | LandNotificationsProps | TransferNotificationsProps | RewardsNotificationProps | EventsNotificationsProps | StreamingNotificationsProps | CreditsNotificationsProps | ReferralNotificationsProps;
|
|
169
|
+
type CommonNotificationProps<N> = {
|
|
170
|
+
notification: N;
|
|
8
171
|
locale: NotificationLocale;
|
|
9
|
-
isOnboarding: boolean;
|
|
10
|
-
activeTab: NotificationActiveTab;
|
|
11
172
|
renderProfile?: (address: string) => JSX.Element | string | null;
|
|
12
|
-
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
13
|
-
onChangeTab: (e: React.MouseEvent<HTMLDivElement, MouseEvent>, newActiveTab: NotificationActiveTab) => void;
|
|
14
|
-
onBegin: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
15
|
-
onClose: (event: React.MouseEvent<HTMLElement> | MouseEvent, data?: ModalProps) => void;
|
|
16
173
|
};
|
|
17
|
-
export
|
|
174
|
+
export { NotificationActiveTab };
|
|
175
|
+
export type { NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, GiftNotificationProps, TipNotificationProps, TransferNotificationsProps, RewardAssignedNotificationProps, RewardInProgressNotificationProps, RewardDelayedNotificationProps, CampaignOutOfStockNotificationProps, CampaignOutOfFundsNotificationProps, CampaignGasPriceHigherThanExpectedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, StreamingKeyResetNotificationProps, StreamingKeyRevokeNotificationProps, StreamingKeyExpiredNotificationProps, StreamingTimeExceededNotificationProps, StreamingPlaceUpdatedNotificationProps, StreamingNotificationsProps, DCLNotificationProps, CommonNotificationProps, CreditsNotificationsProps, CreditsCompleteYourWeeklyGoalsNotificationProps, CreditsDoNotMissOutNotificationProps, CreditsClaimReminderNotificationProps, CreditsExpireSoonReminderNotificationProps, CreditsExpireIn24HrsReminderNotificationProps, ReferralNewTierReachedNotificationProps, ReferralInvitedUsersAcceptedNotificationProps, };
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
var NotificationActiveTab;
|
|
2
|
+
(function (NotificationActiveTab) {
|
|
3
|
+
NotificationActiveTab["NEWEST"] = "newest";
|
|
4
|
+
NotificationActiveTab["READ"] = "read";
|
|
5
|
+
})(NotificationActiveTab || (NotificationActiveTab = {}));
|
|
6
|
+
export { NotificationActiveTab };
|
|
2
7
|
//# sourceMappingURL=Notifications.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notifications.types.js","sourceRoot":"","sources":["../../../src/components/Notifications/Notifications.types.
|
|
1
|
+
{"version":3,"file":"Notifications.types.js","sourceRoot":"","sources":["../../../src/components/Notifications/Notifications.types.ts"],"names":[],"mappings":"AAUA,IAAK,qBAGJ;AAHD,WAAK,qBAAqB;IACxB,0CAAiB,CAAA;IACjB,sCAAa,CAAA;AACf,CAAC,EAHI,qBAAqB,KAArB,qBAAqB,QAGzB;AA0aD,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeed.i18n.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeed/NotificationsFeed.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG;IACX,EAAE,EAAE;QACF,UAAU,EAAE;YACV,KAAK,EAAE,uCAAuC;YAC9C,WAAW,EACT,gHAAgH;YAClH,MAAM,EAAE,aAAa;SACtB;KACF;IACD,EAAE,EAAE;QACF,UAAU,EAAE;YACV,KAAK,EAAE,oCAAoC;YAC3C,WAAW,EACT,kHAAkH;YACpH,MAAM,EAAE,WAAW;SACpB;KACF;IACD,EAAE,EAAE;QACF,UAAU,EAAE;YACV,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EACT,mCAAmC;YACrC,MAAM,EAAE,OAAO;SAChB;KACF;CACF,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -4,9 +4,9 @@ import CircleNotificationsRoundedIcon from "@mui/icons-material/CircleNotificati
|
|
|
4
4
|
import { differenceInHours } from "date-fns";
|
|
5
5
|
import { Button, CircularProgress } from "@mui/material";
|
|
6
6
|
import { i18n } from "./NotificationsFeed.i18n";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { Mobile, NotMobile } from "../../Media";
|
|
8
|
+
import { NotificationFeedTabs } from "../NotificationsFeedTabs";
|
|
9
|
+
import { i18n as i18nTabs } from "../NotificationsFeedTabs/NotificationsFeedTabs.i18n";
|
|
10
10
|
import { EmptyViewDescription, EmptyViewTitle, FeedContainer, LoadingContainer, NotificationFeedContainer, NotificationFeedModal, NotificationFeedModalContainer, OnboardingWrapper, } from "./NotificationsFeed.styled";
|
|
11
11
|
const Onboarding = ({ locale, onBegin, }) => (_jsx(FeedContainer, { children: _jsxs(OnboardingWrapper, { children: [_jsx(CircleNotificationsRoundedIcon, { sx: { fontSize: 120 } }), _jsx(EmptyViewTitle, { color: "text.primary", children: i18n[locale].onboarding.title }), _jsx(EmptyViewDescription, { children: i18n[locale].onboarding.description }), _jsx(Button, { variant: "outlined", size: "small", color: "inherit", onClick: onBegin, children: i18n[locale].onboarding.button })] }) }));
|
|
12
12
|
const NotificationsFeed = React.memo((props) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeed.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeed/NotificationsFeed.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,8BAA8B,MAAM,gDAAgD,CAAA;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,eAAe,CA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AC,YAAY,CAAC,CAAC,CAAC,CACjB,KAAC,UAAU,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CACjD,CAAC,CAAC,CAAC,CACF,KAAC,oBAAoB,IACnB,MAAM,EAAE,MAAM,EACd,qBAAqB,EAAE,qBAAqB,EAC5C,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,EACxC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,GAC5B,CACH,GACyB,GAClB,IACX,CACJ,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -25,7 +25,7 @@ declare const LoadingContainer: import("@emotion/styled").StyledComponent<{
|
|
|
25
25
|
theme?: import("@emotion/react").Theme;
|
|
26
26
|
as?: import("react").ElementType;
|
|
27
27
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
28
|
-
declare const NotificationFeedModal: import("@emotion/styled").StyledComponent<import("
|
|
28
|
+
declare const NotificationFeedModal: import("@emotion/styled").StyledComponent<import("../../Modal").ModalProps & {
|
|
29
29
|
theme?: import("@emotion/react").Theme;
|
|
30
30
|
}, {}, {}>;
|
|
31
31
|
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"> & {
|
|
@@ -36,4 +36,4 @@ declare const NotificationFeedModalContainer: import("@emotion/styled").StyledCo
|
|
|
36
36
|
declare const NotificationFeedContainer: import("@emotion/styled").StyledComponent<import("@mui/material").MenuProps & {
|
|
37
37
|
theme?: import("@emotion/react").Theme;
|
|
38
38
|
}, {}, {}>;
|
|
39
|
-
export {
|
|
39
|
+
export { EmptyViewContainer, EmptyViewDescription, EmptyViewTitle, FeedContainer, LoadingContainer, NotificationFeedContainer, NotificationFeedModal, NotificationFeedModalContainer, OnboardingWrapper, };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import styled from "@emotion/styled";
|
|
2
2
|
import { Box, Menu, Typography } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { neutral } from "../../../theme/colors";
|
|
4
|
+
import { Modal } from "../../Modal";
|
|
4
5
|
const FeedContainer = styled("div")(({ theme }) => ({
|
|
5
6
|
width: "384px",
|
|
6
7
|
[theme.breakpoints.down("sm")]: {
|
|
@@ -11,33 +12,33 @@ const FeedContainer = styled("div")(({ theme }) => ({
|
|
|
11
12
|
marginRight: "auto",
|
|
12
13
|
},
|
|
13
14
|
}));
|
|
14
|
-
const EmptyViewContainer = styled("div")({
|
|
15
|
+
const EmptyViewContainer = styled("div")(({ theme }) => ({
|
|
15
16
|
height: "100%",
|
|
16
17
|
display: "flex",
|
|
17
18
|
flexDirection: "column",
|
|
18
19
|
justifyContent: "center",
|
|
19
20
|
gap: "16px",
|
|
20
|
-
padding:
|
|
21
|
+
padding: theme.spacing(5, 10),
|
|
21
22
|
alignItems: "center",
|
|
22
23
|
textAlign: "center",
|
|
23
|
-
});
|
|
24
|
-
const EmptyViewTitle = styled(Typography)({
|
|
25
|
-
fontSize:
|
|
26
|
-
fontWeight:
|
|
24
|
+
}));
|
|
25
|
+
const EmptyViewTitle = styled(Typography)(({ theme }) => ({
|
|
26
|
+
fontSize: theme.typography.pxToRem(18),
|
|
27
|
+
fontWeight: 600,
|
|
27
28
|
marginBottom: 0,
|
|
28
|
-
});
|
|
29
|
-
const EmptyViewDescription = styled(Typography)({
|
|
30
|
-
fontSize:
|
|
31
|
-
color:
|
|
32
|
-
});
|
|
33
|
-
const OnboardingWrapper = styled(Box)({
|
|
29
|
+
}));
|
|
30
|
+
const EmptyViewDescription = styled(Typography)(({ theme }) => ({
|
|
31
|
+
fontSize: theme.typography.pxToRem(16),
|
|
32
|
+
color: neutral.gray3,
|
|
33
|
+
}));
|
|
34
|
+
const OnboardingWrapper = styled(Box)(({ theme }) => ({
|
|
34
35
|
display: "flex",
|
|
35
36
|
flexDirection: "column",
|
|
36
37
|
gap: "16px",
|
|
37
38
|
alignItems: "center",
|
|
38
39
|
textAlign: "center",
|
|
39
|
-
padding:
|
|
40
|
-
});
|
|
40
|
+
padding: theme.spacing(3.75),
|
|
41
|
+
}));
|
|
41
42
|
const LoadingContainer = styled("div")({
|
|
42
43
|
height: "290px",
|
|
43
44
|
width: "384px",
|
|
@@ -56,10 +57,10 @@ const NotificationFeedModal = styled(Modal)(({ theme }) => {
|
|
|
56
57
|
height: "calc(100vh - 70px)",
|
|
57
58
|
},
|
|
58
59
|
"& > *:nth-of-type(1)": {
|
|
59
|
-
padding:
|
|
60
|
+
padding: theme.spacing(3, 3, 0),
|
|
60
61
|
},
|
|
61
62
|
"& > *:nth-of-type(2)": {
|
|
62
|
-
padding:
|
|
63
|
+
padding: 0,
|
|
63
64
|
},
|
|
64
65
|
},
|
|
65
66
|
};
|
|
@@ -75,5 +76,5 @@ const NotificationFeedContainer = styled(Menu)({
|
|
|
75
76
|
borderRadius: "8px",
|
|
76
77
|
},
|
|
77
78
|
});
|
|
78
|
-
export {
|
|
79
|
+
export { EmptyViewContainer, EmptyViewDescription, EmptyViewTitle, FeedContainer, LoadingContainer, NotificationFeedContainer, NotificationFeedModal, NotificationFeedModalContainer, OnboardingWrapper, };
|
|
79
80
|
//# sourceMappingURL=NotificationsFeed.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeed.styled.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeed/NotificationsFeed.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AA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,OAAO;IACd,aAAa,EAAE,SAAS;IACxB,kBAAkB,EAAE;QAClB,YAAY,EAAE,KAAK;KACpB;CACF,CAAC,CAAA;AAEF,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,yBAAyB,EACzB,qBAAqB,EACrB,8BAA8B,EAC9B,iBAAiB,GAClB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { NotificationActiveTab } from "
|
|
3
|
-
import type { DCLNotificationProps, NotificationLocale } from "
|
|
2
|
+
import { NotificationActiveTab } from "../Notifications.types";
|
|
3
|
+
import type { DCLNotificationProps, NotificationLocale } from "../Notifications.types";
|
|
4
4
|
type NotificationsFeedProps = {
|
|
5
5
|
items: DCLNotificationProps[];
|
|
6
6
|
isLoading: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeed.types.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeed/NotificationsFeed.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.i18n.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeedTabs/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"}
|
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import React, { useCallback } from "react";
|
|
3
3
|
import { Tab, Tabs } from "@mui/material";
|
|
4
4
|
import { i18n } from "./NotificationsFeedTabs.i18n";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { EmptyInboxIcon, HistoryIcon } from "../../Icon";
|
|
6
|
+
import { NotMobile } from "../../Media";
|
|
7
|
+
import { NotificationActiveTab } from "../Notifications.types";
|
|
8
|
+
import { EmptyViewContainer, EmptyViewDescription, EmptyViewTitle, } from "../NotificationsFeed/NotificationsFeed.styled";
|
|
9
|
+
import { NotificationComponentByType } from "../utils";
|
|
10
10
|
import { NotificationFeedPrevious, NotificationFeedTabsContainer, NotificationFeedTabsContent, NotificationFeedTabsHeader, NotificationFeedTabsListContainer, NotificationFeedTabsListWrapper, NotificationFeedTabsTitle, } from "./NotificationsFeedTabs.styled";
|
|
11
11
|
const NotificationHandler = ({ locale, notification, renderProfile, }) => {
|
|
12
12
|
const NotificationComponent = NotificationComponentByType[notification.type];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeedTabs/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,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,GACf,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;AAEtD,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,gCAAgC,CAAA;AAMvC,MAAM,mBAAmB,GAAG,CAAC,EAC3B,MAAM,EACN,YAAY,EACZ,aAAa,GAKd,EAAE,EAAE;IACH,MAAM,qBAAqB,GAAG,2BAA2B,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;IAE5E,IAAI,C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,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"}
|
|
@@ -31,4 +31,4 @@ declare const NotificationFeedPrevious: import("@emotion/styled").StyledComponen
|
|
|
31
31
|
}, "typography" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
32
32
|
theme?: import("@emotion/react").Theme;
|
|
33
33
|
}, {}, {}>;
|
|
34
|
-
export {
|
|
34
|
+
export { NotificationFeedPrevious, NotificationFeedTabsContainer, NotificationFeedTabsContent, NotificationFeedTabsHeader, NotificationFeedTabsListContainer, NotificationFeedTabsListWrapper, NotificationFeedTabsTitle, };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
|
+
import { Box, Typography } from "@mui/material";
|
|
3
|
+
const NotificationFeedTabsContainer = styled(Box)(({ theme }) => ({
|
|
4
|
+
width: "384px",
|
|
5
|
+
[theme.breakpoints.down("sm")]: {
|
|
6
|
+
width: "100%",
|
|
7
|
+
},
|
|
8
|
+
}));
|
|
9
|
+
const NotificationFeedTabsHeader = styled("div")(({ theme }) => ({
|
|
10
|
+
display: "flex",
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
justifyContent: "space-between",
|
|
13
|
+
padding: theme.spacing(1, 2),
|
|
14
|
+
}));
|
|
15
|
+
const NotificationFeedTabsTitle = styled(Typography)(({ theme }) => ({
|
|
16
|
+
margin: 0,
|
|
17
|
+
fontSize: theme.typography.pxToRem(18),
|
|
18
|
+
fontWeight: 600,
|
|
19
|
+
}));
|
|
20
|
+
const NotificationFeedTabsContent = styled("div")({
|
|
21
|
+
height: "100%",
|
|
22
|
+
});
|
|
23
|
+
const NotificationFeedTabsListContainer = styled("div", {
|
|
24
|
+
shouldForwardProp: (prop) => prop !== "isModal",
|
|
25
|
+
})(({ isModal }) => ({
|
|
26
|
+
display: "flex",
|
|
27
|
+
maxHeight: "auto",
|
|
28
|
+
overflowX: "hidden",
|
|
29
|
+
overflowY: "visible",
|
|
30
|
+
overscrollBehaviorY: "auto",
|
|
31
|
+
width: "100vw",
|
|
32
|
+
height: "calc(100vh - 250px)",
|
|
33
|
+
...(isModal
|
|
34
|
+
? {}
|
|
35
|
+
: {
|
|
36
|
+
maxHeight: "290px",
|
|
37
|
+
overflowY: "auto",
|
|
38
|
+
overscrollBehaviorY: "contain",
|
|
39
|
+
width: "auto",
|
|
40
|
+
height: "auto",
|
|
41
|
+
}),
|
|
42
|
+
}));
|
|
43
|
+
const NotificationFeedTabsListWrapper = styled("div")({
|
|
44
|
+
display: "flex",
|
|
45
|
+
flexDirection: "column",
|
|
46
|
+
width: "100%",
|
|
47
|
+
});
|
|
48
|
+
const NotificationFeedPrevious = styled(Typography)(({ theme }) => ({
|
|
49
|
+
fontSize: theme.typography.pxToRem(16),
|
|
50
|
+
fontWeight: 600,
|
|
51
|
+
paddingLeft: theme.spacing(2),
|
|
52
|
+
marginBottom: 0,
|
|
53
|
+
marginTop: theme.spacing(1),
|
|
54
|
+
}));
|
|
55
|
+
export { NotificationFeedPrevious, NotificationFeedTabsContainer, NotificationFeedTabsContent, NotificationFeedTabsHeader, NotificationFeedTabsListContainer, NotificationFeedTabsListWrapper, NotificationFeedTabsTitle, };
|
|
56
|
+
//# sourceMappingURL=NotificationsFeedTabs.styled.js.map
|
package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.styled.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeedTabs/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,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAChE,KAAK,EAAE,OAAO;IACd,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,KAAK,EAAE,MAAM;KACd;CACF,CAAC,CAAC,CAAA;AAEH,MAAM,0BAA0B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,eAAe;IAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;CAC7B,CAAC,CAAC,CAAA;AAEH,MAAM,yBAAyB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;IACtC,UAAU,EAAE,GAAG;CAChB,CAAC,CAAC,CAAA;AAEH,MAAM,2BAA2B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,EAAE,MAAM;CACf,CAAC,CAAA;AAIF,MAAM,iCAAiC,GAAG,MAAM,CAAC,KAAK,EAAE;IACtD,iBAAiB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS;CAChD,CAAC,CAAgC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;IAClD,OAAO,EAAE,MAAM;IACf,SAAS,EAAE,MAAM;IACjB,SAAS,EAAE,QAAQ;IACnB,SAAS,EAAE,SAAS;IACpB,mBAAmB,EAAE,MAAM;IAC3B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,qBAAqB;IAC7B,GAAG,CAAC,OAAO;QACT,CAAC,CAAC,EAAE;QACJ,CAAC,CAAC;YACE,SAAS,EAAE,OAAO;YAClB,SAAS,EAAE,MAAM;YACjB,mBAAmB,EAAE,SAAS;YAC9B,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;SACf,CAAC;CACP,CAAC,CAAC,CAAA;AAEH,MAAM,+BAA+B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACpD,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,KAAK,EAAE,MAAM;CACd,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;IACtC,UAAU,EAAE,GAAG;IACf,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7B,YAAY,EAAE,CAAC;IACf,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5B,CAAC,CAAC,CAAA;AAEH,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,EACjC,+BAA+B,EAC/B,yBAAyB,GAC1B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { NotificationActiveTab } from "
|
|
3
|
-
import type { DCLNotificationProps, NotificationLocale } from "
|
|
2
|
+
import { NotificationActiveTab } from "../Notifications.types";
|
|
3
|
+
import type { DCLNotificationProps, NotificationLocale } from "../Notifications.types";
|
|
4
4
|
type NotificationsFeedTabsProps = {
|
|
5
5
|
unreadNotifications: DCLNotificationProps[];
|
|
6
6
|
previousNotifications: DCLNotificationProps[];
|
package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsFeedTabs.types.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsFeedTabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA"}
|
package/dist/components/Notifications/{Notifications.js → NotificationsToggle/Notifications.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useCallback, useMemo, useState } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { NotificationBellActiveIcon, NotificationBellIcon } from "../../Icon";
|
|
4
|
+
import { NotificationsFeed } from "../NotificationsFeed";
|
|
5
5
|
import { NotificationIconContainer, NotificationIconWrapper, } from "./Notifications.styled";
|
|
6
6
|
const Notifications = React.memo((props) => {
|
|
7
7
|
const { isOpen, items, isLoading, locale, isOnboarding, activeTab, renderProfile, onClick, onChangeTab, onBegin, onClose, } = props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notifications.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsToggle/Notifications.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC7D,OAAO,EAAE,0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ACf,UAAU,EAAE,OAAO;iBACpB,EACD,SAAS,EAAE,qBAAqB,KAAK,CAAC,YAErC,CAAC,MAAM,CAAC,CAAC,CAAC,CACT,KAAC,uBAAuB,cACtB,KAAC,oBAAoB,IAAC,QAAQ,EAAC,OAAO,EAAC,KAAK,EAAC,SAAS,GAAG,GACjC,CAC3B,CAAC,CAAC,CAAC,CACF,KAAC,0BAA0B,IAAC,QAAQ,EAAC,OAAO,EAAC,KAAK,EAAC,SAAS,GAAG,CAChE,GACyB,EAC3B,MAAM,IAAI,CACT,KAAC,iBAAiB,IAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,WAAW,EACpB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,GAClB,CACH,IACA,CACJ,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const NotificationIconContainer: import("@emotion/styled").StyledComponent<import("@mui/material").BadgeOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
3
|
+
}, "components" | "color" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "slots" | "slotProps" | "componentsProps" | "invisible" | "anchorOrigin" | "badgeContent" | "max" | "overlap" | "showZero"> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
} & {
|
|
6
|
+
active: boolean;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
declare const NotificationIconWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
export { NotificationIconContainer, NotificationIconWrapper };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { keyframes } from "@emotion/react";
|
|
2
|
+
import styled from "@emotion/styled";
|
|
3
|
+
import { Badge, Box } from "@mui/material";
|
|
4
|
+
const shake = keyframes `
|
|
5
|
+
0% {
|
|
6
|
+
transform: translate(1px, 1px) rotate(0deg);
|
|
7
|
+
}
|
|
8
|
+
10% {
|
|
9
|
+
transform: translate(-1px, -2px) rotate(-1deg);
|
|
10
|
+
}
|
|
11
|
+
20% {
|
|
12
|
+
transform: translate(-2px, 0px) rotate(1deg);
|
|
13
|
+
}
|
|
14
|
+
30% {
|
|
15
|
+
transform: translate(2px, 2px) rotate(0deg);
|
|
16
|
+
}
|
|
17
|
+
40% {
|
|
18
|
+
transform: translate(1px, -1px) rotate(1deg);
|
|
19
|
+
}
|
|
20
|
+
50% {
|
|
21
|
+
transform: translate(-1px, 2px) rotate(-1deg);
|
|
22
|
+
}
|
|
23
|
+
60% {
|
|
24
|
+
transform: translate(-2px, 1px) rotate(0deg);
|
|
25
|
+
}
|
|
26
|
+
70% {
|
|
27
|
+
transform: translate(2px, 1px) rotate(-1deg);
|
|
28
|
+
}
|
|
29
|
+
80% {
|
|
30
|
+
transform: translate(-1px, -1px) rotate(1deg);
|
|
31
|
+
}
|
|
32
|
+
90% {
|
|
33
|
+
transform: translate(1px, 2px) rotate(0deg);
|
|
34
|
+
}
|
|
35
|
+
100% {
|
|
36
|
+
transform: translate(1px, -2px) rotate(-1deg);
|
|
37
|
+
}`;
|
|
38
|
+
const NotificationIconContainer = styled(Badge, {
|
|
39
|
+
shouldForwardProp: (prop) => prop !== "active",
|
|
40
|
+
})(({ active, theme }) => ({
|
|
41
|
+
...(active
|
|
42
|
+
? {
|
|
43
|
+
animation: `${shake} 0.8s`,
|
|
44
|
+
animationIterationCount: 4,
|
|
45
|
+
}
|
|
46
|
+
: {}),
|
|
47
|
+
"&:hover": {
|
|
48
|
+
backgroundColor: "transparent",
|
|
49
|
+
},
|
|
50
|
+
"& .MuiBadge-badge": {
|
|
51
|
+
transform: "scale(0.8) translate(40%, 60%)",
|
|
52
|
+
},
|
|
53
|
+
[theme.breakpoints.down("sm")]: {
|
|
54
|
+
marginLeft: theme.spacing(1),
|
|
55
|
+
},
|
|
56
|
+
}));
|
|
57
|
+
const NotificationIconWrapper = styled(Box)(({ theme }) => ({
|
|
58
|
+
height: "30.625px",
|
|
59
|
+
"&:hover": {
|
|
60
|
+
backgroundColor: theme.palette.action.hover,
|
|
61
|
+
borderRadius: "50%",
|
|
62
|
+
cursor: "pointer",
|
|
63
|
+
},
|
|
64
|
+
}));
|
|
65
|
+
export { NotificationIconContainer, NotificationIconWrapper };
|
|
66
|
+
//# sourceMappingURL=Notifications.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notifications.styled.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationsToggle/Notifications.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,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