decentraland-ui2 3.10.0 → 3.10.1-27205229514.commit-a51216e

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.
Files changed (20) hide show
  1. package/dist/components/Notifications/NotificationTypes/Social/FriendshipAcceptedNotification.d.ts +4 -0
  2. package/dist/components/Notifications/NotificationTypes/Social/FriendshipAcceptedNotification.js +15 -0
  3. package/dist/components/Notifications/NotificationTypes/Social/FriendshipAcceptedNotification.js.map +1 -0
  4. package/dist/components/Notifications/NotificationTypes/Social/FriendshipRequestNotification.d.ts +4 -0
  5. package/dist/components/Notifications/NotificationTypes/Social/FriendshipRequestNotification.js +15 -0
  6. package/dist/components/Notifications/NotificationTypes/Social/FriendshipRequestNotification.js.map +1 -0
  7. package/dist/components/Notifications/NotificationTypes/Social/Social.i18n.d.ts +29 -0
  8. package/dist/components/Notifications/NotificationTypes/Social/Social.i18n.js +30 -0
  9. package/dist/components/Notifications/NotificationTypes/Social/Social.i18n.js.map +1 -0
  10. package/dist/components/Notifications/NotificationTypes/Social/index.d.ts +2 -0
  11. package/dist/components/Notifications/NotificationTypes/Social/index.js +3 -0
  12. package/dist/components/Notifications/NotificationTypes/Social/index.js.map +1 -0
  13. package/dist/components/Notifications/NotificationTypes/index.d.ts +2 -1
  14. package/dist/components/Notifications/NotificationTypes/index.js +2 -1
  15. package/dist/components/Notifications/NotificationTypes/index.js.map +1 -1
  16. package/dist/components/Notifications/Notifications.types.d.ts +22 -2
  17. package/dist/components/Notifications/Notifications.types.js.map +1 -1
  18. package/dist/components/Notifications/utils.js +3 -1
  19. package/dist/components/Notifications/utils.js.map +1 -1
  20. package/package.json +2 -2
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CommonNotificationProps, FriendshipAcceptedNotificationProps } from '../../Notifications.types';
3
+ declare const FriendshipAcceptedNotification: React.MemoExoticComponent<(props: CommonNotificationProps<FriendshipAcceptedNotificationProps>) => import("react/jsx-runtime").JSX.Element>;
4
+ export { FriendshipAcceptedNotification };
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { friendshipAcceptedI18n } from './Social.i18n';
4
+ import { Address } from '../../../Address';
5
+ import { ReferralInviteFriendsIcon } from '../../../Icon';
6
+ import { NotificationItemText } from '../../NotificationItem';
7
+ import { replaceWithValues } from '../../utils';
8
+ const FriendshipAcceptedNotification = React.memo((props) => {
9
+ const { notification, locale, renderProfile } = props;
10
+ const { sender } = notification.metadata;
11
+ const senderLabel = renderProfile?.(sender.address) || sender.name || _jsx(Address, { shorten: true, value: sender.address });
12
+ return (_jsx(NotificationItemText, { image: _jsx(ReferralInviteFriendsIcon, { width: 48, height: 48 }), locale: locale, notification: notification, title: replaceWithValues(friendshipAcceptedI18n[locale].title, { sender: senderLabel }), description: friendshipAcceptedI18n[locale].description }));
13
+ });
14
+ export { FriendshipAcceptedNotification };
15
+ //# sourceMappingURL=FriendshipAcceptedNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FriendshipAcceptedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Social/FriendshipAcceptedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,8BAA8B,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAmE,EAAE,EAAE;IACxH,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAA;IACrD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,QAAQ,CAAA;IACxC,MAAM,WAAW,GAAG,aAAa,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,IAAI,IAAI,KAAC,OAAO,IAAC,OAAO,QAAC,KAAK,EAAE,MAAM,CAAC,OAAO,GAAI,CAAA;IAEhH,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,yBAAyB,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,EAC3D,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,EACvF,WAAW,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,WAAW,GACvD,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,8BAA8B,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CommonNotificationProps, FriendshipRequestNotificationProps } from '../../Notifications.types';
3
+ declare const FriendshipRequestNotification: React.MemoExoticComponent<(props: CommonNotificationProps<FriendshipRequestNotificationProps>) => import("react/jsx-runtime").JSX.Element>;
4
+ export { FriendshipRequestNotification };
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import React from 'react';
3
+ import { friendshipRequestI18n } from './Social.i18n';
4
+ import { Address } from '../../../Address';
5
+ import { ReferralInviteFriendsIcon } from '../../../Icon';
6
+ import { NotificationItemText } from '../../NotificationItem';
7
+ import { replaceWithValues } from '../../utils';
8
+ const FriendshipRequestNotification = React.memo((props) => {
9
+ const { notification, locale, renderProfile } = props;
10
+ const { sender } = notification.metadata;
11
+ const senderLabel = renderProfile?.(sender.address) || sender.name || _jsx(Address, { shorten: true, value: sender.address });
12
+ return (_jsx(NotificationItemText, { image: _jsx(ReferralInviteFriendsIcon, { width: 48, height: 48 }), locale: locale, notification: notification, title: replaceWithValues(friendshipRequestI18n[locale].title, { sender: senderLabel }), description: friendshipRequestI18n[locale].description }));
13
+ });
14
+ export { FriendshipRequestNotification };
15
+ //# sourceMappingURL=FriendshipRequestNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FriendshipRequestNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Social/FriendshipRequestNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE/C,MAAM,6BAA6B,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAkE,EAAE,EAAE;IACtH,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAA;IACrD,MAAM,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,QAAQ,CAAA;IACxC,MAAM,WAAW,GAAG,aAAa,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,IAAI,IAAI,KAAC,OAAO,IAAC,OAAO,QAAC,KAAK,EAAE,MAAM,CAAC,OAAO,GAAI,CAAA;IAEhH,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,yBAAyB,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,EAC3D,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,iBAAiB,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,EACtF,WAAW,EAAE,qBAAqB,CAAC,MAAM,CAAC,CAAC,WAAW,GACtD,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,6BAA6B,EAAE,CAAA"}
@@ -0,0 +1,29 @@
1
+ declare const friendshipRequestI18n: {
2
+ readonly en: {
3
+ readonly description: "Open your friends list to respond.";
4
+ readonly title: "{sender} sent you a friend request";
5
+ };
6
+ readonly es: {
7
+ readonly description: "Abre tu lista de amigos para responder.";
8
+ readonly title: "{sender} te envió una solicitud de amistad";
9
+ };
10
+ readonly zh: {
11
+ readonly description: "打开好友列表进行回应。";
12
+ readonly title: "{sender} 向你发送了好友请求";
13
+ };
14
+ };
15
+ declare const friendshipAcceptedI18n: {
16
+ readonly en: {
17
+ readonly description: "You're now friends!";
18
+ readonly title: "{sender} accepted your friend request";
19
+ };
20
+ readonly es: {
21
+ readonly description: "¡Ahora son amigos!";
22
+ readonly title: "{sender} aceptó tu solicitud de amistad";
23
+ };
24
+ readonly zh: {
25
+ readonly description: "你们现在是好友了!";
26
+ readonly title: "{sender} 接受了你的好友请求";
27
+ };
28
+ };
29
+ export { friendshipRequestI18n, friendshipAcceptedI18n };
@@ -0,0 +1,30 @@
1
+ const friendshipRequestI18n = {
2
+ en: {
3
+ description: 'Open your friends list to respond.',
4
+ title: '{sender} sent you a friend request'
5
+ },
6
+ es: {
7
+ description: 'Abre tu lista de amigos para responder.',
8
+ title: '{sender} te envió una solicitud de amistad'
9
+ },
10
+ zh: {
11
+ description: '打开好友列表进行回应。',
12
+ title: '{sender} 向你发送了好友请求'
13
+ }
14
+ };
15
+ const friendshipAcceptedI18n = {
16
+ en: {
17
+ description: "You're now friends!",
18
+ title: '{sender} accepted your friend request'
19
+ },
20
+ es: {
21
+ description: '¡Ahora son amigos!',
22
+ title: '{sender} aceptó tu solicitud de amistad'
23
+ },
24
+ zh: {
25
+ description: '你们现在是好友了!',
26
+ title: '{sender} 接受了你的好友请求'
27
+ }
28
+ };
29
+ export { friendshipRequestI18n, friendshipAcceptedI18n };
30
+ //# sourceMappingURL=Social.i18n.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Social.i18n.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Social/Social.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,qBAAqB,GAAG;IAC5B,EAAE,EAAE;QACF,WAAW,EAAE,oCAAoC;QACjD,KAAK,EAAE,oCAAoC;KAC5C;IACD,EAAE,EAAE;QACF,WAAW,EAAE,yCAAyC;QACtD,KAAK,EAAE,4CAA4C;KACpD;IACD,EAAE,EAAE;QACF,WAAW,EAAE,aAAa;QAC1B,KAAK,EAAE,oBAAoB;KAC5B;CACO,CAAA;AAEV,MAAM,sBAAsB,GAAG;IAC7B,EAAE,EAAE;QACF,WAAW,EAAE,qBAAqB;QAClC,KAAK,EAAE,uCAAuC;KAC/C;IACD,EAAE,EAAE;QACF,WAAW,EAAE,oBAAoB;QACjC,KAAK,EAAE,yCAAyC;KACjD;IACD,EAAE,EAAE;QACF,WAAW,EAAE,WAAW;QACxB,KAAK,EAAE,oBAAoB;KAC5B;CACO,CAAA;AAEV,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { FriendshipAcceptedNotification } from './FriendshipAcceptedNotification';
2
+ export { FriendshipRequestNotification } from './FriendshipRequestNotification';
@@ -0,0 +1,3 @@
1
+ export { FriendshipAcceptedNotification } from './FriendshipAcceptedNotification';
2
+ export { FriendshipRequestNotification } from './FriendshipRequestNotification';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Social/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA"}
@@ -5,7 +5,8 @@ import { LandRentalEndedNotification, LandRentedNotification } from './Land';
5
5
  import { BidAcceptedNotification, BidReceivedNotification, ItemSoldNotification, RoyaltiesEarnedNotification } from './Marketplace';
6
6
  import { ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification } from './Referral';
7
7
  import { CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification } from './Reward';
8
+ import { FriendshipAcceptedNotification, FriendshipRequestNotification } from './Social';
8
9
  import { StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification } from './Streaming';
9
10
  import { GiftNotification, TipNotification } from './Transfer';
10
11
  import { WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification } from './Worlds';
11
- export { BidAcceptedNotification, BidReceivedNotification, CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, CreditsClaimReminderNotification, CreditsCompleteYourWeeklyGoalsNotification, CreditsDoNotMissOutNotification, CreditsExpireIn24HrsReminderNotification, CreditsExpireSoonReminderNotification, EventApprovedNotification, EventRejectedNotification, EventsStartedNotification, EventsStartsSoonNotification, GiftNotification, TipNotification, GovernanceAnnouncementNotification, GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProjectUpdateNotification, GovernanceNewCommentOnProposalNotification, GovernancePitchPassedNotification, GovernanceProposalEnactedNotification, GovernanceTenderPassedNotification, GovernanceVotingEndedVoterNotification, ItemSoldNotification, LandRentalEndedNotification, LandRentedNotification, ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification, RoyaltiesEarnedNotification, StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification, WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification };
12
+ export { BidAcceptedNotification, BidReceivedNotification, CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, CreditsClaimReminderNotification, CreditsCompleteYourWeeklyGoalsNotification, CreditsDoNotMissOutNotification, CreditsExpireIn24HrsReminderNotification, CreditsExpireSoonReminderNotification, EventApprovedNotification, EventRejectedNotification, EventsStartedNotification, EventsStartsSoonNotification, FriendshipAcceptedNotification, FriendshipRequestNotification, GiftNotification, TipNotification, GovernanceAnnouncementNotification, GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProjectUpdateNotification, GovernanceNewCommentOnProposalNotification, GovernancePitchPassedNotification, GovernanceProposalEnactedNotification, GovernanceTenderPassedNotification, GovernanceVotingEndedVoterNotification, ItemSoldNotification, LandRentalEndedNotification, LandRentedNotification, ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification, RoyaltiesEarnedNotification, StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification, WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification };
@@ -5,8 +5,9 @@ import { LandRentalEndedNotification, LandRentedNotification } from './Land';
5
5
  import { BidAcceptedNotification, BidReceivedNotification, ItemSoldNotification, RoyaltiesEarnedNotification } from './Marketplace';
6
6
  import { ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification } from './Referral';
7
7
  import { CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification } from './Reward';
8
+ import { FriendshipAcceptedNotification, FriendshipRequestNotification } from './Social';
8
9
  import { StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification } from './Streaming';
9
10
  import { GiftNotification, TipNotification } from './Transfer';
10
11
  import { WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification } from './Worlds';
11
- export { BidAcceptedNotification, BidReceivedNotification, CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, CreditsClaimReminderNotification, CreditsCompleteYourWeeklyGoalsNotification, CreditsDoNotMissOutNotification, CreditsExpireIn24HrsReminderNotification, CreditsExpireSoonReminderNotification, EventApprovedNotification, EventRejectedNotification, EventsStartedNotification, EventsStartsSoonNotification, GiftNotification, TipNotification, GovernanceAnnouncementNotification, GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProjectUpdateNotification, GovernanceNewCommentOnProposalNotification, GovernancePitchPassedNotification, GovernanceProposalEnactedNotification, GovernanceTenderPassedNotification, GovernanceVotingEndedVoterNotification, ItemSoldNotification, LandRentalEndedNotification, LandRentedNotification, ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification, RoyaltiesEarnedNotification, StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification, WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification };
12
+ export { BidAcceptedNotification, BidReceivedNotification, CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, CreditsClaimReminderNotification, CreditsCompleteYourWeeklyGoalsNotification, CreditsDoNotMissOutNotification, CreditsExpireIn24HrsReminderNotification, CreditsExpireSoonReminderNotification, EventApprovedNotification, EventRejectedNotification, EventsStartedNotification, EventsStartsSoonNotification, FriendshipAcceptedNotification, FriendshipRequestNotification, GiftNotification, TipNotification, GovernanceAnnouncementNotification, GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProjectUpdateNotification, GovernanceNewCommentOnProposalNotification, GovernancePitchPassedNotification, GovernanceProposalEnactedNotification, GovernanceTenderPassedNotification, GovernanceVotingEndedVoterNotification, ItemSoldNotification, LandRentalEndedNotification, LandRentedNotification, ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification, RoyaltiesEarnedNotification, StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification, WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification };
12
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationTypes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,0CAA0C,EAC1C,+BAA+B,EAC/B,wCAAwC,EACxC,qCAAqC,EACtC,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AACxI,OAAO,EACL,kCAAkC,EAClC,8CAA8C,EAC9C,uCAAuC,EACvC,+CAA+C,EAC/C,0CAA0C,EAC1C,iCAAiC,EACjC,qCAAqC,EACrC,kCAAkC,EAClC,sCAAsC,EACvC,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,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ACnC,mCAAmC,EACpC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationTypes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,0CAA0C,EAC1C,+BAA+B,EAC/B,wCAAwC,EACxC,qCAAqC,EACtC,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AACxI,OAAO,EACL,kCAAkC,EAClC,8CAA8C,EAC9C,uCAAuC,EACvC,+CAA+C,EAC/C,0CAA0C,EAC1C,iCAAiC,EACjC,qCAAqC,EACrC,kCAAkC,EAClC,sCAAsC,EACvC,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,2BAA2B,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAA;AAC5E,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAA;AACnI,OAAO,EAAE,uCAAuC,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAA;AACxG,OAAO,EACL,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,8BAA8B,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAA;AACxF,OAAO,EACL,+BAA+B,EAC/B,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,iCAAiC,EAClC,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,EACL,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACnC,mCAAmC,EACpC,MAAM,UAAU,CAAA;AAEjB,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,gCAAgC,EAChC,0CAA0C,EAC1C,+BAA+B,EAC/B,wCAAwC,EACxC,qCAAqC,EACrC,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,6BAA6B,EAC7B,gBAAgB,EAChB,eAAe,EACf,kCAAkC,EAClC,8CAA8C,EAC9C,uCAAuC,EACvC,+CAA+C,EAC/C,0CAA0C,EAC1C,iCAAiC,EACjC,qCAAqC,EACrC,kCAAkC,EAClC,sCAAsC,EACtC,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,uCAAuC,EACvC,kCAAkC,EAClC,0BAA0B,EAC1B,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,+BAA+B,EAC/B,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,iCAAiC,EACjC,gCAAgC,EAChC,kCAAkC,EAClC,kCAAkC,EAClC,mCAAmC,EACnC,mCAAmC,EACpC,CAAA"}
@@ -108,6 +108,26 @@ type TipNotificationMetadataProps = {
108
108
  type GiftNotificationProps = RawDecentralandNotification<NotificationType.TRANSFER_RECEIVED, TransferNotificationMetadataProps>;
109
109
  type TipNotificationProps = RawDecentralandNotification<NotificationType.TIP_RECEIVED, TipNotificationMetadataProps>;
110
110
  type TransferNotificationsProps = GiftNotificationProps | TipNotificationProps;
111
+ type FriendshipProfileMetadataProps = {
112
+ address: string;
113
+ name: string;
114
+ profileImageUrl: string;
115
+ hasClaimedName: boolean;
116
+ };
117
+ type FriendshipRequestMetadataProps = {
118
+ requestId: string;
119
+ sender: FriendshipProfileMetadataProps;
120
+ receiver: FriendshipProfileMetadataProps;
121
+ message?: string;
122
+ };
123
+ type FriendshipAcceptedMetadataProps = {
124
+ requestId: string;
125
+ sender: FriendshipProfileMetadataProps;
126
+ receiver: FriendshipProfileMetadataProps;
127
+ };
128
+ type FriendshipRequestNotificationProps = RawDecentralandNotification<NotificationType.SOCIAL_SERVICE_FRIENDSHIP_REQUEST, FriendshipRequestMetadataProps>;
129
+ type FriendshipAcceptedNotificationProps = RawDecentralandNotification<NotificationType.SOCIAL_SERVICE_FRIENDSHIP_ACCEPTED, FriendshipAcceptedMetadataProps>;
130
+ type SocialNotificationsProps = FriendshipRequestNotificationProps | FriendshipAcceptedNotificationProps;
111
131
  type CommonRewardsMetadata = {
112
132
  tokenName: string;
113
133
  tokenImage: string;
@@ -181,11 +201,11 @@ type NewTierReachedNotificationMetadata = ReferralNotificationMetadataProps & {
181
201
  type ReferralNewTierReachedNotificationProps = RawDecentralandNotification<NotificationType.REFERRAL_NEW_TIER_REACHED, NewTierReachedNotificationMetadata>;
182
202
  type ReferralInvitedUsersAcceptedNotificationProps = RawDecentralandNotification<NotificationType.REFERRAL_INVITED_USERS_ACCEPTED, ReferralNotificationMetadataProps>;
183
203
  type ReferralNotificationsProps = ReferralNewTierReachedNotificationProps | ReferralInvitedUsersAcceptedNotificationProps;
184
- type DCLNotificationProps = MarketplaceNotificationsProps | GovernanceNotificationsProps | WorldsNotificationsProps | LandNotificationsProps | TransferNotificationsProps | RewardsNotificationProps | EventsNotificationsProps | StreamingNotificationsProps | CreditsNotificationsProps | ReferralNotificationsProps;
204
+ type DCLNotificationProps = MarketplaceNotificationsProps | GovernanceNotificationsProps | WorldsNotificationsProps | LandNotificationsProps | TransferNotificationsProps | RewardsNotificationProps | EventsNotificationsProps | StreamingNotificationsProps | CreditsNotificationsProps | ReferralNotificationsProps | SocialNotificationsProps;
185
205
  type CommonNotificationProps<N> = {
186
206
  notification: N;
187
207
  locale: NotificationLocale;
188
208
  renderProfile?: (address: string) => JSX.Element | string | null;
189
209
  };
190
210
  export { NotificationActiveTab };
191
- 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, EventApprovedNotificationProps, EventRejectedNotificationProps, StreamingKeyResetNotificationProps, StreamingKeyRevokeNotificationProps, StreamingKeyExpiredNotificationProps, StreamingTimeExceededNotificationProps, StreamingPlaceUpdatedNotificationProps, StreamingNotificationsProps, DCLNotificationProps, CommonNotificationProps, CreditsNotificationsProps, CreditsCompleteYourWeeklyGoalsNotificationProps, CreditsDoNotMissOutNotificationProps, CreditsClaimReminderNotificationProps, CreditsExpireSoonReminderNotificationProps, CreditsExpireIn24HrsReminderNotificationProps, ReferralNewTierReachedNotificationProps, ReferralInvitedUsersAcceptedNotificationProps };
211
+ 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, EventApprovedNotificationProps, EventRejectedNotificationProps, StreamingKeyResetNotificationProps, StreamingKeyRevokeNotificationProps, StreamingKeyExpiredNotificationProps, StreamingTimeExceededNotificationProps, StreamingPlaceUpdatedNotificationProps, StreamingNotificationsProps, DCLNotificationProps, CommonNotificationProps, CreditsNotificationsProps, CreditsCompleteYourWeeklyGoalsNotificationProps, CreditsDoNotMissOutNotificationProps, CreditsClaimReminderNotificationProps, CreditsExpireSoonReminderNotificationProps, CreditsExpireIn24HrsReminderNotificationProps, ReferralNewTierReachedNotificationProps, ReferralInvitedUsersAcceptedNotificationProps, FriendshipRequestNotificationProps, FriendshipAcceptedNotificationProps, SocialNotificationsProps };
@@ -1 +1 @@
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;AA+YD,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
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;AAkbD,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { NotificationType, Rarity } from '@dcl/schemas';
3
- import { BidAcceptedNotification, BidReceivedNotification, CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, CreditsClaimReminderNotification, CreditsCompleteYourWeeklyGoalsNotification, CreditsDoNotMissOutNotification, CreditsExpireIn24HrsReminderNotification, CreditsExpireSoonReminderNotification, EventApprovedNotification, EventRejectedNotification, EventsStartedNotification, EventsStartsSoonNotification, GiftNotification, GovernanceAnnouncementNotification, GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProjectUpdateNotification, GovernanceNewCommentOnProposalNotification, GovernancePitchPassedNotification, GovernanceProposalEnactedNotification, GovernanceTenderPassedNotification, GovernanceVotingEndedVoterNotification, ItemSoldNotification, LandRentalEndedNotification, LandRentedNotification, ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification, RoyaltiesEarnedNotification, StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification, TipNotification, WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification } from './NotificationTypes';
3
+ import { BidAcceptedNotification, BidReceivedNotification, CampaignGasPriceHigherThanExpectedNotification, CampaignOutOfFundsNotification, CampaignOutOfStockNotification, CreditsClaimReminderNotification, CreditsCompleteYourWeeklyGoalsNotification, CreditsDoNotMissOutNotification, CreditsExpireIn24HrsReminderNotification, CreditsExpireSoonReminderNotification, EventApprovedNotification, EventRejectedNotification, EventsStartedNotification, EventsStartsSoonNotification, FriendshipAcceptedNotification, FriendshipRequestNotification, GiftNotification, GovernanceAnnouncementNotification, GovernanceAuthoredProposalFinishedNotification, GovernanceCoauthorRequestedNotification, GovernanceNewCommentOnProjectUpdateNotification, GovernanceNewCommentOnProposalNotification, GovernancePitchPassedNotification, GovernanceProposalEnactedNotification, GovernanceTenderPassedNotification, GovernanceVotingEndedVoterNotification, ItemSoldNotification, LandRentalEndedNotification, LandRentedNotification, ReferralInvitedUserAcceptedNotification, ReferralNewTierReachedNotification, RewardAssignedNotification, RewardDelayedNotification, RewardInProgressNotification, RoyaltiesEarnedNotification, StreamingKeyExpiredNotification, StreamingKeyResetNotification, StreamingKeyRevokeNotification, StreamingPlaceUpdatedNotification, StreamingTimeExceededNotification, TipNotification, WorldsAccessRestoredNotification, WorldsAccessRestrictedNotification, WorldsMissingResourcesNotification, WorldsPermissionGrantedNotification, WorldsPermissionRevokedNotification } from './NotificationTypes';
4
4
  const MAXIMUM_FRACTION_DIGITS = 2;
5
5
  function formatMana(mana, maximumFractionDigits = MAXIMUM_FRACTION_DIGITS) {
6
6
  return (Number(mana) / 1e18).toFixed(maximumFractionDigits).toString();
@@ -22,6 +22,8 @@ const NotificationComponentByType = {
22
22
  [NotificationType.EVENTS_STARTS_SOON]: EventsStartsSoonNotification,
23
23
  [NotificationType.TRANSFER_RECEIVED]: GiftNotification,
24
24
  [NotificationType.TIP_RECEIVED]: TipNotification,
25
+ [NotificationType.SOCIAL_SERVICE_FRIENDSHIP_REQUEST]: FriendshipRequestNotification,
26
+ [NotificationType.SOCIAL_SERVICE_FRIENDSHIP_ACCEPTED]: FriendshipAcceptedNotification,
25
27
  [NotificationType.GOVERNANCE_ANNOUNCEMENT]: GovernanceAnnouncementNotification,
26
28
  [NotificationType.GOVERNANCE_AUTHORED_PROPOSAL_FINISHED]: GovernanceAuthoredProposalFinishedNotification,
27
29
  [NotificationType.GOVERNANCE_COAUTHOR_REQUESTED]: GovernanceCoauthorRequestedNotification,
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/Notifications/utils.tsx"],"names":[],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,EAAwB,EAAE;IAC5G,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAC9B,MAAM,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QAC5C,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YACpB,OAAO,IAAI,CAAA;QACb,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;YACjC,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,GAAG,CAAA;QAClD,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,4BAAG,WAAW,GAAI,CAAA;AAC3B,CAAC,CAAA;AAED,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAElB,2BAA2B,EAC3B,+BAA+B,EAC/B,iBAAiB,EAClB,CAAA"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/Notifications/utils.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,gCAAgC,EAChC,0CAA0C,EAC1C,+BAA+B,EAC/B,wCAAwC,EACxC,qCAAqC,EACrC,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,6BAA6B,EAC7B,gBAAgB,EAChB,kCAAkC,EAClC,8CAA8C,EAC9C,uCAAuC,EACvC,+CAA+C,EAC/C,0CAA0C,EAC1C,iCAAiC,EACjC,qCAAqC,EACrC,kCAAkC,EAClC,sCAAsC,EACtC,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,uCAAuC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AAC,KAAK,CAAC,CAAC,CAAC,IAAI,IAAI,GAAG,CAAA;QAClD,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,4BAAG,WAAW,GAAI,CAAA;AAC3B,CAAC,CAAA;AAED,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAElB,2BAA2B,EAC3B,+BAA+B,EAC/B,iBAAiB,EAClB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decentraland-ui2",
3
- "version": "3.10.0",
3
+ "version": "3.10.1-27205229514.commit-a51216e",
4
4
  "description": "Decentraland's UI components and styles",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -117,5 +117,5 @@
117
117
  "url": "https://github.com/decentraland/ui2/issues"
118
118
  },
119
119
  "homepage": "https://github.com/decentraland/ui2#readme",
120
- "commit": "a6474a6bd20ec391fea1ba0b5d00d403310eb803"
120
+ "commit": "a51216e45abc95dbba4546864e4974fa43968acd"
121
121
  }