decentraland-ui2 1.2.2-21258714748.commit-c55df48 → 1.2.2-21409431322.commit-d4bd7fb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/components/Address/Address.d.ts +1 -1
- package/dist/components/Address/Address.js +4 -4
- package/dist/components/Address/Address.js.map +1 -1
- package/dist/components/Address/Address.stories.d.ts +3 -3
- package/dist/components/Address/Address.stories.js +31 -31
- package/dist/components/Address/Address.stories.js.map +1 -1
- package/dist/components/Address/Address.styled.js +13 -13
- package/dist/components/Address/index.d.ts +2 -2
- package/dist/components/Address/index.js +2 -2
- package/dist/components/AddressField/utils.js +2 -2
- package/dist/components/AddressField/utils.spec.js +11 -11
- package/dist/components/AddressField/utils.spec.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.d.ts +2 -2
- package/dist/components/AssetImage/AssetImage.js +2 -2
- package/dist/components/AssetImage/AssetImage.stories.d.ts +2 -2
- package/dist/components/AssetImage/AssetImage.stories.js +18 -18
- package/dist/components/AssetImage/AssetImage.stories.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.stories.styled.js +3 -3
- package/dist/components/AssetImage/AssetImage.styled.d.ts +1 -1
- package/dist/components/AssetImage/AssetImage.styled.js +13 -13
- package/dist/components/AssetImage/AssetImage.styled.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.types.d.ts +1 -1
- package/dist/components/AssetImage/index.d.ts +2 -2
- package/dist/components/AssetImage/index.js +2 -2
- package/dist/components/Atlas/Atlas.d.ts +2 -3
- package/dist/components/Atlas/Atlas.js +37 -26
- 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 -38
- 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 +2 -2
- package/dist/components/Banner/ContentfulRichText.js +9 -10
- 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 -44
- package/dist/index.js +50 -43
- 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 +3 -2
- package/dist/utils/optionalDependency.js +22 -6
- package/dist/utils/optionalDependency.js.map +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -33,10 +33,10 @@ import { dark, ThemeProvider } from 'decentraland-ui2/dist/theme';
|
|
|
33
33
|
Now you can use Decentraland UI v2's components:
|
|
34
34
|
|
|
35
35
|
```tsx
|
|
36
|
-
import React from
|
|
37
|
-
import { Button } from
|
|
36
|
+
import React from 'react'
|
|
37
|
+
import { Button } from 'decentraland-ui2/lib/@mui'
|
|
38
38
|
|
|
39
|
-
export const CustomButton =
|
|
39
|
+
export const CustomButton = props => {
|
|
40
40
|
return <Button {...props}>Save</Button>
|
|
41
41
|
}
|
|
42
42
|
```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useMemo } from
|
|
3
|
-
import Tooltip from
|
|
4
|
-
import { AddressContainer, CopyButton, CopyIcon, StyledAddress
|
|
2
|
+
import { useCallback, useMemo } from 'react';
|
|
3
|
+
import Tooltip from '@mui/material/Tooltip';
|
|
4
|
+
import { AddressContainer, CopyButton, CopyIcon, StyledAddress } from './Address.styled';
|
|
5
5
|
const Address = (props) => {
|
|
6
6
|
const { value, strong = false, shorten = true, tooltip = false, showCopyButton = false, onCopy, ...restProps } = props;
|
|
7
7
|
const address = useMemo(() => (shorten ? `${value.slice(0, 6)}\u2026${value.slice(-4)}` : value), [value, shorten]);
|
|
@@ -12,7 +12,7 @@ const Address = (props) => {
|
|
|
12
12
|
}
|
|
13
13
|
navigator.clipboard.writeText(value);
|
|
14
14
|
}, [onCopy, value]);
|
|
15
|
-
const content = (_jsxs(AddressContainer, { children: [_jsx(StyledAddress, { as: strong ?
|
|
15
|
+
const content = (_jsxs(AddressContainer, { children: [_jsx(StyledAddress, { as: strong ? 'strong' : 'span', ...restProps, children: address }), showCopyButton ? (_jsx(CopyButton, { "aria-label": "Copy address", size: "small", onClick: handleCopy, children: _jsx(CopyIcon, {}) })) : null] }));
|
|
16
16
|
return tooltip ? (_jsx(Tooltip, { title: value, placement: "top", children: _jsx("span", { children: content }) })) : (content);
|
|
17
17
|
};
|
|
18
18
|
export { Address };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/components/Address/Address.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC5C,OAAO,OAAO,MAAM,uBAAuB,CAAA;AAE3C,OAAO,
|
|
1
|
+
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/components/Address/Address.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC5C,OAAO,OAAO,MAAM,uBAAuB,CAAA;AAE3C,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAExF,MAAM,OAAO,GAAG,CAAC,KAAmB,EAAE,EAAE;IACtC,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,KAAK,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,GAAG,KAAK,EAAE,cAAc,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAA;IACtH,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;IAEnH,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;QAClC,IAAI,MAAM,EAAE,CAAC;YACX,MAAM,CAAC,KAAK,CAAC,CAAA;YACb,OAAM;QACR,CAAC;QAED,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;IACtC,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAA;IAEnB,MAAM,OAAO,GAAG,CACd,MAAC,gBAAgB,eACf,KAAC,aAAa,IAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAAM,SAAS,YACzD,OAAO,GACM,EACf,cAAc,CAAC,CAAC,CAAC,CAChB,KAAC,UAAU,kBAAY,cAAc,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,UAAU,YACpE,KAAC,QAAQ,KAAG,GACD,CACd,CAAC,CAAC,CAAC,IAAI,IACS,CACpB,CAAA;IAED,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,KAAC,OAAO,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,KAAK,YACpC,yBAAO,OAAO,GAAQ,GACd,CACX,CAAC,CAAC,CAAC,CACF,OAAO,CACR,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AddressProps } from
|
|
2
|
-
import type { Meta, StoryObj } from
|
|
1
|
+
import { AddressProps } from './Address.types';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<AddressProps>;
|
|
4
4
|
type Story = StoryObj<AddressProps>;
|
|
5
5
|
declare const FullAddress: Story;
|
|
@@ -8,4 +8,4 @@ declare const StrongStyleAddress: Story;
|
|
|
8
8
|
declare const WithTooltip: Story;
|
|
9
9
|
declare const WithCopyButton: Story;
|
|
10
10
|
export default meta;
|
|
11
|
-
export { FullAddress, ShortAddress, StrongStyleAddress, WithTooltip, WithCopyButton
|
|
11
|
+
export { FullAddress, ShortAddress, StrongStyleAddress, WithTooltip, WithCopyButton };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Address } from
|
|
3
|
-
const address =
|
|
2
|
+
import { Address } from './';
|
|
3
|
+
const address = '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942';
|
|
4
4
|
const meta = {
|
|
5
5
|
component: Address,
|
|
6
|
-
title:
|
|
7
|
-
tags: [
|
|
6
|
+
title: 'Decentraland UI/Address',
|
|
7
|
+
tags: ['autodocs'],
|
|
8
8
|
argTypes: {
|
|
9
9
|
value: {
|
|
10
|
-
description:
|
|
11
|
-
defaultValue:
|
|
10
|
+
description: 'The Ethereum address to display (required)',
|
|
11
|
+
defaultValue: ''
|
|
12
12
|
},
|
|
13
13
|
strong: {
|
|
14
|
-
description:
|
|
15
|
-
defaultValue: false
|
|
14
|
+
description: 'Bold the address text',
|
|
15
|
+
defaultValue: false
|
|
16
16
|
},
|
|
17
17
|
shorten: {
|
|
18
|
-
description:
|
|
19
|
-
defaultValue: true
|
|
18
|
+
description: 'Shorten the address for display',
|
|
19
|
+
defaultValue: true
|
|
20
20
|
},
|
|
21
21
|
tooltip: {
|
|
22
|
-
description:
|
|
22
|
+
description: 'Show full address on hover'
|
|
23
23
|
},
|
|
24
24
|
showCopyButton: {
|
|
25
|
-
description:
|
|
26
|
-
defaultValue: false
|
|
27
|
-
}
|
|
25
|
+
description: 'Show a copy-to-clipboard button',
|
|
26
|
+
defaultValue: false
|
|
27
|
+
}
|
|
28
28
|
},
|
|
29
|
-
render:
|
|
29
|
+
render: args => _jsx(Address, { ...args })
|
|
30
30
|
};
|
|
31
31
|
const FullAddress = {
|
|
32
|
-
name:
|
|
32
|
+
name: 'Full Address',
|
|
33
33
|
args: {
|
|
34
34
|
value: address,
|
|
35
|
-
shorten: false
|
|
36
|
-
}
|
|
35
|
+
shorten: false
|
|
36
|
+
}
|
|
37
37
|
};
|
|
38
38
|
const ShortAddress = {
|
|
39
|
-
name:
|
|
39
|
+
name: 'Short Address',
|
|
40
40
|
args: {
|
|
41
41
|
value: address,
|
|
42
|
-
shorten: true
|
|
43
|
-
}
|
|
42
|
+
shorten: true
|
|
43
|
+
}
|
|
44
44
|
};
|
|
45
45
|
const StrongStyleAddress = {
|
|
46
|
-
name:
|
|
46
|
+
name: 'Strong Style Address',
|
|
47
47
|
args: {
|
|
48
48
|
value: address,
|
|
49
|
-
strong: true
|
|
50
|
-
}
|
|
49
|
+
strong: true
|
|
50
|
+
}
|
|
51
51
|
};
|
|
52
52
|
const WithTooltip = {
|
|
53
|
-
name:
|
|
53
|
+
name: 'With Tooltip',
|
|
54
54
|
args: {
|
|
55
55
|
value: address,
|
|
56
|
-
tooltip: true
|
|
57
|
-
}
|
|
56
|
+
tooltip: true
|
|
57
|
+
}
|
|
58
58
|
};
|
|
59
59
|
const WithCopyButton = {
|
|
60
|
-
name:
|
|
60
|
+
name: 'With Copy Button',
|
|
61
61
|
args: {
|
|
62
62
|
value: address,
|
|
63
|
-
showCopyButton: true
|
|
64
|
-
}
|
|
63
|
+
showCopyButton: true
|
|
64
|
+
}
|
|
65
65
|
};
|
|
66
66
|
// eslint-disable-next-line import/no-default-export
|
|
67
67
|
export default meta;
|
|
68
|
-
export { FullAddress, ShortAddress, StrongStyleAddress, WithTooltip, WithCopyButton
|
|
68
|
+
export { FullAddress, ShortAddress, StrongStyleAddress, WithTooltip, WithCopyButton };
|
|
69
69
|
//# sourceMappingURL=Address.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Address.stories.js","sourceRoot":"","sources":["../../../src/components/Address/Address.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAG5B,MAAM,OAAO,GAAG,4CAA4C,CAAA;AAE5D,MAAM,IAAI,GAAuB;IAC/B,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,WAAW,EAAE,4CAA4C;YACzD,YAAY,EAAE,EAAE;SACjB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,uBAAuB;YACpC,YAAY,EAAE,KAAK;SACpB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,iCAAiC;YAC9C,YAAY,EAAE,IAAI;SACnB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,4BAA4B;SAC1C;QACD,cAAc,EAAE;YACd,WAAW,EAAE,iCAAiC;YAC9C,YAAY,EAAE,KAAK;SACpB;KACF;IACD,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"Address.stories.js","sourceRoot":"","sources":["../../../src/components/Address/Address.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAG5B,MAAM,OAAO,GAAG,4CAA4C,CAAA;AAE5D,MAAM,IAAI,GAAuB;IAC/B,SAAS,EAAE,OAAO;IAClB,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,WAAW,EAAE,4CAA4C;YACzD,YAAY,EAAE,EAAE;SACjB;QACD,MAAM,EAAE;YACN,WAAW,EAAE,uBAAuB;YACpC,YAAY,EAAE,KAAK;SACpB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,iCAAiC;YAC9C,YAAY,EAAE,IAAI;SACnB;QACD,OAAO,EAAE;YACP,WAAW,EAAE,4BAA4B;SAC1C;QACD,cAAc,EAAE;YACd,WAAW,EAAE,iCAAiC;YAC9C,YAAY,EAAE,KAAK;SACpB;KACF;IACD,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,KAAC,OAAO,OAAK,IAAI,GAAI;CACtC,CAAA;AAID,MAAM,WAAW,GAAU;IACzB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,KAAK;KACf;CACF,CAAA;AAED,MAAM,YAAY,GAAU;IAC1B,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,IAAI;KACd;CACF,CAAA;AAED,MAAM,kBAAkB,GAAU;IAChC,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,IAAI;KACb;CACF,CAAA;AAED,MAAM,WAAW,GAAU;IACzB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,IAAI;KACd;CACF,CAAA;AAED,MAAM,cAAc,GAAU;IAC5B,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE;QACJ,KAAK,EAAE,OAAO;QACd,cAAc,EAAE,IAAI;KACrB;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import ContentCopyIcon from
|
|
2
|
-
import IconButton from
|
|
3
|
-
import styled from
|
|
4
|
-
const AddressContainer = styled(
|
|
5
|
-
display:
|
|
6
|
-
alignItems:
|
|
7
|
-
gap: theme.spacing(0.25)
|
|
1
|
+
import ContentCopyIcon from '@mui/icons-material/ContentCopy';
|
|
2
|
+
import IconButton from '@mui/material/IconButton';
|
|
3
|
+
import styled from '@emotion/styled';
|
|
4
|
+
const AddressContainer = styled('span')(({ theme }) => ({
|
|
5
|
+
display: 'inline-flex',
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
gap: theme.spacing(0.25)
|
|
8
8
|
}));
|
|
9
9
|
const CopyButton = styled(IconButton)(({ theme }) => ({
|
|
10
10
|
padding: theme.spacing(0.25),
|
|
11
11
|
color: theme.palette.text.secondary,
|
|
12
|
-
|
|
13
|
-
color: theme.palette.text.primary
|
|
14
|
-
}
|
|
12
|
+
'&:hover': {
|
|
13
|
+
color: theme.palette.text.primary
|
|
14
|
+
}
|
|
15
15
|
}));
|
|
16
16
|
const CopyIcon = styled(ContentCopyIcon)({
|
|
17
|
-
fontSize:
|
|
17
|
+
fontSize: '0.875em'
|
|
18
18
|
});
|
|
19
|
-
const StyledAddress = styled(
|
|
19
|
+
const StyledAddress = styled('span')(({ theme }) => ({
|
|
20
20
|
color: theme.palette.text.primary,
|
|
21
|
-
fontFamily: theme.typography.fontFamily
|
|
21
|
+
fontFamily: theme.typography.fontFamily
|
|
22
22
|
}));
|
|
23
23
|
export { AddressContainer, CopyButton, CopyIcon, StyledAddress };
|
|
24
24
|
//# sourceMappingURL=Address.styled.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Address';
|
|
2
|
+
export * from './Address.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Address';
|
|
2
|
+
export * from './Address.types';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const isValid = (addr =
|
|
1
|
+
const isValid = (addr = '') => {
|
|
2
2
|
return /^0x[a-fA-F0-9]{40}$/g.test(addr);
|
|
3
3
|
};
|
|
4
4
|
const shorten = (address) => {
|
|
5
|
-
return address ? address.slice(0, 6) +
|
|
5
|
+
return address ? address.slice(0, 6) + '...' + address.slice(42 - 5) : '';
|
|
6
6
|
};
|
|
7
7
|
export { isValid, shorten };
|
|
8
8
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { isValid, shorten } from
|
|
2
|
-
describe(
|
|
3
|
-
it(
|
|
1
|
+
import { isValid, shorten } from './utils';
|
|
2
|
+
describe('isValid', () => {
|
|
3
|
+
it('should return false when address is undefined', () => {
|
|
4
4
|
expect(isValid(undefined)).toBe(false);
|
|
5
5
|
});
|
|
6
6
|
it("should return false when address doesn't match regex", () => {
|
|
7
|
-
expect(isValid(
|
|
7
|
+
expect(isValid('0x')).toBe(false);
|
|
8
8
|
});
|
|
9
|
-
it(
|
|
10
|
-
expect(isValid(
|
|
9
|
+
it('should return true when address matches regex', () => {
|
|
10
|
+
expect(isValid('0x89805E5f0698Cb4dB57f0E389f2a75259f78CC22')).toBe(true);
|
|
11
11
|
});
|
|
12
12
|
});
|
|
13
|
-
describe(
|
|
14
|
-
it(
|
|
15
|
-
expect(shorten(undefined)).toBe(
|
|
13
|
+
describe('shorten', () => {
|
|
14
|
+
it('should return empty string when address is not defined', () => {
|
|
15
|
+
expect(shorten(undefined)).toBe('');
|
|
16
16
|
});
|
|
17
|
-
it(
|
|
18
|
-
expect(shorten(
|
|
17
|
+
it('should return first and last 5 items', () => {
|
|
18
|
+
expect(shorten('0x89805E5f0698Cb4dB57f0E389f2a75259f78CC22')).toBe('0x8980...8CC22');
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=utils.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.spec.js","sourceRoot":"","sources":["../../../src/components/AddressField/utils.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAE1C,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACxC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC9D,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACnC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC1E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE;QAChE,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACrC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"utils.spec.js","sourceRoot":"","sources":["../../../src/components/AddressField/utils.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAE1C,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACxC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC9D,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACnC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC1E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE;QAChE,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACrC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA;IACtF,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { AssetImageProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AssetImageProps } from './AssetImage.types';
|
|
3
3
|
declare const AssetImage: React.MemoExoticComponent<(props: AssetImageProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
4
|
export { AssetImage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React from
|
|
3
|
-
import { AssetImageContainer, AssetImageStyled } from
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { AssetImageContainer, AssetImageStyled } from './AssetImage.styled';
|
|
4
4
|
const AssetImage = React.memo((props) => {
|
|
5
5
|
const { rarity, name, src, ...restProps } = props;
|
|
6
6
|
return (_jsx(AssetImageContainer, { rarity: rarity, ...restProps, children: _jsx(AssetImageStyled, { src: src, alt: name }) }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AssetImageProps } from
|
|
2
|
-
import type { Meta, StoryObj } from
|
|
1
|
+
import { AssetImageProps } from './AssetImage.types';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<AssetImageProps>;
|
|
4
4
|
type Story = StoryObj<AssetImageProps>;
|
|
5
5
|
declare const Default: Story;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Rarity } from
|
|
3
|
-
import { AssetImage } from
|
|
4
|
-
import { item } from
|
|
5
|
-
import { AssetImageContainer } from
|
|
2
|
+
import { Rarity } from '@dcl/schemas';
|
|
3
|
+
import { AssetImage } from './AssetImage';
|
|
4
|
+
import { item } from '../../data/item';
|
|
5
|
+
import { AssetImageContainer } from './AssetImage.stories.styled';
|
|
6
6
|
const meta = {
|
|
7
7
|
component: AssetImage,
|
|
8
|
-
title:
|
|
9
|
-
tags: [
|
|
8
|
+
title: 'Decentraland UI/Asset Image',
|
|
9
|
+
tags: ['autodocs'],
|
|
10
10
|
parameters: {
|
|
11
|
-
layout:
|
|
11
|
+
layout: 'centered'
|
|
12
12
|
},
|
|
13
13
|
argTypes: {
|
|
14
14
|
rarity: {
|
|
15
|
-
control:
|
|
15
|
+
control: 'select',
|
|
16
16
|
options: Rarity.getRarities(),
|
|
17
17
|
defaultValue: item.rarity,
|
|
18
|
-
description:
|
|
18
|
+
description: 'The rarity of the asset'
|
|
19
19
|
},
|
|
20
20
|
name: {
|
|
21
|
-
control:
|
|
21
|
+
control: 'text',
|
|
22
22
|
defaultValue: item.name,
|
|
23
|
-
description:
|
|
23
|
+
description: 'The name of the asset'
|
|
24
24
|
},
|
|
25
25
|
src: {
|
|
26
|
-
control:
|
|
26
|
+
control: 'text',
|
|
27
27
|
defaultValue: item.thumbnail,
|
|
28
|
-
description:
|
|
29
|
-
}
|
|
28
|
+
description: 'The source of the asset'
|
|
29
|
+
}
|
|
30
30
|
},
|
|
31
|
-
render:
|
|
31
|
+
render: args => (_jsx(AssetImageContainer, { children: _jsx(AssetImage, { ...args }) }))
|
|
32
32
|
};
|
|
33
33
|
const Default = {
|
|
34
|
-
name:
|
|
34
|
+
name: 'Default',
|
|
35
35
|
args: {
|
|
36
36
|
src: item.thumbnail,
|
|
37
37
|
name: item.name,
|
|
38
|
-
rarity: item.rarity
|
|
39
|
-
}
|
|
38
|
+
rarity: item.rarity
|
|
39
|
+
}
|
|
40
40
|
};
|
|
41
41
|
// eslint-disable-next-line import/no-default-export
|
|
42
42
|
export default meta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetImage.stories.js","sourceRoot":"","sources":["../../../src/components/AssetImage/AssetImage.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAEtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE,MAAM,IAAI,GAA0B;IAClC,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,6BAA6B;IACpC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;KACnB;IACD,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE;YAC7B,YAAY,EAAE,IAAI,CAAC,MAAM;YACzB,WAAW,EAAE,yBAAyB;SACvC;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM;YACf,YAAY,EAAE,IAAI,CAAC,IAAI;YACvB,WAAW,EAAE,uBAAuB;SACrC;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM;YACf,YAAY,EAAE,IAAI,CAAC,SAAS;YAC5B,WAAW,EAAE,yBAAyB;SACvC;KACF;IACD,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"AssetImage.stories.js","sourceRoot":"","sources":["../../../src/components/AssetImage/AssetImage.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAEtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE,MAAM,IAAI,GAA0B;IAClC,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,6BAA6B;IACpC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;KACnB;IACD,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,MAAM,CAAC,WAAW,EAAE;YAC7B,YAAY,EAAE,IAAI,CAAC,MAAM;YACzB,WAAW,EAAE,yBAAyB;SACvC;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM;YACf,YAAY,EAAE,IAAI,CAAC,IAAI;YACvB,WAAW,EAAE,uBAAuB;SACrC;QACD,GAAG,EAAE;YACH,OAAO,EAAE,MAAM;YACf,YAAY,EAAE,IAAI,CAAC,SAAS;YAC5B,WAAW,EAAE,yBAAyB;SACvC;KACF;IACD,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CACd,KAAC,mBAAmB,cAClB,KAAC,UAAU,OAAK,IAAI,GAAI,GACJ,CACvB;CACF,CAAA;AAID,MAAM,OAAO,GAAU;IACrB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE;QACJ,GAAG,EAAE,IAAI,CAAC,SAAS;QACnB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,MAAM,EAAE,IAAI,CAAC,MAAM;KACpB;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
const AssetImageContainer = styled(
|
|
3
|
-
height: theme.spacing(35)
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
const AssetImageContainer = styled('div')(({ theme }) => ({
|
|
3
|
+
height: theme.spacing(35)
|
|
4
4
|
}));
|
|
5
5
|
export { AssetImageContainer };
|
|
6
6
|
//# sourceMappingURL=AssetImage.stories.styled.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Rarity } from
|
|
2
|
-
import styled from
|
|
3
|
-
const AssetImageContainer = styled(
|
|
1
|
+
import { Rarity } from '@dcl/schemas';
|
|
2
|
+
import styled from '@emotion/styled';
|
|
3
|
+
const AssetImageContainer = styled('div')(({ rarity }) => {
|
|
4
4
|
const [lightColor, regularColor] = Rarity.getGradient(rarity);
|
|
5
5
|
const backgroundImage = `radial-gradient(${lightColor}, ${regularColor})`;
|
|
6
6
|
return {
|
|
7
|
-
display:
|
|
8
|
-
alignItems:
|
|
9
|
-
justifyContent:
|
|
10
|
-
height:
|
|
11
|
-
width:
|
|
12
|
-
margin:
|
|
13
|
-
backgroundImage
|
|
7
|
+
display: 'flex',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
justifyContent: 'center',
|
|
10
|
+
height: 'inherit',
|
|
11
|
+
width: 'inherit',
|
|
12
|
+
margin: 'auto',
|
|
13
|
+
backgroundImage
|
|
14
14
|
};
|
|
15
15
|
});
|
|
16
|
-
const AssetImageStyled = styled(
|
|
17
|
-
magin:
|
|
18
|
-
maxHeight:
|
|
16
|
+
const AssetImageStyled = styled('img')({
|
|
17
|
+
magin: 'auto',
|
|
18
|
+
maxHeight: '100%'
|
|
19
19
|
});
|
|
20
20
|
export { AssetImageContainer, AssetImageStyled };
|
|
21
21
|
//# sourceMappingURL=AssetImage.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetImage.styled.js","sourceRoot":"","sources":["../../../src/components/AssetImage/AssetImage.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAGpC,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAkC,CAAC,
|
|
1
|
+
{"version":3,"file":"AssetImage.styled.js","sourceRoot":"","sources":["../../../src/components/AssetImage/AssetImage.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAGpC,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAkC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE;IACxF,MAAM,CAAC,UAAU,EAAE,YAAY,CAAC,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAA;IAC7D,MAAM,eAAe,GAAG,mBAAmB,UAAU,KAAK,YAAY,GAAG,CAAA;IAEzE,OAAO;QACL,OAAO,EAAE,MAAM;QACf,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,MAAM;QACd,eAAe;KAChB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IACrC,KAAK,EAAE,MAAM;IACb,SAAS,EAAE,MAAM;CAClB,CAAC,CAAA;AAEF,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './AssetImage';
|
|
2
|
+
export * from './AssetImage.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './AssetImage';
|
|
2
|
+
export * from './AssetImage.types';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import
|
|
3
|
-
import { AtlasProps } from "./Atlas.types";
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AtlasProps } from './Atlas.types';
|
|
4
3
|
declare const Atlas: React.MemoExoticComponent<(props: AtlasProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
4
|
export { Atlas };
|
|
@@ -1,58 +1,69 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import React, { useCallback, useEffect, useMemo, useState } from
|
|
3
|
-
import
|
|
4
|
-
import { getColorByType, getTiles } from
|
|
5
|
-
import { createLazyComponent } from
|
|
6
|
-
import { AtlasColor } from
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
componentName: "Atlas",
|
|
10
|
-
}, () => import("react-tile-map").then((mod) => ({ default: mod.TileMap })));
|
|
2
|
+
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
4
|
+
import { getColorByType, getTiles } from './util';
|
|
5
|
+
import { createDynamicImport, createLazyComponent } from '../../utils/optionalDependency';
|
|
6
|
+
import { AtlasColor } from './Atlas.types';
|
|
7
|
+
const importTileMap = createDynamicImport('react-tile-map');
|
|
8
|
+
const importTileMapStyles = createDynamicImport('react-tile-map/lib/styles.css');
|
|
11
9
|
const Atlas = React.memo((props) => {
|
|
12
10
|
const { layers } = props;
|
|
11
|
+
const atlasFallback = useMemo(() => _jsx(CircularProgress, { size: 24, color: "inherit" }), []);
|
|
12
|
+
const LazyTileMap = useMemo(() => createLazyComponent({
|
|
13
|
+
packageName: 'react-tile-map',
|
|
14
|
+
componentName: 'Atlas'
|
|
15
|
+
}, () => importTileMap().then(mod => ({ default: mod.TileMap })), atlasFallback), [atlasFallback]);
|
|
13
16
|
const [tiles, setTiles] = useState(props.tiles);
|
|
14
|
-
const
|
|
17
|
+
const resolvedTiles = props.tiles ?? tiles;
|
|
15
18
|
const layer = useCallback((x, y) => {
|
|
16
|
-
const id = x +
|
|
17
|
-
if (
|
|
18
|
-
const tile =
|
|
19
|
+
const id = x + ',' + y;
|
|
20
|
+
if (resolvedTiles && id in resolvedTiles) {
|
|
21
|
+
const tile = resolvedTiles[id];
|
|
19
22
|
return {
|
|
20
23
|
color: getColorByType(tile.type),
|
|
21
24
|
top: tile.top,
|
|
22
25
|
left: tile.left,
|
|
23
|
-
topLeft: tile.topLeft
|
|
26
|
+
topLeft: tile.topLeft
|
|
24
27
|
};
|
|
25
28
|
}
|
|
26
29
|
else {
|
|
27
30
|
return {
|
|
28
|
-
color: (x + y) % 2 === 0 ? AtlasColor.ODD : AtlasColor.EVEN
|
|
31
|
+
color: (x + y) % 2 === 0 ? AtlasColor.ODD : AtlasColor.EVEN
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
|
-
}, [
|
|
34
|
+
}, [resolvedTiles]);
|
|
32
35
|
useEffect(() => {
|
|
33
|
-
|
|
34
|
-
|
|
36
|
+
let cancelled = false;
|
|
37
|
+
importTileMapStyles().catch(() => {
|
|
38
|
+
// Keep silent if the optional dependency is not installed; LazyTileMap will warn when rendered.
|
|
39
|
+
return;
|
|
40
|
+
});
|
|
41
|
+
if (!props.tiles && !tiles) {
|
|
42
|
+
getTiles().then(updatedTiles => {
|
|
43
|
+
if (cancelled) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
setTiles(updatedTiles);
|
|
47
|
+
});
|
|
35
48
|
}
|
|
36
49
|
return () => {
|
|
37
|
-
|
|
50
|
+
cancelled = true;
|
|
38
51
|
};
|
|
39
|
-
}, [tiles]);
|
|
52
|
+
}, [props.tiles, tiles]);
|
|
40
53
|
useEffect(() => {
|
|
41
54
|
if (props.tiles && props.tiles !== tiles) {
|
|
42
55
|
setTiles(props.tiles);
|
|
43
56
|
}
|
|
44
|
-
}, [props.tiles]);
|
|
45
|
-
const handleUpdateTiles = (updatedTiles) => {
|
|
46
|
-
if (mountedRef.current) {
|
|
47
|
-
setTiles(updatedTiles);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
57
|
+
}, [props.tiles, tiles]);
|
|
50
58
|
/*
|
|
51
59
|
Review this CSS
|
|
52
60
|
const atlasStyle = css({
|
|
53
61
|
background: neutral.softBlack1,
|
|
54
62
|
}) */
|
|
55
63
|
const layersMemo = useMemo(() => [layer, ...(layers || [])], [layer, layers]);
|
|
64
|
+
if (!resolvedTiles) {
|
|
65
|
+
return atlasFallback;
|
|
66
|
+
}
|
|
56
67
|
return _jsx(LazyTileMap, { ...props, layers: layersMemo });
|
|
57
68
|
});
|
|
58
69
|
export { Atlas };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Atlas.js","sourceRoot":"","sources":["../../../src/components/Atlas/Atlas.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAExE,OAAO
|
|
1
|
+
{"version":3,"file":"Atlas.js","sourceRoot":"","sources":["../../../src/components/Atlas/Atlas.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAExE,OAAO,gBAAgB,MAAM,gCAAgC,CAAA;AAC7D,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACzF,OAAO,EAAE,UAAU,EAA+B,MAAM,eAAe,CAAA;AAEvE,MAAM,aAAa,GAAG,mBAAmB,CAAkC,gBAAgB,CAAC,CAAA;AAC5F,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,+BAA+B,CAAC,CAAA;AAEhF,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAiB,EAAE,EAAE;IAC7C,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACxB,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,KAAC,gBAAgB,IAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,SAAS,GAAG,EAAE,EAAE,CAAC,CAAA;IACvF,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CACH,mBAAmB,CACjB;QACE,WAAW,EAAE,gBAAgB;QAC7B,aAAa,EAAE,OAAO;KACvB,EACD,GAAG,EAAE,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,EAC7D,aAAa,CACd,EACH,CAAC,aAAa,CAAC,CAChB,CAAA;IAED,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAkB,KAAK,CAAC,KAAK,CAAC,CAAA;IAChE,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAA;IAE1C,MAAM,KAAK,GAAU,WAAW,CAC9B,CAAC,CAAS,EAAE,CAAS,EAAE,EAAE;QACvB,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAA;QACtB,IAAI,aAAa,IAAI,EAAE,IAAI,aAAa,EAAE,CAAC;YACzC,MAAM,IAAI,GAAG,aAAa,CAAC,EAAE,CAAC,CAAA;YAC9B,OAAO;gBACL,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;gBAChC,GAAG,EAAE,IAAI,CAAC,GAAG;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAA;QACH,CAAC;aAAM,CAAC;YACN,OAAO;gBACL,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI;aAC5D,CAAA;QACH,CAAC;IACH,CAAC,EACD,CAAC,aAAa,CAAC,CAChB,CAAA;IAED,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,SAAS,GAAG,KAAK,CAAA;QAErB,mBAAmB,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE;YAC/B,gGAAgG;YAChG,OAAM;QACR,CAAC,CAAC,CAAA;QAEF,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC;YAC3B,QAAQ,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE;gBAC7B,IAAI,SAAS,EAAE,CAAC;oBACd,OAAM;gBACR,CAAC;gBACD,QAAQ,CAAC,YAAY,CAAC,CAAA;YACxB,CAAC,CAAC,CAAA;QACJ,CAAC;QAED,OAAO,GAAG,EAAE;YACV,SAAS,GAAG,IAAI,CAAA;QAClB,CAAC,CAAA;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;IAExB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,KAAK,EAAE,CAAC;YACzC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QACvB,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;IACxB;;;;SAIK;IAEL,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAA;IAE7E,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,aAAa,CAAA;IACtB,CAAC;IAED,OAAO,KAAC,WAAW,OAAM,KAAsB,EAAE,MAAM,EAAE,UAAU,GAAI,CAAA;AACzE,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AtlasProps } from
|
|
2
|
-
import type { Meta, StoryObj } from
|
|
1
|
+
import { AtlasProps } from './index';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<AtlasProps>;
|
|
4
4
|
type Story = StoryObj<AtlasProps>;
|
|
5
5
|
declare const Uncontrolled: Story;
|
|
@@ -9,4 +9,4 @@ declare const ClickToSelect: Story;
|
|
|
9
9
|
declare const HoverToHighlight: Story;
|
|
10
10
|
declare const WithZoomControl: Story;
|
|
11
11
|
export default meta;
|
|
12
|
-
export { Uncontrolled, Controlled, ForSale, ClickToSelect, HoverToHighlight, WithZoomControl
|
|
12
|
+
export { Uncontrolled, Controlled, ForSale, ClickToSelect, HoverToHighlight, WithZoomControl };
|