decentraland-ui2 1.2.2-21406822587.commit-e8f7371 → 1.2.2-21409431322.commit-d4bd7fb
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/README.md +3 -3
- package/dist/components/Address/Address.d.ts +1 -1
- package/dist/components/Address/Address.js +4 -4
- package/dist/components/Address/Address.js.map +1 -1
- package/dist/components/Address/Address.stories.d.ts +3 -3
- package/dist/components/Address/Address.stories.js +31 -31
- package/dist/components/Address/Address.stories.js.map +1 -1
- package/dist/components/Address/Address.styled.js +13 -13
- package/dist/components/Address/index.d.ts +2 -2
- package/dist/components/Address/index.js +2 -2
- package/dist/components/AddressField/utils.js +2 -2
- package/dist/components/AddressField/utils.spec.js +11 -11
- package/dist/components/AddressField/utils.spec.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.d.ts +2 -2
- package/dist/components/AssetImage/AssetImage.js +2 -2
- package/dist/components/AssetImage/AssetImage.stories.d.ts +2 -2
- package/dist/components/AssetImage/AssetImage.stories.js +18 -18
- package/dist/components/AssetImage/AssetImage.stories.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.stories.styled.js +3 -3
- package/dist/components/AssetImage/AssetImage.styled.d.ts +1 -1
- package/dist/components/AssetImage/AssetImage.styled.js +13 -13
- package/dist/components/AssetImage/AssetImage.styled.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.types.d.ts +1 -1
- package/dist/components/AssetImage/index.d.ts +2 -2
- package/dist/components/AssetImage/index.js +2 -2
- package/dist/components/Atlas/Atlas.d.ts +2 -2
- package/dist/components/Atlas/Atlas.js +14 -14
- package/dist/components/Atlas/Atlas.js.map +1 -1
- package/dist/components/Atlas/Atlas.stories.d.ts +3 -3
- package/dist/components/Atlas/Atlas.stories.js +82 -85
- package/dist/components/Atlas/Atlas.stories.js.map +1 -1
- package/dist/components/Atlas/Atlas.types.d.ts +3 -3
- package/dist/components/Atlas/Atlas.types.js +1 -1
- package/dist/components/Atlas/Atlas.types.js.map +1 -1
- package/dist/components/Atlas/index.d.ts +3 -3
- package/dist/components/Atlas/index.js +2 -2
- package/dist/components/Atlas/util.d.ts +1 -1
- package/dist/components/Atlas/util.js +3 -3
- package/dist/components/Atlas/util.test.js +2 -2
- package/dist/components/AvatarFace/AvatarFace.d.ts +2 -2
- package/dist/components/AvatarFace/AvatarFace.js +3 -3
- package/dist/components/AvatarFace/AvatarFace.stories.d.ts +2 -2
- package/dist/components/AvatarFace/AvatarFace.stories.js +19 -19
- package/dist/components/AvatarFace/AvatarFace.stories.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.styled.d.ts +1 -1
- package/dist/components/AvatarFace/AvatarFace.styled.js +22 -22
- package/dist/components/AvatarFace/AvatarFace.styled.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.types.d.ts +2 -2
- package/dist/components/AvatarFace/index.d.ts +2 -2
- package/dist/components/AvatarFace/index.js +2 -2
- package/dist/components/Badges/Badges.d.ts +1 -1
- package/dist/components/Badges/Badges.js +4 -4
- package/dist/components/Badges/Badges.js.map +1 -1
- package/dist/components/Badges/Badges.stories.d.ts +1 -1
- package/dist/components/Badges/Badges.stories.js +16 -16
- package/dist/components/Badges/Badges.styled.d.ts +1 -1
- package/dist/components/Badges/Badges.styled.js +23 -23
- package/dist/components/Badges/Badges.styled.js.map +1 -1
- package/dist/components/Badges/index.d.ts +2 -2
- package/dist/components/Badges/index.js +1 -1
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Banner/Banner.js +20 -32
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Banner/Banner.styled.d.ts +1 -1
- package/dist/components/Banner/Banner.styled.js +56 -56
- package/dist/components/Banner/Banner.styled.js.map +1 -1
- package/dist/components/Banner/Banner.types.d.ts +2 -2
- package/dist/components/Banner/ContentfulRichText.d.ts +1 -1
- package/dist/components/Banner/ContentfulRichText.js +7 -7
- package/dist/components/Banner/ContentfulRichText.js.map +1 -1
- package/dist/components/Banner/index.d.ts +2 -2
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/Blockie/Blockie.d.ts +2 -2
- package/dist/components/Blockie/Blockie.js +9 -9
- package/dist/components/Blockie/Blockie.js.map +1 -1
- package/dist/components/Blockie/Blockie.stories.d.ts +2 -2
- package/dist/components/Blockie/Blockie.stories.js +33 -33
- package/dist/components/Blockie/Blockie.stories.js.map +1 -1
- package/dist/components/Blockie/Blockie.styled.js +8 -8
- package/dist/components/Blockie/Blockie.styled.js.map +1 -1
- package/dist/components/Blockie/index.d.ts +2 -2
- package/dist/components/Blockie/index.js +2 -2
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.stories.d.ts +2 -2
- package/dist/components/Button/Button.stories.js +68 -68
- package/dist/components/Button/Button.stories.js.map +1 -1
- package/dist/components/Button/Button.types.d.ts +4 -4
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.js +1 -1
- package/dist/components/CatalogCard/CatalogCard.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCard.js +8 -8
- package/dist/components/CatalogCard/CatalogCard.js.map +1 -1
- package/dist/components/CatalogCard/CatalogCard.stories.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCard.stories.js +41 -41
- package/dist/components/CatalogCard/CatalogCard.stories.js.map +1 -1
- package/dist/components/CatalogCard/CatalogCard.styled.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCard.styled.js +54 -54
- package/dist/components/CatalogCard/CatalogCard.styled.js.map +1 -1
- package/dist/components/CatalogCard/CatalogCard.types.d.ts +3 -3
- package/dist/components/CatalogCard/CatalogCardPrice.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCardPrice.js +4 -4
- package/dist/components/CatalogCard/CatalogCardPrice.js.map +1 -1
- package/dist/components/CatalogCard/index.d.ts +2 -2
- package/dist/components/CatalogCard/index.js +2 -2
- package/dist/components/ChainSelector/ChainSelector.d.ts +2 -2
- package/dist/components/ChainSelector/ChainSelector.js +11 -17
- package/dist/components/ChainSelector/ChainSelector.js.map +1 -1
- package/dist/components/ChainSelector/ChainSelector.stories.d.ts +2 -2
- package/dist/components/ChainSelector/ChainSelector.stories.js +17 -17
- package/dist/components/ChainSelector/ChainSelector.stories.js.map +1 -1
- package/dist/components/ChainSelector/ChainSelector.styled.d.ts +1 -1
- package/dist/components/ChainSelector/ChainSelector.styled.js +97 -101
- package/dist/components/ChainSelector/ChainSelector.styled.js.map +1 -1
- package/dist/components/ChainSelector/ChainSelector.types.d.ts +1 -1
- package/dist/components/ChainSelector/ChainSelector.types.js +11 -11
- package/dist/components/ChainSelector/index.d.ts +2 -2
- package/dist/components/ChainSelector/index.js +2 -2
- package/dist/components/CreditsToggle/CreditsToggle.d.ts +2 -2
- package/dist/components/CreditsToggle/CreditsToggle.js +17 -21
- package/dist/components/CreditsToggle/CreditsToggle.js.map +1 -1
- package/dist/components/CreditsToggle/CreditsToggle.stories.d.ts +3 -3
- package/dist/components/CreditsToggle/CreditsToggle.stories.js +56 -56
- package/dist/components/CreditsToggle/CreditsToggle.stories.js.map +1 -1
- package/dist/components/CreditsToggle/CreditsToggle.styled.d.ts +1 -1
- package/dist/components/CreditsToggle/CreditsToggle.styled.js +64 -64
- package/dist/components/CreditsToggle/CreditsToggle.styled.js.map +1 -1
- package/dist/components/CreditsToggle/index.d.ts +2 -2
- package/dist/components/CreditsToggle/index.js +1 -1
- package/dist/components/DecentralandFont/FontFaceSelector.stories.d.ts +2 -2
- package/dist/components/DecentralandFont/FontFaceSelector.stories.js +10 -23
- package/dist/components/DecentralandFont/FontFaceSelector.stories.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.d.ts +2 -2
- package/dist/components/DownloadButton/DownloadButton.js +28 -36
- package/dist/components/DownloadButton/DownloadButton.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.stories.d.ts +2 -2
- package/dist/components/DownloadButton/DownloadButton.stories.js +49 -49
- package/dist/components/DownloadButton/DownloadButton.stories.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.styled.d.ts +1 -1
- package/dist/components/DownloadButton/DownloadButton.styled.js +50 -50
- package/dist/components/DownloadButton/DownloadButton.styled.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.types.js.map +1 -1
- package/dist/components/DownloadButton/index.d.ts +3 -3
- package/dist/components/DownloadButton/index.js +2 -2
- package/dist/components/Footer/Footer.d.ts +2 -2
- package/dist/components/Footer/Footer.i18n.js +35 -35
- package/dist/components/Footer/Footer.js +32 -32
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.stories.d.ts +3 -3
- package/dist/components/Footer/Footer.stories.js +29 -29
- package/dist/components/Footer/Footer.stories.js.map +1 -1
- package/dist/components/Footer/Footer.stories.styled.js +5 -5
- package/dist/components/Footer/Footer.styled.d.ts +1 -1
- package/dist/components/Footer/Footer.styled.js +44 -44
- package/dist/components/Footer/Footer.styled.js.map +1 -1
- package/dist/components/Footer/Footer.types.d.ts +1 -1
- package/dist/components/Footer/index.d.ts +3 -3
- package/dist/components/Footer/index.js +2 -2
- package/dist/components/FooterLanding/FooterLanding.d.ts +2 -2
- package/dist/components/FooterLanding/FooterLanding.defaults.js +13 -13
- package/dist/components/FooterLanding/FooterLanding.js +40 -40
- package/dist/components/FooterLanding/FooterLanding.js.map +1 -1
- package/dist/components/FooterLanding/FooterLanding.stories.d.ts +3 -3
- package/dist/components/FooterLanding/FooterLanding.stories.js +25 -26
- package/dist/components/FooterLanding/FooterLanding.stories.js.map +1 -1
- package/dist/components/FooterLanding/FooterLanding.styled.d.ts +1 -1
- package/dist/components/FooterLanding/FooterLanding.styled.js +87 -87
- package/dist/components/FooterLanding/FooterLanding.styled.js.map +1 -1
- package/dist/components/FooterLanding/index.d.ts +1 -1
- package/dist/components/FooterLanding/index.js +1 -1
- package/dist/components/Icon/AppleIcon.d.ts +2 -2
- package/dist/components/Icon/AppleIcon.js +2 -2
- package/dist/components/Icon/AppleIcon.js.map +1 -1
- package/dist/components/Icon/Chains/ArbitrumIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/ArbitrumIcon.js +2 -2
- package/dist/components/Icon/Chains/ArbitrumIcon.js.map +1 -1
- package/dist/components/Icon/Chains/AvalancheIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/AvalancheIcon.js +2 -2
- package/dist/components/Icon/Chains/AvalancheIcon.js.map +1 -1
- package/dist/components/Icon/Chains/BinanceIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/BinanceIcon.js +3 -3
- package/dist/components/Icon/Chains/BinanceIcon.js.map +1 -1
- package/dist/components/Icon/Chains/ChainsIcons.stories.d.ts +3 -3
- package/dist/components/Icon/Chains/ChainsIcons.stories.js +20 -20
- package/dist/components/Icon/Chains/ChainsIcons.stories.js.map +1 -1
- package/dist/components/Icon/Chains/EthereumIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/EthereumIcon.js +2 -2
- package/dist/components/Icon/Chains/EthereumIcon.js.map +1 -1
- package/dist/components/Icon/Chains/FantomIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/FantomIcon.js +2 -2
- package/dist/components/Icon/Chains/FantomIcon.js.map +1 -1
- package/dist/components/Icon/Chains/OptimismIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/OptimismIcon.js +2 -2
- package/dist/components/Icon/Chains/OptimismIcon.js.map +1 -1
- package/dist/components/Icon/Chains/PolygonIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/PolygonIcon.js +2 -2
- package/dist/components/Icon/Chains/PolygonIcon.js.map +1 -1
- package/dist/components/Icon/CreditsIcon.d.ts +2 -2
- package/dist/components/Icon/CreditsIcon.js +2 -2
- package/dist/components/Icon/CreditsIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/EmotesIcons.stories.d.ts +2 -2
- package/dist/components/Icon/Emotes/EmotesIcons.stories.js +15 -15
- package/dist/components/Icon/Emotes/MuteIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/MuteIcon.js +2 -2
- package/dist/components/Icon/Emotes/MuteIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/PropsIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/PropsIcon.js +2 -2
- package/dist/components/Icon/Emotes/PropsIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/SoundIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/SoundIcon.js +2 -2
- package/dist/components/Icon/Emotes/SoundIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/VolumeIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/VolumeIcon.js +2 -2
- package/dist/components/Icon/Emotes/VolumeIcon.js.map +1 -1
- package/dist/components/Icon/Icons.stories.d.ts +3 -3
- package/dist/components/Icon/Icons.stories.js +28 -28
- package/dist/components/Icon/Icons.stories.js.map +1 -1
- package/dist/components/Icon/Icons.stories.styled.js +7 -7
- package/dist/components/Icon/JumpInIcon.d.ts +2 -2
- package/dist/components/Icon/JumpInIcon.js +2 -2
- package/dist/components/Icon/JumpInIcon.js.map +1 -1
- package/dist/components/Icon/LocationIcon.d.ts +2 -2
- package/dist/components/Icon/LocationIcon.js +2 -2
- package/dist/components/Icon/LocationIcon.js.map +1 -1
- package/dist/components/Icon/ManaEthIcon.d.ts +2 -2
- package/dist/components/Icon/ManaEthIcon.js +2 -2
- package/dist/components/Icon/ManaEthIcon.js.map +1 -1
- package/dist/components/Icon/ManaMaticIcon.d.ts +2 -2
- package/dist/components/Icon/ManaMaticIcon.js +2 -2
- package/dist/components/Icon/ManaMaticIcon.js.map +1 -1
- package/dist/components/Icon/MintIcon.d.ts +2 -2
- package/dist/components/Icon/MintIcon.js +2 -2
- package/dist/components/Icon/MintIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/AccessRestoredIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js +2 -2
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js +2 -2
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/BidAcceptedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js +2 -2
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/BidReceivedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/BidReceivedIcon.js +2 -2
- package/dist/components/Icon/Notifications/BidReceivedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CoauthorIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CoauthorIcon.js +2 -2
- package/dist/components/Icon/Notifications/CoauthorIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.js +2 -2
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.js +2 -2
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CreditsIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CreditsIcon.js +2 -2
- package/dist/components/Icon/Notifications/CreditsIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/EmptyInboxIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventCancelledIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EventCancelledIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventCancelledIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/EventStartedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EventStartedIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventStartedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/GiftIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/GiftIcon.js +2 -2
- package/dist/components/Icon/Notifications/GiftIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/GovernanceIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/GovernanceIcon.js +2 -2
- package/dist/components/Icon/Notifications/GovernanceIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/HistoryIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/HistoryIcon.js +2 -2
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js +2 -2
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ItemSoldIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ItemSoldIcon.js +2 -2
- package/dist/components/Icon/Notifications/ItemSoldIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/LandRentedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/LandRentedIcon.js +2 -2
- package/dist/components/Icon/Notifications/LandRentedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ManaMainnetIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js +2 -2
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ManaPolygonIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js +2 -2
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/MissingResourcesIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js +2 -2
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/NewCommentIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NewCommentIcon.js +2 -2
- package/dist/components/Icon/Notifications/NewCommentIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/NewNotificationIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NewNotificationIcon.js +2 -2
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js +3 -3
- package/dist/components/Icon/Notifications/NotificationBellIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NotificationBellIcon.js +3 -3
- package/dist/components/Icon/Notifications/NotificationsIcons.stories.d.ts +3 -3
- package/dist/components/Icon/Notifications/NotificationsIcons.stories.js +72 -72
- package/dist/components/Icon/Notifications/NotificationsIcons.stories.js.map +1 -1
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js +2 -2
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js +2 -2
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/PitchIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/PitchIcon.js +2 -2
- package/dist/components/Icon/Notifications/PitchIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js +2 -2
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js +2 -2
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.js +3 -3
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.js +3 -3
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js +2 -2
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/RewardIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/RewardIcon.js +2 -2
- package/dist/components/Icon/Notifications/RewardIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/StreamingIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/StreamingIcon.js +2 -2
- package/dist/components/Icon/Notifications/StreamingIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/TenderIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/TenderIcon.js +2 -2
- package/dist/components/Icon/Notifications/TenderIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/TipIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/TipIcon.js +2 -2
- package/dist/components/Icon/Notifications/TipIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/VotingEndedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/VotingEndedIcon.js +2 -2
- package/dist/components/Icon/Notifications/VotingEndedIcon.js.map +1 -1
- package/dist/components/Icon/PlacesIcon.d.ts +2 -2
- package/dist/components/Icon/PlacesIcon.js +2 -2
- package/dist/components/Icon/PlacesIcon.js.map +1 -1
- package/dist/components/Icon/Social/DiscordIcon.d.ts +2 -2
- package/dist/components/Icon/Social/DiscordIcon.js +2 -2
- package/dist/components/Icon/Social/GitHubIcon.d.ts +2 -2
- package/dist/components/Icon/Social/GitHubIcon.js +2 -2
- package/dist/components/Icon/Social/RedditIcon.d.ts +2 -2
- package/dist/components/Icon/Social/RedditIcon.js +2 -2
- package/dist/components/Icon/Social/SocialIcons.stories.d.ts +2 -2
- package/dist/components/Icon/Social/SocialIcons.stories.js +13 -13
- package/dist/components/Icon/Social/TiktokIcon.d.ts +2 -2
- package/dist/components/Icon/Social/TiktokIcon.js +2 -2
- package/dist/components/Icon/Social/TiktokIcon.js.map +1 -1
- package/dist/components/Icon/Social/XIcon.d.ts +2 -2
- package/dist/components/Icon/Social/XIcon.js +2 -2
- package/dist/components/Icon/SparklesIcon.d.ts +2 -2
- package/dist/components/Icon/SparklesIcon.js +2 -2
- package/dist/components/Icon/SparklesIcon.js.map +1 -1
- package/dist/components/Icon/UtilityIcon.d.ts +2 -2
- package/dist/components/Icon/UtilityIcon.js +2 -2
- package/dist/components/Icon/UtilityIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/BaseFemaleIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js +2 -2
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/BaseMaleIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/BaseMaleIcon.js +2 -2
- package/dist/components/Icon/Wearables/BaseMaleIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/BodyShapeIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/BodyShapeIcon.js +2 -2
- package/dist/components/Icon/Wearables/BodyShapeIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EarringIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EarringIcon.js +2 -2
- package/dist/components/Icon/Wearables/EarringIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EyebrowsIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EyebrowsIcon.js +2 -2
- package/dist/components/Icon/Wearables/EyebrowsIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EyesIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EyesIcon.js +2 -2
- package/dist/components/Icon/Wearables/EyesIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EyewearIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EyewearIcon.js +2 -2
- package/dist/components/Icon/Wearables/EyewearIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/FacialHairIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/FacialHairIcon.js +2 -2
- package/dist/components/Icon/Wearables/FacialHairIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/FeetIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/FeetIcon.js +2 -2
- package/dist/components/Icon/Wearables/FeetIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HairIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HairIcon.js +2 -2
- package/dist/components/Icon/Wearables/HairIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HandsWearIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HandsWearIcon.js +2 -2
- package/dist/components/Icon/Wearables/HandsWearIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HatIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HatIcon.js +2 -2
- package/dist/components/Icon/Wearables/HatIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HelmetIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HelmetIcon.js +2 -2
- package/dist/components/Icon/Wearables/HelmetIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/LowerBodyIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/LowerBodyIcon.js +2 -2
- package/dist/components/Icon/Wearables/LowerBodyIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/MaskIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/MaskIcon.js +2 -2
- package/dist/components/Icon/Wearables/MaskIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/MouthIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/MouthIcon.js +2 -2
- package/dist/components/Icon/Wearables/MouthIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/SkinIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/SkinIcon.js +2 -2
- package/dist/components/Icon/Wearables/SkinIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/SmartWearableIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/SmartWearableIcon.js +2 -2
- package/dist/components/Icon/Wearables/SmartWearableIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/TiaraIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/TiaraIcon.js +2 -2
- package/dist/components/Icon/Wearables/TiaraIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/TopHeadIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/TopHeadIcon.js +2 -2
- package/dist/components/Icon/Wearables/TopHeadIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/UnisexIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/UnisexIcon.js +2 -2
- package/dist/components/Icon/Wearables/UnisexIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/UpperBodyIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/UpperBodyIcon.js +2 -2
- package/dist/components/Icon/Wearables/UpperBodyIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/WearablesIcons.stories.d.ts +3 -3
- package/dist/components/Icon/Wearables/WearablesIcons.stories.js +52 -52
- package/dist/components/Icon/Wearables/WearablesIcons.stories.js.map +1 -1
- package/dist/components/Icon/WindowsIcon.d.ts +2 -2
- package/dist/components/Icon/WindowsIcon.js +2 -2
- package/dist/components/Icon/index.d.ts +75 -75
- package/dist/components/Icon/index.js +75 -75
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.d.ts +2 -2
- package/dist/components/IconBadge/IconBadge.js +8 -8
- package/dist/components/IconBadge/IconBadge.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.stories.d.ts +2 -2
- package/dist/components/IconBadge/IconBadge.stories.js +24 -24
- package/dist/components/IconBadge/IconBadge.stories.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.styled.d.ts +2 -2
- package/dist/components/IconBadge/IconBadge.styled.js +24 -24
- package/dist/components/IconBadge/IconBadge.styled.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.types.d.ts +1 -1
- package/dist/components/IconBadge/index.d.ts +2 -2
- package/dist/components/IconBadge/index.js +2 -2
- package/dist/components/IconChain/IconChain.d.ts +2 -2
- package/dist/components/IconChain/IconChain.js +11 -11
- package/dist/components/IconChain/index.d.ts +2 -2
- package/dist/components/IconChain/index.js +1 -1
- package/dist/components/JumpIn/JumpIn.d.ts +2 -2
- package/dist/components/JumpIn/JumpIn.js +14 -16
- package/dist/components/JumpIn/JumpIn.js.map +1 -1
- package/dist/components/JumpIn/JumpIn.stories.d.ts +3 -3
- package/dist/components/JumpIn/JumpIn.stories.js +91 -91
- package/dist/components/JumpIn/JumpIn.stories.js.map +1 -1
- package/dist/components/JumpIn/JumpIn.styled.d.ts +1 -1
- package/dist/components/JumpIn/JumpIn.styled.js +68 -68
- package/dist/components/JumpIn/JumpIn.styled.js.map +1 -1
- package/dist/components/JumpIn/JumpIn.types.d.ts +5 -5
- package/dist/components/JumpIn/index.d.ts +2 -2
- package/dist/components/JumpIn/index.js +2 -2
- package/dist/components/LanguageDropdown/LanguageDropdown.d.ts +2 -2
- package/dist/components/LanguageDropdown/LanguageDropdown.js +12 -12
- package/dist/components/LanguageDropdown/LanguageDropdown.js.map +1 -1
- package/dist/components/LanguageDropdown/LanguageDropdown.stories.d.ts +2 -2
- package/dist/components/LanguageDropdown/LanguageDropdown.stories.js +20 -20
- package/dist/components/LanguageDropdown/LanguageDropdown.stories.js.map +1 -1
- package/dist/components/LanguageDropdown/LanguageDropdown.styled.js +14 -14
- package/dist/components/LanguageDropdown/index.d.ts +2 -2
- package/dist/components/LanguageDropdown/index.js +1 -1
- package/dist/components/Logo/Logo.d.ts +2 -2
- package/dist/components/Logo/Logo.js +2 -2
- package/dist/components/Logo/Logo.js.map +1 -1
- package/dist/components/Logo/Logo.stories.d.ts +2 -2
- package/dist/components/Logo/Logo.stories.js +6 -6
- package/dist/components/Logo/Logo.styled.js +14 -14
- package/dist/components/Logo/Logo.styled.js.map +1 -1
- package/dist/components/Logo/Logo.types.d.ts +2 -2
- package/dist/components/Mana/Mana.d.ts +2 -2
- package/dist/components/Mana/Mana.js +7 -7
- package/dist/components/Mana/Mana.js.map +1 -1
- package/dist/components/Mana/Mana.stories.d.ts +3 -3
- package/dist/components/Mana/Mana.stories.js +43 -43
- package/dist/components/Mana/Mana.stories.js.map +1 -1
- package/dist/components/Mana/Mana.styled.d.ts +2 -2
- package/dist/components/Mana/Mana.styled.js +19 -29
- package/dist/components/Mana/Mana.styled.js.map +1 -1
- package/dist/components/Mana/Mana.types.d.ts +2 -2
- package/dist/components/Mana/index.d.ts +2 -2
- package/dist/components/Mana/index.js +2 -2
- package/dist/components/Media/Media.d.ts +6 -6
- package/dist/components/Media/Media.js +14 -14
- package/dist/components/Media/Media.js.map +1 -1
- package/dist/components/Media/index.d.ts +1 -1
- package/dist/components/Media/index.js +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.d.ts +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.js +5 -5
- package/dist/components/Modal/DownloadModal/DownloadModal.js.map +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.js +64 -64
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.js.map +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.styled.js +30 -30
- package/dist/components/Modal/DownloadModal/DownloadModal.types.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.js +5 -5
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.js.map +1 -1
- package/dist/components/Modal/DownloadModal/index.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/index.js +1 -1
- package/dist/components/Modal/Modal.d.ts +2 -2
- package/dist/components/Modal/Modal.js +7 -7
- package/dist/components/Modal/Modal.js.map +1 -1
- package/dist/components/Modal/Modal.stories.d.ts +3 -3
- package/dist/components/Modal/Modal.stories.js +68 -68
- package/dist/components/Modal/Modal.stories.js.map +1 -1
- package/dist/components/Modal/Modal.styled.d.ts +3 -3
- package/dist/components/Modal/Modal.styled.js +34 -34
- package/dist/components/Modal/Modal.styled.js.map +1 -1
- package/dist/components/Modal/Modal.types.d.ts +5 -5
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.d.ts +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.js +8 -8
- package/dist/components/Navbar/MainMenu/MainMenu.js.map +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.styled.js +21 -21
- package/dist/components/Navbar/MainMenu/MainMenu.styled.js.map +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.types.d.ts +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.d.ts +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.js +7 -7
- package/dist/components/Navbar/MenuItem/MenuItem.js.map +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.styled.js +35 -35
- package/dist/components/Navbar/MenuItem/MenuItem.styled.js.map +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.types.d.ts +1 -1
- package/dist/components/Navbar/Navbar.d.ts +2 -2
- package/dist/components/Navbar/Navbar.defaults.d.ts +2 -2
- package/dist/components/Navbar/Navbar.defaults.js +144 -144
- package/dist/components/Navbar/Navbar.js +11 -16
- package/dist/components/Navbar/Navbar.js.map +1 -1
- package/dist/components/Navbar/Navbar.stories.d.ts +2 -2
- package/dist/components/Navbar/Navbar.stories.js +30 -30
- package/dist/components/Navbar/Navbar.stories.js.map +1 -1
- package/dist/components/Navbar/Navbar.styled.d.ts +1 -1
- package/dist/components/Navbar/Navbar.styled.js +69 -69
- package/dist/components/Navbar/Navbar.styled.js.map +1 -1
- package/dist/components/Navbar/Navbar.types.d.ts +4 -4
- package/dist/components/Navbar/Navbar.types.js.map +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.d.ts +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.js +7 -7
- package/dist/components/Navbar/SubMenu/SubMenu.js.map +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.styled.d.ts +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.styled.js +83 -83
- package/dist/components/Navbar/SubMenu/SubMenu.styled.js.map +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.types.d.ts +1 -1
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.d.ts +1 -1
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.js +2 -2
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js +22 -22
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js.map +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.d.ts +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.js +6 -7
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.js.map +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.d.ts +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js +49 -49
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js.map +1 -1
- package/dist/components/Navbar/index.d.ts +2 -2
- package/dist/components/Navbar/index.js +2 -2
- package/dist/components/Navbar/utils.js +7 -7
- package/dist/components/Navbar/utils.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.d.ts +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItem.js +8 -8
- package/dist/components/Notifications/NotificationItem/NotificationItem.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.d.ts +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js +40 -40
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.types.d.ts +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItemText.d.ts +3 -3
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js +3 -3
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/index.d.ts +4 -4
- package/dist/components/Notifications/NotificationItem/index.js +2 -2
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.js +5 -5
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.js.map +1 -1
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.styled.js +19 -19
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationItemImage/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemImage/index.js +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.js +2 -2
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.js.map +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.styled.d.ts +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.styled.js +4 -4
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemNFTLink/index.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.js +39 -39
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js +6 -6
- 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 +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/index.d.ts +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/index.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/Events.i18n.js +29 -29
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Events/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.js +95 -95
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +7 -8
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +7 -8
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/index.d.ts +9 -9
- package/dist/components/Notifications/NotificationTypes/Governance/index.js +9 -9
- package/dist/components/Notifications/NotificationTypes/Land/Land.i18n.js +20 -20
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +7 -9
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Land/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +10 -12
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +10 -12
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/Marketplace.i18n.js +32 -32
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +10 -12
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.d.ts +4 -4
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.js +11 -11
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js +6 -8
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js +4 -4
- 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 -3
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.js +61 -61
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.types.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js +3 -3
- 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 +7 -7
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/index.d.ts +6 -6
- package/dist/components/Notifications/NotificationTypes/Reward/index.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.js +34 -34
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/index.d.ts +5 -5
- package/dist/components/Notifications/NotificationTypes/Streaming/index.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.js +14 -15
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.js +14 -14
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Transfer/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.js +62 -62
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +13 -19
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +9 -13
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/index.d.ts +5 -5
- package/dist/components/Notifications/NotificationTypes/Worlds/index.js +5 -5
- package/dist/components/Notifications/NotificationTypes/index.d.ts +11 -11
- package/dist/components/Notifications/NotificationTypes/index.js +11 -11
- package/dist/components/Notifications/NotificationTypes/index.js.map +1 -1
- package/dist/components/Notifications/Notifications.stories.d.ts +3 -3
- package/dist/components/Notifications/Notifications.stories.js +78 -88
- package/dist/components/Notifications/Notifications.stories.js.map +1 -1
- package/dist/components/Notifications/Notifications.styled.d.ts +1 -1
- package/dist/components/Notifications/Notifications.styled.js +1 -1
- package/dist/components/Notifications/Notifications.styled.js.map +1 -1
- package/dist/components/Notifications/Notifications.types.d.ts +6 -6
- package/dist/components/Notifications/Notifications.types.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.i18n.js +12 -12
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.js +22 -23
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.d.ts +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.js +56 -56
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationsFeed/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeed/index.js +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.i18n.js +30 -30
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.js +15 -16
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.d.ts +3 -3
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js +35 -35
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationsFeedTabs/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeedTabs/index.js +1 -1
- package/dist/components/Notifications/NotificationsToggle/Notifications.d.ts +2 -2
- package/dist/components/Notifications/NotificationsToggle/Notifications.js +8 -8
- package/dist/components/Notifications/NotificationsToggle/Notifications.js.map +1 -1
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.js +17 -17
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationsToggle/Notifications.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationsToggle/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationsToggle/index.js +1 -1
- package/dist/components/Notifications/index.d.ts +4 -4
- package/dist/components/Notifications/index.js +2 -2
- package/dist/components/Notifications/utils.d.ts +4 -4
- package/dist/components/Notifications/utils.js +4 -4
- package/dist/components/Notifications/utils.js.map +1 -1
- package/dist/components/Profile/Profile.d.ts +2 -2
- package/dist/components/Profile/Profile.i18n.d.ts +1 -1
- package/dist/components/Profile/Profile.i18n.js +1 -1
- package/dist/components/Profile/Profile.js +9 -9
- package/dist/components/Profile/Profile.js.map +1 -1
- package/dist/components/Profile/Profile.stories.d.ts +4 -4
- package/dist/components/Profile/Profile.stories.js +88 -88
- package/dist/components/Profile/Profile.stories.js.map +1 -1
- package/dist/components/Profile/Profile.stories.styled.js +15 -15
- package/dist/components/Profile/Profile.styled.d.ts +2 -2
- package/dist/components/Profile/Profile.styled.js +24 -24
- package/dist/components/Profile/Profile.styled.js.map +1 -1
- package/dist/components/Profile/Profile.types.d.ts +7 -7
- package/dist/components/Profile/ProfileImage.d.ts +2 -2
- package/dist/components/Profile/ProfileImage.js +12 -12
- package/dist/components/Profile/ProfileImage.js.map +1 -1
- package/dist/components/Profile/index.d.ts +2 -2
- package/dist/components/Profile/index.js +2 -2
- package/dist/components/RarityBadge/RarityBadge.d.ts +2 -2
- package/dist/components/RarityBadge/RarityBadge.i18n.d.ts +1 -1
- package/dist/components/RarityBadge/RarityBadge.i18n.js +18 -18
- package/dist/components/RarityBadge/RarityBadge.js +6 -6
- package/dist/components/RarityBadge/RarityBadge.js.map +1 -1
- package/dist/components/RarityBadge/RarityBadge.stories.d.ts +3 -3
- package/dist/components/RarityBadge/RarityBadge.stories.js +74 -74
- package/dist/components/RarityBadge/RarityBadge.stories.js.map +1 -1
- package/dist/components/RarityBadge/RarityBadge.stories.styled.js +5 -5
- package/dist/components/RarityBadge/RarityBadge.styled.d.ts +1 -1
- package/dist/components/RarityBadge/RarityBadge.styled.js +13 -13
- package/dist/components/RarityBadge/RarityBadge.styled.js.map +1 -1
- package/dist/components/RarityBadge/RarityBadge.types.d.ts +3 -3
- package/dist/components/RarityBadge/index.d.ts +2 -2
- package/dist/components/RarityBadge/index.js +2 -2
- package/dist/components/SceneCard/SceneCard.d.ts +1 -1
- package/dist/components/SceneCard/SceneCard.js +17 -19
- package/dist/components/SceneCard/SceneCard.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.stories.d.ts +3 -3
- package/dist/components/SceneCard/SceneCard.stories.js +116 -128
- package/dist/components/SceneCard/SceneCard.stories.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.styled.d.ts +1 -1
- package/dist/components/SceneCard/SceneCard.styled.js +221 -227
- package/dist/components/SceneCard/SceneCard.styled.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.types.d.ts +4 -4
- package/dist/components/SceneCard/index.d.ts +2 -2
- package/dist/components/SceneCard/index.js +1 -1
- package/dist/components/ScenesTable/ScenesTable.d.ts +1 -1
- package/dist/components/ScenesTable/ScenesTable.js +19 -19
- package/dist/components/ScenesTable/ScenesTable.js.map +1 -1
- package/dist/components/ScenesTable/ScenesTable.stories.d.ts +2 -2
- package/dist/components/ScenesTable/ScenesTable.stories.js +89 -89
- package/dist/components/ScenesTable/ScenesTable.stories.js.map +1 -1
- package/dist/components/ScenesTable/ScenesTable.types.d.ts +2 -2
- package/dist/components/ScenesTable/index.d.ts +2 -2
- package/dist/components/ScenesTable/index.js +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.js +10 -12
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.styled.js +39 -41
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.styled.js.map +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.types.d.ts +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/ActionRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/AvatarRow/AvatarRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/AvatarRow/AvatarRow.js +3 -3
- package/dist/components/ScenesTable/rows/AvatarRow/AvatarRow.types.d.ts +1 -1
- package/dist/components/ScenesTable/rows/AvatarRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/AvatarRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.js +6 -8
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.styled.js +13 -13
- package/dist/components/ScenesTable/rows/LocationRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/LocationRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.js +7 -7
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.d.ts +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.js +54 -54
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.js.map +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.types.d.ts +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/SceneRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/index.d.ts +8 -8
- package/dist/components/ScenesTable/rows/index.js +4 -4
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.js +12 -14
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/Table/Table.stories.d.ts +4 -4
- package/dist/components/Table/Table.stories.js +109 -109
- package/dist/components/Table/Table.stories.js.map +1 -1
- package/dist/components/Table/Table.styled.d.ts +1 -1
- package/dist/components/Table/Table.styled.js +84 -88
- package/dist/components/Table/Table.styled.js.map +1 -1
- package/dist/components/Table/Table.types.d.ts +1 -1
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Table/index.js +1 -1
- package/dist/components/UserLabel/UserLabel.d.ts +1 -1
- package/dist/components/UserLabel/UserLabel.js +6 -6
- package/dist/components/UserLabel/UserLabel.js.map +1 -1
- package/dist/components/UserLabel/UserLabel.stories.d.ts +2 -2
- package/dist/components/UserLabel/UserLabel.stories.js +50 -50
- package/dist/components/UserLabel/UserLabel.stories.js.map +1 -1
- package/dist/components/UserLabel/UserLabel.styled.js +11 -11
- package/dist/components/UserLabel/UserLabel.types.d.ts +1 -1
- package/dist/components/UserLabel/index.d.ts +2 -2
- package/dist/components/UserLabel/index.js +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.d.ts +2 -2
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js +11 -14
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +3 -3
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +36 -36
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +53 -53
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +2 -2
- package/dist/components/UserMenu/ManaBalances/index.d.ts +2 -2
- package/dist/components/UserMenu/ManaBalances/index.js +1 -1
- package/dist/components/UserMenu/UserMenu.d.ts +2 -2
- package/dist/components/UserMenu/UserMenu.i18n.d.ts +1 -1
- package/dist/components/UserMenu/UserMenu.i18n.js +16 -16
- package/dist/components/UserMenu/UserMenu.js +14 -16
- package/dist/components/UserMenu/UserMenu.js.map +1 -1
- package/dist/components/UserMenu/UserMenu.stories.d.ts +3 -3
- package/dist/components/UserMenu/UserMenu.stories.js +48 -48
- package/dist/components/UserMenu/UserMenu.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenu.styled.js +14 -14
- package/dist/components/UserMenu/UserMenu.types.d.ts +5 -5
- package/dist/components/UserMenu/UserMenu.types.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js +14 -14
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js +33 -41
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +27 -27
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +134 -134
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +6 -6
- package/dist/components/UserMenu/index.d.ts +6 -6
- package/dist/components/UserMenu/index.js +3 -3
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.d.ts +2 -2
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.js +21 -26
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.js.map +1 -1
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.styled.js +6 -6
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.styled.js.map +1 -1
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.types.d.ts +3 -3
- package/dist/components/WearablePreview/AnimationControls/index.d.ts +2 -2
- package/dist/components/WearablePreview/AnimationControls/index.js +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.d.ts +2 -2
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.js +24 -31
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.js.map +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.d.ts +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.js +56 -56
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.js.map +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.types.d.ts +2 -2
- package/dist/components/WearablePreview/EmoteControls/index.d.ts +2 -2
- package/dist/components/WearablePreview/EmoteControls/index.js +1 -1
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.d.ts +2 -2
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.js +6 -6
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.js.map +1 -1
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.d.ts +2 -2
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.js +39 -41
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.js.map +1 -1
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.types.d.ts +1 -1
- package/dist/components/WearablePreview/TranslationControls/index.d.ts +3 -3
- package/dist/components/WearablePreview/TranslationControls/index.js +2 -2
- package/dist/components/WearablePreview/WearablePreview.controller.d.ts +1 -1
- package/dist/components/WearablePreview/WearablePreview.controller.js +34 -38
- package/dist/components/WearablePreview/WearablePreview.controller.js.map +1 -1
- package/dist/components/WearablePreview/WearablePreview.d.ts +2 -2
- package/dist/components/WearablePreview/WearablePreview.js +75 -81
- package/dist/components/WearablePreview/WearablePreview.js.map +1 -1
- package/dist/components/WearablePreview/WearablePreview.stories.d.ts +2 -2
- package/dist/components/WearablePreview/WearablePreview.stories.js +144 -151
- package/dist/components/WearablePreview/WearablePreview.stories.js.map +1 -1
- package/dist/components/WearablePreview/WearablePreview.stories.styled.js +4 -4
- package/dist/components/WearablePreview/WearablePreview.styled.js +5 -5
- package/dist/components/WearablePreview/WearablePreview.types.d.ts +3 -3
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.d.ts +2 -2
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.js +7 -7
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.js.map +1 -1
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.styled.d.ts +1 -1
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.styled.js +21 -21
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.types.d.ts +1 -1
- package/dist/components/WearablePreview/ZoomControls/index.d.ts +3 -3
- package/dist/components/WearablePreview/ZoomControls/index.js +2 -2
- package/dist/components/WearablePreview/index.d.ts +11 -11
- package/dist/components/WearablePreview/index.js +6 -6
- package/dist/components/WearablePreview/useWearablePreviewController.d.ts +1 -1
- package/dist/components/WearablePreview/useWearablePreviewController.js +6 -7
- package/dist/components/WearablePreview/useWearablePreviewController.js.map +1 -1
- package/dist/config/index.js +5 -5
- package/dist/data/avatar.d.ts +1 -1
- package/dist/data/avatar.js +45 -45
- package/dist/data/avatar.js.map +1 -1
- package/dist/data/item.d.ts +1 -1
- package/dist/data/item.js +15 -15
- package/dist/data/item.js.map +1 -1
- package/dist/data/notifications.d.ts +3 -3
- package/dist/data/notifications.js +312 -312
- package/dist/data/notifications.js.map +1 -1
- package/dist/index.d.ts +46 -46
- package/dist/index.js +44 -44
- package/dist/index.js.map +1 -1
- package/dist/lib/debounce.js.map +1 -1
- package/dist/lib/network.d.ts +2 -2
- package/dist/lib/network.js +9 -9
- package/dist/lib/network.js.map +1 -1
- package/dist/modules/cdnReleases.d.ts +1 -1
- package/dist/modules/cdnReleases.js +18 -18
- package/dist/modules/cdnReleases.js.map +1 -1
- package/dist/modules/contentful.d.ts +1 -1
- package/dist/modules/contentful.js +3 -5
- package/dist/modules/contentful.js.map +1 -1
- package/dist/modules/file.js +3 -3
- package/dist/modules/file.js.map +1 -1
- package/dist/modules/index.d.ts +7 -7
- package/dist/modules/index.js +7 -7
- package/dist/modules/jumpIn.d.ts +1 -1
- package/dist/modules/jumpIn.js +17 -20
- package/dist/modules/jumpIn.js.map +1 -1
- package/dist/modules/url.js.map +1 -1
- package/dist/modules/userAgent.d.ts +2 -2
- package/dist/modules/userAgent.js +3 -3
- package/dist/modules/userAgent.js.map +1 -1
- package/dist/modules/webGpu.js +1 -1
- package/dist/modules/webGpu.js.map +1 -1
- package/dist/theme/colorSchemes.d.ts +1 -1
- package/dist/theme/colorSchemes.js +211 -211
- package/dist/theme/colors.d.ts +2 -2
- package/dist/theme/colors.js +24 -24
- package/dist/theme/colors.js.map +1 -1
- package/dist/theme/components.d.ts +1 -1
- package/dist/theme/components.js +2628 -2630
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +12 -12
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/provider.d.ts +2 -2
- package/dist/theme/provider.js +3 -3
- package/dist/theme/types.d.ts +1 -1
- package/dist/theme/typography.js +19 -19
- package/dist/utils/colors.js +3 -5
- package/dist/utils/colors.js.map +1 -1
- package/dist/utils/colors.spec.js +84 -84
- package/dist/utils/colors.spec.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/optionalDependency.d.ts +1 -1
- package/dist/utils/optionalDependency.js +8 -8
- package/dist/utils/optionalDependency.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,163 +1,163 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { avatar } from
|
|
3
|
-
import { Mana } from
|
|
4
|
-
import { ProfileList, ProfileSizeList, ProfileStoryContainer
|
|
5
|
-
import { Profile } from
|
|
2
|
+
import { avatar } from '../../data/avatar';
|
|
3
|
+
import { Mana } from '../Mana/Mana';
|
|
4
|
+
import { ProfileList, ProfileSizeList, ProfileStoryContainer } from './Profile.stories.styled';
|
|
5
|
+
import { Profile } from './';
|
|
6
6
|
const meta = {
|
|
7
7
|
// TODO: use T here?
|
|
8
8
|
component: Profile,
|
|
9
|
-
title:
|
|
10
|
-
tags: [
|
|
9
|
+
title: 'Decentraland UI/Profile',
|
|
10
|
+
tags: ['autodocs'],
|
|
11
11
|
argTypes: {
|
|
12
12
|
size: {
|
|
13
|
-
description:
|
|
14
|
-
control:
|
|
15
|
-
options: [
|
|
16
|
-
defaultValue:
|
|
13
|
+
description: 'The size of the profile',
|
|
14
|
+
control: 'select',
|
|
15
|
+
options: ['normal', 'large', 'huge', 'massive'],
|
|
16
|
+
defaultValue: 'normal'
|
|
17
17
|
},
|
|
18
18
|
address: {
|
|
19
|
-
description:
|
|
20
|
-
control:
|
|
21
|
-
defaultValue:
|
|
19
|
+
description: 'The address of the profile',
|
|
20
|
+
control: 'text',
|
|
21
|
+
defaultValue: '0xdeadbeef'
|
|
22
22
|
},
|
|
23
23
|
avatar: {
|
|
24
|
-
description:
|
|
25
|
-
control:
|
|
26
|
-
defaultValue: avatar
|
|
24
|
+
description: 'The avatar of the profile',
|
|
25
|
+
control: 'object',
|
|
26
|
+
defaultValue: avatar
|
|
27
27
|
},
|
|
28
28
|
shortenAddress: {
|
|
29
|
-
description:
|
|
30
|
-
control:
|
|
31
|
-
defaultValue: false
|
|
29
|
+
description: 'Whether the address should be shortened',
|
|
30
|
+
control: 'boolean',
|
|
31
|
+
defaultValue: false
|
|
32
32
|
},
|
|
33
33
|
rounded: {
|
|
34
|
-
description:
|
|
35
|
-
control:
|
|
36
|
-
defaultValue: false
|
|
34
|
+
description: 'Whether the profile image should be rounded',
|
|
35
|
+
control: 'boolean',
|
|
36
|
+
defaultValue: false
|
|
37
37
|
},
|
|
38
38
|
textOnly: {
|
|
39
|
-
description:
|
|
40
|
-
control:
|
|
41
|
-
defaultValue: false
|
|
39
|
+
description: 'Whether the profile should be displayed as text only',
|
|
40
|
+
control: 'boolean',
|
|
41
|
+
defaultValue: false
|
|
42
42
|
},
|
|
43
43
|
imageOnly: {
|
|
44
|
-
description:
|
|
45
|
-
control:
|
|
46
|
-
defaultValue: false
|
|
44
|
+
description: 'Whether the profile should be displayed as image only',
|
|
45
|
+
control: 'boolean',
|
|
46
|
+
defaultValue: false
|
|
47
47
|
},
|
|
48
48
|
hasPopup: {
|
|
49
|
-
description:
|
|
50
|
-
control:
|
|
51
|
-
defaultValue: false
|
|
49
|
+
description: 'Whether the profile should have a popup',
|
|
50
|
+
control: 'boolean',
|
|
51
|
+
defaultValue: false
|
|
52
52
|
},
|
|
53
53
|
isDecentraland: {
|
|
54
|
-
description:
|
|
55
|
-
control:
|
|
56
|
-
defaultValue: false
|
|
54
|
+
description: 'Whether the profile should be displayed as Decentraland',
|
|
55
|
+
control: 'boolean',
|
|
56
|
+
defaultValue: false
|
|
57
57
|
},
|
|
58
58
|
sliceAddressBy: {
|
|
59
|
-
description:
|
|
60
|
-
control:
|
|
61
|
-
defaultValue: 6
|
|
59
|
+
description: 'The number of characters to slice the address by (minimum 6, maximum 42)',
|
|
60
|
+
control: 'number',
|
|
61
|
+
defaultValue: 6
|
|
62
62
|
},
|
|
63
63
|
showBothNameAndAddress: {
|
|
64
|
-
description:
|
|
65
|
-
control:
|
|
66
|
-
defaultValue: false
|
|
67
|
-
}
|
|
64
|
+
description: 'Whether to display both name and address (address shown below name with copy icon)',
|
|
65
|
+
control: 'boolean',
|
|
66
|
+
defaultValue: false
|
|
67
|
+
}
|
|
68
68
|
},
|
|
69
|
-
render:
|
|
69
|
+
render: args => (_jsx(ProfileStoryContainer, { children: _jsx(Profile, { ...args }) }))
|
|
70
70
|
};
|
|
71
71
|
const NoAvatar = {
|
|
72
|
-
name:
|
|
73
|
-
args: { address:
|
|
72
|
+
name: 'No avatar',
|
|
73
|
+
args: { address: '0xdeadbeef' }
|
|
74
74
|
};
|
|
75
75
|
const ShortenedAddress = {
|
|
76
|
-
name:
|
|
76
|
+
name: 'Shortened address',
|
|
77
77
|
args: {
|
|
78
|
-
address:
|
|
79
|
-
shortenAddress: true
|
|
80
|
-
}
|
|
78
|
+
address: '0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6',
|
|
79
|
+
shortenAddress: true
|
|
80
|
+
}
|
|
81
81
|
};
|
|
82
82
|
const Rounded = {
|
|
83
|
-
name:
|
|
84
|
-
args: { address:
|
|
83
|
+
name: 'Rounded',
|
|
84
|
+
args: { address: '0xdeadbeef', rounded: true }
|
|
85
85
|
};
|
|
86
86
|
const WithAvatar = {
|
|
87
|
-
name:
|
|
88
|
-
args: { address:
|
|
87
|
+
name: 'Avatar',
|
|
88
|
+
args: { address: '0xdeadbeef', avatar }
|
|
89
89
|
};
|
|
90
90
|
const AvatarWithoutName = {
|
|
91
|
-
name:
|
|
91
|
+
name: 'Avatar without name',
|
|
92
92
|
args: {
|
|
93
|
-
address:
|
|
94
|
-
avatar: { ...avatar, name: null }
|
|
95
|
-
}
|
|
93
|
+
address: '0xdeadbeef',
|
|
94
|
+
avatar: { ...avatar, name: null }
|
|
95
|
+
}
|
|
96
96
|
};
|
|
97
97
|
const AvatarWithShortenedAddress = {
|
|
98
|
-
name:
|
|
98
|
+
name: 'Avatar with shortened address',
|
|
99
99
|
args: {
|
|
100
|
-
address:
|
|
100
|
+
address: '0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6',
|
|
101
101
|
avatar: { ...avatar, name: null },
|
|
102
102
|
shortenAddress: true,
|
|
103
|
-
showCopyButton: true
|
|
104
|
-
}
|
|
103
|
+
showCopyButton: true
|
|
104
|
+
}
|
|
105
105
|
};
|
|
106
106
|
const AvatarUnclaimedName = {
|
|
107
|
-
name:
|
|
108
|
-
args: { address:
|
|
107
|
+
name: 'Avatar with an unclaimed name',
|
|
108
|
+
args: { address: '0xdeadbeef', avatar: { ...avatar, hasClaimedName: false } }
|
|
109
109
|
};
|
|
110
110
|
const ImageOnly = {
|
|
111
|
-
name:
|
|
112
|
-
args: { address:
|
|
111
|
+
name: 'Image only',
|
|
112
|
+
args: { address: '0xdeadbeef', avatar, imageOnly: true }
|
|
113
113
|
};
|
|
114
114
|
const TextOnly = {
|
|
115
|
-
name:
|
|
116
|
-
args: { address:
|
|
115
|
+
name: 'Text only',
|
|
116
|
+
args: { address: '0xdeadbeef', avatar, textOnly: true }
|
|
117
117
|
};
|
|
118
118
|
const WithPopup = {
|
|
119
|
-
name:
|
|
120
|
-
args: { address:
|
|
119
|
+
name: 'With popup',
|
|
120
|
+
args: { address: '0xdeadbeef', avatar, hasPopup: true }
|
|
121
121
|
};
|
|
122
122
|
const Inline = {
|
|
123
|
-
name:
|
|
124
|
-
args: { address:
|
|
125
|
-
render:
|
|
123
|
+
name: 'Inline',
|
|
124
|
+
args: { address: '0xdeadbeef', avatar, inline: true },
|
|
125
|
+
render: args => (_jsxs(_Fragment, { children: ["You sent", ' ', _jsx(Mana, { primary: true, inline: true, children: "1,000" }), ' ', "to ", _jsx(Profile, { ...args })] }))
|
|
126
126
|
};
|
|
127
127
|
const Decentraland = {
|
|
128
|
-
name:
|
|
129
|
-
args: { address:
|
|
130
|
-
render:
|
|
128
|
+
name: 'Decentraland',
|
|
129
|
+
args: { address: '0xdeadbeef', avatar, inline: true, isDecentraland: true },
|
|
130
|
+
render: args => (_jsxs(_Fragment, { children: ["You sent", ' ', _jsx(Mana, { primary: true, inline: true, children: "1,000" }), ' ', "to ", _jsx(Profile, { ...args })] }))
|
|
131
131
|
};
|
|
132
132
|
const SlicedAddress = {
|
|
133
|
-
name:
|
|
134
|
-
render: () => (_jsx(ProfileStoryContainer, { children: _jsxs(ProfileList, { children: [_jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 10 }), _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 20 }), _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 30 }), _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 40 })] }) }))
|
|
133
|
+
name: 'Sliced address',
|
|
134
|
+
render: () => (_jsx(ProfileStoryContainer, { children: _jsxs(ProfileList, { children: [_jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 10 }), _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 20 }), _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 30 }), _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", sliceAddressBy: 40 })] }) }))
|
|
135
135
|
};
|
|
136
136
|
const Sizes = {
|
|
137
|
-
name:
|
|
138
|
-
render: () => (_jsx(ProfileStoryContainer, { children: _jsxs(ProfileSizeList, { children: [_jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "normal", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "large", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "huge", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "massive", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "normal", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "large", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "huge", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "massive", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "normal", imageOnly: true, rounded: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "large", imageOnly: true, rounded: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "huge", imageOnly: true, rounded: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "massive", imageOnly: true, rounded: true })] }) }))
|
|
137
|
+
name: 'Sizes',
|
|
138
|
+
render: () => (_jsx(ProfileStoryContainer, { children: _jsxs(ProfileSizeList, { children: [_jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "normal", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "large", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "huge", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "massive", imageOnly: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "normal", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "large", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "huge", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", avatar: avatar, inline: false, size: "massive", imageOnly: true, isDecentraland: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "normal", imageOnly: true, rounded: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "large", imageOnly: true, rounded: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "huge", imageOnly: true, rounded: true }), _jsx(Profile, { address: "0xdeadbeef", inline: false, size: "massive", imageOnly: true, rounded: true })] }) }))
|
|
139
139
|
};
|
|
140
140
|
const LinkedAvatar = {
|
|
141
|
-
name:
|
|
142
|
-
render: () => (_jsx(ProfileStoryContainer, { children: _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", avatar: avatar, inline: true, as: "a", href: "https://decentraland.zone/marketplace/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", target: "_blank" }) }))
|
|
141
|
+
name: 'Profile with avatar and content linked to another site',
|
|
142
|
+
render: () => (_jsx(ProfileStoryContainer, { children: _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", avatar: avatar, inline: true, as: "a", href: "https://decentraland.zone/marketplace/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", target: "_blank" }) }))
|
|
143
143
|
};
|
|
144
144
|
const LinkedBlockie = {
|
|
145
|
-
name:
|
|
146
|
-
render: () => (_jsx(ProfileStoryContainer, { children: _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", inline: true, as:
|
|
145
|
+
name: 'Profile with blockie and content linked to another site',
|
|
146
|
+
render: () => (_jsx(ProfileStoryContainer, { children: _jsx(Profile, { address: "0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", inline: true, as: 'a', href: "https://decentraland.zone/marketplace/accounts/0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6", target: "_blank", showCopyButton: true }) }))
|
|
147
147
|
};
|
|
148
148
|
const WithNameAndShortenedAddress = {
|
|
149
|
-
name:
|
|
149
|
+
name: 'Show both name and shortened address',
|
|
150
150
|
args: {
|
|
151
|
-
address:
|
|
151
|
+
address: '0x89805E5f0698Cb4dB57f0E389f2a75259f78CCF6',
|
|
152
152
|
avatar,
|
|
153
153
|
showBothNameAndAddress: true,
|
|
154
154
|
shortenAddress: true,
|
|
155
155
|
showCopyButton: true,
|
|
156
|
-
size:
|
|
157
|
-
highlightName: true
|
|
158
|
-
}
|
|
156
|
+
size: 'huge',
|
|
157
|
+
highlightName: true
|
|
158
|
+
}
|
|
159
159
|
};
|
|
160
160
|
// eslint-disable-next-line import/no-default-export
|
|
161
161
|
export default meta;
|
|
162
|
-
export { NoAvatar, ShortenedAddress, Rounded, WithAvatar, AvatarWithoutName, AvatarWithShortenedAddress, AvatarUnclaimedName, ImageOnly, TextOnly, WithPopup, Inline, Decentraland, SlicedAddress, Sizes, LinkedAvatar, LinkedBlockie, WithNameAndShortenedAddress
|
|
162
|
+
export { NoAvatar, ShortenedAddress, Rounded, WithAvatar, AvatarWithoutName, AvatarWithShortenedAddress, AvatarUnclaimedName, ImageOnly, TextOnly, WithPopup, Inline, Decentraland, SlicedAddress, Sizes, LinkedAvatar, LinkedBlockie, WithNameAndShortenedAddress };
|
|
163
163
|
//# sourceMappingURL=Profile.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.stories.js","sourceRoot":"","sources":["../../../src/components/Profile/Profile.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEnC,OAAO,
|
|
1
|
+
{"version":3,"file":"Profile.stories.js","sourceRoot":"","sources":["../../../src/components/Profile/Profile.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEnC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAC9F,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAI5B,MAAM,IAAI,GAA0C;IAClD,oBAAoB;IACpB,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,WAAW,EAAE,yBAAyB;YACtC,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC;YAC/C,YAAY,EAAE,QAAQ;SACvB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,4BAA4B;YACzC,OAAO,EAAE,MAAM;YACf,YAAY,EAAE,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AAa,EAAE,IAAI;KACpB;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EACL,QAAQ,EACR,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,SAAS,EACT,QAAQ,EACR,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACb,KAAK,EACL,YAAY,EACZ,aAAa,EACb,2BAA2B,EAC5B,CAAA"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
const ProfileStoryContainer = styled(
|
|
3
|
-
|
|
4
|
-
display:
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
const ProfileStoryContainer = styled('div')(({ theme }) => ({
|
|
3
|
+
'& a, & a > span > span': {
|
|
4
|
+
display: 'inline-flex',
|
|
5
5
|
gap: theme.spacing(0.5),
|
|
6
|
-
alignItems:
|
|
7
|
-
verticalAlign:
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
verticalAlign: 'top',
|
|
8
8
|
color: theme.palette.primary.main,
|
|
9
9
|
fontWeight: 500,
|
|
10
|
-
textDecoration:
|
|
11
|
-
}
|
|
10
|
+
textDecoration: 'none'
|
|
11
|
+
}
|
|
12
12
|
}));
|
|
13
|
-
const ProfileList = styled(
|
|
14
|
-
display:
|
|
15
|
-
flexDirection:
|
|
13
|
+
const ProfileList = styled('div')({
|
|
14
|
+
display: 'flex',
|
|
15
|
+
flexDirection: 'column'
|
|
16
16
|
});
|
|
17
|
-
const ProfileSizeList = styled(
|
|
18
|
-
display:
|
|
19
|
-
flexDirection:
|
|
20
|
-
alignItems:
|
|
17
|
+
const ProfileSizeList = styled('div')({
|
|
18
|
+
display: 'flex',
|
|
19
|
+
flexDirection: 'row',
|
|
20
|
+
alignItems: 'flex-end'
|
|
21
21
|
});
|
|
22
22
|
export { ProfileStoryContainer, ProfileList, ProfileSizeList };
|
|
23
23
|
//# sourceMappingURL=Profile.stories.styled.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProfileBaseProps } from
|
|
1
|
+
import { ProfileBaseProps } from './Profile.types';
|
|
2
2
|
declare const ProfileContainer: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme;
|
|
4
4
|
as?: React.ElementType;
|
|
@@ -22,4 +22,4 @@ declare const ProfileCopyIcon: import("@emotion/styled").StyledComponent<import(
|
|
|
22
22
|
}, "color" | "fontSize" | "shapeRendering" | "className" | "style" | "classes" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
23
23
|
theme?: import("@emotion/react").Theme;
|
|
24
24
|
}, {}, {}>;
|
|
25
|
-
export { ProfileContainer, ProfileName, ProfileNameWithAddressContainer, ProfileCopyButton, ProfileCopyIcon
|
|
25
|
+
export { ProfileContainer, ProfileName, ProfileNameWithAddressContainer, ProfileCopyButton, ProfileCopyIcon };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import ContentCopyIcon from
|
|
2
|
-
import Box from
|
|
3
|
-
import IconButton from
|
|
4
|
-
import styled from
|
|
5
|
-
const ProfileContainer = styled(
|
|
6
|
-
display: inline ?
|
|
7
|
-
gap: size !==
|
|
8
|
-
alignItems:
|
|
9
|
-
verticalAlign:
|
|
1
|
+
import ContentCopyIcon from '@mui/icons-material/ContentCopy';
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
import IconButton from '@mui/material/IconButton';
|
|
4
|
+
import styled from '@emotion/styled';
|
|
5
|
+
const ProfileContainer = styled('span')(({ theme, inline = true, size = 'normal' }) => ({
|
|
6
|
+
display: inline ? 'inline-flex' : 'flex',
|
|
7
|
+
gap: size !== 'normal' ? theme.spacing(1) : theme.spacing(0.5),
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
verticalAlign: 'top'
|
|
10
10
|
}));
|
|
11
|
-
const ProfileName = styled(
|
|
12
|
-
shouldForwardProp:
|
|
13
|
-
})(({ theme, size =
|
|
14
|
-
const font = size !==
|
|
11
|
+
const ProfileName = styled('span', {
|
|
12
|
+
shouldForwardProp: prop => prop !== 'highlightName'
|
|
13
|
+
})(({ theme, size = 'normal', highlightName = false }) => {
|
|
14
|
+
const font = size !== 'normal' ? theme.typography.h6 : theme.typography.body1;
|
|
15
15
|
return {
|
|
16
16
|
fontSize: font.fontSize,
|
|
17
17
|
fontWeight: highlightName ? 600 : font.fontWeight,
|
|
18
|
-
lineHeight: font.lineHeight
|
|
18
|
+
lineHeight: font.lineHeight
|
|
19
19
|
};
|
|
20
20
|
});
|
|
21
21
|
const ProfileNameWithAddressContainer = styled(Box)(({ theme }) => ({
|
|
22
|
-
display:
|
|
23
|
-
flexDirection:
|
|
24
|
-
alignItems:
|
|
25
|
-
justifyContent:
|
|
26
|
-
gap: theme.spacing(0.5)
|
|
22
|
+
display: 'flex',
|
|
23
|
+
flexDirection: 'column',
|
|
24
|
+
alignItems: 'flex-start',
|
|
25
|
+
justifyContent: 'center',
|
|
26
|
+
gap: theme.spacing(0.5)
|
|
27
27
|
}));
|
|
28
28
|
const ProfileCopyButton = styled(IconButton)(({ theme }) => ({
|
|
29
29
|
padding: theme.spacing(0.25),
|
|
30
30
|
color: theme.palette.text.secondary,
|
|
31
|
-
|
|
32
|
-
color: theme.palette.text.primary
|
|
33
|
-
}
|
|
31
|
+
'&:hover': {
|
|
32
|
+
color: theme.palette.text.primary
|
|
33
|
+
}
|
|
34
34
|
}));
|
|
35
35
|
const ProfileCopyIcon = styled(ContentCopyIcon)({
|
|
36
|
-
fontSize:
|
|
36
|
+
fontSize: '0.875em'
|
|
37
37
|
});
|
|
38
|
-
export { ProfileContainer, ProfileName, ProfileNameWithAddressContainer, ProfileCopyButton, ProfileCopyIcon
|
|
38
|
+
export { ProfileContainer, ProfileName, ProfileNameWithAddressContainer, ProfileCopyButton, ProfileCopyIcon };
|
|
39
39
|
//# sourceMappingURL=Profile.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.styled.js","sourceRoot":"","sources":["../../../src/components/Profile/Profile.styled.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,iCAAiC,CAAA;AAC7D,OAAO,GAAG,MAAM,mBAAmB,CAAA;AACnC,OAAO,UAAU,MAAM,0BAA0B,CAAA;AACjD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAGpC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Profile.styled.js","sourceRoot":"","sources":["../../../src/components/Profile/Profile.styled.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,iCAAiC,CAAA;AAC7D,OAAO,GAAG,MAAM,mBAAmB,CAAA;AACnC,OAAO,UAAU,MAAM,0BAA0B,CAAA;AACjD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAGpC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAmB,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;IACxG,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM;IACxC,GAAG,EAAE,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAC9D,UAAU,EAAE,QAAQ;IACpB,aAAa,EAAE,KAAK;CACrB,CAAC,CAAC,CAAA;AAEH,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE;IACjC,iBAAiB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,eAAe;CACpD,CAAC,CAAmD,CAAC,EAAE,KAAK,EAAE,IAAI,GAAG,QAAQ,EAAE,aAAa,GAAG,KAAK,EAAE,EAAE,EAAE;IACzG,MAAM,IAAI,GAAG,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
-
type ProfileSize =
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Avatar } from '@dcl/schemas/dist/platform/profile/avatar';
|
|
3
|
+
type ProfileI18N = Record<'decentraland', string>;
|
|
4
|
+
type ProfileSize = 'normal' | 'large' | 'huge' | 'massive';
|
|
5
5
|
type ProfileBaseProps = {
|
|
6
6
|
address: string;
|
|
7
7
|
avatar?: Avatar | null;
|
|
@@ -19,8 +19,8 @@ type ProfileBaseProps = {
|
|
|
19
19
|
showCopyButton?: boolean;
|
|
20
20
|
highlightName?: boolean;
|
|
21
21
|
};
|
|
22
|
-
type ProfileLogoProps = Pick<ProfileBaseProps,
|
|
22
|
+
type ProfileLogoProps = Pick<ProfileBaseProps, 'isDecentraland' | 'avatar' | 'inline'>;
|
|
23
23
|
type ProfileProps<T extends React.ElementType> = ProfileBaseProps & {
|
|
24
24
|
as?: T;
|
|
25
|
-
} & Omit<React.ComponentPropsWithoutRef<T>, keyof ProfileBaseProps |
|
|
26
|
-
export { ProfileProps, ProfileLogoProps, ProfileBaseProps, ProfileSize, ProfileI18N
|
|
25
|
+
} & Omit<React.ComponentPropsWithoutRef<T>, keyof ProfileBaseProps | 'as'>;
|
|
26
|
+
export { ProfileProps, ProfileLogoProps, ProfileBaseProps, ProfileSize, ProfileI18N };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { ProfileProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ProfileProps } from './Profile.types';
|
|
3
3
|
declare const ProfileImage: React.MemoExoticComponent<(<T extends React.ElementType>(props: ProfileProps<T>) => import("react/jsx-runtime").JSX.Element)>;
|
|
4
4
|
export { ProfileImage };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useMemo } from
|
|
3
|
-
import { AvatarFace } from
|
|
4
|
-
import { Blockie } from
|
|
5
|
-
import { Logo } from
|
|
2
|
+
import { memo, useMemo } from 'react';
|
|
3
|
+
import { AvatarFace } from '../AvatarFace/AvatarFace';
|
|
4
|
+
import { Blockie } from '../Blockie/Blockie';
|
|
5
|
+
import { Logo } from '../Logo/Logo';
|
|
6
6
|
const avatarFaceSizeTranslator = {
|
|
7
|
-
normal:
|
|
8
|
-
large:
|
|
9
|
-
huge:
|
|
10
|
-
massive:
|
|
7
|
+
normal: 'tiny',
|
|
8
|
+
large: 'small',
|
|
9
|
+
huge: 'medium',
|
|
10
|
+
massive: 'massive'
|
|
11
11
|
};
|
|
12
12
|
const blockieSizeTranslator = {
|
|
13
13
|
normal: 3,
|
|
14
14
|
large: 5,
|
|
15
15
|
huge: 8,
|
|
16
|
-
massive: 30
|
|
16
|
+
massive: 30
|
|
17
17
|
};
|
|
18
18
|
const ProfileImage = memo((props) => {
|
|
19
19
|
// It's not a good practice to default inline to true, but maybe we should keep it for backwards compatibility
|
|
20
|
-
const { isDecentraland, avatar, inline = true, address, size =
|
|
20
|
+
const { isDecentraland, avatar, inline = true, address, size = 'normal', rounded = false, as, ...rest } = props;
|
|
21
21
|
const avatarFaceSize = useMemo(() => avatarFaceSizeTranslator[size], [size]);
|
|
22
22
|
const blockieSize = useMemo(() => blockieSizeTranslator[size], [size]);
|
|
23
23
|
if (isDecentraland) {
|
|
24
24
|
return _jsx(Logo, { size: size });
|
|
25
25
|
}
|
|
26
26
|
if (avatar) {
|
|
27
|
-
return
|
|
27
|
+
return _jsx(AvatarFace, { size: avatarFaceSize, inline: inline, avatar: avatar });
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return _jsx(Blockie, { seed: address, scale: blockieSize, rounded: rounded, as: as, ...rest });
|
|
30
30
|
});
|
|
31
31
|
export { ProfileImage };
|
|
32
32
|
//# sourceMappingURL=ProfileImage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileImage.js","sourceRoot":"","sources":["../../../src/components/Profile/ProfileImage.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,I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EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAA;IAE/G,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;IAC5E,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;IAEtE,IAAI,cAAc,EAAE,CAAC;QACnB,OAAO,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,CAAA;IAC7B,CAAC;IAED,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,KAAC,UAAU,IAAC,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAI,CAAA;IAC7E,CAAC;IAED,OAAO,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAM,IAAI,GAAI,CAAA;AAC3F,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Profile';
|
|
2
|
+
export * from './Profile.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Profile';
|
|
2
|
+
export * from './Profile.types';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { RarityBadgeProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RarityBadgeProps } from './RarityBadge.types';
|
|
3
3
|
declare const RarityBadge: React.MemoExoticComponent<(props: RarityBadgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
4
|
export { RarityBadge };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Rarity } from
|
|
1
|
+
import { Rarity } from '@dcl/schemas';
|
|
2
2
|
const i18n = {
|
|
3
3
|
rarities: {
|
|
4
|
-
[Rarity.COMMON]:
|
|
5
|
-
[Rarity.UNCOMMON]:
|
|
6
|
-
[Rarity.RARE]:
|
|
7
|
-
[Rarity.EPIC]:
|
|
8
|
-
[Rarity.LEGENDARY]:
|
|
9
|
-
[Rarity.EXOTIC]:
|
|
10
|
-
[Rarity.MYTHIC]:
|
|
11
|
-
[Rarity.UNIQUE]:
|
|
4
|
+
[Rarity.COMMON]: 'Common',
|
|
5
|
+
[Rarity.UNCOMMON]: 'Uncommon',
|
|
6
|
+
[Rarity.RARE]: 'Rare',
|
|
7
|
+
[Rarity.EPIC]: 'Epic',
|
|
8
|
+
[Rarity.LEGENDARY]: 'Legendary',
|
|
9
|
+
[Rarity.EXOTIC]: 'Exotic',
|
|
10
|
+
[Rarity.MYTHIC]: 'Mythic',
|
|
11
|
+
[Rarity.UNIQUE]: 'Unique'
|
|
12
12
|
},
|
|
13
13
|
raritiesDescription: {
|
|
14
|
-
[Rarity.COMMON]:
|
|
15
|
-
[Rarity.UNCOMMON]:
|
|
16
|
-
[Rarity.RARE]:
|
|
17
|
-
[Rarity.EPIC]:
|
|
18
|
-
[Rarity.LEGENDARY]:
|
|
19
|
-
[Rarity.EXOTIC]:
|
|
20
|
-
[Rarity.MYTHIC]:
|
|
21
|
-
[Rarity.UNIQUE]:
|
|
22
|
-
}
|
|
14
|
+
[Rarity.COMMON]: 'This is the common rarity',
|
|
15
|
+
[Rarity.UNCOMMON]: 'This is the uncommon rarity',
|
|
16
|
+
[Rarity.RARE]: 'This is the rare rarity',
|
|
17
|
+
[Rarity.EPIC]: 'This is the epic rarity',
|
|
18
|
+
[Rarity.LEGENDARY]: 'This is the legendary rarity',
|
|
19
|
+
[Rarity.EXOTIC]: 'This is the exotic rarity',
|
|
20
|
+
[Rarity.MYTHIC]: 'This is the mythic rarity',
|
|
21
|
+
[Rarity.UNIQUE]: 'This is the unique rarity'
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
export { i18n };
|
|
25
25
|
//# sourceMappingURL=RarityBadge.i18n.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React from
|
|
3
|
-
import Tooltip from
|
|
4
|
-
import { i18n as rarityBadgeI18n } from
|
|
5
|
-
import { RarityBadge as StyledRarityBadge } from
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import Tooltip from '@mui/material/Tooltip';
|
|
4
|
+
import { i18n as rarityBadgeI18n } from './RarityBadge.i18n';
|
|
5
|
+
import { RarityBadge as StyledRarityBadge } from './RarityBadge.styled';
|
|
6
6
|
const RarityBadge = React.memo((props) => {
|
|
7
|
-
const { rarity, size =
|
|
8
|
-
const content =
|
|
7
|
+
const { rarity, size = 'medium', square = false, withTooltip = false, onClick = () => { }, i18n = rarityBadgeI18n } = props;
|
|
8
|
+
const content = _jsx(StyledRarityBadge, { rarity: rarity, label: i18n.rarities[rarity], size: size, square: square, onClick: onClick });
|
|
9
9
|
return withTooltip ? (_jsx(Tooltip, { title: i18n.raritiesDescription[rarity], placement: "top", arrow: true, children: content })) : (content);
|
|
10
10
|
});
|
|
11
11
|
export { RarityBadge };
|