decentraland-ui2 1.2.2-21406822587.commit-e8f7371 → 1.2.2-21409431322.commit-d4bd7fb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/components/Address/Address.d.ts +1 -1
- package/dist/components/Address/Address.js +4 -4
- package/dist/components/Address/Address.js.map +1 -1
- package/dist/components/Address/Address.stories.d.ts +3 -3
- package/dist/components/Address/Address.stories.js +31 -31
- package/dist/components/Address/Address.stories.js.map +1 -1
- package/dist/components/Address/Address.styled.js +13 -13
- package/dist/components/Address/index.d.ts +2 -2
- package/dist/components/Address/index.js +2 -2
- package/dist/components/AddressField/utils.js +2 -2
- package/dist/components/AddressField/utils.spec.js +11 -11
- package/dist/components/AddressField/utils.spec.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.d.ts +2 -2
- package/dist/components/AssetImage/AssetImage.js +2 -2
- package/dist/components/AssetImage/AssetImage.stories.d.ts +2 -2
- package/dist/components/AssetImage/AssetImage.stories.js +18 -18
- package/dist/components/AssetImage/AssetImage.stories.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.stories.styled.js +3 -3
- package/dist/components/AssetImage/AssetImage.styled.d.ts +1 -1
- package/dist/components/AssetImage/AssetImage.styled.js +13 -13
- package/dist/components/AssetImage/AssetImage.styled.js.map +1 -1
- package/dist/components/AssetImage/AssetImage.types.d.ts +1 -1
- package/dist/components/AssetImage/index.d.ts +2 -2
- package/dist/components/AssetImage/index.js +2 -2
- package/dist/components/Atlas/Atlas.d.ts +2 -2
- package/dist/components/Atlas/Atlas.js +14 -14
- package/dist/components/Atlas/Atlas.js.map +1 -1
- package/dist/components/Atlas/Atlas.stories.d.ts +3 -3
- package/dist/components/Atlas/Atlas.stories.js +82 -85
- package/dist/components/Atlas/Atlas.stories.js.map +1 -1
- package/dist/components/Atlas/Atlas.types.d.ts +3 -3
- package/dist/components/Atlas/Atlas.types.js +1 -1
- package/dist/components/Atlas/Atlas.types.js.map +1 -1
- package/dist/components/Atlas/index.d.ts +3 -3
- package/dist/components/Atlas/index.js +2 -2
- package/dist/components/Atlas/util.d.ts +1 -1
- package/dist/components/Atlas/util.js +3 -3
- package/dist/components/Atlas/util.test.js +2 -2
- package/dist/components/AvatarFace/AvatarFace.d.ts +2 -2
- package/dist/components/AvatarFace/AvatarFace.js +3 -3
- package/dist/components/AvatarFace/AvatarFace.stories.d.ts +2 -2
- package/dist/components/AvatarFace/AvatarFace.stories.js +19 -19
- package/dist/components/AvatarFace/AvatarFace.stories.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.styled.d.ts +1 -1
- package/dist/components/AvatarFace/AvatarFace.styled.js +22 -22
- package/dist/components/AvatarFace/AvatarFace.styled.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.types.d.ts +2 -2
- package/dist/components/AvatarFace/index.d.ts +2 -2
- package/dist/components/AvatarFace/index.js +2 -2
- package/dist/components/Badges/Badges.d.ts +1 -1
- package/dist/components/Badges/Badges.js +4 -4
- package/dist/components/Badges/Badges.js.map +1 -1
- package/dist/components/Badges/Badges.stories.d.ts +1 -1
- package/dist/components/Badges/Badges.stories.js +16 -16
- package/dist/components/Badges/Badges.styled.d.ts +1 -1
- package/dist/components/Badges/Badges.styled.js +23 -23
- package/dist/components/Badges/Badges.styled.js.map +1 -1
- package/dist/components/Badges/index.d.ts +2 -2
- package/dist/components/Badges/index.js +1 -1
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Banner/Banner.js +20 -32
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Banner/Banner.styled.d.ts +1 -1
- package/dist/components/Banner/Banner.styled.js +56 -56
- package/dist/components/Banner/Banner.styled.js.map +1 -1
- package/dist/components/Banner/Banner.types.d.ts +2 -2
- package/dist/components/Banner/ContentfulRichText.d.ts +1 -1
- package/dist/components/Banner/ContentfulRichText.js +7 -7
- package/dist/components/Banner/ContentfulRichText.js.map +1 -1
- package/dist/components/Banner/index.d.ts +2 -2
- package/dist/components/Banner/index.js +1 -1
- package/dist/components/Blockie/Blockie.d.ts +2 -2
- package/dist/components/Blockie/Blockie.js +9 -9
- package/dist/components/Blockie/Blockie.js.map +1 -1
- package/dist/components/Blockie/Blockie.stories.d.ts +2 -2
- package/dist/components/Blockie/Blockie.stories.js +33 -33
- package/dist/components/Blockie/Blockie.stories.js.map +1 -1
- package/dist/components/Blockie/Blockie.styled.js +8 -8
- package/dist/components/Blockie/Blockie.styled.js.map +1 -1
- package/dist/components/Blockie/index.d.ts +2 -2
- package/dist/components/Blockie/index.js +2 -2
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.stories.d.ts +2 -2
- package/dist/components/Button/Button.stories.js +68 -68
- package/dist/components/Button/Button.stories.js.map +1 -1
- package/dist/components/Button/Button.types.d.ts +4 -4
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.js +1 -1
- package/dist/components/CatalogCard/CatalogCard.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCard.js +8 -8
- package/dist/components/CatalogCard/CatalogCard.js.map +1 -1
- package/dist/components/CatalogCard/CatalogCard.stories.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCard.stories.js +41 -41
- package/dist/components/CatalogCard/CatalogCard.stories.js.map +1 -1
- package/dist/components/CatalogCard/CatalogCard.styled.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCard.styled.js +54 -54
- package/dist/components/CatalogCard/CatalogCard.styled.js.map +1 -1
- package/dist/components/CatalogCard/CatalogCard.types.d.ts +3 -3
- package/dist/components/CatalogCard/CatalogCardPrice.d.ts +2 -2
- package/dist/components/CatalogCard/CatalogCardPrice.js +4 -4
- package/dist/components/CatalogCard/CatalogCardPrice.js.map +1 -1
- package/dist/components/CatalogCard/index.d.ts +2 -2
- package/dist/components/CatalogCard/index.js +2 -2
- package/dist/components/ChainSelector/ChainSelector.d.ts +2 -2
- package/dist/components/ChainSelector/ChainSelector.js +11 -17
- package/dist/components/ChainSelector/ChainSelector.js.map +1 -1
- package/dist/components/ChainSelector/ChainSelector.stories.d.ts +2 -2
- package/dist/components/ChainSelector/ChainSelector.stories.js +17 -17
- package/dist/components/ChainSelector/ChainSelector.stories.js.map +1 -1
- package/dist/components/ChainSelector/ChainSelector.styled.d.ts +1 -1
- package/dist/components/ChainSelector/ChainSelector.styled.js +97 -101
- package/dist/components/ChainSelector/ChainSelector.styled.js.map +1 -1
- package/dist/components/ChainSelector/ChainSelector.types.d.ts +1 -1
- package/dist/components/ChainSelector/ChainSelector.types.js +11 -11
- package/dist/components/ChainSelector/index.d.ts +2 -2
- package/dist/components/ChainSelector/index.js +2 -2
- package/dist/components/CreditsToggle/CreditsToggle.d.ts +2 -2
- package/dist/components/CreditsToggle/CreditsToggle.js +17 -21
- package/dist/components/CreditsToggle/CreditsToggle.js.map +1 -1
- package/dist/components/CreditsToggle/CreditsToggle.stories.d.ts +3 -3
- package/dist/components/CreditsToggle/CreditsToggle.stories.js +56 -56
- package/dist/components/CreditsToggle/CreditsToggle.stories.js.map +1 -1
- package/dist/components/CreditsToggle/CreditsToggle.styled.d.ts +1 -1
- package/dist/components/CreditsToggle/CreditsToggle.styled.js +64 -64
- package/dist/components/CreditsToggle/CreditsToggle.styled.js.map +1 -1
- package/dist/components/CreditsToggle/index.d.ts +2 -2
- package/dist/components/CreditsToggle/index.js +1 -1
- package/dist/components/DecentralandFont/FontFaceSelector.stories.d.ts +2 -2
- package/dist/components/DecentralandFont/FontFaceSelector.stories.js +10 -23
- package/dist/components/DecentralandFont/FontFaceSelector.stories.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.d.ts +2 -2
- package/dist/components/DownloadButton/DownloadButton.js +28 -36
- package/dist/components/DownloadButton/DownloadButton.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.stories.d.ts +2 -2
- package/dist/components/DownloadButton/DownloadButton.stories.js +49 -49
- package/dist/components/DownloadButton/DownloadButton.stories.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.styled.d.ts +1 -1
- package/dist/components/DownloadButton/DownloadButton.styled.js +50 -50
- package/dist/components/DownloadButton/DownloadButton.styled.js.map +1 -1
- package/dist/components/DownloadButton/DownloadButton.types.js.map +1 -1
- package/dist/components/DownloadButton/index.d.ts +3 -3
- package/dist/components/DownloadButton/index.js +2 -2
- package/dist/components/Footer/Footer.d.ts +2 -2
- package/dist/components/Footer/Footer.i18n.js +35 -35
- package/dist/components/Footer/Footer.js +32 -32
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.stories.d.ts +3 -3
- package/dist/components/Footer/Footer.stories.js +29 -29
- package/dist/components/Footer/Footer.stories.js.map +1 -1
- package/dist/components/Footer/Footer.stories.styled.js +5 -5
- package/dist/components/Footer/Footer.styled.d.ts +1 -1
- package/dist/components/Footer/Footer.styled.js +44 -44
- package/dist/components/Footer/Footer.styled.js.map +1 -1
- package/dist/components/Footer/Footer.types.d.ts +1 -1
- package/dist/components/Footer/index.d.ts +3 -3
- package/dist/components/Footer/index.js +2 -2
- package/dist/components/FooterLanding/FooterLanding.d.ts +2 -2
- package/dist/components/FooterLanding/FooterLanding.defaults.js +13 -13
- package/dist/components/FooterLanding/FooterLanding.js +40 -40
- package/dist/components/FooterLanding/FooterLanding.js.map +1 -1
- package/dist/components/FooterLanding/FooterLanding.stories.d.ts +3 -3
- package/dist/components/FooterLanding/FooterLanding.stories.js +25 -26
- package/dist/components/FooterLanding/FooterLanding.stories.js.map +1 -1
- package/dist/components/FooterLanding/FooterLanding.styled.d.ts +1 -1
- package/dist/components/FooterLanding/FooterLanding.styled.js +87 -87
- package/dist/components/FooterLanding/FooterLanding.styled.js.map +1 -1
- package/dist/components/FooterLanding/index.d.ts +1 -1
- package/dist/components/FooterLanding/index.js +1 -1
- package/dist/components/Icon/AppleIcon.d.ts +2 -2
- package/dist/components/Icon/AppleIcon.js +2 -2
- package/dist/components/Icon/AppleIcon.js.map +1 -1
- package/dist/components/Icon/Chains/ArbitrumIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/ArbitrumIcon.js +2 -2
- package/dist/components/Icon/Chains/ArbitrumIcon.js.map +1 -1
- package/dist/components/Icon/Chains/AvalancheIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/AvalancheIcon.js +2 -2
- package/dist/components/Icon/Chains/AvalancheIcon.js.map +1 -1
- package/dist/components/Icon/Chains/BinanceIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/BinanceIcon.js +3 -3
- package/dist/components/Icon/Chains/BinanceIcon.js.map +1 -1
- package/dist/components/Icon/Chains/ChainsIcons.stories.d.ts +3 -3
- package/dist/components/Icon/Chains/ChainsIcons.stories.js +20 -20
- package/dist/components/Icon/Chains/ChainsIcons.stories.js.map +1 -1
- package/dist/components/Icon/Chains/EthereumIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/EthereumIcon.js +2 -2
- package/dist/components/Icon/Chains/EthereumIcon.js.map +1 -1
- package/dist/components/Icon/Chains/FantomIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/FantomIcon.js +2 -2
- package/dist/components/Icon/Chains/FantomIcon.js.map +1 -1
- package/dist/components/Icon/Chains/OptimismIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/OptimismIcon.js +2 -2
- package/dist/components/Icon/Chains/OptimismIcon.js.map +1 -1
- package/dist/components/Icon/Chains/PolygonIcon.d.ts +2 -2
- package/dist/components/Icon/Chains/PolygonIcon.js +2 -2
- package/dist/components/Icon/Chains/PolygonIcon.js.map +1 -1
- package/dist/components/Icon/CreditsIcon.d.ts +2 -2
- package/dist/components/Icon/CreditsIcon.js +2 -2
- package/dist/components/Icon/CreditsIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/EmotesIcons.stories.d.ts +2 -2
- package/dist/components/Icon/Emotes/EmotesIcons.stories.js +15 -15
- package/dist/components/Icon/Emotes/MuteIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/MuteIcon.js +2 -2
- package/dist/components/Icon/Emotes/MuteIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/PropsIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/PropsIcon.js +2 -2
- package/dist/components/Icon/Emotes/PropsIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/SoundIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/SoundIcon.js +2 -2
- package/dist/components/Icon/Emotes/SoundIcon.js.map +1 -1
- package/dist/components/Icon/Emotes/VolumeIcon.d.ts +2 -2
- package/dist/components/Icon/Emotes/VolumeIcon.js +2 -2
- package/dist/components/Icon/Emotes/VolumeIcon.js.map +1 -1
- package/dist/components/Icon/Icons.stories.d.ts +3 -3
- package/dist/components/Icon/Icons.stories.js +28 -28
- package/dist/components/Icon/Icons.stories.js.map +1 -1
- package/dist/components/Icon/Icons.stories.styled.js +7 -7
- package/dist/components/Icon/JumpInIcon.d.ts +2 -2
- package/dist/components/Icon/JumpInIcon.js +2 -2
- package/dist/components/Icon/JumpInIcon.js.map +1 -1
- package/dist/components/Icon/LocationIcon.d.ts +2 -2
- package/dist/components/Icon/LocationIcon.js +2 -2
- package/dist/components/Icon/LocationIcon.js.map +1 -1
- package/dist/components/Icon/ManaEthIcon.d.ts +2 -2
- package/dist/components/Icon/ManaEthIcon.js +2 -2
- package/dist/components/Icon/ManaEthIcon.js.map +1 -1
- package/dist/components/Icon/ManaMaticIcon.d.ts +2 -2
- package/dist/components/Icon/ManaMaticIcon.js +2 -2
- package/dist/components/Icon/ManaMaticIcon.js.map +1 -1
- package/dist/components/Icon/MintIcon.d.ts +2 -2
- package/dist/components/Icon/MintIcon.js +2 -2
- package/dist/components/Icon/MintIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/AccessRestoredIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js +2 -2
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js +2 -2
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/BidAcceptedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js +2 -2
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/BidReceivedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/BidReceivedIcon.js +2 -2
- package/dist/components/Icon/Notifications/BidReceivedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CoauthorIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CoauthorIcon.js +2 -2
- package/dist/components/Icon/Notifications/CoauthorIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.js +2 -2
- package/dist/components/Icon/Notifications/CreditsCompleteYourGoalsReminderIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.js +2 -2
- package/dist/components/Icon/Notifications/CreditsExpireSoonReminderIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/CreditsIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/CreditsIcon.js +2 -2
- package/dist/components/Icon/Notifications/CreditsIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/EmptyInboxIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventCancelledIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EventCancelledIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventCancelledIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/EventStartedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EventStartedIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventStartedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js +2 -2
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/GiftIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/GiftIcon.js +2 -2
- package/dist/components/Icon/Notifications/GiftIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/GovernanceIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/GovernanceIcon.js +2 -2
- package/dist/components/Icon/Notifications/GovernanceIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/HistoryIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/HistoryIcon.js +2 -2
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js +2 -2
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ItemSoldIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ItemSoldIcon.js +2 -2
- package/dist/components/Icon/Notifications/ItemSoldIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/LandRentedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/LandRentedIcon.js +2 -2
- package/dist/components/Icon/Notifications/LandRentedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ManaMainnetIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js +2 -2
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ManaPolygonIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js +2 -2
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/MissingResourcesIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js +2 -2
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/NewCommentIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NewCommentIcon.js +2 -2
- package/dist/components/Icon/Notifications/NewCommentIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/NewNotificationIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NewNotificationIcon.js +2 -2
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js +3 -3
- package/dist/components/Icon/Notifications/NotificationBellIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/NotificationBellIcon.js +3 -3
- package/dist/components/Icon/Notifications/NotificationsIcons.stories.d.ts +3 -3
- package/dist/components/Icon/Notifications/NotificationsIcons.stories.js +72 -72
- package/dist/components/Icon/Notifications/NotificationsIcons.stories.js.map +1 -1
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js +2 -2
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js +2 -2
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/PitchIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/PitchIcon.js +2 -2
- package/dist/components/Icon/Notifications/PitchIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js +2 -2
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js +2 -2
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.js +3 -3
- package/dist/components/Icon/Notifications/ReferralInviteFriendsIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.js +3 -3
- package/dist/components/Icon/Notifications/ReferralInvitedUserAcceptedIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js +2 -2
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/RewardIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/RewardIcon.js +2 -2
- package/dist/components/Icon/Notifications/RewardIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/StreamingIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/StreamingIcon.js +2 -2
- package/dist/components/Icon/Notifications/StreamingIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/TenderIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/TenderIcon.js +2 -2
- package/dist/components/Icon/Notifications/TenderIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/TipIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/TipIcon.js +2 -2
- package/dist/components/Icon/Notifications/TipIcon.js.map +1 -1
- package/dist/components/Icon/Notifications/VotingEndedIcon.d.ts +2 -2
- package/dist/components/Icon/Notifications/VotingEndedIcon.js +2 -2
- package/dist/components/Icon/Notifications/VotingEndedIcon.js.map +1 -1
- package/dist/components/Icon/PlacesIcon.d.ts +2 -2
- package/dist/components/Icon/PlacesIcon.js +2 -2
- package/dist/components/Icon/PlacesIcon.js.map +1 -1
- package/dist/components/Icon/Social/DiscordIcon.d.ts +2 -2
- package/dist/components/Icon/Social/DiscordIcon.js +2 -2
- package/dist/components/Icon/Social/GitHubIcon.d.ts +2 -2
- package/dist/components/Icon/Social/GitHubIcon.js +2 -2
- package/dist/components/Icon/Social/RedditIcon.d.ts +2 -2
- package/dist/components/Icon/Social/RedditIcon.js +2 -2
- package/dist/components/Icon/Social/SocialIcons.stories.d.ts +2 -2
- package/dist/components/Icon/Social/SocialIcons.stories.js +13 -13
- package/dist/components/Icon/Social/TiktokIcon.d.ts +2 -2
- package/dist/components/Icon/Social/TiktokIcon.js +2 -2
- package/dist/components/Icon/Social/TiktokIcon.js.map +1 -1
- package/dist/components/Icon/Social/XIcon.d.ts +2 -2
- package/dist/components/Icon/Social/XIcon.js +2 -2
- package/dist/components/Icon/SparklesIcon.d.ts +2 -2
- package/dist/components/Icon/SparklesIcon.js +2 -2
- package/dist/components/Icon/SparklesIcon.js.map +1 -1
- package/dist/components/Icon/UtilityIcon.d.ts +2 -2
- package/dist/components/Icon/UtilityIcon.js +2 -2
- package/dist/components/Icon/UtilityIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/BaseFemaleIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js +2 -2
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/BaseMaleIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/BaseMaleIcon.js +2 -2
- package/dist/components/Icon/Wearables/BaseMaleIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/BodyShapeIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/BodyShapeIcon.js +2 -2
- package/dist/components/Icon/Wearables/BodyShapeIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EarringIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EarringIcon.js +2 -2
- package/dist/components/Icon/Wearables/EarringIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EyebrowsIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EyebrowsIcon.js +2 -2
- package/dist/components/Icon/Wearables/EyebrowsIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EyesIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EyesIcon.js +2 -2
- package/dist/components/Icon/Wearables/EyesIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/EyewearIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/EyewearIcon.js +2 -2
- package/dist/components/Icon/Wearables/EyewearIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/FacialHairIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/FacialHairIcon.js +2 -2
- package/dist/components/Icon/Wearables/FacialHairIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/FeetIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/FeetIcon.js +2 -2
- package/dist/components/Icon/Wearables/FeetIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HairIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HairIcon.js +2 -2
- package/dist/components/Icon/Wearables/HairIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HandsWearIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HandsWearIcon.js +2 -2
- package/dist/components/Icon/Wearables/HandsWearIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HatIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HatIcon.js +2 -2
- package/dist/components/Icon/Wearables/HatIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/HelmetIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/HelmetIcon.js +2 -2
- package/dist/components/Icon/Wearables/HelmetIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/LowerBodyIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/LowerBodyIcon.js +2 -2
- package/dist/components/Icon/Wearables/LowerBodyIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/MaskIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/MaskIcon.js +2 -2
- package/dist/components/Icon/Wearables/MaskIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/MouthIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/MouthIcon.js +2 -2
- package/dist/components/Icon/Wearables/MouthIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/SkinIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/SkinIcon.js +2 -2
- package/dist/components/Icon/Wearables/SkinIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/SmartWearableIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/SmartWearableIcon.js +2 -2
- package/dist/components/Icon/Wearables/SmartWearableIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/TiaraIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/TiaraIcon.js +2 -2
- package/dist/components/Icon/Wearables/TiaraIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/TopHeadIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/TopHeadIcon.js +2 -2
- package/dist/components/Icon/Wearables/TopHeadIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/UnisexIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/UnisexIcon.js +2 -2
- package/dist/components/Icon/Wearables/UnisexIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/UpperBodyIcon.d.ts +2 -2
- package/dist/components/Icon/Wearables/UpperBodyIcon.js +2 -2
- package/dist/components/Icon/Wearables/UpperBodyIcon.js.map +1 -1
- package/dist/components/Icon/Wearables/WearablesIcons.stories.d.ts +3 -3
- package/dist/components/Icon/Wearables/WearablesIcons.stories.js +52 -52
- package/dist/components/Icon/Wearables/WearablesIcons.stories.js.map +1 -1
- package/dist/components/Icon/WindowsIcon.d.ts +2 -2
- package/dist/components/Icon/WindowsIcon.js +2 -2
- package/dist/components/Icon/index.d.ts +75 -75
- package/dist/components/Icon/index.js +75 -75
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.d.ts +2 -2
- package/dist/components/IconBadge/IconBadge.js +8 -8
- package/dist/components/IconBadge/IconBadge.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.stories.d.ts +2 -2
- package/dist/components/IconBadge/IconBadge.stories.js +24 -24
- package/dist/components/IconBadge/IconBadge.stories.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.styled.d.ts +2 -2
- package/dist/components/IconBadge/IconBadge.styled.js +24 -24
- package/dist/components/IconBadge/IconBadge.styled.js.map +1 -1
- package/dist/components/IconBadge/IconBadge.types.d.ts +1 -1
- package/dist/components/IconBadge/index.d.ts +2 -2
- package/dist/components/IconBadge/index.js +2 -2
- package/dist/components/IconChain/IconChain.d.ts +2 -2
- package/dist/components/IconChain/IconChain.js +11 -11
- package/dist/components/IconChain/index.d.ts +2 -2
- package/dist/components/IconChain/index.js +1 -1
- package/dist/components/JumpIn/JumpIn.d.ts +2 -2
- package/dist/components/JumpIn/JumpIn.js +14 -16
- package/dist/components/JumpIn/JumpIn.js.map +1 -1
- package/dist/components/JumpIn/JumpIn.stories.d.ts +3 -3
- package/dist/components/JumpIn/JumpIn.stories.js +91 -91
- package/dist/components/JumpIn/JumpIn.stories.js.map +1 -1
- package/dist/components/JumpIn/JumpIn.styled.d.ts +1 -1
- package/dist/components/JumpIn/JumpIn.styled.js +68 -68
- package/dist/components/JumpIn/JumpIn.styled.js.map +1 -1
- package/dist/components/JumpIn/JumpIn.types.d.ts +5 -5
- package/dist/components/JumpIn/index.d.ts +2 -2
- package/dist/components/JumpIn/index.js +2 -2
- package/dist/components/LanguageDropdown/LanguageDropdown.d.ts +2 -2
- package/dist/components/LanguageDropdown/LanguageDropdown.js +12 -12
- package/dist/components/LanguageDropdown/LanguageDropdown.js.map +1 -1
- package/dist/components/LanguageDropdown/LanguageDropdown.stories.d.ts +2 -2
- package/dist/components/LanguageDropdown/LanguageDropdown.stories.js +20 -20
- package/dist/components/LanguageDropdown/LanguageDropdown.stories.js.map +1 -1
- package/dist/components/LanguageDropdown/LanguageDropdown.styled.js +14 -14
- package/dist/components/LanguageDropdown/index.d.ts +2 -2
- package/dist/components/LanguageDropdown/index.js +1 -1
- package/dist/components/Logo/Logo.d.ts +2 -2
- package/dist/components/Logo/Logo.js +2 -2
- package/dist/components/Logo/Logo.js.map +1 -1
- package/dist/components/Logo/Logo.stories.d.ts +2 -2
- package/dist/components/Logo/Logo.stories.js +6 -6
- package/dist/components/Logo/Logo.styled.js +14 -14
- package/dist/components/Logo/Logo.styled.js.map +1 -1
- package/dist/components/Logo/Logo.types.d.ts +2 -2
- package/dist/components/Mana/Mana.d.ts +2 -2
- package/dist/components/Mana/Mana.js +7 -7
- package/dist/components/Mana/Mana.js.map +1 -1
- package/dist/components/Mana/Mana.stories.d.ts +3 -3
- package/dist/components/Mana/Mana.stories.js +43 -43
- package/dist/components/Mana/Mana.stories.js.map +1 -1
- package/dist/components/Mana/Mana.styled.d.ts +2 -2
- package/dist/components/Mana/Mana.styled.js +19 -29
- package/dist/components/Mana/Mana.styled.js.map +1 -1
- package/dist/components/Mana/Mana.types.d.ts +2 -2
- package/dist/components/Mana/index.d.ts +2 -2
- package/dist/components/Mana/index.js +2 -2
- package/dist/components/Media/Media.d.ts +6 -6
- package/dist/components/Media/Media.js +14 -14
- package/dist/components/Media/Media.js.map +1 -1
- package/dist/components/Media/index.d.ts +1 -1
- package/dist/components/Media/index.js +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.d.ts +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.js +5 -5
- package/dist/components/Modal/DownloadModal/DownloadModal.js.map +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.js +64 -64
- package/dist/components/Modal/DownloadModal/DownloadModal.stories.js.map +1 -1
- package/dist/components/Modal/DownloadModal/DownloadModal.styled.js +30 -30
- package/dist/components/Modal/DownloadModal/DownloadModal.types.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.js +5 -5
- package/dist/components/Modal/DownloadModal/ExplorerJumpIn.js.map +1 -1
- package/dist/components/Modal/DownloadModal/index.d.ts +2 -2
- package/dist/components/Modal/DownloadModal/index.js +1 -1
- package/dist/components/Modal/Modal.d.ts +2 -2
- package/dist/components/Modal/Modal.js +7 -7
- package/dist/components/Modal/Modal.js.map +1 -1
- package/dist/components/Modal/Modal.stories.d.ts +3 -3
- package/dist/components/Modal/Modal.stories.js +68 -68
- package/dist/components/Modal/Modal.stories.js.map +1 -1
- package/dist/components/Modal/Modal.styled.d.ts +3 -3
- package/dist/components/Modal/Modal.styled.js +34 -34
- package/dist/components/Modal/Modal.styled.js.map +1 -1
- package/dist/components/Modal/Modal.types.d.ts +5 -5
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.d.ts +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.js +8 -8
- package/dist/components/Navbar/MainMenu/MainMenu.js.map +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.styled.js +21 -21
- package/dist/components/Navbar/MainMenu/MainMenu.styled.js.map +1 -1
- package/dist/components/Navbar/MainMenu/MainMenu.types.d.ts +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.d.ts +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.js +7 -7
- package/dist/components/Navbar/MenuItem/MenuItem.js.map +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.styled.js +35 -35
- package/dist/components/Navbar/MenuItem/MenuItem.styled.js.map +1 -1
- package/dist/components/Navbar/MenuItem/MenuItem.types.d.ts +1 -1
- package/dist/components/Navbar/Navbar.d.ts +2 -2
- package/dist/components/Navbar/Navbar.defaults.d.ts +2 -2
- package/dist/components/Navbar/Navbar.defaults.js +144 -144
- package/dist/components/Navbar/Navbar.js +11 -16
- package/dist/components/Navbar/Navbar.js.map +1 -1
- package/dist/components/Navbar/Navbar.stories.d.ts +2 -2
- package/dist/components/Navbar/Navbar.stories.js +30 -30
- package/dist/components/Navbar/Navbar.stories.js.map +1 -1
- package/dist/components/Navbar/Navbar.styled.d.ts +1 -1
- package/dist/components/Navbar/Navbar.styled.js +69 -69
- package/dist/components/Navbar/Navbar.styled.js.map +1 -1
- package/dist/components/Navbar/Navbar.types.d.ts +4 -4
- package/dist/components/Navbar/Navbar.types.js.map +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.d.ts +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.js +7 -7
- package/dist/components/Navbar/SubMenu/SubMenu.js.map +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.styled.d.ts +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.styled.js +83 -83
- package/dist/components/Navbar/SubMenu/SubMenu.styled.js.map +1 -1
- package/dist/components/Navbar/SubMenu/SubMenu.types.d.ts +1 -1
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.d.ts +1 -1
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.js +2 -2
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js +22 -22
- package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js.map +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.d.ts +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.js +6 -7
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.js.map +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.d.ts +1 -1
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js +49 -49
- package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js.map +1 -1
- package/dist/components/Navbar/index.d.ts +2 -2
- package/dist/components/Navbar/index.js +2 -2
- package/dist/components/Navbar/utils.js +7 -7
- package/dist/components/Navbar/utils.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.d.ts +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItem.js +8 -8
- package/dist/components/Notifications/NotificationItem/NotificationItem.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.d.ts +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js +40 -40
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.types.d.ts +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItemText.d.ts +3 -3
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js +3 -3
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/index.d.ts +4 -4
- package/dist/components/Notifications/NotificationItem/index.js +2 -2
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.js +5 -5
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.js.map +1 -1
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.styled.js +19 -19
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationItemImage/NotificationItemImage.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationItemImage/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemImage/index.js +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.js +2 -2
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.js.map +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.styled.d.ts +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.styled.js +4 -4
- package/dist/components/Notifications/NotificationItemNFTLink/NotificationItemNFTLink.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationItemNFTLink/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationItemNFTLink/index.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.js +39 -39
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/Credits.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsClaimReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsCompleteYourWeeklyGoalsNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsDoNotMissOutNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireIn24HrsReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsExpireSoonReminderNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.d.ts +3 -3
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/CreditsOnDemandGrantedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Credits/index.d.ts +6 -6
- package/dist/components/Notifications/NotificationTypes/Credits/index.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/Events.i18n.js +29 -29
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Events/EventsStartsSoonNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Events/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Events/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.js +95 -95
- package/dist/components/Notifications/NotificationTypes/Governance/Governance.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +7 -8
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +7 -8
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/index.d.ts +9 -9
- package/dist/components/Notifications/NotificationTypes/Governance/index.js +9 -9
- package/dist/components/Notifications/NotificationTypes/Land/Land.i18n.js +20 -20
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +7 -9
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Land/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +10 -12
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +10 -12
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/Marketplace.i18n.js +32 -32
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +10 -12
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.d.ts +4 -4
- package/dist/components/Notifications/NotificationTypes/Marketplace/index.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.js +11 -11
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/Referral.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralInvitedUserAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNewTierReachedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js +6 -8
- package/dist/components/Notifications/NotificationTypes/Referral/ReferralNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Referral/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Referral/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignGasPriceHigherThanExpectedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfFundsNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/CampaignOutOfStockNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.js +61 -61
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/Reward.types.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/RewardDelayedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Reward/RewardInProgressNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Reward/RewardNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Reward/index.d.ts +6 -6
- package/dist/components/Notifications/NotificationTypes/Reward/index.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.js +34 -34
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/Streaming.types.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyExpiredNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyResetNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingKeyRevokeNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingPlaceUpdatedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js +3 -3
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingTimeExceededNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/index.d.ts +5 -5
- package/dist/components/Notifications/NotificationTypes/Streaming/index.js +5 -5
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.js +7 -7
- package/dist/components/Notifications/NotificationTypes/Transfer/GiftNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.js +14 -15
- package/dist/components/Notifications/NotificationTypes/Transfer/TipNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.js +14 -14
- package/dist/components/Notifications/NotificationTypes/Transfer/Transfer.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Transfer/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Transfer/index.js +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.d.ts +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.js +62 -62
- package/dist/components/Notifications/NotificationTypes/Worlds/Worlds.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +4 -4
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +6 -6
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +13 -19
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +2 -2
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +9 -13
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/index.d.ts +5 -5
- package/dist/components/Notifications/NotificationTypes/Worlds/index.js +5 -5
- package/dist/components/Notifications/NotificationTypes/index.d.ts +11 -11
- package/dist/components/Notifications/NotificationTypes/index.js +11 -11
- package/dist/components/Notifications/NotificationTypes/index.js.map +1 -1
- package/dist/components/Notifications/Notifications.stories.d.ts +3 -3
- package/dist/components/Notifications/Notifications.stories.js +78 -88
- package/dist/components/Notifications/Notifications.stories.js.map +1 -1
- package/dist/components/Notifications/Notifications.styled.d.ts +1 -1
- package/dist/components/Notifications/Notifications.styled.js +1 -1
- package/dist/components/Notifications/Notifications.styled.js.map +1 -1
- package/dist/components/Notifications/Notifications.types.d.ts +6 -6
- package/dist/components/Notifications/Notifications.types.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.i18n.js +12 -12
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.js +22 -23
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.d.ts +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.js +56 -56
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeed/NotificationsFeed.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationsFeed/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeed/index.js +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.i18n.js +30 -30
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.i18n.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.js +15 -16
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.d.ts +3 -3
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js +35 -35
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationsFeedTabs/NotificationsFeedTabs.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationsFeedTabs/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationsFeedTabs/index.js +1 -1
- package/dist/components/Notifications/NotificationsToggle/Notifications.d.ts +2 -2
- package/dist/components/Notifications/NotificationsToggle/Notifications.js +8 -8
- package/dist/components/Notifications/NotificationsToggle/Notifications.js.map +1 -1
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.js +17 -17
- package/dist/components/Notifications/NotificationsToggle/Notifications.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationsToggle/Notifications.types.d.ts +3 -3
- package/dist/components/Notifications/NotificationsToggle/index.d.ts +2 -2
- package/dist/components/Notifications/NotificationsToggle/index.js +1 -1
- package/dist/components/Notifications/index.d.ts +4 -4
- package/dist/components/Notifications/index.js +2 -2
- package/dist/components/Notifications/utils.d.ts +4 -4
- package/dist/components/Notifications/utils.js +4 -4
- package/dist/components/Notifications/utils.js.map +1 -1
- package/dist/components/Profile/Profile.d.ts +2 -2
- package/dist/components/Profile/Profile.i18n.d.ts +1 -1
- package/dist/components/Profile/Profile.i18n.js +1 -1
- package/dist/components/Profile/Profile.js +9 -9
- package/dist/components/Profile/Profile.js.map +1 -1
- package/dist/components/Profile/Profile.stories.d.ts +4 -4
- package/dist/components/Profile/Profile.stories.js +88 -88
- package/dist/components/Profile/Profile.stories.js.map +1 -1
- package/dist/components/Profile/Profile.stories.styled.js +15 -15
- package/dist/components/Profile/Profile.styled.d.ts +2 -2
- package/dist/components/Profile/Profile.styled.js +24 -24
- package/dist/components/Profile/Profile.styled.js.map +1 -1
- package/dist/components/Profile/Profile.types.d.ts +7 -7
- package/dist/components/Profile/ProfileImage.d.ts +2 -2
- package/dist/components/Profile/ProfileImage.js +12 -12
- package/dist/components/Profile/ProfileImage.js.map +1 -1
- package/dist/components/Profile/index.d.ts +2 -2
- package/dist/components/Profile/index.js +2 -2
- package/dist/components/RarityBadge/RarityBadge.d.ts +2 -2
- package/dist/components/RarityBadge/RarityBadge.i18n.d.ts +1 -1
- package/dist/components/RarityBadge/RarityBadge.i18n.js +18 -18
- package/dist/components/RarityBadge/RarityBadge.js +6 -6
- package/dist/components/RarityBadge/RarityBadge.js.map +1 -1
- package/dist/components/RarityBadge/RarityBadge.stories.d.ts +3 -3
- package/dist/components/RarityBadge/RarityBadge.stories.js +74 -74
- package/dist/components/RarityBadge/RarityBadge.stories.js.map +1 -1
- package/dist/components/RarityBadge/RarityBadge.stories.styled.js +5 -5
- package/dist/components/RarityBadge/RarityBadge.styled.d.ts +1 -1
- package/dist/components/RarityBadge/RarityBadge.styled.js +13 -13
- package/dist/components/RarityBadge/RarityBadge.styled.js.map +1 -1
- package/dist/components/RarityBadge/RarityBadge.types.d.ts +3 -3
- package/dist/components/RarityBadge/index.d.ts +2 -2
- package/dist/components/RarityBadge/index.js +2 -2
- package/dist/components/SceneCard/SceneCard.d.ts +1 -1
- package/dist/components/SceneCard/SceneCard.js +17 -19
- package/dist/components/SceneCard/SceneCard.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.stories.d.ts +3 -3
- package/dist/components/SceneCard/SceneCard.stories.js +116 -128
- package/dist/components/SceneCard/SceneCard.stories.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.styled.d.ts +1 -1
- package/dist/components/SceneCard/SceneCard.styled.js +221 -227
- package/dist/components/SceneCard/SceneCard.styled.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.types.d.ts +4 -4
- package/dist/components/SceneCard/index.d.ts +2 -2
- package/dist/components/SceneCard/index.js +1 -1
- package/dist/components/ScenesTable/ScenesTable.d.ts +1 -1
- package/dist/components/ScenesTable/ScenesTable.js +19 -19
- package/dist/components/ScenesTable/ScenesTable.js.map +1 -1
- package/dist/components/ScenesTable/ScenesTable.stories.d.ts +2 -2
- package/dist/components/ScenesTable/ScenesTable.stories.js +89 -89
- package/dist/components/ScenesTable/ScenesTable.stories.js.map +1 -1
- package/dist/components/ScenesTable/ScenesTable.types.d.ts +2 -2
- package/dist/components/ScenesTable/index.d.ts +2 -2
- package/dist/components/ScenesTable/index.js +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.js +10 -12
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.styled.js +39 -41
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.styled.js.map +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.types.d.ts +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/ActionRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/AvatarRow/AvatarRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/AvatarRow/AvatarRow.js +3 -3
- package/dist/components/ScenesTable/rows/AvatarRow/AvatarRow.types.d.ts +1 -1
- package/dist/components/ScenesTable/rows/AvatarRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/AvatarRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.js +6 -8
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/LocationRow/LocationRow.styled.js +13 -13
- package/dist/components/ScenesTable/rows/LocationRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/LocationRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.d.ts +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.js +7 -7
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.d.ts +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.js +54 -54
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.js.map +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/SceneRow.types.d.ts +1 -1
- package/dist/components/ScenesTable/rows/SceneRow/index.d.ts +2 -2
- package/dist/components/ScenesTable/rows/SceneRow/index.js +1 -1
- package/dist/components/ScenesTable/rows/index.d.ts +8 -8
- package/dist/components/ScenesTable/rows/index.js +4 -4
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.js +12 -14
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/Table/Table.stories.d.ts +4 -4
- package/dist/components/Table/Table.stories.js +109 -109
- package/dist/components/Table/Table.stories.js.map +1 -1
- package/dist/components/Table/Table.styled.d.ts +1 -1
- package/dist/components/Table/Table.styled.js +84 -88
- package/dist/components/Table/Table.styled.js.map +1 -1
- package/dist/components/Table/Table.types.d.ts +1 -1
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Table/index.js +1 -1
- package/dist/components/UserLabel/UserLabel.d.ts +1 -1
- package/dist/components/UserLabel/UserLabel.js +6 -6
- package/dist/components/UserLabel/UserLabel.js.map +1 -1
- package/dist/components/UserLabel/UserLabel.stories.d.ts +2 -2
- package/dist/components/UserLabel/UserLabel.stories.js +50 -50
- package/dist/components/UserLabel/UserLabel.stories.js.map +1 -1
- package/dist/components/UserLabel/UserLabel.styled.js +11 -11
- package/dist/components/UserLabel/UserLabel.types.d.ts +1 -1
- package/dist/components/UserLabel/index.d.ts +2 -2
- package/dist/components/UserLabel/index.js +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.d.ts +2 -2
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js +11 -14
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +3 -3
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +36 -36
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +53 -53
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +2 -2
- package/dist/components/UserMenu/ManaBalances/index.d.ts +2 -2
- package/dist/components/UserMenu/ManaBalances/index.js +1 -1
- package/dist/components/UserMenu/UserMenu.d.ts +2 -2
- package/dist/components/UserMenu/UserMenu.i18n.d.ts +1 -1
- package/dist/components/UserMenu/UserMenu.i18n.js +16 -16
- package/dist/components/UserMenu/UserMenu.js +14 -16
- package/dist/components/UserMenu/UserMenu.js.map +1 -1
- package/dist/components/UserMenu/UserMenu.stories.d.ts +3 -3
- package/dist/components/UserMenu/UserMenu.stories.js +48 -48
- package/dist/components/UserMenu/UserMenu.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenu.styled.js +14 -14
- package/dist/components/UserMenu/UserMenu.types.d.ts +5 -5
- package/dist/components/UserMenu/UserMenu.types.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js +14 -14
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js +33 -41
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +27 -27
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +2 -2
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +134 -134
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -1
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +6 -6
- package/dist/components/UserMenu/index.d.ts +6 -6
- package/dist/components/UserMenu/index.js +3 -3
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.d.ts +2 -2
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.js +21 -26
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.js.map +1 -1
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.styled.js +6 -6
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.styled.js.map +1 -1
- package/dist/components/WearablePreview/AnimationControls/AnimationControls.types.d.ts +3 -3
- package/dist/components/WearablePreview/AnimationControls/index.d.ts +2 -2
- package/dist/components/WearablePreview/AnimationControls/index.js +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.d.ts +2 -2
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.js +24 -31
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.js.map +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.d.ts +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.js +56 -56
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.js.map +1 -1
- package/dist/components/WearablePreview/EmoteControls/EmoteControls.types.d.ts +2 -2
- package/dist/components/WearablePreview/EmoteControls/index.d.ts +2 -2
- package/dist/components/WearablePreview/EmoteControls/index.js +1 -1
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.d.ts +2 -2
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.js +6 -6
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.js.map +1 -1
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.d.ts +2 -2
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.js +39 -41
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.js.map +1 -1
- package/dist/components/WearablePreview/TranslationControls/TranslationControls.types.d.ts +1 -1
- package/dist/components/WearablePreview/TranslationControls/index.d.ts +3 -3
- package/dist/components/WearablePreview/TranslationControls/index.js +2 -2
- package/dist/components/WearablePreview/WearablePreview.controller.d.ts +1 -1
- package/dist/components/WearablePreview/WearablePreview.controller.js +34 -38
- package/dist/components/WearablePreview/WearablePreview.controller.js.map +1 -1
- package/dist/components/WearablePreview/WearablePreview.d.ts +2 -2
- package/dist/components/WearablePreview/WearablePreview.js +75 -81
- package/dist/components/WearablePreview/WearablePreview.js.map +1 -1
- package/dist/components/WearablePreview/WearablePreview.stories.d.ts +2 -2
- package/dist/components/WearablePreview/WearablePreview.stories.js +144 -151
- package/dist/components/WearablePreview/WearablePreview.stories.js.map +1 -1
- package/dist/components/WearablePreview/WearablePreview.stories.styled.js +4 -4
- package/dist/components/WearablePreview/WearablePreview.styled.js +5 -5
- package/dist/components/WearablePreview/WearablePreview.types.d.ts +3 -3
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.d.ts +2 -2
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.js +7 -7
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.js.map +1 -1
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.styled.d.ts +1 -1
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.styled.js +21 -21
- package/dist/components/WearablePreview/ZoomControls/ZoomControls.types.d.ts +1 -1
- package/dist/components/WearablePreview/ZoomControls/index.d.ts +3 -3
- package/dist/components/WearablePreview/ZoomControls/index.js +2 -2
- package/dist/components/WearablePreview/index.d.ts +11 -11
- package/dist/components/WearablePreview/index.js +6 -6
- package/dist/components/WearablePreview/useWearablePreviewController.d.ts +1 -1
- package/dist/components/WearablePreview/useWearablePreviewController.js +6 -7
- package/dist/components/WearablePreview/useWearablePreviewController.js.map +1 -1
- package/dist/config/index.js +5 -5
- package/dist/data/avatar.d.ts +1 -1
- package/dist/data/avatar.js +45 -45
- package/dist/data/avatar.js.map +1 -1
- package/dist/data/item.d.ts +1 -1
- package/dist/data/item.js +15 -15
- package/dist/data/item.js.map +1 -1
- package/dist/data/notifications.d.ts +3 -3
- package/dist/data/notifications.js +312 -312
- package/dist/data/notifications.js.map +1 -1
- package/dist/index.d.ts +46 -46
- package/dist/index.js +44 -44
- package/dist/index.js.map +1 -1
- package/dist/lib/debounce.js.map +1 -1
- package/dist/lib/network.d.ts +2 -2
- package/dist/lib/network.js +9 -9
- package/dist/lib/network.js.map +1 -1
- package/dist/modules/cdnReleases.d.ts +1 -1
- package/dist/modules/cdnReleases.js +18 -18
- package/dist/modules/cdnReleases.js.map +1 -1
- package/dist/modules/contentful.d.ts +1 -1
- package/dist/modules/contentful.js +3 -5
- package/dist/modules/contentful.js.map +1 -1
- package/dist/modules/file.js +3 -3
- package/dist/modules/file.js.map +1 -1
- package/dist/modules/index.d.ts +7 -7
- package/dist/modules/index.js +7 -7
- package/dist/modules/jumpIn.d.ts +1 -1
- package/dist/modules/jumpIn.js +17 -20
- package/dist/modules/jumpIn.js.map +1 -1
- package/dist/modules/url.js.map +1 -1
- package/dist/modules/userAgent.d.ts +2 -2
- package/dist/modules/userAgent.js +3 -3
- package/dist/modules/userAgent.js.map +1 -1
- package/dist/modules/webGpu.js +1 -1
- package/dist/modules/webGpu.js.map +1 -1
- package/dist/theme/colorSchemes.d.ts +1 -1
- package/dist/theme/colorSchemes.js +211 -211
- package/dist/theme/colors.d.ts +2 -2
- package/dist/theme/colors.js +24 -24
- package/dist/theme/colors.js.map +1 -1
- package/dist/theme/components.d.ts +1 -1
- package/dist/theme/components.js +2628 -2630
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +12 -12
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/provider.d.ts +2 -2
- package/dist/theme/provider.js +3 -3
- package/dist/theme/types.d.ts +1 -1
- package/dist/theme/typography.js +19 -19
- package/dist/utils/colors.js +3 -5
- package/dist/utils/colors.js.map +1 -1
- package/dist/utils/colors.spec.js +84 -84
- package/dist/utils/colors.spec.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/optionalDependency.d.ts +1 -1
- package/dist/utils/optionalDependency.js +8 -8
- package/dist/utils/optionalDependency.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React, { useCallback, useEffect, useRef } from
|
|
3
|
-
import Box from
|
|
4
|
-
import * as blockies from
|
|
5
|
-
import { StyledBlockieChildrenWrapper, StyledCanvas } from
|
|
2
|
+
import React, { useCallback, useEffect, useRef } from 'react';
|
|
3
|
+
import Box from '@mui/material/Box';
|
|
4
|
+
import * as blockies from 'ethereum-blockies/blockies';
|
|
5
|
+
import { StyledBlockieChildrenWrapper, StyledCanvas } from './Blockie.styled';
|
|
6
6
|
const Blockie = React.memo((props) => {
|
|
7
|
-
const { seed, color =
|
|
7
|
+
const { seed, color = '#e449c2', spotcolor = '#e449c2', bgcolor = '#3149de', size = 6, scale = 6, children, rounded = false } = props;
|
|
8
8
|
const canvasRef = useRef(null);
|
|
9
9
|
const getOpts = useCallback(() => ({
|
|
10
|
-
seed: seed ? seed.toLowerCase() :
|
|
10
|
+
seed: seed ? seed.toLowerCase() : '',
|
|
11
11
|
color,
|
|
12
12
|
spotcolor,
|
|
13
13
|
bgcolor,
|
|
14
14
|
size,
|
|
15
|
-
scale
|
|
15
|
+
scale
|
|
16
16
|
}), [seed, color, spotcolor, bgcolor, size, scale]);
|
|
17
17
|
const draw = useCallback(() => {
|
|
18
18
|
if (!canvasRef || !canvasRef.current)
|
|
19
19
|
return;
|
|
20
|
-
const ctx = canvasRef.current.getContext(
|
|
20
|
+
const ctx = canvasRef.current.getContext('2d');
|
|
21
21
|
if (ctx) {
|
|
22
22
|
ctx.clearRect(0, 0, size * scale, size * scale);
|
|
23
23
|
blockies.render(getOpts(), canvasRef.current);
|
|
@@ -26,7 +26,7 @@ const Blockie = React.memo((props) => {
|
|
|
26
26
|
useEffect(() => {
|
|
27
27
|
draw();
|
|
28
28
|
}, [draw]);
|
|
29
|
-
const canvas =
|
|
29
|
+
const canvas = _jsx(StyledCanvas, { scale: scale, size: size, ref: canvasRef, rounded: rounded });
|
|
30
30
|
return children ? (_jsxs(Box, { component: "span", children: [canvas, _jsx(StyledBlockieChildrenWrapper, { component: "span", children: children })] })) : (canvas);
|
|
31
31
|
});
|
|
32
32
|
export { Blockie };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockie.js","sourceRoot":"","sources":["../../../src/components/Blockie/Blockie.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC7D,OAAO,GAAG,MAAM,mBAAmB,CAAA;AACnC,OAAO,KAAK,QAAQ,MAAM,4BAA4B,CAAA;AAEtD,OAAO,EAAE,4BAA4B,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE7E,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAmB,EAAE,EAAE;IACjD,MAAM,
|
|
1
|
+
{"version":3,"file":"Blockie.js","sourceRoot":"","sources":["../../../src/components/Blockie/Blockie.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAC7D,OAAO,GAAG,MAAM,mBAAmB,CAAA;AACnC,OAAO,KAAK,QAAQ,MAAM,4BAA4B,CAAA;AAEtD,OAAO,EAAE,4BAA4B,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE7E,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAmB,EAAE,EAAE;IACjD,MAAM,EAAE,IAAI,EAAE,KAAK,GAAG,SAAS,EAAE,SAAS,GAAG,SAAS,EAAE,OAAO,GAAG,SAAS,EAAE,IAAI,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,CAAA;IACrI,MAAM,SAAS,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAA;IAEjD,MAAM,OAAO,GAAG,WAAW,CACzB,GAAmC,EAAE,CAAC,CAAC;QACrC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE;QACpC,KAAK;QACL,SAAS;QACT,OAAO;QACP,IAAI;QACJ,KAAK;KACN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|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<BlockieProps>;
|
|
4
4
|
type Story = StoryObj<BlockieProps>;
|
|
5
5
|
declare const Single: Story;
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box } from
|
|
3
|
-
import { Blockie } from
|
|
4
|
-
import { Address } from
|
|
5
|
-
import { Mana } from
|
|
6
|
-
const address =
|
|
2
|
+
import { Box } from '@mui/material';
|
|
3
|
+
import { Blockie } from './Blockie';
|
|
4
|
+
import { Address } from '../Address';
|
|
5
|
+
import { Mana } from '../Mana';
|
|
6
|
+
const address = '0x0F5D2fB29fb7d3CFeE444a200298f468908cC942';
|
|
7
7
|
const meta = {
|
|
8
8
|
component: Blockie,
|
|
9
|
-
title:
|
|
10
|
-
tags: [
|
|
9
|
+
title: 'Decentraland UI/Blockie',
|
|
10
|
+
tags: ['autodocs'],
|
|
11
11
|
argTypes: {
|
|
12
12
|
seed: {
|
|
13
|
-
description:
|
|
13
|
+
description: 'Seed used to generate icon data'
|
|
14
14
|
},
|
|
15
15
|
color: {
|
|
16
|
-
description:
|
|
17
|
-
defaultValue:
|
|
16
|
+
description: 'Icon color',
|
|
17
|
+
defaultValue: '#e449c2'
|
|
18
18
|
},
|
|
19
19
|
spotcolor: {
|
|
20
|
-
description:
|
|
21
|
-
defaultValue:
|
|
20
|
+
description: 'Color that may appear in each of the pixels with a 13% chance',
|
|
21
|
+
defaultValue: '#e449c2'
|
|
22
22
|
},
|
|
23
23
|
bgcolor: {
|
|
24
|
-
description:
|
|
25
|
-
defaultValue:
|
|
24
|
+
description: 'Background color',
|
|
25
|
+
defaultValue: '#3149de'
|
|
26
26
|
},
|
|
27
27
|
size: {
|
|
28
|
-
description:
|
|
29
|
-
defaultValue: 6
|
|
28
|
+
description: 'width/height of the icon in blocks',
|
|
29
|
+
defaultValue: 6
|
|
30
30
|
},
|
|
31
31
|
scale: {
|
|
32
|
-
description:
|
|
33
|
-
defaultValue: 6
|
|
32
|
+
description: 'width/height of each block in pixels',
|
|
33
|
+
defaultValue: 6
|
|
34
34
|
},
|
|
35
35
|
rounded: {
|
|
36
|
-
description:
|
|
37
|
-
control:
|
|
38
|
-
defaultValue: false
|
|
39
|
-
}
|
|
36
|
+
description: 'Whether the blockie should be rounded',
|
|
37
|
+
control: 'boolean',
|
|
38
|
+
defaultValue: false
|
|
39
|
+
}
|
|
40
40
|
},
|
|
41
|
-
render:
|
|
41
|
+
render: args => _jsx(Blockie, { ...args })
|
|
42
42
|
};
|
|
43
43
|
const Single = {
|
|
44
|
-
name:
|
|
44
|
+
name: 'Single',
|
|
45
45
|
args: {
|
|
46
|
-
seed: address
|
|
47
|
-
}
|
|
46
|
+
seed: address
|
|
47
|
+
}
|
|
48
48
|
};
|
|
49
49
|
const Rounded = {
|
|
50
|
-
name:
|
|
50
|
+
name: 'Rounded',
|
|
51
51
|
args: {
|
|
52
52
|
seed: address,
|
|
53
|
-
rounded: true
|
|
54
|
-
}
|
|
53
|
+
rounded: true
|
|
54
|
+
}
|
|
55
55
|
};
|
|
56
56
|
const Scales = {
|
|
57
|
-
name:
|
|
58
|
-
render: () => (_jsxs(_Fragment, { children: [_jsx(Blockie, { seed: address, scale: 2 }), _jsx(Blockie, { seed: address, scale: 3 }), _jsx(Blockie, { seed: address, scale: 5 }), _jsx(Blockie, { seed: address, scale: 8 }), _jsx(Blockie, { seed: address, scale: 13 }), _jsx(Blockie, { seed: address, scale: 21 })] }))
|
|
57
|
+
name: 'Scales',
|
|
58
|
+
render: () => (_jsxs(_Fragment, { children: [_jsx(Blockie, { seed: address, scale: 2 }), _jsx(Blockie, { seed: address, scale: 3 }), _jsx(Blockie, { seed: address, scale: 5 }), _jsx(Blockie, { seed: address, scale: 8 }), _jsx(Blockie, { seed: address, scale: 13 }), _jsx(Blockie, { seed: address, scale: 21 })] }))
|
|
59
59
|
};
|
|
60
60
|
const InAParagraph = {
|
|
61
|
-
name:
|
|
62
|
-
render: () => (_jsxs(Box, { children: ["You have transferred ", _jsx(Mana, { inline: true, children: "1,000" }), " to",
|
|
61
|
+
name: 'In a paragraph',
|
|
62
|
+
render: () => (_jsxs(Box, { children: ["You have transferred ", _jsx(Mana, { inline: true, children: "1,000" }), " to", ' ', _jsx(Blockie, { scale: 3, seed: address, children: _jsx(Address, { value: address, strong: true }) }), "."] }))
|
|
63
63
|
};
|
|
64
64
|
// eslint-disable-next-line import/no-default-export
|
|
65
65
|
export default meta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockie.stories.js","sourceRoot":"","sources":["../../../src/components/Blockie/Blockie.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAI9B,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,IAAI,EAAE;YACJ,WAAW,EAAE,iCAAiC;SAC/C;QACD,KAAK,EAAE;YACL,WAAW,EAAE,YAAY;YACzB,YAAY,EAAE,SAAS;SACxB;QACD,SAAS,EAAE;YACT,WAAW,
|
|
1
|
+
{"version":3,"file":"Blockie.stories.js","sourceRoot":"","sources":["../../../src/components/Blockie/Blockie.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAA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AAE,OAAO,EAAE,KAAK,EAAE,CAAC,GAAI,EACpC,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,GAAI,EACpC,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,GAAI,EACpC,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,GAAI,EACrC,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,GAAI,IACpC,CACJ;CACF,CAAA;AAED,MAAM,YAAY,GAAU;IAC1B,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,MAAC,GAAG,wCACmB,KAAC,IAAI,IAAC,MAAM,4BAAa,SAAI,GAAG,EACrD,KAAC,OAAO,IAAC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,YAC9B,KAAC,OAAO,IAAC,KAAK,EAAE,OAAO,EAAE,MAAM,SAAG,GAC1B,SAEN,CACP;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
import { Box } from
|
|
3
|
-
const StyledCanvas = styled(
|
|
1
|
+
import styled from '@emotion/styled';
|
|
2
|
+
import { Box } from '@mui/material';
|
|
3
|
+
const StyledCanvas = styled('canvas')(props => {
|
|
4
4
|
const { scale, size, rounded } = props;
|
|
5
5
|
return {
|
|
6
6
|
borderRadius: 6,
|
|
7
|
-
verticalAlign:
|
|
8
|
-
lineHeight:
|
|
9
|
-
marginLeft:
|
|
7
|
+
verticalAlign: 'text-bottom',
|
|
8
|
+
lineHeight: '0.5em',
|
|
9
|
+
marginLeft: '0.1em',
|
|
10
10
|
...(scale * size <= 16 && { borderRadius: 1.5 }),
|
|
11
11
|
...(scale * size <= 24 && { borderRadius: 3 }),
|
|
12
12
|
...(scale * size <= 36 && { borderRadius: 4 }),
|
|
13
|
-
...(rounded && { borderRadius:
|
|
13
|
+
...(rounded && { borderRadius: '50%' })
|
|
14
14
|
};
|
|
15
15
|
});
|
|
16
16
|
const StyledBlockieChildrenWrapper = styled(Box)({
|
|
17
|
-
marginLeft:
|
|
17
|
+
marginLeft: '0.5em'
|
|
18
18
|
});
|
|
19
19
|
export { StyledBlockieChildrenWrapper, StyledCanvas };
|
|
20
20
|
//# sourceMappingURL=Blockie.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockie.styled.js","sourceRoot":"","sources":["../../../src/components/Blockie/Blockie.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAEnC,MAAM,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC,CAIlC,
|
|
1
|
+
{"version":3,"file":"Blockie.styled.js","sourceRoot":"","sources":["../../../src/components/Blockie/Blockie.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAEnC,MAAM,YAAY,GAAG,MAAM,CAAC,QAAQ,CAAC,CAIlC,KAAK,CAAC,EAAE;IACT,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,KAAK,CAAA;IAEtC,OAAO;QACL,YAAY,EAAE,CAAC;QACf,aAAa,EAAE,aAAa;QAC5B,UAAU,EAAE,OAAO;QACnB,UAAU,EAAE,OAAO;QACnB,GAAG,CAAC,KAAK,GAAG,IAAI,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,CAAC;QAChD,GAAG,CAAC,KAAK,GAAG,IAAI,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;QAC9C,GAAG,CAAC,KAAK,GAAG,IAAI,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;QAC9C,GAAG,CAAC,OAAO,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;KACxC,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,4BAA4B,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC/C,UAAU,EAAE,OAAO;CACpB,CAAC,CAAA;AAEF,OAAO,EAAE,4BAA4B,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Blockie';
|
|
2
|
+
export * from './Blockie.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './Blockie';
|
|
2
|
+
export * from './Blockie.types';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonProps } from
|
|
1
|
+
import { ButtonProps } from './Button.types';
|
|
2
2
|
export declare const Button: ({ children, startIcon, endIcon, loading, loadingIcon, loadingPosition, disabled, size, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { CircularProgress, Button as MuiButton } from
|
|
2
|
+
import { CircularProgress, Button as MuiButton } from '@mui/material';
|
|
3
3
|
const SPINNER_SIZES = {
|
|
4
4
|
small: 16,
|
|
5
5
|
medium: 20,
|
|
6
|
-
large: 24
|
|
6
|
+
large: 24
|
|
7
7
|
};
|
|
8
|
-
export const Button = ({ children, startIcon, endIcon, loading = false, loadingIcon, loadingPosition =
|
|
9
|
-
const defaultLoadingIcon =
|
|
8
|
+
export const Button = ({ children, startIcon, endIcon, loading = false, loadingIcon, loadingPosition = 'center', disabled = false, size = 'medium', ...props }) => {
|
|
9
|
+
const defaultLoadingIcon = _jsx(CircularProgress, { color: "inherit", size: SPINNER_SIZES[size] });
|
|
10
10
|
const loadingElement = loadingIcon || defaultLoadingIcon;
|
|
11
|
-
const buttonChildren = loading && loadingPosition ===
|
|
12
|
-
return (_jsx(MuiButton, { disabled: disabled || loading, startIcon: loading && loadingPosition ===
|
|
11
|
+
const buttonChildren = loading && loadingPosition === 'center' ? loadingElement : children;
|
|
12
|
+
return (_jsx(MuiButton, { disabled: disabled || loading, startIcon: loading && loadingPosition === 'start' ? loadingElement : startIcon, endIcon: loading && loadingPosition === 'end' ? loadingElement : endIcon, size: size, ...props, children: buttonChildren }));
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AAGrE,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;CACD,CAAA;AAEV,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,OAAO,GAAG,KAAK,EACf,WAAW,EACX,eAAe,GAAG,QAAQ,EAC1B,QAAQ,GAAG,KAAK,EAChB,IAAI,GAAG,QAAQ,EACf,GAAG,KAAK,EACI,EAAE,EAAE;IAChB,MAAM,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAA;AAGrE,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;CACD,CAAA;AAEV,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EACrB,QAAQ,EACR,SAAS,EACT,OAAO,EACP,OAAO,GAAG,KAAK,EACf,WAAW,EACX,eAAe,GAAG,QAAQ,EAC1B,QAAQ,GAAG,KAAK,EAChB,IAAI,GAAG,QAAQ,EACf,GAAG,KAAK,EACI,EAAE,EAAE;IAChB,MAAM,kBAAkB,GAAG,KAAC,gBAAgB,IAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,GAAI,CAAA;IAE1F,MAAM,cAAc,GAAG,WAAW,IAAI,kBAAkB,CAAA;IAExD,MAAM,cAAc,GAAG,OAAO,IAAI,eAAe,KAAK,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAA;IAE1F,OAAO,CACL,KAAC,SAAS,IACR,QAAQ,EAAE,QAAQ,IAAI,OAAO,EAC7B,SAAS,EAAE,OAAO,IAAI,eAAe,KAAK,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,EAC9E,OAAO,EAAE,OAAO,IAAI,eAAe,KAAK,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,EACxE,IAAI,EAAE,IAAI,KACN,KAAK,YAER,cAAc,GACL,CACb,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from
|
|
2
|
-
import type { StoryObj } from
|
|
1
|
+
import { ButtonProps } from './Button.types';
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: ({ children, startIcon, endIcon, loading, loadingIcon, loadingPosition, disabled, size, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Box } from
|
|
3
|
-
import { Button } from
|
|
2
|
+
import { Box } from '@mui/material';
|
|
3
|
+
import { Button } from './Button';
|
|
4
4
|
const meta = {
|
|
5
|
-
title:
|
|
5
|
+
title: 'Decentraland UI/Button',
|
|
6
6
|
component: Button,
|
|
7
|
-
tags: [
|
|
7
|
+
tags: ['autodocs'],
|
|
8
8
|
args: {
|
|
9
|
-
children:
|
|
10
|
-
variant:
|
|
11
|
-
color:
|
|
12
|
-
size:
|
|
9
|
+
children: 'Button',
|
|
10
|
+
variant: 'contained',
|
|
11
|
+
color: 'primary',
|
|
12
|
+
size: 'medium',
|
|
13
13
|
disabled: false,
|
|
14
|
-
loading: false
|
|
14
|
+
loading: false
|
|
15
15
|
},
|
|
16
16
|
argTypes: {
|
|
17
17
|
variant: {
|
|
18
|
-
description:
|
|
19
|
-
control:
|
|
20
|
-
options: [
|
|
18
|
+
description: 'The variant to use',
|
|
19
|
+
control: 'select',
|
|
20
|
+
options: ['text', 'outlined', 'contained']
|
|
21
21
|
},
|
|
22
22
|
loading: {
|
|
23
|
-
description:
|
|
24
|
-
control:
|
|
23
|
+
description: 'If true, the loading indicator is shown',
|
|
24
|
+
control: 'boolean'
|
|
25
25
|
},
|
|
26
26
|
disabled: {
|
|
27
|
-
description:
|
|
28
|
-
control:
|
|
27
|
+
description: 'If true, the button is disabled',
|
|
28
|
+
control: 'boolean'
|
|
29
29
|
},
|
|
30
30
|
size: {
|
|
31
|
-
description:
|
|
32
|
-
control:
|
|
33
|
-
options: [
|
|
31
|
+
description: 'The size of the button',
|
|
32
|
+
control: 'select',
|
|
33
|
+
options: ['small', 'medium', 'large']
|
|
34
34
|
},
|
|
35
35
|
color: {
|
|
36
|
-
description:
|
|
37
|
-
control:
|
|
38
|
-
options: [
|
|
36
|
+
description: 'The color of the button',
|
|
37
|
+
control: 'select',
|
|
38
|
+
options: ['primary', 'secondary', 'error', 'info', 'success', 'warning']
|
|
39
39
|
},
|
|
40
40
|
children: {
|
|
41
|
-
description:
|
|
42
|
-
control:
|
|
43
|
-
}
|
|
44
|
-
}
|
|
41
|
+
description: 'The content of the button',
|
|
42
|
+
control: 'text'
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
45
|
};
|
|
46
46
|
// Story definitions
|
|
47
47
|
const Basic = {
|
|
48
48
|
parameters: {
|
|
49
49
|
docs: {
|
|
50
50
|
description: {
|
|
51
|
-
story:
|
|
51
|
+
story: 'Basic button with default settings'
|
|
52
52
|
},
|
|
53
53
|
source: {
|
|
54
54
|
code: `
|
|
55
55
|
<Button variant="contained">
|
|
56
56
|
Button
|
|
57
57
|
</Button>
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
58
|
+
`
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
62
|
};
|
|
63
63
|
const Variants = {
|
|
64
|
-
render:
|
|
64
|
+
render: args => (_jsxs(Box, { display: "flex", gap: 2, children: [_jsx(Button, { ...args, variant: "contained", children: "Contained" }), _jsx(Button, { ...args, variant: "outlined", children: "Outlined" }), _jsx(Button, { ...args, variant: "text", children: "Text" })] })),
|
|
65
65
|
argTypes: {
|
|
66
66
|
variant: { table: { disable: true } },
|
|
67
|
-
children: { table: { disable: true } }
|
|
67
|
+
children: { table: { disable: true } }
|
|
68
68
|
},
|
|
69
69
|
parameters: {
|
|
70
70
|
docs: {
|
|
71
71
|
description: {
|
|
72
|
-
story:
|
|
72
|
+
story: 'The Button component comes with three variants: contained (default), outlined, and text.'
|
|
73
73
|
},
|
|
74
74
|
source: {
|
|
75
75
|
code: `
|
|
76
76
|
<Button variant="contained">Contained</Button>
|
|
77
77
|
<Button variant="outlined">Outlined</Button>
|
|
78
78
|
<Button variant="text">Text</Button>
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
79
|
+
`
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
83
|
};
|
|
84
84
|
const Colors = {
|
|
85
|
-
render:
|
|
85
|
+
render: args => (_jsxs(Box, { display: "flex", gap: 2, flexWrap: "wrap", children: [_jsx(Button, { ...args, color: "primary", children: "Primary" }), _jsx(Button, { ...args, color: "secondary", children: "Secondary" }), _jsx(Button, { ...args, color: "error", children: "Error" }), _jsx(Button, { ...args, color: "warning", children: "Warning" }), _jsx(Button, { ...args, color: "info", children: "Info" }), _jsx(Button, { ...args, color: "success", children: "Success" })] })),
|
|
86
86
|
argTypes: {
|
|
87
87
|
color: { table: { disable: true } },
|
|
88
|
-
children: { table: { disable: true } }
|
|
88
|
+
children: { table: { disable: true } }
|
|
89
89
|
},
|
|
90
90
|
parameters: {
|
|
91
91
|
docs: {
|
|
92
92
|
description: {
|
|
93
|
-
story:
|
|
93
|
+
story: 'The Button component supports different colors to indicate different purposes.'
|
|
94
94
|
},
|
|
95
95
|
source: {
|
|
96
96
|
code: `
|
|
@@ -100,81 +100,81 @@ const Colors = {
|
|
|
100
100
|
<Button color="warning">Warning</Button>
|
|
101
101
|
<Button color="info">Info</Button>
|
|
102
102
|
<Button color="success">Success</Button>
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
103
|
+
`
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
107
|
};
|
|
108
108
|
const Sizes = {
|
|
109
|
-
render:
|
|
109
|
+
render: args => (_jsxs(Box, { display: "flex", gap: 2, alignItems: "center", children: [_jsx(Button, { ...args, size: "small", children: "Small" }), _jsx(Button, { ...args, size: "medium", children: "Medium" }), _jsx(Button, { ...args, size: "large", children: "Large" })] })),
|
|
110
110
|
argTypes: {
|
|
111
111
|
size: { table: { disable: true } },
|
|
112
|
-
children: { table: { disable: true } }
|
|
112
|
+
children: { table: { disable: true } }
|
|
113
113
|
},
|
|
114
114
|
parameters: {
|
|
115
115
|
docs: {
|
|
116
116
|
description: {
|
|
117
|
-
story:
|
|
117
|
+
story: 'The Button component comes in three sizes: small, medium (default), and large.'
|
|
118
118
|
},
|
|
119
119
|
source: {
|
|
120
120
|
code: `
|
|
121
121
|
<Button size="small">Small</Button>
|
|
122
122
|
<Button size="medium">Medium</Button>
|
|
123
123
|
<Button size="large">Large</Button>
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
124
|
+
`
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
128
|
};
|
|
129
129
|
const Loading = {
|
|
130
130
|
args: {
|
|
131
131
|
loading: true,
|
|
132
|
-
children:
|
|
132
|
+
children: 'Loading'
|
|
133
133
|
},
|
|
134
|
-
render:
|
|
134
|
+
render: args => (_jsxs(Box, { display: "flex", gap: 2, children: [_jsx(Button, { ...args, variant: "contained" }), _jsx(Button, { ...args, variant: "outlined" }), _jsx(Button, { ...args, variant: "text" })] })),
|
|
135
135
|
argTypes: {
|
|
136
136
|
loading: { table: { disable: true } },
|
|
137
|
-
variant: { table: { disable: true } }
|
|
137
|
+
variant: { table: { disable: true } }
|
|
138
138
|
},
|
|
139
139
|
parameters: {
|
|
140
140
|
docs: {
|
|
141
141
|
description: {
|
|
142
|
-
story:
|
|
142
|
+
story: 'Buttons can show a loading state when processing an action.'
|
|
143
143
|
},
|
|
144
144
|
source: {
|
|
145
145
|
code: `
|
|
146
146
|
<Button loading variant="contained">Loading</Button>
|
|
147
147
|
<Button loading variant="outlined">Loading</Button>
|
|
148
148
|
<Button loading variant="text">Loading</Button>
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
149
|
+
`
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
153
|
};
|
|
154
154
|
const Disabled = {
|
|
155
155
|
args: {
|
|
156
156
|
disabled: true,
|
|
157
|
-
children:
|
|
157
|
+
children: 'Disabled'
|
|
158
158
|
},
|
|
159
|
-
render:
|
|
159
|
+
render: args => (_jsxs(Box, { display: "flex", gap: 2, children: [_jsx(Button, { ...args, variant: "contained" }), _jsx(Button, { ...args, variant: "outlined" }), _jsx(Button, { ...args, variant: "text" })] })),
|
|
160
160
|
argTypes: {
|
|
161
161
|
disabled: { table: { disable: true } },
|
|
162
|
-
variant: { table: { disable: true } }
|
|
162
|
+
variant: { table: { disable: true } }
|
|
163
163
|
},
|
|
164
164
|
parameters: {
|
|
165
165
|
docs: {
|
|
166
166
|
description: {
|
|
167
|
-
story:
|
|
167
|
+
story: 'Buttons can be disabled to indicate that they are not interactive.'
|
|
168
168
|
},
|
|
169
169
|
source: {
|
|
170
170
|
code: `
|
|
171
171
|
<Button disabled variant="contained">Disabled</Button>
|
|
172
172
|
<Button disabled variant="outlined">Disabled</Button>
|
|
173
173
|
<Button disabled variant="text">Disabled</Button>
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
174
|
+
`
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
178
|
};
|
|
179
179
|
// We need to keep the default export for Storybook to work properly
|
|
180
180
|
// eslint-disable-next-line import/no-default-export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAIjC,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;KACf;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,WAAW,CAAC;SAC3C;QACD,OAAO,EAAE;YACP,WAAW,EAAE,yCAAyC;YACtD,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,iCAAiC;YAC9C,OAAO,EAAE,SAAS;SACnB;QACD,IAAI,EAAE;YACJ,WAAW,EAAE,wBAAwB;YACrC,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;SACtC;QACD,KAAK,EAAE;YACL,WAAW,EAAE,yBAAyB;YACtC,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC;SACzE;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,2BAA2B;YACxC,OAAO,EAAE,MAAM;SAChB;KACF;CAC0B,CAAA;AAI7B,oBAAoB;AACpB,MAAM,KAAK,GAAU;IACnB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,KAAK,EAAE,oCAAoC;aAC5C;YACD,MAAM,EAAE;gBACN,IAAI,EAAE;;;;CAIb;aACM;SACF;KACF;CACF,CAAA;AAED,MAAM,QAAQ,GAAU;IACtB,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAIjC,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,IAAI,EAAE;QACJ,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,WAAW;QACpB,KAA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,IAAI,EAAE,EAAE;KACtC;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,KAAK,EAAE,6DAA6D;aACrE;YACD,MAAM,EAAE;gBACN,IAAI,EAAE;;;;CAIb;aACM;SACF;KACF;CACF,CAAA;AAED,MAAM,QAAQ,GAAU;IACtB,IAAI,EAAE;QACJ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,UAAU;KACrB;IACD,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CACd,MAAC,GAAG,IAAC,OAAO,EAAC,MAAM,EAAC,GAAG,EAAE,CAAC,aACxB,KAAC,MAAM,OAAK,IAAI,EAAE,OAAO,EAAC,WAAW,GAAG,EACxC,KAAC,MAAM,OAAK,IAAI,EAAE,OAAO,EAAC,UAAU,GAAG,EACvC,KAAC,MAAM,OAAK,IAAI,EAAE,OAAO,EAAC,MAAM,GAAG,IAC/B,CACP;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;QACtC,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;KACtC;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,KAAK,EAAE,oEAAoE;aAC5E;YACD,MAAM,EAAE;gBACN,IAAI,EAAE;;;;CAIb;aACM;SACF;KACF;CACF,CAAA;AAED,oEAAoE;AACpE,oDAAoD;AACpD,eAAe,IAAI,CAAA;AAEnB,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
import { ButtonProps as MuiButtonProps } from
|
|
3
|
-
type LoadingPosition =
|
|
4
|
-
interface ButtonProps extends Omit<MuiButtonProps,
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps as MuiButtonProps } from '@mui/material';
|
|
3
|
+
type LoadingPosition = 'start' | 'center' | 'end';
|
|
4
|
+
interface ButtonProps extends Omit<MuiButtonProps, 'loading'> {
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
loadingIcon?: ReactNode;
|
|
7
7
|
loadingPosition?: LoadingPosition;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { ButtonProps } from
|
|
2
|
-
export { Button } from
|
|
1
|
+
export type { ButtonProps } from './Button.types';
|
|
2
|
+
export { Button } from './Button';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button } from
|
|
1
|
+
export { Button } from './Button';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { CatalogCardProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CatalogCardProps } from './CatalogCard.types';
|
|
3
3
|
declare const CatalogCard: React.MemoExoticComponent<(props: CatalogCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
4
|
export { CatalogCard };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React from
|
|
3
|
-
import { Network } from
|
|
4
|
-
import { Typography } from
|
|
5
|
-
import { CatalogCardPrice } from
|
|
6
|
-
import { RarityBadge } from
|
|
7
|
-
import { AssetAddress, AssetHeaderContainer, AssetImageContainer, AssetTitle, CardContentContainer, CatalogCardContainer, CatalogItemInformationContainer, ExtraInformationContainer
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Network } from '@dcl/schemas';
|
|
4
|
+
import { Typography } from '@mui/material';
|
|
5
|
+
import { CatalogCardPrice } from './CatalogCardPrice';
|
|
6
|
+
import { RarityBadge } from '../../components/RarityBadge';
|
|
7
|
+
import { AssetAddress, AssetHeaderContainer, AssetImageContainer, AssetTitle, CardContentContainer, CatalogCardContainer, CatalogItemInformationContainer, ExtraInformationContainer } from './CatalogCard.styled';
|
|
8
8
|
const CatalogCard = React.memo((props) => {
|
|
9
|
-
const { asset, imageSrc, price, owners, extraInformation, action, actionIcon, withShadow, i18n
|
|
10
|
-
return (_jsxs(CatalogCardContainer, { withShadow: withShadow, children: [_jsx(AssetImageContainer, { className: "AssetImageContainer", name: asset.name, rarity: asset.rarity, src: imageSrc }), _jsxs(CardContentContainer, { children: [_jsxs(AssetHeaderContainer, { children: [_jsx(AssetTitle, { variant: "body1", children: asset.name }), asset.network === Network.MATIC &&
|
|
9
|
+
const { asset, imageSrc, price, owners, extraInformation, action, actionIcon, withShadow, i18n } = props;
|
|
10
|
+
return (_jsxs(CatalogCardContainer, { withShadow: withShadow, children: [_jsx(AssetImageContainer, { className: "AssetImageContainer", name: asset.name, rarity: asset.rarity, src: imageSrc }), _jsxs(CardContentContainer, { children: [_jsxs(AssetHeaderContainer, { children: [_jsx(AssetTitle, { variant: "body1", children: asset.name }), asset.network === Network.MATIC && _jsx(AssetAddress, { value: asset.creator })] }), _jsxs(CatalogItemInformationContainer, { className: "CatalogItemInformationContainer", children: [_jsx(Typography, { variant: "body2", children: action }), actionIcon] }), price ? _jsx(CatalogCardPrice, { price: price, asset: asset }) : owners, extraInformation && (_jsx(ExtraInformationContainer, { className: "ExtraInformationContainer", children: extraInformation })), _jsx(RarityBadge, { square: true, rarity: asset.rarity, i18n: i18n })] })] }));
|
|
11
11
|
});
|
|
12
12
|
export { CatalogCard };
|
|
13
13
|
//# sourceMappingURL=CatalogCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/CatalogCard/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,E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