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,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { PreviewMessageType, sendMessage
|
|
3
|
-
import { default as future } from
|
|
4
|
-
import mitt from
|
|
2
|
+
import { PreviewMessageType, sendMessage } from '@dcl/schemas/dist/dapps/preview';
|
|
3
|
+
import { default as future } from 'fp-future';
|
|
4
|
+
import mitt from 'mitt';
|
|
5
5
|
const promises = new Map();
|
|
6
6
|
const emoteEvents = new Map();
|
|
7
7
|
// Track readiness per iframe contentWindow
|
|
@@ -19,8 +19,7 @@ function processMessage(event) {
|
|
|
19
19
|
try {
|
|
20
20
|
switch (event.data.type) {
|
|
21
21
|
case PreviewMessageType.CONTROLLER_RESPONSE: {
|
|
22
|
-
const payload = event.data
|
|
23
|
-
.payload;
|
|
22
|
+
const payload = event.data.payload;
|
|
24
23
|
const { id } = payload;
|
|
25
24
|
const promise = promises.get(id);
|
|
26
25
|
if (promise) {
|
|
@@ -35,8 +34,7 @@ function processMessage(event) {
|
|
|
35
34
|
break;
|
|
36
35
|
}
|
|
37
36
|
case PreviewMessageType.EMOTE_EVENT: {
|
|
38
|
-
const payload = event.data
|
|
39
|
-
.payload;
|
|
37
|
+
const payload = event.data.payload;
|
|
40
38
|
const { type, payload: eventPayload } = payload;
|
|
41
39
|
const events = event.source ? emoteEvents.get(event.source) : null;
|
|
42
40
|
if (events && type) {
|
|
@@ -50,7 +48,7 @@ function processMessage(event) {
|
|
|
50
48
|
controllerReadyMap.set(event.source, true);
|
|
51
49
|
// Process any pending messages for this iframe
|
|
52
50
|
const pendingMessages = pendingMessagesBySource.get(event.source) || [];
|
|
53
|
-
const messagesToProcess = pendingMessages.filter(
|
|
51
|
+
const messagesToProcess = pendingMessages.filter(msg => msg.data?.type !== PreviewMessageType.LOAD);
|
|
54
52
|
messagesToProcess.forEach(processMessage);
|
|
55
53
|
// Clear pending messages for this iframe
|
|
56
54
|
pendingMessagesBySource.delete(event.source);
|
|
@@ -62,7 +60,7 @@ function processMessage(event) {
|
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
catch (error) {
|
|
65
|
-
console.error(
|
|
63
|
+
console.error('Error processing WearablePreview message:', error);
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
66
|
}
|
|
@@ -85,18 +83,18 @@ const handleControllerMessage = (event) => {
|
|
|
85
83
|
processMessage(event);
|
|
86
84
|
};
|
|
87
85
|
// Use addEventListener to allow multiple message listeners to coexist
|
|
88
|
-
if (typeof window !==
|
|
89
|
-
window.addEventListener(
|
|
86
|
+
if (typeof window !== 'undefined') {
|
|
87
|
+
window.addEventListener('message', handleControllerMessage, false);
|
|
90
88
|
}
|
|
91
89
|
let nonce = 0;
|
|
92
90
|
function createSendRequest(id) {
|
|
93
91
|
return function sendRequest(namespace, method, params) {
|
|
94
92
|
const iframe = document.getElementById(id);
|
|
95
93
|
if (!iframe || !iframe.contentWindow) {
|
|
96
|
-
const error = new Error(
|
|
94
|
+
const error = new Error('iframe not found or not accessible');
|
|
97
95
|
return Promise.reject(error);
|
|
98
96
|
}
|
|
99
|
-
const messageId = id +
|
|
97
|
+
const messageId = id + '-' + nonce;
|
|
100
98
|
const promise = future();
|
|
101
99
|
promises.set(messageId, promise);
|
|
102
100
|
const type = PreviewMessageType.CONTROLLER_REQUEST;
|
|
@@ -136,9 +134,7 @@ function createController(id) {
|
|
|
136
134
|
// Don't reset global state - use per-iframe tracking instead
|
|
137
135
|
// Only clean up promises as they're keyed by iframe id
|
|
138
136
|
promises.clear();
|
|
139
|
-
const events = iframe.contentWindow
|
|
140
|
-
? (emoteEvents.get(iframe.contentWindow) ?? mitt())
|
|
141
|
-
: mitt();
|
|
137
|
+
const events = iframe.contentWindow ? (emoteEvents.get(iframe.contentWindow) ?? mitt()) : mitt();
|
|
142
138
|
if (iframe.contentWindow) {
|
|
143
139
|
emoteEvents.set(iframe.contentWindow, events);
|
|
144
140
|
}
|
|
@@ -146,67 +142,67 @@ function createController(id) {
|
|
|
146
142
|
return {
|
|
147
143
|
scene: {
|
|
148
144
|
getScreenshot(width, height) {
|
|
149
|
-
return sendRequest(
|
|
145
|
+
return sendRequest('scene', 'getScreenshot', [width, height]);
|
|
150
146
|
},
|
|
151
147
|
getMetrics() {
|
|
152
|
-
return sendRequest(
|
|
148
|
+
return sendRequest('scene', 'getMetrics', []);
|
|
153
149
|
},
|
|
154
150
|
changeZoom: function (zoom) {
|
|
155
|
-
return sendRequest(
|
|
151
|
+
return sendRequest('scene', 'changeZoom', [zoom]);
|
|
156
152
|
},
|
|
157
153
|
panCamera: function (offset) {
|
|
158
|
-
return sendRequest(
|
|
154
|
+
return sendRequest('scene', 'panCamera', [offset]);
|
|
159
155
|
},
|
|
160
156
|
changeCameraPosition: function (position) {
|
|
161
|
-
return sendRequest(
|
|
157
|
+
return sendRequest('scene', 'changeCameraPosition', [position]);
|
|
162
158
|
},
|
|
163
159
|
cleanup() {
|
|
164
|
-
return sendRequest(
|
|
160
|
+
return sendRequest('scene', 'cleanup', []);
|
|
165
161
|
},
|
|
166
162
|
setUsername: function (username) {
|
|
167
|
-
return sendRequest(
|
|
168
|
-
}
|
|
163
|
+
return sendRequest('scene', 'setUsername', [username]);
|
|
164
|
+
}
|
|
169
165
|
},
|
|
170
166
|
emote: {
|
|
171
167
|
getLength() {
|
|
172
|
-
return sendRequest(
|
|
168
|
+
return sendRequest('emote', 'getLength', []);
|
|
173
169
|
},
|
|
174
170
|
isPlaying() {
|
|
175
|
-
return sendRequest(
|
|
171
|
+
return sendRequest('emote', 'isPlaying', []);
|
|
176
172
|
},
|
|
177
173
|
goTo(seconds) {
|
|
178
|
-
return sendRequest(
|
|
174
|
+
return sendRequest('emote', 'goTo', [seconds]);
|
|
179
175
|
},
|
|
180
176
|
play() {
|
|
181
|
-
return sendRequest(
|
|
177
|
+
return sendRequest('emote', 'play', []);
|
|
182
178
|
},
|
|
183
179
|
pause() {
|
|
184
|
-
return sendRequest(
|
|
180
|
+
return sendRequest('emote', 'pause', []);
|
|
185
181
|
},
|
|
186
182
|
stop() {
|
|
187
|
-
return sendRequest(
|
|
183
|
+
return sendRequest('emote', 'stop', []);
|
|
188
184
|
},
|
|
189
185
|
enableSound() {
|
|
190
|
-
return sendRequest(
|
|
186
|
+
return sendRequest('emote', 'enableSound', []);
|
|
191
187
|
},
|
|
192
188
|
disableSound() {
|
|
193
|
-
return sendRequest(
|
|
189
|
+
return sendRequest('emote', 'disableSound', []);
|
|
194
190
|
},
|
|
195
191
|
hasSound() {
|
|
196
|
-
return sendRequest(
|
|
192
|
+
return sendRequest('emote', 'hasSound', []);
|
|
197
193
|
},
|
|
198
194
|
isSocialEmote() {
|
|
199
|
-
return sendRequest(
|
|
195
|
+
return sendRequest('emote', 'isSocialEmote', []);
|
|
200
196
|
},
|
|
201
197
|
getSocialEmoteAnimations() {
|
|
202
|
-
return sendRequest(
|
|
198
|
+
return sendRequest('emote', 'getSocialEmoteAnimations', []);
|
|
203
199
|
},
|
|
204
200
|
getPlayingSocialEmoteAnimation() {
|
|
205
|
-
return sendRequest(
|
|
201
|
+
return sendRequest('emote', 'getPlayingSocialEmoteAnimation', []);
|
|
206
202
|
},
|
|
207
203
|
emote: null,
|
|
208
|
-
events
|
|
209
|
-
}
|
|
204
|
+
events
|
|
205
|
+
}
|
|
210
206
|
};
|
|
211
207
|
}
|
|
212
208
|
export { isControllerReady, createController };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WearablePreview.controller.js","sourceRoot":"","sources":["../../../src/components/WearablePreview/WearablePreview.controller.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,
|
|
1
|
+
{"version":3,"file":"WearablePreview.controller.js","sourceRoot":"","sources":["../../../src/components/WearablePreview/WearablePreview.controller.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,EAA0D,kBAAkB,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAA;AAGzI,OAAO,EAAW,OAAO,IAAI,MAAM,EAAE,MAAM,WAAW,CAAA;AACtD,OAAO,IAAiB,MAAM,MAAM,CAAA;AAEpC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAwB,CAAA;AAChD,MAAM,WAAW,GAAG,IAAI,GAAG,EAA4C,CAAA;AAEvE,2CAA2C;AAC3C,MAAM,kBAAkB,GAAG,IAAI,GAAG,E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YACvD,CAAC;YACD,QAAQ;gBACN,OAAO,WAAW,CAAU,OAAO,EAAE,UAAU,EAAE,EAAE,CAAC,CAAA;YACtD,CAAC;YACD,aAAa;gBACX,OAAO,WAAW,CAAU,OAAO,EAAE,eAAe,EAAE,EAAE,CAAC,CAAA;YAC3D,CAAC;YACD,wBAAwB;gBACtB,OAAO,WAAW,CAAgC,OAAO,EAAE,0BAA0B,EAAE,EAAE,CAAC,CAAA;YAC5F,CAAC;YACD,8BAA8B;gBAC5B,OAAO,WAAW,CAA8B,OAAO,EAAE,gCAAgC,EAAE,EAAE,CAAC,CAAA;YAChG,CAAC;YACD,KAAK,EAAE,IAAI;YACX,MAAM;SACP;KACF,CAAA;AACH,CAAC;AAED,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createController } from
|
|
2
|
-
import { WearablePreviewProps } from
|
|
1
|
+
import { createController } from './WearablePreview.controller';
|
|
2
|
+
import { WearablePreviewProps } from './WearablePreview.types';
|
|
3
3
|
declare const WearablePreview: {
|
|
4
4
|
(props: WearablePreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
createController: typeof createController;
|
|
@@ -1,86 +1,82 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useEffect, useMemo, useRef, useState } from
|
|
3
|
-
import { PreviewMessageType, sendMessage
|
|
4
|
-
import equal from
|
|
5
|
-
import { createController } from
|
|
6
|
-
import { config } from
|
|
7
|
-
import { createDebounce } from
|
|
8
|
-
import { StyledWearablePreview } from
|
|
2
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
3
|
+
import { PreviewMessageType, sendMessage } from '@dcl/schemas/dist/dapps/preview';
|
|
4
|
+
import equal from 'deep-equal';
|
|
5
|
+
import { createController } from './WearablePreview.controller';
|
|
6
|
+
import { config } from '../../config';
|
|
7
|
+
import { createDebounce } from '../../lib/debounce';
|
|
8
|
+
import { StyledWearablePreview } from './WearablePreview.styled';
|
|
9
9
|
const debounce = createDebounce();
|
|
10
10
|
const safeEncodeParam = (key, value) => {
|
|
11
|
-
if (value === undefined || value === null || value ===
|
|
12
|
-
return
|
|
11
|
+
if (value === undefined || value === null || value === '') {
|
|
12
|
+
return '';
|
|
13
13
|
}
|
|
14
14
|
// Handle arrays
|
|
15
15
|
if (Array.isArray(value)) {
|
|
16
|
-
return value.length > 0
|
|
17
|
-
? value
|
|
18
|
-
.map((item) => `${key}=${encodeURIComponent(String(item))}`)
|
|
19
|
-
.join("&")
|
|
20
|
-
: "";
|
|
16
|
+
return value.length > 0 ? value.map(item => `${key}=${encodeURIComponent(String(item))}`).join('&') : '';
|
|
21
17
|
}
|
|
22
18
|
// Handle all other values (strings, numbers, booleans, objects, etc.)
|
|
23
19
|
return `${key}=${encodeURIComponent(String(value))}`;
|
|
24
20
|
};
|
|
25
21
|
const WearablePreview = (props) => {
|
|
26
|
-
const { dev = false, baseUrl = config.get(
|
|
22
|
+
const { dev = false, baseUrl = config.get('WEARABLE_PREVIEW_URL'), unity = false, onLoad = () => { }, onError = () => { }, onUpdate = () => { }, ...restProps } = props;
|
|
27
23
|
const [state, setState] = useState({
|
|
28
24
|
isReady: false,
|
|
29
|
-
pendingOptions: null
|
|
25
|
+
pendingOptions: null
|
|
30
26
|
});
|
|
31
27
|
const iframeRef = useRef(null);
|
|
32
28
|
const lastOptionsRef = useRef(null);
|
|
33
29
|
const url = useMemo(() => {
|
|
34
|
-
const { contractAddress, tokenId, itemId, profile, urns, urls, base64s, skin, hair, eyes, bodyShape, emote, camera, projection, zoom, background, offsetX, offsetY, offsetZ, cameraX, cameraY, cameraZ, wheelZoom, wheelPrecision, wheelStart, disableBackground, disableAutoRotate, disableAutoCenter, disableFace, disableDefaultWearables, disableDefaultEmotes, disableFadeEffect, showSceneBoundaries, showThumbnailBoundaries, panning, lockAlpha, lockBeta, lockRadius, peerUrl, nftServerUrl, marketplaceServerUrl, type, unityMode, username, socialEmote
|
|
35
|
-
const contractParam = safeEncodeParam(
|
|
36
|
-
const tokenParam = safeEncodeParam(
|
|
37
|
-
const itemParam = safeEncodeParam(
|
|
38
|
-
const profileParam = safeEncodeParam(
|
|
39
|
-
const urnParams = safeEncodeParam(
|
|
40
|
-
const urlsParams = safeEncodeParam(
|
|
41
|
-
const base64sParams = safeEncodeParam(
|
|
42
|
-
const skinParam = safeEncodeParam(
|
|
43
|
-
const hairParam = safeEncodeParam(
|
|
44
|
-
const eyesParam = safeEncodeParam(
|
|
45
|
-
const bodyShapeParam = safeEncodeParam(
|
|
46
|
-
const emoteParam = safeEncodeParam(
|
|
47
|
-
const cameraParam = safeEncodeParam(
|
|
48
|
-
const projectionParam = safeEncodeParam(
|
|
49
|
-
const zoomParam = safeEncodeParam(
|
|
50
|
-
const backgroundParam = safeEncodeParam(
|
|
51
|
-
const offsetXParam = safeEncodeParam(
|
|
52
|
-
const offsetYParam = safeEncodeParam(
|
|
53
|
-
const offsetZParam = safeEncodeParam(
|
|
54
|
-
const cameraXParam = safeEncodeParam(
|
|
55
|
-
const cameraYParam = safeEncodeParam(
|
|
56
|
-
const cameraZParam = safeEncodeParam(
|
|
57
|
-
const wheelZoomParam = safeEncodeParam(
|
|
58
|
-
const wheelPrecisionParam = safeEncodeParam(
|
|
59
|
-
const wheelStartParam = safeEncodeParam(
|
|
60
|
-
const disableBackgroundParam = safeEncodeParam(
|
|
61
|
-
const disableAutoRotateParam = safeEncodeParam(
|
|
62
|
-
const disableAutoCenterParam = safeEncodeParam(
|
|
63
|
-
const disableFaceParam = safeEncodeParam(
|
|
64
|
-
const disableDefaultWearablesParam = safeEncodeParam(
|
|
65
|
-
const disableDefaultEmotesParam = safeEncodeParam(
|
|
66
|
-
const disableFadeEffectParam = safeEncodeParam(
|
|
67
|
-
const showSceneBoundariesParam = safeEncodeParam(
|
|
68
|
-
const showThumbnailBoundariesParam = safeEncodeParam(
|
|
69
|
-
const peerUrlParam = safeEncodeParam(
|
|
30
|
+
const { contractAddress, tokenId, itemId, profile, urns, urls, base64s, skin, hair, eyes, bodyShape, emote, camera, projection, zoom, background, offsetX, offsetY, offsetZ, cameraX, cameraY, cameraZ, wheelZoom, wheelPrecision, wheelStart, disableBackground, disableAutoRotate, disableAutoCenter, disableFace, disableDefaultWearables, disableDefaultEmotes, disableFadeEffect, showSceneBoundaries, showThumbnailBoundaries, panning, lockAlpha, lockBeta, lockRadius, peerUrl, nftServerUrl, marketplaceServerUrl, type, unityMode, username, socialEmote } = restProps;
|
|
31
|
+
const contractParam = safeEncodeParam('contract', contractAddress);
|
|
32
|
+
const tokenParam = safeEncodeParam('token', tokenId);
|
|
33
|
+
const itemParam = safeEncodeParam('item', itemId);
|
|
34
|
+
const profileParam = safeEncodeParam('profile', profile);
|
|
35
|
+
const urnParams = safeEncodeParam('urn', urns);
|
|
36
|
+
const urlsParams = safeEncodeParam('url', urls);
|
|
37
|
+
const base64sParams = safeEncodeParam('base64', base64s);
|
|
38
|
+
const skinParam = safeEncodeParam('skin', skin);
|
|
39
|
+
const hairParam = safeEncodeParam('hair', hair);
|
|
40
|
+
const eyesParam = safeEncodeParam('eyes', eyes);
|
|
41
|
+
const bodyShapeParam = safeEncodeParam('bodyShape', bodyShape);
|
|
42
|
+
const emoteParam = safeEncodeParam('emote', emote);
|
|
43
|
+
const cameraParam = safeEncodeParam('camera', camera);
|
|
44
|
+
const projectionParam = safeEncodeParam('projection', projection);
|
|
45
|
+
const zoomParam = safeEncodeParam('zoom', zoom);
|
|
46
|
+
const backgroundParam = safeEncodeParam('background', background);
|
|
47
|
+
const offsetXParam = safeEncodeParam('offsetX', offsetX);
|
|
48
|
+
const offsetYParam = safeEncodeParam('offsetY', offsetY);
|
|
49
|
+
const offsetZParam = safeEncodeParam('offsetZ', offsetZ);
|
|
50
|
+
const cameraXParam = safeEncodeParam('cameraX', cameraX);
|
|
51
|
+
const cameraYParam = safeEncodeParam('cameraY', cameraY);
|
|
52
|
+
const cameraZParam = safeEncodeParam('cameraZ', cameraZ);
|
|
53
|
+
const wheelZoomParam = safeEncodeParam('wheelZoom', wheelZoom);
|
|
54
|
+
const wheelPrecisionParam = safeEncodeParam('wheelPrecision', wheelPrecision);
|
|
55
|
+
const wheelStartParam = safeEncodeParam('wheelStart', wheelStart);
|
|
56
|
+
const disableBackgroundParam = safeEncodeParam('disableBackground', disableBackground);
|
|
57
|
+
const disableAutoRotateParam = safeEncodeParam('disableAutoRotate', disableAutoRotate);
|
|
58
|
+
const disableAutoCenterParam = safeEncodeParam('disableAutoCenter', disableAutoCenter);
|
|
59
|
+
const disableFaceParam = safeEncodeParam('disableFace', disableFace);
|
|
60
|
+
const disableDefaultWearablesParam = safeEncodeParam('disableDefaultWearables', disableDefaultWearables);
|
|
61
|
+
const disableDefaultEmotesParam = safeEncodeParam('disableDefaultEmotes', disableDefaultEmotes);
|
|
62
|
+
const disableFadeEffectParam = safeEncodeParam('disableFadeEffect', disableFadeEffect);
|
|
63
|
+
const showSceneBoundariesParam = safeEncodeParam('showSceneBoundaries', showSceneBoundaries);
|
|
64
|
+
const showThumbnailBoundariesParam = safeEncodeParam('showThumbnailBoundaries', showThumbnailBoundaries);
|
|
65
|
+
const peerUrlParam = safeEncodeParam('peerUrl', peerUrl);
|
|
70
66
|
const serverUrl = marketplaceServerUrl ?? nftServerUrl;
|
|
71
|
-
const marketplaceServerUrlParam = safeEncodeParam(
|
|
72
|
-
const typeParam = safeEncodeParam(
|
|
73
|
-
const panningParam = safeEncodeParam(
|
|
74
|
-
const lockAlphaParam = safeEncodeParam(
|
|
75
|
-
const lockBetaParam = safeEncodeParam(
|
|
76
|
-
const lockRadiusParam = safeEncodeParam(
|
|
77
|
-
const envParam = safeEncodeParam(
|
|
78
|
-
const unityParam = safeEncodeParam(
|
|
79
|
-
const unityModeParam = safeEncodeParam(
|
|
80
|
-
const usernameParam = safeEncodeParam(
|
|
81
|
-
const socialEmoteParam = safeEncodeParam(
|
|
67
|
+
const marketplaceServerUrlParam = safeEncodeParam('marketplaceServerUrl', serverUrl);
|
|
68
|
+
const typeParam = safeEncodeParam('type', type);
|
|
69
|
+
const panningParam = safeEncodeParam('panning', panning);
|
|
70
|
+
const lockAlphaParam = safeEncodeParam('lockAlpha', lockAlpha);
|
|
71
|
+
const lockBetaParam = safeEncodeParam('lockBeta', lockBeta);
|
|
72
|
+
const lockRadiusParam = safeEncodeParam('lockRadius', lockRadius);
|
|
73
|
+
const envParam = safeEncodeParam('env', dev ? 'dev' : undefined);
|
|
74
|
+
const unityParam = safeEncodeParam('unity', unity);
|
|
75
|
+
const unityModeParam = safeEncodeParam('mode', unityMode);
|
|
76
|
+
const usernameParam = safeEncodeParam('username', username);
|
|
77
|
+
const socialEmoteParam = safeEncodeParam('socialEmote', socialEmote);
|
|
82
78
|
const url = baseUrl +
|
|
83
|
-
|
|
79
|
+
'?' +
|
|
84
80
|
[
|
|
85
81
|
contractParam,
|
|
86
82
|
tokenParam,
|
|
@@ -127,16 +123,16 @@ const WearablePreview = (props) => {
|
|
|
127
123
|
unityParam,
|
|
128
124
|
unityModeParam,
|
|
129
125
|
usernameParam,
|
|
130
|
-
socialEmoteParam
|
|
126
|
+
socialEmoteParam
|
|
131
127
|
]
|
|
132
|
-
.filter(
|
|
133
|
-
.join(
|
|
128
|
+
.filter(param => !!param)
|
|
129
|
+
.join('&');
|
|
134
130
|
return url;
|
|
135
131
|
}, [restProps, baseUrl, dev, unity]);
|
|
136
132
|
const options = useMemo(() => {
|
|
137
133
|
const opts = {};
|
|
138
134
|
for (const key in restProps) {
|
|
139
|
-
if (typeof restProps[key] !==
|
|
135
|
+
if (typeof restProps[key] !== 'function') {
|
|
140
136
|
opts[key] = restProps[key];
|
|
141
137
|
}
|
|
142
138
|
}
|
|
@@ -150,7 +146,7 @@ const WearablePreview = (props) => {
|
|
|
150
146
|
// send message to iframe
|
|
151
147
|
if (iframeRef.current?.contentWindow) {
|
|
152
148
|
sendMessage(iframeRef.current.contentWindow, PreviewMessageType.UPDATE, {
|
|
153
|
-
options
|
|
149
|
+
options
|
|
154
150
|
});
|
|
155
151
|
}
|
|
156
152
|
// callback
|
|
@@ -162,14 +158,14 @@ const WearablePreview = (props) => {
|
|
|
162
158
|
const handleUpdate = useCallback(() => {
|
|
163
159
|
if (iframeRef.current) {
|
|
164
160
|
// SSR check
|
|
165
|
-
if (typeof window !==
|
|
161
|
+
if (typeof window !== 'undefined') {
|
|
166
162
|
if (state.isReady) {
|
|
167
163
|
// if the iframe is ready, send the update
|
|
168
164
|
sendUpdate(options);
|
|
169
165
|
}
|
|
170
166
|
else if (!equal(state.pendingOptions, options)) {
|
|
171
167
|
// otherwise store last update in state until it's ready
|
|
172
|
-
setState(
|
|
168
|
+
setState(prev => ({ ...prev, pendingOptions: options, url }));
|
|
173
169
|
}
|
|
174
170
|
}
|
|
175
171
|
}
|
|
@@ -184,19 +180,17 @@ const WearablePreview = (props) => {
|
|
|
184
180
|
const type = event.data.type;
|
|
185
181
|
switch (type) {
|
|
186
182
|
case PreviewMessageType.LOAD: {
|
|
187
|
-
const payload = event.data
|
|
188
|
-
.payload;
|
|
183
|
+
const payload = event.data.payload;
|
|
189
184
|
onLoad(payload?.renderer);
|
|
190
185
|
break;
|
|
191
186
|
}
|
|
192
187
|
case PreviewMessageType.ERROR: {
|
|
193
|
-
const payload = event.data
|
|
194
|
-
.payload;
|
|
188
|
+
const payload = event.data.payload;
|
|
195
189
|
onError(new Error(payload.message));
|
|
196
190
|
break;
|
|
197
191
|
}
|
|
198
192
|
case PreviewMessageType.READY: {
|
|
199
|
-
setState(
|
|
193
|
+
setState(prev => {
|
|
200
194
|
if (prev.isReady)
|
|
201
195
|
return prev;
|
|
202
196
|
if (prev.pendingOptions !== null) {
|
|
@@ -204,7 +198,7 @@ const WearablePreview = (props) => {
|
|
|
204
198
|
return {
|
|
205
199
|
...prev,
|
|
206
200
|
isReady: true,
|
|
207
|
-
pendingOptions: null
|
|
201
|
+
pendingOptions: null
|
|
208
202
|
};
|
|
209
203
|
}
|
|
210
204
|
return { ...prev, isReady: true };
|
|
@@ -216,9 +210,9 @@ const WearablePreview = (props) => {
|
|
|
216
210
|
}
|
|
217
211
|
}, [baseUrl, onLoad, onError, sendUpdate]);
|
|
218
212
|
useEffect(() => {
|
|
219
|
-
window.addEventListener(
|
|
213
|
+
window.addEventListener('message', handleMessage, false);
|
|
220
214
|
return () => {
|
|
221
|
-
window.removeEventListener(
|
|
215
|
+
window.removeEventListener('message', handleMessage, false);
|
|
222
216
|
};
|
|
223
217
|
}, [handleMessage]);
|
|
224
218
|
useEffect(() => {
|
|
@@ -231,9 +225,9 @@ const WearablePreview = (props) => {
|
|
|
231
225
|
debounce(handleUpdate, 500);
|
|
232
226
|
}, [handleUpdate]);
|
|
233
227
|
if (props.tokenId && props.itemId) {
|
|
234
|
-
console.warn(
|
|
228
|
+
console.warn('You should NOT use `tokenId` and `itemId` props simultaneously');
|
|
235
229
|
}
|
|
236
|
-
return
|
|
230
|
+
return _jsx(StyledWearablePreview, { id: props.id, src: url, ref: iframeRef, allow: "autoplay" });
|
|
237
231
|
};
|
|
238
232
|
WearablePreview.createController = createController;
|
|
239
233
|
export { WearablePreview };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WearablePreview.js","sourceRoot":"","sources":["../../../src/components/WearablePreview/WearablePreview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACzE,OAAO,
|
|
1
|
+
{"version":3,"file":"WearablePreview.js","sourceRoot":"","sources":["../../../src/components/WearablePreview/WearablePreview.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACzE,OAAO,EAAyB,kBAAkB,EAAkB,WAAW,EAAE,MAAM,iCAAiC,CAAA;AACxH,OAAO,KAAK,MA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AED,OAAO,KAAC,qBAAqB,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAC,UAAU,GAAG,CAAA;AAC3F,CAAC,CAAA;AAED,eAAe,CAAC,gBAAgB,GAAG,gBAAgB,CAAA;AAEnD,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from
|
|
2
|
-
import { WearablePreview } from
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { WearablePreview } from './WearablePreview';
|
|
3
3
|
declare const meta: Meta<typeof WearablePreview>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof WearablePreview>;
|