decentraland-ui2 1.2.2-21406822587.commit-e8f7371 → 1.3.0
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,138 +1,134 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
import { Box, Button, IconButton, Paper, Typography } from
|
|
3
|
-
import { neutral, rarity, textOnNeutral } from
|
|
4
|
-
import { Modal } from
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
import { Box, Button, IconButton, Paper, Typography } from '@mui/material';
|
|
3
|
+
import { neutral, rarity, textOnNeutral } from '../../theme/colors';
|
|
4
|
+
import { Modal } from '../Modal/Modal';
|
|
5
5
|
const CommonButtonStyle = styled(Button)({
|
|
6
|
-
display:
|
|
7
|
-
alignItems:
|
|
8
|
-
borderRadius:
|
|
9
|
-
padding:
|
|
10
|
-
color:
|
|
11
|
-
|
|
12
|
-
opacity:
|
|
13
|
-
|
|
6
|
+
display: 'flex',
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
borderRadius: '14px',
|
|
9
|
+
padding: '8px 10px',
|
|
10
|
+
color: 'green',
|
|
11
|
+
'&.MuiButton-sizeMedium.MuiButton-containedSecondary': {
|
|
12
|
+
opacity: '1',
|
|
13
|
+
'&:not(.Mui-disabled):not(.Mui-focusVisible):not(:hover)': {
|
|
14
14
|
color: textOnNeutral.gray1,
|
|
15
15
|
background: neutral.gray1,
|
|
16
|
-
boxShadow:
|
|
16
|
+
boxShadow: 'none'
|
|
17
17
|
},
|
|
18
|
-
|
|
18
|
+
'&:not(.Mui-disabled):not(.Mui-focusVisible):hover': {
|
|
19
19
|
color: textOnNeutral.gray0,
|
|
20
|
-
background: neutral.gray0
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"& span.MuiButton-icon.MuiButton-startIcon.MuiButton-iconSizeMedium": {
|
|
24
|
-
"& svg": {
|
|
25
|
-
fontSize: "28px",
|
|
26
|
-
},
|
|
20
|
+
background: neutral.gray0
|
|
21
|
+
}
|
|
27
22
|
},
|
|
23
|
+
'& span.MuiButton-icon.MuiButton-startIcon.MuiButton-iconSizeMedium': {
|
|
24
|
+
'& svg': {
|
|
25
|
+
fontSize: '28px'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
28
|
});
|
|
29
29
|
const SelectorButton = styled(CommonButtonStyle)(({ theme }) => ({
|
|
30
|
-
[theme.breakpoints.down(
|
|
31
|
-
|
|
32
|
-
paddingLeft:
|
|
33
|
-
paddingRight:
|
|
34
|
-
minWidth:
|
|
30
|
+
[theme.breakpoints.down('sm')]: {
|
|
31
|
+
'&.MuiButton-sizeMedium.MuiButton-containedSecondary': {
|
|
32
|
+
paddingLeft: '0',
|
|
33
|
+
paddingRight: '0',
|
|
34
|
+
minWidth: '50px'
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
marginLeft:
|
|
38
|
-
marginRight:
|
|
39
|
-
}
|
|
40
|
-
}
|
|
36
|
+
'& span': {
|
|
37
|
+
marginLeft: '0',
|
|
38
|
+
marginRight: '0'
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
41
|
}));
|
|
42
|
-
const ChainButton = styled(Button)(
|
|
42
|
+
const ChainButton = styled(Button)(props => {
|
|
43
43
|
const { isActive, isDisabled, theme } = props;
|
|
44
44
|
return {
|
|
45
|
-
display:
|
|
46
|
-
alignItems:
|
|
47
|
-
justifyContent:
|
|
48
|
-
width:
|
|
49
|
-
padding:
|
|
50
|
-
backgroundColor: isActive ? theme.palette.primary.dark :
|
|
51
|
-
color: isActive
|
|
52
|
-
? theme.palette.primary.contrastText
|
|
53
|
-
: theme.palette.text.primary,
|
|
45
|
+
display: 'flex',
|
|
46
|
+
alignItems: 'center',
|
|
47
|
+
justifyContent: 'flex-start',
|
|
48
|
+
width: '100%',
|
|
49
|
+
padding: '12px 16px',
|
|
50
|
+
backgroundColor: isActive ? theme.palette.primary.dark : 'transparent',
|
|
51
|
+
color: isActive ? theme.palette.primary.contrastText : theme.palette.text.primary,
|
|
54
52
|
opacity: isDisabled ? 0.5 : 1,
|
|
55
|
-
|
|
56
|
-
backgroundColor: isActive
|
|
57
|
-
|
|
58
|
-
: theme.palette.action.hover,
|
|
59
|
-
},
|
|
53
|
+
'&:hover': {
|
|
54
|
+
backgroundColor: isActive ? theme.palette.primary.dark : theme.palette.action.hover
|
|
55
|
+
}
|
|
60
56
|
};
|
|
61
57
|
});
|
|
62
58
|
const ConnectedLabel = styled(Typography)(({ theme }) => ({
|
|
63
|
-
position:
|
|
64
|
-
right:
|
|
65
|
-
paddingRight:
|
|
66
|
-
fontSize:
|
|
59
|
+
position: 'absolute',
|
|
60
|
+
right: '8px',
|
|
61
|
+
paddingRight: '16px',
|
|
62
|
+
fontSize: '14px',
|
|
67
63
|
color: theme.palette.text.primary,
|
|
68
|
-
|
|
64
|
+
'&:after': {
|
|
69
65
|
content: '""',
|
|
70
|
-
width:
|
|
71
|
-
height:
|
|
72
|
-
position:
|
|
73
|
-
right:
|
|
74
|
-
top:
|
|
75
|
-
borderRadius:
|
|
76
|
-
backgroundColor: rarity.rare
|
|
77
|
-
}
|
|
66
|
+
width: '8px',
|
|
67
|
+
height: '8px',
|
|
68
|
+
position: 'absolute',
|
|
69
|
+
right: '0',
|
|
70
|
+
top: 'calc(50% - 4px)',
|
|
71
|
+
borderRadius: '50%',
|
|
72
|
+
backgroundColor: rarity.rare
|
|
73
|
+
}
|
|
78
74
|
}));
|
|
79
75
|
const ConfirmLabel = styled(ConnectedLabel)({
|
|
80
|
-
|
|
81
|
-
backgroundColor: rarity.unique
|
|
82
|
-
}
|
|
76
|
+
'&:after': {
|
|
77
|
+
backgroundColor: rarity.unique
|
|
78
|
+
}
|
|
83
79
|
});
|
|
84
80
|
const ChainSelectorModal = styled(Modal)({
|
|
85
|
-
|
|
86
|
-
width:
|
|
81
|
+
'&.MuiModal-root .MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded.MuiPaper-elevation24': {
|
|
82
|
+
width: '100px'
|
|
87
83
|
},
|
|
88
|
-
|
|
89
|
-
width:
|
|
84
|
+
' .MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded.MuiPaper-elevation24': {
|
|
85
|
+
width: '150px'
|
|
90
86
|
},
|
|
91
|
-
|
|
92
|
-
width:
|
|
87
|
+
'& .MuiPaper-root': {
|
|
88
|
+
width: '170px'
|
|
93
89
|
},
|
|
94
90
|
MuiPaper: {
|
|
95
91
|
root: {
|
|
96
|
-
width:
|
|
97
|
-
}
|
|
98
|
-
}
|
|
92
|
+
width: '180px'
|
|
93
|
+
}
|
|
94
|
+
}
|
|
99
95
|
});
|
|
100
96
|
const ChainSelectorContainer = styled(Paper)(({ theme }) => ({
|
|
101
|
-
position:
|
|
102
|
-
top:
|
|
103
|
-
left:
|
|
104
|
-
transform:
|
|
105
|
-
width:
|
|
106
|
-
borderRadius:
|
|
107
|
-
[theme.breakpoints.down(
|
|
108
|
-
minWidth:
|
|
109
|
-
maxWidth:
|
|
110
|
-
minHeight:
|
|
111
|
-
borderRadius:
|
|
112
|
-
margin:
|
|
113
|
-
padding:
|
|
114
|
-
top:
|
|
115
|
-
left:
|
|
116
|
-
transform:
|
|
117
|
-
}
|
|
97
|
+
position: 'absolute',
|
|
98
|
+
top: '50%',
|
|
99
|
+
left: '50%',
|
|
100
|
+
transform: 'translate(-50%, -50%)',
|
|
101
|
+
width: '360px',
|
|
102
|
+
borderRadius: '12px',
|
|
103
|
+
[theme.breakpoints.down('xs')]: {
|
|
104
|
+
minWidth: '100vw',
|
|
105
|
+
maxWidth: '100vw',
|
|
106
|
+
minHeight: '100vh',
|
|
107
|
+
borderRadius: '0px',
|
|
108
|
+
margin: '0',
|
|
109
|
+
padding: '0',
|
|
110
|
+
top: '0',
|
|
111
|
+
left: '0',
|
|
112
|
+
transform: 'translate(0, 0)'
|
|
113
|
+
}
|
|
118
114
|
}));
|
|
119
115
|
const ChainSelectorWrapper = styled(Box)(({ theme }) => ({
|
|
120
|
-
display:
|
|
121
|
-
flexDirection:
|
|
122
|
-
margin:
|
|
123
|
-
[theme.breakpoints.down(
|
|
124
|
-
padding:
|
|
125
|
-
}
|
|
116
|
+
display: 'flex',
|
|
117
|
+
flexDirection: 'column',
|
|
118
|
+
margin: '16px',
|
|
119
|
+
[theme.breakpoints.down('sm')]: {
|
|
120
|
+
padding: '5px'
|
|
121
|
+
}
|
|
126
122
|
}));
|
|
127
123
|
const ChainSelectorModalTitleContainer = styled(Box)({
|
|
128
|
-
display:
|
|
129
|
-
justifyContent:
|
|
130
|
-
paddingTop:
|
|
124
|
+
display: 'flex',
|
|
125
|
+
justifyContent: 'center',
|
|
126
|
+
paddingTop: '24px'
|
|
131
127
|
});
|
|
132
128
|
const ChainSelectorCloseButton = styled(IconButton)({
|
|
133
|
-
marginTop:
|
|
134
|
-
position:
|
|
135
|
-
right: 12
|
|
129
|
+
marginTop: '-12px',
|
|
130
|
+
position: 'absolute',
|
|
131
|
+
right: 12
|
|
136
132
|
});
|
|
137
|
-
export { SelectorButton, ChainButton, ConnectedLabel, ConfirmLabel, ChainSelectorModal, ChainSelectorContainer, ChainSelectorWrapper, ChainSelectorModalTitleContainer, ChainSelectorCloseButton
|
|
133
|
+
export { SelectorButton, ChainButton, ConnectedLabel, ConfirmLabel, ChainSelectorModal, ChainSelectorContainer, ChainSelectorWrapper, ChainSelectorModalTitleContainer, ChainSelectorCloseButton };
|
|
138
134
|
//# sourceMappingURL=ChainSelector.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainSelector.styled.js","sourceRoot":"","sources":["../../../src/components/ChainSelector/ChainSelector.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAQtC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IACvC,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,OAAO;IACd,qDAAqD,EAAE;QACrD,OAAO,EAAE,GAAG;QACZ,yDAAyD,EAAE;YACzD,KAAK,EAAE,aAAa,CAAC,KAAK;YAC1B,UAAU,EAAE,OAAO,CAAC,KAAK;YACzB,SAAS,EAAE,MAAM;SAClB;QACD,mDAAmD,EAAE;YACnD,KAAK,EAAE,aAAa,CAAC,KAAK;YAC1B,UAAU,EAAE,OAAO,CAAC,KAAK;SAC1B;KACF;IACD,oEAAoE,EAAE;QACpE,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM;SACjB;KACF;CACF,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,qDAAqD,EAAE;YACrD,WAAW,EAAE,GAAG;YAChB,YAAY,EAAE,GAAG;YACjB,QAAQ,EAAE,MAAM;SACjB;QACD,QAAQ,EAAE;YACR,UAAU,EAAE,GAAG;YACf,WAAW,EAAE,GAAG;SACjB;KACF;CACF,CAAC,CAAC,CAAA;AAEH,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,CAAmB,
|
|
1
|
+
{"version":3,"file":"ChainSelector.styled.js","sourceRoot":"","sources":["../../../src/components/ChainSelector/ChainSelector.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAQtC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IACvC,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,OAAO;IACd,qDAAqD,EAAE;QACrD,O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,sBAAsB,EACtB,oBAAoB,EACpB,gCAAgC,EAChC,wBAAwB,EACzB,CAAA"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ChainId } from
|
|
1
|
+
import { ChainId } from '@dcl/schemas';
|
|
2
2
|
const ChainNameIconMap = {
|
|
3
|
-
[ChainId.ETHEREUM_MAINNET]:
|
|
4
|
-
[ChainId.ETHEREUM_SEPOLIA]:
|
|
5
|
-
[ChainId.MATIC_MAINNET]:
|
|
6
|
-
[ChainId.MATIC_MUMBAI]:
|
|
7
|
-
[ChainId.MATIC_AMOY]:
|
|
8
|
-
[ChainId.ARBITRUM_MAINNET]:
|
|
9
|
-
[ChainId.OPTIMISM_MAINNET]:
|
|
10
|
-
[ChainId.FANTOM_MAINNET]:
|
|
11
|
-
[ChainId.BSC_MAINNET]:
|
|
12
|
-
[ChainId.AVALANCHE_MAINNET]:
|
|
3
|
+
[ChainId.ETHEREUM_MAINNET]: 'ethereum',
|
|
4
|
+
[ChainId.ETHEREUM_SEPOLIA]: 'ethereum',
|
|
5
|
+
[ChainId.MATIC_MAINNET]: 'polygon',
|
|
6
|
+
[ChainId.MATIC_MUMBAI]: 'polygon',
|
|
7
|
+
[ChainId.MATIC_AMOY]: 'polygon',
|
|
8
|
+
[ChainId.ARBITRUM_MAINNET]: 'arbitrum',
|
|
9
|
+
[ChainId.OPTIMISM_MAINNET]: 'optimism',
|
|
10
|
+
[ChainId.FANTOM_MAINNET]: 'fantom',
|
|
11
|
+
[ChainId.BSC_MAINNET]: 'bsc',
|
|
12
|
+
[ChainId.AVALANCHE_MAINNET]: 'avalanche'
|
|
13
13
|
};
|
|
14
14
|
export { ChainNameIconMap };
|
|
15
15
|
//# sourceMappingURL=ChainSelector.types.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './ChainSelector';
|
|
2
|
+
export * from './ChainSelector.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './ChainSelector';
|
|
2
|
+
export * from './ChainSelector.types';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,33 +1,29 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useMemo } from
|
|
3
|
-
import toggleAnimation from
|
|
4
|
-
import { formatEther } from
|
|
5
|
-
import { createDynamicImport, createLazyComponent
|
|
6
|
-
import { CreditsIcon } from
|
|
7
|
-
import { AnimationContainer, Container, LearnMoreButton, LeftSection, PopupContainer, StyledAmount, StyledNumber, StyledSwitch, StyledText
|
|
2
|
+
import { useCallback, useMemo } from 'react';
|
|
3
|
+
import toggleAnimation from './toggleAnimation.json';
|
|
4
|
+
import { formatEther } from '../../utils/format';
|
|
5
|
+
import { createDynamicImport, createLazyComponent } from '../../utils/optionalDependency';
|
|
6
|
+
import { CreditsIcon } from '../Icon/CreditsIcon';
|
|
7
|
+
import { AnimationContainer, Container, LearnMoreButton, LeftSection, PopupContainer, StyledAmount, StyledNumber, StyledSwitch, StyledText } from './CreditsToggle.styled';
|
|
8
8
|
const Lottie = createLazyComponent({
|
|
9
|
-
packageName:
|
|
10
|
-
componentName:
|
|
11
|
-
}, createDynamicImport(
|
|
12
|
-
const CreditsToggle = ({ totalCredits, assetPrice, useCredits, onToggle, className =
|
|
9
|
+
packageName: 'lottie-react',
|
|
10
|
+
componentName: 'CreditsToggle'
|
|
11
|
+
}, createDynamicImport('lottie-react'));
|
|
12
|
+
const CreditsToggle = ({ totalCredits, assetPrice, useCredits, onToggle, className = '', showLearnMore = false, learnMoreUrl, label, showTooltip = true, tooltipContent }) => {
|
|
13
13
|
const creditsToUseInEth = useMemo(() => {
|
|
14
14
|
if (!totalCredits) {
|
|
15
|
-
return
|
|
15
|
+
return '0';
|
|
16
16
|
}
|
|
17
17
|
const inEth = formatEther(totalCredits.toString());
|
|
18
|
-
const assetPriceInEth = assetPrice
|
|
19
|
-
|
|
20
|
-
: "0";
|
|
21
|
-
return assetPrice
|
|
22
|
-
? Math.min(Number(assetPriceInEth), Number(inEth)).toFixed(2)
|
|
23
|
-
: Number(inEth).toFixed(2);
|
|
18
|
+
const assetPriceInEth = assetPrice ? formatEther(assetPrice.toString()) : '0';
|
|
19
|
+
return assetPrice ? Math.min(Number(assetPriceInEth), Number(inEth)).toFixed(2) : Number(inEth).toFixed(2);
|
|
24
20
|
}, [totalCredits, assetPrice]);
|
|
25
21
|
const handleToggleCredits = useCallback(() => {
|
|
26
22
|
onToggle(!useCredits);
|
|
27
23
|
}, [useCredits, onToggle]);
|
|
28
24
|
const handleLearnMore = useCallback(() => {
|
|
29
25
|
if (learnMoreUrl) {
|
|
30
|
-
window.open(learnMoreUrl,
|
|
26
|
+
window.open(learnMoreUrl, '_blank', 'noopener noreferrer');
|
|
31
27
|
}
|
|
32
28
|
}, [learnMoreUrl]);
|
|
33
29
|
const hasCredits = totalCredits && BigInt(totalCredits) > BigInt(0);
|
|
@@ -37,10 +33,10 @@ const CreditsToggle = ({ totalCredits, assetPrice, useCredits, onToggle, classNa
|
|
|
37
33
|
}
|
|
38
34
|
// Show the GET CREDITS button
|
|
39
35
|
if (!hasCredits && showLearnMore) {
|
|
40
|
-
return (_jsxs(Container, { showLearnMore: true, className: className, children: [_jsxs(LeftSection, { children: [_jsx(CreditsIcon, { sx: { fontSize: 18 } }), _jsx(StyledText, { children: label ||
|
|
36
|
+
return (_jsxs(Container, { showLearnMore: true, className: className, children: [_jsxs(LeftSection, { children: [_jsx(CreditsIcon, { sx: { fontSize: 18 } }), _jsx(StyledText, { children: label || 'Get with Credits' })] }), _jsx(StyledAmount, { children: _jsx(LearnMoreButton, { variant: "outlined", onClick: handleLearnMore, children: "Learn More" }) })] }));
|
|
41
37
|
}
|
|
42
|
-
return (_jsxs(Container, { active: useCredits, className: className, children: [_jsxs(LeftSection, { active: useCredits, children: [_jsx(AnimationContainer, { show: useCredits, children: useCredits &&
|
|
38
|
+
return (_jsxs(Container, { active: useCredits, className: className, children: [_jsxs(LeftSection, { active: useCredits, children: [_jsx(AnimationContainer, { show: useCredits, children: useCredits && _jsx(Lottie, { animationData: toggleAnimation, loop: false }) }), _jsx(StyledSwitch, { checked: useCredits, onChange: handleToggleCredits }), _jsx(StyledText, { active: useCredits, children: label || 'Use Credits' })] }), _jsx(StyledAmount, { active: useCredits, children: showTooltip ? (_jsxs(PopupContainer, { title: tooltipContent || 'Credits value', children: [_jsx(CreditsIcon, { sx: { fontSize: 18, marginLeft: 1.5 } }), _jsx(StyledNumber, { children: creditsToUseInEth })] })) : (_jsxs(PopupContainer, { children: [_jsx(CreditsIcon, { sx: { fontSize: 18, marginLeft: 1.5 } }), _jsx(StyledNumber, { children: creditsToUseInEth })] })) })] }));
|
|
43
39
|
};
|
|
44
|
-
CreditsToggle.displayName =
|
|
40
|
+
CreditsToggle.displayName = 'CreditsToggle';
|
|
45
41
|
export { CreditsToggle };
|
|
46
42
|
//# sourceMappingURL=CreditsToggle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditsToggle.js","sourceRoot":"","sources":["../../../src/components/CreditsToggle/CreditsToggle.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACnD,OAAO,eAAe,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,
|
|
1
|
+
{"version":3,"file":"CreditsToggle.js","sourceRoot":"","sources":["../../../src/components/CreditsToggle/CreditsToggle.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACnD,OAAO,eAAe,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,gCAAg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AAU,IAAC,MAAM,EAAE,UAAU,YAAG,KAAK,IAAI,aAAa,GAAc,IACzD,EACd,KAAC,YAAY,IAAC,MAAM,EAAE,UAAU,YAC7B,WAAW,CAAC,CAAC,CAAC,CACb,MAAC,cAAc,IAAC,KAAK,EAAE,cAAc,IAAI,eAAe,aACtD,KAAC,WAAW,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,GAAI,EACtD,KAAC,YAAY,cAAE,iBAAiB,GAAgB,IACjC,CAClB,CAAC,CAAC,CAAC,CACF,MAAC,cAAc,eACb,KAAC,WAAW,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,GAAI,EACtD,KAAC,YAAY,cAAE,iBAAiB,GAAgB,IACjC,CAClB,GACY,IACL,CACb,CAAA;AACH,CAAC,CAAA;AAED,aAAa,CAAC,WAAW,GAAG,eAAe,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreditsToggle } from
|
|
2
|
-
import type { Meta, StoryObj } from
|
|
1
|
+
import { CreditsToggle } from './CreditsToggle';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof CreditsToggle>;
|
|
4
4
|
type Story = StoryObj<typeof CreditsToggle>;
|
|
5
5
|
declare const WithCredits: Story;
|
|
@@ -8,5 +8,5 @@ declare const InsufficientCredits: Story;
|
|
|
8
8
|
declare const NoCreditsWithLearnMore: Story;
|
|
9
9
|
declare const NoCreditsHidden: Story;
|
|
10
10
|
declare const CustomLabel: Story;
|
|
11
|
-
export { WithCredits, Active, InsufficientCredits, NoCreditsWithLearnMore, NoCreditsHidden, CustomLabel
|
|
11
|
+
export { WithCredits, Active, InsufficientCredits, NoCreditsWithLearnMore, NoCreditsHidden, CustomLabel };
|
|
12
12
|
export default meta;
|
|
@@ -1,109 +1,109 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from
|
|
3
|
-
import { CreditsToggle } from
|
|
2
|
+
import { useState } from 'react';
|
|
3
|
+
import { CreditsToggle } from './CreditsToggle';
|
|
4
4
|
// Helper to convert ETH to Wei (avoiding ethers dependency)
|
|
5
5
|
const parseEther = (value) => {
|
|
6
|
-
return (BigInt(value) * BigInt(
|
|
6
|
+
return (BigInt(value) * BigInt('1000000000000000000')).toString();
|
|
7
7
|
};
|
|
8
8
|
const meta = {
|
|
9
|
-
title:
|
|
9
|
+
title: 'Decentraland UI/CreditsToggle',
|
|
10
10
|
component: CreditsToggle,
|
|
11
|
-
tags: [
|
|
11
|
+
tags: ['autodocs'],
|
|
12
12
|
argTypes: {
|
|
13
13
|
totalCredits: {
|
|
14
|
-
control:
|
|
15
|
-
description:
|
|
14
|
+
control: 'text',
|
|
15
|
+
description: 'Total credits available in wei'
|
|
16
16
|
},
|
|
17
17
|
assetPrice: {
|
|
18
|
-
control:
|
|
19
|
-
description:
|
|
18
|
+
control: 'text',
|
|
19
|
+
description: 'Price of the asset/item in wei'
|
|
20
20
|
},
|
|
21
21
|
useCredits: {
|
|
22
|
-
control:
|
|
23
|
-
description:
|
|
22
|
+
control: 'boolean',
|
|
23
|
+
description: 'Whether credits are currently being used'
|
|
24
24
|
},
|
|
25
25
|
showLearnMore: {
|
|
26
|
-
control:
|
|
27
|
-
description: 'Show "Learn More" button instead of credits amount when user has no credits'
|
|
26
|
+
control: 'boolean',
|
|
27
|
+
description: 'Show "Learn More" button instead of credits amount when user has no credits'
|
|
28
28
|
},
|
|
29
29
|
label: {
|
|
30
|
-
control:
|
|
31
|
-
description:
|
|
30
|
+
control: 'text',
|
|
31
|
+
description: 'Custom text for the toggle label'
|
|
32
32
|
},
|
|
33
33
|
showTooltip: {
|
|
34
|
-
control:
|
|
35
|
-
description:
|
|
36
|
-
}
|
|
37
|
-
}
|
|
34
|
+
control: 'boolean',
|
|
35
|
+
description: 'Show tooltip with credit value explanation'
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
38
|
};
|
|
39
39
|
// Interactive wrapper to handle state
|
|
40
40
|
const InteractiveCreditsToggle = (args) => {
|
|
41
41
|
const [useCredits, setUseCredits] = useState(args.useCredits);
|
|
42
|
-
return (_jsx("div", { style: { maxWidth:
|
|
42
|
+
return (_jsx("div", { style: { maxWidth: '600px', padding: '20px' }, children: _jsx(CreditsToggle, { ...args, useCredits: useCredits, onToggle: setUseCredits }) }));
|
|
43
43
|
};
|
|
44
44
|
const WithCredits = {
|
|
45
|
-
render:
|
|
45
|
+
render: args => _jsx(InteractiveCreditsToggle, { ...args }),
|
|
46
46
|
args: {
|
|
47
|
-
totalCredits: parseEther(
|
|
48
|
-
assetPrice: parseEther(
|
|
47
|
+
totalCredits: parseEther('100'),
|
|
48
|
+
assetPrice: parseEther('50'),
|
|
49
49
|
useCredits: false,
|
|
50
|
-
label:
|
|
50
|
+
label: 'Use Credits',
|
|
51
51
|
showTooltip: true,
|
|
52
|
-
tooltipContent:
|
|
53
|
-
}
|
|
52
|
+
tooltipContent: 'Credits value'
|
|
53
|
+
}
|
|
54
54
|
};
|
|
55
55
|
const Active = {
|
|
56
|
-
render:
|
|
56
|
+
render: args => _jsx(InteractiveCreditsToggle, { ...args }),
|
|
57
57
|
args: {
|
|
58
|
-
totalCredits: parseEther(
|
|
59
|
-
assetPrice: parseEther(
|
|
58
|
+
totalCredits: parseEther('100'),
|
|
59
|
+
assetPrice: parseEther('50'),
|
|
60
60
|
useCredits: true,
|
|
61
|
-
label:
|
|
62
|
-
showTooltip: true
|
|
63
|
-
}
|
|
61
|
+
label: 'Use Credits',
|
|
62
|
+
showTooltip: true
|
|
63
|
+
}
|
|
64
64
|
};
|
|
65
65
|
const InsufficientCredits = {
|
|
66
|
-
render:
|
|
66
|
+
render: args => _jsx(InteractiveCreditsToggle, { ...args }),
|
|
67
67
|
args: {
|
|
68
|
-
totalCredits: parseEther(
|
|
69
|
-
assetPrice: parseEther(
|
|
68
|
+
totalCredits: parseEther('10'),
|
|
69
|
+
assetPrice: parseEther('50'),
|
|
70
70
|
useCredits: false,
|
|
71
|
-
label:
|
|
72
|
-
showTooltip: true
|
|
73
|
-
}
|
|
71
|
+
label: 'Use Credits',
|
|
72
|
+
showTooltip: true
|
|
73
|
+
}
|
|
74
74
|
};
|
|
75
75
|
const NoCreditsWithLearnMore = {
|
|
76
|
-
render:
|
|
76
|
+
render: args => _jsx(InteractiveCreditsToggle, { ...args }),
|
|
77
77
|
args: {
|
|
78
|
-
totalCredits:
|
|
79
|
-
assetPrice: parseEther(
|
|
78
|
+
totalCredits: '0',
|
|
79
|
+
assetPrice: parseEther('50'),
|
|
80
80
|
useCredits: false,
|
|
81
81
|
showLearnMore: true,
|
|
82
|
-
label:
|
|
83
|
-
learnMoreUrl:
|
|
84
|
-
}
|
|
82
|
+
label: 'Get with Credits',
|
|
83
|
+
learnMoreUrl: 'https://decentraland.org/blog/announcements/marketplace-credits'
|
|
84
|
+
}
|
|
85
85
|
};
|
|
86
86
|
const NoCreditsHidden = {
|
|
87
|
-
render:
|
|
87
|
+
render: args => _jsx(InteractiveCreditsToggle, { ...args }),
|
|
88
88
|
args: {
|
|
89
|
-
totalCredits:
|
|
90
|
-
assetPrice: parseEther(
|
|
89
|
+
totalCredits: '0',
|
|
90
|
+
assetPrice: parseEther('50'),
|
|
91
91
|
useCredits: false,
|
|
92
|
-
showLearnMore: false
|
|
93
|
-
}
|
|
92
|
+
showLearnMore: false
|
|
93
|
+
}
|
|
94
94
|
};
|
|
95
95
|
const CustomLabel = {
|
|
96
|
-
render:
|
|
96
|
+
render: args => _jsx(InteractiveCreditsToggle, { ...args }),
|
|
97
97
|
args: {
|
|
98
|
-
totalCredits: parseEther(
|
|
99
|
-
assetPrice: parseEther(
|
|
98
|
+
totalCredits: parseEther('75'),
|
|
99
|
+
assetPrice: parseEther('50'),
|
|
100
100
|
useCredits: false,
|
|
101
|
-
label:
|
|
101
|
+
label: 'Pagar con Créditos',
|
|
102
102
|
showTooltip: true,
|
|
103
|
-
tooltipContent:
|
|
104
|
-
}
|
|
103
|
+
tooltipContent: 'Valor de los créditos'
|
|
104
|
+
}
|
|
105
105
|
};
|
|
106
|
-
export { WithCredits, Active, InsufficientCredits, NoCreditsWithLearnMore, NoCreditsHidden, CustomLabel
|
|
106
|
+
export { WithCredits, Active, InsufficientCredits, NoCreditsWithLearnMore, NoCreditsHidden, CustomLabel };
|
|
107
107
|
// eslint-disable-next-line import/no-default-export
|
|
108
108
|
export default meta;
|
|
109
109
|
//# sourceMappingURL=CreditsToggle.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditsToggle.stories.js","sourceRoot":"","sources":["../../../src/components/CreditsToggle/CreditsToggle.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAI/C,4DAA4D;AAC5D,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE;IAC3C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAA;AACnE,CAAC,CAAA;AAED,MAAM,IAAI,GAA+B;IACvC,KAAK,EAAE,+BAA+B;IACtC,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,gCAAgC;SAC9C;QACD,UAAU,EAAE;YACV,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,gCAAgC;SAC9C;QACD,UAAU,EAAE;YACV,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,0CAA0C;SACxD;QACD,aAAa,EAAE;YACb,OAAO,EAAE,SAAS;YAClB,WAAW,
|
|
1
|
+
{"version":3,"file":"CreditsToggle.stories.js","sourceRoot":"","sources":["../../../src/components/CreditsToggle/CreditsToggle.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAI/C,4DAA4D;AAC5D,MAAM,UAAU,GAAG,CAAC,KAAa,EAAU,EAAE;IAC3C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAA;AACnE,CAAC,CAAA;AAED,MAAM,IAAI,GAA+B;IACvC,KAAK,EAAE,+BAA+B;IACtC,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,YAAY,EAAE;YACZ,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,gCAAgC;SAC9C;QACD,UAAU,EAAE;YACV,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,gCAAgC;SAC9C;QACD,UAAU,EAAE;YACV,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,0CAA0C;SACxD;QACD,aAAa,EAAE;YACb,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,6EAA6E;SAC3F;QACD,KAAK,EAAE;YACL,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,kCAAkC;SAChD;QACD,WAAW,EAAE;YACX,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,4CAA4C;SAC1D;KACF;CACF,CAAA;AAID,sCAAsC;AACtC,MAAM,wBAAwB,GAAG,CAAC,IAAwB,EAAE,EAAE;IAC5D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;IAE7D,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,YAChD,KAAC,aAAa,OAA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ACnB,KAAK,EAAE,kBAAkB;QACzB,YAAY,EAAE,iEAAiE;KAChF;CACF,CAAA;AAED,MAAM,eAAe,GAAU;IAC7B,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,KAAC,wBAAwB,OAAK,IAAI,GAAI;IACtD,IAAI,EAAE;QACJ,YAAY,EAAE,GAAG;QACjB,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC;QAC5B,UAAU,EAAE,KAAK;QACjB,aAAa,EAAE,KAAK;KACrB;CACF,CAAA;AAED,MAAM,WAAW,GAAU;IACzB,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,KAAC,wBAAwB,OAAK,IAAI,GAAI;IACtD,IAAI,EAAE;QACJ,YAAY,EAAE,UAAU,CAAC,IAAI,CAAC;QAC9B,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC;QAC5B,UAAU,EAAE,KAAK;QACjB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE,uBAAuB;KACxC;CACF,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,eAAe,EAAE,WAAW,EAAE,CAAA;AAEzG,oDAAoD;AACpD,eAAe,IAAI,CAAA"}
|
|
@@ -49,4 +49,4 @@ declare const LearnMoreButton: import("@emotion/styled").StyledComponent<import(
|
|
|
49
49
|
declare const StyledSwitch: import("@emotion/styled").StyledComponent<import("@mui/material").SwitchProps & {
|
|
50
50
|
theme?: import("@emotion/react").Theme;
|
|
51
51
|
}, {}, {}>;
|
|
52
|
-
export { AnimationContainer, Container, LeftSection, LearnMoreButton, PopupContainer, StyledAmount, StyledNumber, StyledSwitch, StyledText
|
|
52
|
+
export { AnimationContainer, Container, LeftSection, LearnMoreButton, PopupContainer, StyledAmount, StyledNumber, StyledSwitch, StyledText };
|