decentraland-ui2 0.0.2-9020206964.commit-054087b → 0.0.3-9857431499.commit-4197294
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/AddressField/utils.d.ts +3 -0
- package/dist/components/AddressField/utils.js +8 -0
- package/dist/components/AddressField/utils.js.map +1 -0
- package/dist/components/AddressField/utils.spec.d.ts +1 -0
- package/dist/components/AddressField/utils.spec.js +21 -0
- package/dist/components/AddressField/utils.spec.js.map +1 -0
- package/dist/components/Atlas/Atlas.d.ts +3 -42
- package/dist/components/Atlas/Atlas.js +3 -21
- package/dist/components/Atlas/Atlas.js.map +1 -1
- package/dist/components/Atlas/Atlas.stories.d.ts +9 -8
- package/dist/components/Atlas/Atlas.stories.js +11 -9
- package/dist/components/Atlas/Atlas.stories.js.map +1 -1
- package/dist/components/Atlas/Atlas.types.d.ts +41 -0
- package/dist/components/Atlas/Atlas.types.js +20 -0
- package/dist/components/Atlas/Atlas.types.js.map +1 -0
- package/dist/components/Atlas/index.d.ts +4 -0
- package/dist/components/Atlas/index.js +3 -0
- package/dist/components/Atlas/index.js.map +1 -0
- package/dist/components/Atlas/util.d.ts +4 -3
- package/dist/components/Atlas/util.js +5 -4
- package/dist/components/Atlas/util.js.map +1 -1
- package/dist/components/AvatarFace/AvatarFace.d.ts +4 -0
- package/dist/components/AvatarFace/AvatarFace.js +13 -0
- package/dist/components/AvatarFace/AvatarFace.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.stories.d.ts +10 -0
- package/dist/components/AvatarFace/AvatarFace.stories.js +47 -0
- package/dist/components/AvatarFace/AvatarFace.stories.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.styled.d.ts +12 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js +49 -0
- package/dist/components/AvatarFace/AvatarFace.styled.js.map +1 -0
- package/dist/components/AvatarFace/AvatarFace.types.d.ts +7 -0
- package/dist/components/AvatarFace/AvatarFace.types.js +2 -0
- package/dist/components/AvatarFace/AvatarFace.types.js.map +1 -0
- package/dist/components/AvatarFace/index.d.ts +2 -0
- package/dist/components/AvatarFace/index.js +3 -0
- package/dist/components/AvatarFace/index.js.map +1 -0
- package/dist/components/Icon/Emotes/MuteIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/MuteIcon.js +8 -0
- package/dist/components/Icon/Emotes/MuteIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/PropsIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/PropsIcon.js +8 -0
- package/dist/components/Icon/Emotes/PropsIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/SoundIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/SoundIcon.js +8 -0
- package/dist/components/Icon/Emotes/SoundIcon.js.map +1 -0
- package/dist/components/Icon/Emotes/VolumeIcon.d.ts +4 -0
- package/dist/components/Icon/Emotes/VolumeIcon.js +8 -0
- package/dist/components/Icon/Emotes/VolumeIcon.js.map +1 -0
- package/dist/components/Icon/ManaEthIcon.d.ts +4 -0
- package/dist/components/Icon/ManaEthIcon.js +8 -0
- package/dist/components/Icon/ManaEthIcon.js.map +1 -0
- package/dist/components/Icon/ManaMaticIcon.d.ts +4 -0
- package/dist/components/Icon/ManaMaticIcon.js +8 -0
- package/dist/components/Icon/ManaMaticIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js +8 -0
- package/dist/components/Icon/Notifications/AccessRestoredIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js +8 -0
- package/dist/components/Icon/Notifications/AccessRestrictedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js +8 -0
- package/dist/components/Icon/Notifications/BidAcceptedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.js +8 -0
- package/dist/components/Icon/Notifications/BidReceivedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.js +8 -0
- package/dist/components/Icon/Notifications/CoauthorIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js +8 -0
- package/dist/components/Icon/Notifications/EmptyInboxIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventCancelledIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventStartedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js +8 -0
- package/dist/components/Icon/Notifications/EventStartsSoonIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.js +8 -0
- package/dist/components/Icon/Notifications/GovernanceIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/HistoryIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/HistoryIcon.js +8 -0
- package/dist/components/Icon/Notifications/HistoryIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ItemAirdroppedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.js +8 -0
- package/dist/components/Icon/Notifications/ItemSoldIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.js +8 -0
- package/dist/components/Icon/Notifications/LandRentedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js +8 -0
- package/dist/components/Icon/Notifications/ManaMainnetIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js +8 -0
- package/dist/components/Icon/Notifications/ManaPolygonIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js +8 -0
- package/dist/components/Icon/Notifications/MissingResourcesIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.js +8 -0
- package/dist/components/Icon/Notifications/NewCommentIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.js +8 -0
- package/dist/components/Icon/Notifications/NewNotificationIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js +10 -0
- package/dist/components/Icon/Notifications/NotificationBellActiveIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.js +10 -0
- package/dist/components/Icon/Notifications/NotificationBellIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js +8 -0
- package/dist/components/Icon/Notifications/PermissionGrantedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js +8 -0
- package/dist/components/Icon/Notifications/PermissionRevokedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/PitchIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/PitchIcon.js +8 -0
- package/dist/components/Icon/Notifications/PitchIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ProjectEnactedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js +8 -0
- package/dist/components/Icon/Notifications/ProposalFinishedIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js +8 -0
- package/dist/components/Icon/Notifications/RentPeriodEndingIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/RewardIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/RewardIcon.js +8 -0
- package/dist/components/Icon/Notifications/RewardIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/TenderIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/TenderIcon.js +8 -0
- package/dist/components/Icon/Notifications/TenderIcon.js.map +1 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.d.ts +4 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.js +8 -0
- package/dist/components/Icon/Notifications/VotingEndedIcon.js.map +1 -0
- package/dist/components/Icon/PlacesIcon.d.ts +4 -0
- package/dist/components/Icon/PlacesIcon.js +8 -0
- package/dist/components/Icon/PlacesIcon.js.map +1 -0
- package/dist/components/Icon/SparklesIcon.d.ts +4 -0
- package/dist/components/Icon/SparklesIcon.js +8 -0
- package/dist/components/Icon/SparklesIcon.js.map +1 -0
- package/dist/components/Icon/UtilityIcon.d.ts +4 -0
- package/dist/components/Icon/UtilityIcon.js +8 -0
- package/dist/components/Icon/UtilityIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js +8 -0
- package/dist/components/Icon/Wearables/BaseFemaleIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.js +8 -0
- package/dist/components/Icon/Wearables/BaseMaleIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.js +8 -0
- package/dist/components/Icon/Wearables/BodyShapeIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EarringIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EarringIcon.js +8 -0
- package/dist/components/Icon/Wearables/EarringIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyebrowsIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyesIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyesIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyesIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/EyewearIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/EyewearIcon.js +8 -0
- package/dist/components/Icon/Wearables/EyewearIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.js +8 -0
- package/dist/components/Icon/Wearables/FacialHairIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/FeetIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/FeetIcon.js +8 -0
- package/dist/components/Icon/Wearables/FeetIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HairIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HairIcon.js +8 -0
- package/dist/components/Icon/Wearables/HairIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.js +8 -0
- package/dist/components/Icon/Wearables/HandsWearIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HatIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HatIcon.js +8 -0
- package/dist/components/Icon/Wearables/HatIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/HelmetIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/HelmetIcon.js +8 -0
- package/dist/components/Icon/Wearables/HelmetIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.js +8 -0
- package/dist/components/Icon/Wearables/LowerBodyIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/MaskIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/MaskIcon.js +8 -0
- package/dist/components/Icon/Wearables/MaskIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/MouthIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/MouthIcon.js +8 -0
- package/dist/components/Icon/Wearables/MouthIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/SkinIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/SkinIcon.js +8 -0
- package/dist/components/Icon/Wearables/SkinIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.js +8 -0
- package/dist/components/Icon/Wearables/SmartWearableIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/TiaraIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/TiaraIcon.js +8 -0
- package/dist/components/Icon/Wearables/TiaraIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.js +8 -0
- package/dist/components/Icon/Wearables/TopHeadIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/UnisexIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/UnisexIcon.js +8 -0
- package/dist/components/Icon/Wearables/UnisexIcon.js.map +1 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.d.ts +4 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.js +8 -0
- package/dist/components/Icon/Wearables/UpperBodyIcon.js.map +1 -0
- package/dist/components/Icon/index.d.ts +62 -0
- package/dist/components/Icon/index.js +63 -0
- package/dist/components/Icon/index.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.d.ts +4 -0
- package/dist/components/IconBadge/IconBadge.js +81 -0
- package/dist/components/IconBadge/IconBadge.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.stories.d.ts +10 -0
- package/dist/components/IconBadge/IconBadge.stories.js +52 -0
- package/dist/components/IconBadge/IconBadge.stories.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.styled.d.ts +17 -0
- package/dist/components/IconBadge/IconBadge.styled.js +38 -0
- package/dist/components/IconBadge/IconBadge.styled.js.map +1 -0
- package/dist/components/IconBadge/IconBadge.types.d.ts +40 -0
- package/dist/components/IconBadge/IconBadge.types.js +34 -0
- package/dist/components/IconBadge/IconBadge.types.js.map +1 -0
- package/dist/components/IconBadge/index.d.ts +2 -0
- package/dist/components/IconBadge/index.js +3 -0
- package/dist/components/IconBadge/index.js.map +1 -0
- package/dist/components/Mana/Mana.d.ts +4 -0
- package/dist/components/Mana/Mana.js +17 -0
- package/dist/components/Mana/Mana.js.map +1 -0
- package/dist/components/Mana/Mana.stories.d.ts +15 -0
- package/dist/components/Mana/Mana.stories.js +90 -0
- package/dist/components/Mana/Mana.stories.js.map +1 -0
- package/dist/components/Mana/Mana.styled.d.ts +17 -0
- package/dist/components/Mana/Mana.styled.js +44 -0
- package/dist/components/Mana/Mana.styled.js.map +1 -0
- package/dist/components/Mana/Mana.types.d.ts +14 -0
- package/dist/components/Mana/Mana.types.js +2 -0
- package/dist/components/Mana/Mana.types.js.map +1 -0
- package/dist/components/Mana/index.d.ts +2 -0
- package/dist/components/Mana/index.js +3 -0
- package/dist/components/Mana/index.js.map +1 -0
- package/dist/components/Media/Media.d.ts +56 -0
- package/dist/components/Media/Media.js +62 -0
- package/dist/components/Media/Media.js.map +1 -0
- package/dist/components/Media/index.d.ts +1 -0
- package/dist/components/Media/index.js +2 -0
- package/dist/components/Media/index.js.map +1 -0
- package/dist/components/Modal/Modal.d.ts +5 -0
- package/dist/components/Modal/Modal.js +15 -0
- package/dist/components/Modal/Modal.js.map +1 -0
- package/dist/components/Modal/Modal.stories.d.ts +21 -0
- package/dist/components/Modal/Modal.stories.js +91 -0
- package/dist/components/Modal/Modal.stories.js.map +1 -0
- package/dist/components/Modal/Modal.styled.d.ts +23 -0
- package/dist/components/Modal/Modal.styled.js +51 -0
- package/dist/components/Modal/Modal.styled.js.map +1 -0
- package/dist/components/Modal/Modal.types.d.ts +13 -0
- package/dist/components/Modal/Modal.types.js +2 -0
- package/dist/components/Modal/Modal.types.js.map +1 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Modal/index.js +2 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.d.ts +4 -0
- package/dist/components/Notifications/NotificationItem.js +14 -0
- package/dist/components/Notifications/NotificationItem.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.styled.d.ts +37 -0
- package/dist/components/Notifications/NotificationItem.styled.js +63 -0
- package/dist/components/Notifications/NotificationItem.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItem.types.d.ts +8 -0
- package/dist/components/Notifications/NotificationItem.types.js +2 -0
- package/dist/components/Notifications/NotificationItem.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.d.ts +4 -0
- package/dist/components/Notifications/NotificationItemImage.js +12 -0
- package/dist/components/Notifications/NotificationItemImage.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.styled.d.ts +13 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js +26 -0
- package/dist/components/Notifications/NotificationItemImage.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemImage.types.d.ts +7 -0
- package/dist/components/Notifications/NotificationItemImage.types.js +2 -0
- package/dist/components/Notifications/NotificationItemImage.types.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.d.ts +4 -0
- package/dist/components/Notifications/NotificationItemNFTLink.js +9 -0
- package/dist/components/Notifications/NotificationItemNFTLink.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.d.ts +10 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js +11 -0
- package/dist/components/Notifications/NotificationItemNFTLink.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.d.ts +7 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.js +2 -0
- package/dist/components/Notifications/NotificationItemNFTLink.types.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.d.ts +5 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Events/Countdown.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.d.ts +42 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js +43 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Events/EventStartsSoonNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js +11 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAnnouncementNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.d.ts +33 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js +34 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.d.ts +27 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js +28 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.d.ts +33 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js +34 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js +7 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +14 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js +15 -0
- package/dist/components/Notifications/NotificationTypes/Reward/RewardAssignedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.d.ts +15 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js +16 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js +12 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestoredNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.d.ts +27 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js +28 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +13 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js +27 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionGrantedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.d.ts +4 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js +25 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js +20 -0
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsPermissionRevokedNotification.js.map +1 -0
- package/dist/components/Notifications/NotificationTypes/index.d.ts +24 -0
- package/dist/components/Notifications/NotificationTypes/index.js +25 -0
- package/dist/components/Notifications/NotificationTypes/index.js.map +1 -0
- package/dist/components/Notifications/Notifications.d.ts +4 -0
- package/dist/components/Notifications/Notifications.js +26 -0
- package/dist/components/Notifications/Notifications.js.map +1 -0
- package/dist/components/Notifications/Notifications.stories.d.ts +19 -0
- package/dist/components/Notifications/Notifications.stories.js +139 -0
- package/dist/components/Notifications/Notifications.stories.js.map +1 -0
- package/dist/components/Notifications/Notifications.styled.d.ts +9 -0
- package/dist/components/Notifications/Notifications.styled.js +57 -0
- package/dist/components/Notifications/Notifications.styled.js.map +1 -0
- package/dist/components/Notifications/Notifications.types.d.ts +17 -0
- package/dist/components/Notifications/Notifications.types.js +2 -0
- package/dist/components/Notifications/Notifications.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.d.ts +4 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.d.ts +24 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.js +25 -0
- package/dist/components/Notifications/NotificationsFeed.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.js +50 -0
- package/dist/components/Notifications/NotificationsFeed.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.styled.d.ts +37 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js +52 -0
- package/dist/components/Notifications/NotificationsFeed.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeed.types.d.ts +16 -0
- package/dist/components/Notifications/NotificationsFeed.types.js +2 -0
- package/dist/components/Notifications/NotificationsFeed.types.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.d.ts +4 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.d.ts +57 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js +58 -0
- package/dist/components/Notifications/NotificationsFeedTabs.i18n.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.js +25 -0
- package/dist/components/Notifications/NotificationsFeedTabs.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.d.ts +34 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js +56 -0
- package/dist/components/Notifications/NotificationsFeedTabs.styled.js.map +1 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.d.ts +13 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.js +2 -0
- package/dist/components/Notifications/NotificationsFeedTabs.types.js.map +1 -0
- package/dist/components/Notifications/index.d.ts +3 -0
- package/dist/components/Notifications/index.js +3 -0
- package/dist/components/Notifications/index.js.map +1 -0
- package/dist/components/Notifications/types.d.ts +119 -0
- package/dist/components/Notifications/types.js +7 -0
- package/dist/components/Notifications/types.js.map +1 -0
- package/dist/components/Notifications/utils.d.ts +13 -0
- package/dist/components/Notifications/utils.js +51 -0
- package/dist/components/Notifications/utils.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.d.ts +4 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js +14 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.d.ts +6 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js +28 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.stories.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +6 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +13 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.d.ts +7 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js +2 -0
- package/dist/components/UserMenu/ManaBalances/ManaBalances.types.js.map +1 -0
- package/dist/components/UserMenu/ManaBalances/index.d.ts +2 -0
- package/dist/components/UserMenu/ManaBalances/index.js +2 -0
- package/dist/components/UserMenu/ManaBalances/index.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.d.ts +4 -0
- package/dist/components/UserMenu/UserMenu.i18n.d.ts +3 -0
- package/dist/components/UserMenu/UserMenu.i18n.js +15 -0
- package/dist/components/UserMenu/UserMenu.i18n.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.js +82 -0
- package/dist/components/UserMenu/UserMenu.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.stories.d.ts +12 -0
- package/dist/components/UserMenu/UserMenu.stories.js +82 -0
- package/dist/components/UserMenu/UserMenu.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.styled.d.ts +22 -0
- package/dist/components/UserMenu/UserMenu.styled.js +27 -0
- package/dist/components/UserMenu/UserMenu.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenu.types.d.ts +26 -0
- package/dist/components/UserMenu/UserMenu.types.js +15 -0
- package/dist/components/UserMenu/UserMenu.types.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.d.ts +9 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js +39 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuActions.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.d.ts +5 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js +111 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.d.ts +8 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js +65 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.stories.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +75 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +167 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +29 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js +2 -0
- package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.js.map +1 -0
- package/dist/components/UserMenu/index.d.ts +4 -0
- package/dist/components/UserMenu/index.js +3 -0
- package/dist/components/UserMenu/index.js.map +1 -0
- package/dist/config/index.js.map +1 -1
- package/dist/data/avatar.d.ts +3 -0
- package/dist/data/avatar.js +98 -0
- package/dist/data/avatar.js.map +1 -0
- package/dist/data/notifications.d.ts +27 -0
- package/dist/data/notifications.js +426 -0
- package/dist/data/notifications.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/network.d.ts +8 -0
- package/dist/lib/network.js +17 -0
- package/dist/lib/network.js.map +1 -0
- package/dist/theme/colorSchemes.d.ts +10 -0
- package/dist/theme/colorSchemes.js +362 -0
- package/dist/theme/colorSchemes.js.map +1 -0
- package/dist/{colors.d.ts → theme/colors.d.ts} +19 -18
- package/dist/{colors.js → theme/colors.js} +19 -18
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/components.d.ts +2 -0
- package/dist/theme/components.js +53 -0
- package/dist/theme/components.js.map +1 -0
- package/dist/theme/index.d.ts +3 -0
- package/dist/theme/index.js +19 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/typography.d.ts +44 -0
- package/dist/theme/typography.js +45 -0
- package/dist/theme/typography.js.map +1 -0
- package/package.json +7 -5
- package/dist/colors.js.map +0 -1
- package/dist/theme.d.ts +0 -2
- package/dist/theme.js +0 -73
- package/dist/theme.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/components/AddressField/utils.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG,CAAC,IAAI,GAAG,EAAE,EAAE,EAAE;IAC5B,OAAO,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,OAAO,GAAG,CAAC,OAAgB,EAAE,EAAE;IACnC,OAAO,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;AAC3E,CAAC,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { isValid, shorten } from "./utils";
|
2
|
+
describe("isValid", () => {
|
3
|
+
it("should return false when address is undefined", () => {
|
4
|
+
expect(isValid(undefined)).toBe(false);
|
5
|
+
});
|
6
|
+
it("should return false when address doesn't match regex", () => {
|
7
|
+
expect(isValid("0x")).toBe(false);
|
8
|
+
});
|
9
|
+
it("should return true when address matches regex", () => {
|
10
|
+
expect(isValid("0x89805E5f0698Cb4dB57f0E389f2a75259f78CC22")).toBe(true);
|
11
|
+
});
|
12
|
+
});
|
13
|
+
describe("shorten", () => {
|
14
|
+
it("should return empty string when address is not defined", () => {
|
15
|
+
expect(shorten(undefined)).toBe("");
|
16
|
+
});
|
17
|
+
it("should return first and last 5 items", () => {
|
18
|
+
expect(shorten("0x89805E5f0698Cb4dB57f0E389f2a75259f78CC22")).toBe("0x8980...8CC22");
|
19
|
+
});
|
20
|
+
});
|
21
|
+
//# sourceMappingURL=utils.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.spec.js","sourceRoot":"","sources":["../../../src/components/AddressField/utils.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAE1C,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACxC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC9D,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IACnC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC1E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE;QAChE,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IACrC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC,CAAC,IAAI,CAChE,gBAAgB,CACjB,CAAA;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -1,44 +1,5 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import {
|
2
|
+
import { AtlasProps } from "./Atlas.types";
|
3
3
|
import "react-tile-map/dist/styles.css";
|
4
|
-
|
5
|
-
|
6
|
-
UNOWNED = "#09080A",
|
7
|
-
PLAZA = "#70AC76",
|
8
|
-
ROAD = "#716C7A",
|
9
|
-
DISTRICT = "#5054D4",
|
10
|
-
ODD = "#110E13",
|
11
|
-
EVEN = "#0D0B0E"
|
12
|
-
}
|
13
|
-
export declare enum AtlasTileType {
|
14
|
-
OWNED = "owned",
|
15
|
-
UNOWNED = "unowned",
|
16
|
-
PLAZA = "plaza",
|
17
|
-
ROAD = "road",
|
18
|
-
DISTRICT = "district"
|
19
|
-
}
|
20
|
-
export type AtlasTileProps = {
|
21
|
-
id?: string;
|
22
|
-
x: number;
|
23
|
-
y: number;
|
24
|
-
updatedAt: number;
|
25
|
-
type: AtlasTileType;
|
26
|
-
top?: boolean;
|
27
|
-
left?: boolean;
|
28
|
-
topLeft?: boolean;
|
29
|
-
name?: string;
|
30
|
-
estateId?: string;
|
31
|
-
owner: string;
|
32
|
-
tokenId?: string;
|
33
|
-
};
|
34
|
-
export { Layer, Coord };
|
35
|
-
export type AtlasProps = Omit<TileMapProps, "layers" | "className"> & {
|
36
|
-
layers?: Layer[];
|
37
|
-
tiles?: Record<string, AtlasTileProps>;
|
38
|
-
/** @deprecated */
|
39
|
-
className?: string;
|
40
|
-
};
|
41
|
-
export type AtlasStateProps = Record<string, AtlasTileProps> | undefined;
|
42
|
-
export interface AtlasInterface extends AtlasProps {
|
43
|
-
}
|
44
|
-
export declare const Atlas: React.MemoExoticComponent<(props: AtlasProps) => JSX.Element>;
|
4
|
+
declare const Atlas: React.MemoExoticComponent<(props: AtlasProps) => JSX.Element>;
|
5
|
+
export { Atlas };
|
@@ -1,29 +1,10 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import React, { useCallback, useEffect, useMemo, useState } from "react";
|
3
3
|
import { TileMap } from "react-tile-map";
|
4
|
-
/* import { css } from "@emotion/react" */
|
5
4
|
import { getColorByType, getTiles } from "./util";
|
6
|
-
|
5
|
+
import { AtlasColor } from "./Atlas.types";
|
7
6
|
import "react-tile-map/dist/styles.css";
|
8
|
-
|
9
|
-
(function (AtlasColor) {
|
10
|
-
AtlasColor["OWNED"] = "#3D3A46";
|
11
|
-
AtlasColor["UNOWNED"] = "#09080A";
|
12
|
-
AtlasColor["PLAZA"] = "#70AC76";
|
13
|
-
AtlasColor["ROAD"] = "#716C7A";
|
14
|
-
AtlasColor["DISTRICT"] = "#5054D4";
|
15
|
-
AtlasColor["ODD"] = "#110E13";
|
16
|
-
AtlasColor["EVEN"] = "#0D0B0E";
|
17
|
-
})(AtlasColor || (AtlasColor = {}));
|
18
|
-
export var AtlasTileType;
|
19
|
-
(function (AtlasTileType) {
|
20
|
-
AtlasTileType["OWNED"] = "owned";
|
21
|
-
AtlasTileType["UNOWNED"] = "unowned";
|
22
|
-
AtlasTileType["PLAZA"] = "plaza";
|
23
|
-
AtlasTileType["ROAD"] = "road";
|
24
|
-
AtlasTileType["DISTRICT"] = "district";
|
25
|
-
})(AtlasTileType || (AtlasTileType = {}));
|
26
|
-
export const Atlas = React.memo((props) => {
|
7
|
+
const Atlas = React.memo((props) => {
|
27
8
|
const { layers } = props;
|
28
9
|
const [tiles, setTiles] = useState(props.tiles);
|
29
10
|
const mountedRef = React.useRef(true);
|
@@ -73,4 +54,5 @@ export const Atlas = React.memo((props) => {
|
|
73
54
|
/* css={atlasStyle} */
|
74
55
|
layers: layersMemo }));
|
75
56
|
});
|
57
|
+
export { Atlas };
|
76
58
|
//# sourceMappingURL=Atlas.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Atlas.js","sourceRoot":"","sources":["../../../src/components/Atlas/Atlas.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"Atlas.js","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ACF;IACH,CAAC,EACD,CAAC,KAAK,CAAC,CACR,CAAA;IAED,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,KAAK,EAAE;YACV,QAAQ,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA;SACnC;QAED,OAAO,GAAG,EAAE;YACV,UAAU,CAAC,OAAO,GAAG,KAAK,CAAA;QAC5B,CAAC,CAAA;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAA;IAEX,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,KAAK,EAAE;YACxC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACtB;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;IAEjB,MAAM,iBAAiB,GAAG,CAAC,YAA6B,EAAQ,EAAE;QAChE,IAAI,UAAU,CAAC,OAAO,EAAE;YACtB,QAAQ,CAAC,YAAY,CAAC,CAAA;SACvB;IACH,CAAC,CAAA;IACD;;;;SAIK;IAEL,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAA;IAE7E,OAAO,CACL,KAAC,OAAO,OACF,OAAO,CAAC,YAAY,KACpB,KAAK;QACT,qBAAqB;QACrB,sBAAsB;QACtB,MAAM,EAAE,UAAU,GAClB,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
@@ -1,11 +1,12 @@
|
|
1
|
-
import { AtlasProps } from "./
|
1
|
+
import { AtlasProps } from "./index";
|
2
2
|
import type { Meta, StoryObj } from "@storybook/react";
|
3
3
|
declare const meta: Meta<AtlasProps>;
|
4
|
-
export default meta;
|
5
4
|
type Story = StoryObj<AtlasProps>;
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
declare const Uncontrolled: Story;
|
6
|
+
declare const Controlled: Story;
|
7
|
+
declare const ForSale: Story;
|
8
|
+
declare const ClickToSelect: Story;
|
9
|
+
declare const HoverToHighlight: Story;
|
10
|
+
declare const WithZoomControl: Story;
|
11
|
+
export default meta;
|
12
|
+
export { Uncontrolled, Controlled, ForSale, ClickToSelect, HoverToHighlight, WithZoomControl, };
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import styled from "@emotion/styled";
|
3
2
|
import { ArgTypes, Title } from "@storybook/blocks";
|
4
|
-
import
|
3
|
+
import styled from "@emotion/styled";
|
5
4
|
import { getTiles } from "./util";
|
5
|
+
import { Atlas } from "./index";
|
6
6
|
let tiles;
|
7
7
|
if (window) {
|
8
8
|
getTiles().then((_tiles) => (tiles = _tiles));
|
@@ -183,8 +183,7 @@ const meta = {
|
|
183
183
|
],
|
184
184
|
render: (args, { loaded: { tiles } }) => _jsx(Atlas, { ...args, tiles: tiles }),
|
185
185
|
};
|
186
|
-
|
187
|
-
export const Uncontrolled = {
|
186
|
+
const Uncontrolled = {
|
188
187
|
args: {},
|
189
188
|
loaders: [
|
190
189
|
async () => ({
|
@@ -192,7 +191,7 @@ export const Uncontrolled = {
|
|
192
191
|
}),
|
193
192
|
],
|
194
193
|
};
|
195
|
-
|
194
|
+
const Controlled = {
|
196
195
|
args: {},
|
197
196
|
loaders: [
|
198
197
|
async () => ({
|
@@ -200,7 +199,7 @@ export const Controlled = {
|
|
200
199
|
}),
|
201
200
|
],
|
202
201
|
};
|
203
|
-
|
202
|
+
const ForSale = {
|
204
203
|
args: {
|
205
204
|
layers: [forSaleLayer],
|
206
205
|
},
|
@@ -210,7 +209,7 @@ export const ForSale = {
|
|
210
209
|
}),
|
211
210
|
],
|
212
211
|
};
|
213
|
-
|
212
|
+
const ClickToSelect = {
|
214
213
|
args: {
|
215
214
|
layers: [selectedStrokeLayer, selectedFillLayer],
|
216
215
|
onClick: handleClick,
|
@@ -221,7 +220,7 @@ export const ClickToSelect = {
|
|
221
220
|
}),
|
222
221
|
],
|
223
222
|
};
|
224
|
-
|
223
|
+
const HoverToHighlight = {
|
225
224
|
args: {
|
226
225
|
layers: [hoverStrokeLayer, hoverFillLayer],
|
227
226
|
onHover: handleHover,
|
@@ -232,7 +231,7 @@ export const HoverToHighlight = {
|
|
232
231
|
}),
|
233
232
|
],
|
234
233
|
};
|
235
|
-
|
234
|
+
const WithZoomControl = {
|
236
235
|
args: {
|
237
236
|
layers: [hoverStrokeLayer, hoverFillLayer],
|
238
237
|
onHover: handleHover,
|
@@ -244,4 +243,7 @@ export const WithZoomControl = {
|
|
244
243
|
}),
|
245
244
|
],
|
246
245
|
};
|
246
|
+
// eslint-disable-next-line import/no-default-export
|
247
|
+
export default meta;
|
248
|
+
export { Uncontrolled, Controlled, ForSale, ClickToSelect, HoverToHighlight, WithZoomControl, };
|
247
249
|
//# sourceMappingURL=Atlas.stories.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Atlas.stories.js","sourceRoot":"","sources":["../../../src/components/Atlas/Atlas.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
1
|
+
{"version":3,"file":"Atlas.stories.js","sourceRoot":"","sources":["../../../src/components/Atlas/Atlas.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,KAAK,EAA4B,MAAM,SAAS,CAAA;AAGzD,IAAI,KAAK,CAAA;AACT,IAAI,MAAM,EAAE;IACV,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC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,MAAM,eAAe,GAAU;IAC7B,IAAI,EAAE;QACJ,MAAM,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC;QAC1C,OAAO,EAAE,WAAW;QACpB,gBAAgB,EAAE,IAAI;KACvB;IACD,OAAO,EAAE;QACP,KAAK,IAAI,EAAE,CAAC,CAAC;YACX,KAAK,EAAE,MAAM,QAAQ,EAAE;SACxB,CAAC;KACH;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EACL,YAAY,EACZ,UAAU,EACV,OAAO,EACP,aAAa,EACb,gBAAgB,EAChB,eAAe,GAChB,CAAA"}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { Layer, TileMapProps } from "react-tile-map";
|
2
|
+
declare enum AtlasColor {
|
3
|
+
OWNED = "#3D3A46",
|
4
|
+
UNOWNED = "#09080A",
|
5
|
+
PLAZA = "#70AC76",
|
6
|
+
ROAD = "#716C7A",
|
7
|
+
DISTRICT = "#5054D4",
|
8
|
+
ODD = "#110E13",
|
9
|
+
EVEN = "#0D0B0E"
|
10
|
+
}
|
11
|
+
declare enum AtlasTileType {
|
12
|
+
OWNED = "owned",
|
13
|
+
UNOWNED = "unowned",
|
14
|
+
PLAZA = "plaza",
|
15
|
+
ROAD = "road",
|
16
|
+
DISTRICT = "district"
|
17
|
+
}
|
18
|
+
type AtlasTileProps = {
|
19
|
+
id?: string;
|
20
|
+
x: number;
|
21
|
+
y: number;
|
22
|
+
updatedAt: number;
|
23
|
+
type: AtlasTileType;
|
24
|
+
top?: boolean;
|
25
|
+
left?: boolean;
|
26
|
+
topLeft?: boolean;
|
27
|
+
name?: string;
|
28
|
+
estateId?: string;
|
29
|
+
owner: string;
|
30
|
+
tokenId?: string;
|
31
|
+
};
|
32
|
+
type AtlasProps = Omit<TileMapProps, "layers" | "className"> & {
|
33
|
+
layers?: Layer[];
|
34
|
+
tiles?: Record<string, AtlasTileProps>;
|
35
|
+
/** @deprecated */
|
36
|
+
className?: string;
|
37
|
+
};
|
38
|
+
type AtlasStateProps = Record<string, AtlasTileProps> | undefined;
|
39
|
+
interface AtlasInterface extends AtlasProps {
|
40
|
+
}
|
41
|
+
export { AtlasColor, AtlasInterface, AtlasProps, AtlasStateProps, AtlasTileProps, AtlasTileType, };
|
@@ -0,0 +1,20 @@
|
|
1
|
+
var AtlasColor;
|
2
|
+
(function (AtlasColor) {
|
3
|
+
AtlasColor["OWNED"] = "#3D3A46";
|
4
|
+
AtlasColor["UNOWNED"] = "#09080A";
|
5
|
+
AtlasColor["PLAZA"] = "#70AC76";
|
6
|
+
AtlasColor["ROAD"] = "#716C7A";
|
7
|
+
AtlasColor["DISTRICT"] = "#5054D4";
|
8
|
+
AtlasColor["ODD"] = "#110E13";
|
9
|
+
AtlasColor["EVEN"] = "#0D0B0E";
|
10
|
+
})(AtlasColor || (AtlasColor = {}));
|
11
|
+
var AtlasTileType;
|
12
|
+
(function (AtlasTileType) {
|
13
|
+
AtlasTileType["OWNED"] = "owned";
|
14
|
+
AtlasTileType["UNOWNED"] = "unowned";
|
15
|
+
AtlasTileType["PLAZA"] = "plaza";
|
16
|
+
AtlasTileType["ROAD"] = "road";
|
17
|
+
AtlasTileType["DISTRICT"] = "district";
|
18
|
+
})(AtlasTileType || (AtlasTileType = {}));
|
19
|
+
export { AtlasColor, AtlasTileType, };
|
20
|
+
//# sourceMappingURL=Atlas.types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Atlas.types.js","sourceRoot":"","sources":["../../../src/components/Atlas/Atlas.types.ts"],"names":[],"mappings":"AAEA,IAAK,UAQJ;AARD,WAAK,UAAU;IACb,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,8BAAgB,CAAA;IAChB,kCAAoB,CAAA;IACpB,6BAAe,CAAA;IACf,8BAAgB,CAAA;AAClB,CAAC,EARI,UAAU,KAAV,UAAU,QAQd;AAED,IAAK,aAMJ;AAND,WAAK,aAAa;IAChB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;AACvB,CAAC,EANI,aAAa,KAAb,aAAa,QAMjB;AA4BD,OAAO,EACL,UAAU,EAKV,aAAa,GACd,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Atlas/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
-
import { AtlasColor, AtlasTileProps, AtlasTileType } from "./Atlas";
|
2
|
-
|
3
|
-
|
1
|
+
import { AtlasColor, AtlasTileProps, AtlasTileType } from "./Atlas.types";
|
2
|
+
declare const getTiles: () => Promise<Record<string, AtlasTileProps>>;
|
3
|
+
declare const getColorByType: (type: AtlasTileType) => AtlasColor.OWNED | AtlasColor.UNOWNED | AtlasColor.PLAZA | AtlasColor.ROAD | AtlasColor.DISTRICT;
|
4
|
+
export { getTiles, getColorByType };
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { memo } from "radash";
|
2
|
-
import { AtlasColor, AtlasTileType } from "./Atlas";
|
2
|
+
import { AtlasColor, AtlasTileType } from "./Atlas.types";
|
3
3
|
const TILES_URL = "https://api.decentraland.org/v2/tiles";
|
4
|
-
|
4
|
+
const getTiles = memo(async () => {
|
5
5
|
try {
|
6
6
|
const tilesFetch = await fetch(TILES_URL);
|
7
7
|
const tilesJson = await tilesFetch.json();
|
@@ -12,7 +12,7 @@ export const getTiles = memo(async () => {
|
|
12
12
|
}
|
13
13
|
}, { ttl: 10 * 60 * 1000 } // 10 minutes
|
14
14
|
);
|
15
|
-
|
15
|
+
const getColorByType = (type) => {
|
16
16
|
switch (type) {
|
17
17
|
case AtlasTileType.OWNED:
|
18
18
|
return AtlasColor.OWNED;
|
@@ -25,5 +25,6 @@ export function getColorByType(type) {
|
|
25
25
|
case AtlasTileType.DISTRICT:
|
26
26
|
return AtlasColor.DISTRICT;
|
27
27
|
}
|
28
|
-
}
|
28
|
+
};
|
29
|
+
export { getTiles, getColorByType };
|
29
30
|
//# sourceMappingURL=util.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/components/Atlas/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/components/Atlas/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAkB,aAAa,EAAE,MAAM,eAAe,CAAA;AAEzE,MAAM,SAAS,GAAG,uCAAuC,CAAA;AAEzD,MAAM,QAAQ,GAAG,IAAI,CACnB,KAAK,IAA6C,EAAE;IAClD,IAAI;QACF,MAAM,UAAU,GAAG,MAAM,KAAK,CAAC,SAAS,CAAC,CAAA;QACzC,MAAM,SAAS,GAIX,MAAM,UAAU,CAAC,IAAI,EAAE,CAAA;QAE3B,OAAO,SAAS,CAAC,IAAsC,CAAA;KACxD;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,EAAE,CAAA;KACV;AACH,CAAC,EACD,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,CAAC,aAAa;CACtC,CAAA;AAED,MAAM,cAAc,GAAG,CAAC,IAAmB,EAAE,EAAE;IAC7C,QAAQ,IAAI,EAAE;QACZ,KAAK,aAAa,CAAC,KAAK;YACtB,OAAO,UAAU,CAAC,KAAK,CAAA;QACzB,KAAK,aAAa,CAAC,OAAO;YACxB,OAAO,UAAU,CAAC,OAAO,CAAA;QAC3B,KAAK,aAAa,CAAC,KAAK;YACtB,OAAO,UAAU,CAAC,KAAK,CAAA;QACzB,KAAK,aAAa,CAAC,IAAI;YACrB,OAAO,UAAU,CAAC,IAAI,CAAA;QACxB,KAAK,aAAa,CAAC,QAAQ;YACzB,OAAO,UAAU,CAAC,QAAQ,CAAA;KAC7B;AACH,CAAC,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAA"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import { Avatar, AvatarContainer } from "./AvatarFace.styled";
|
4
|
+
const AvatarFace = React.memo((props) => {
|
5
|
+
const { avatar, inline, ...avatarProps } = props;
|
6
|
+
let avatarUrl = avatar?.avatar?.snapshots?.face256;
|
7
|
+
if (avatarUrl && !avatarUrl.startsWith("https://")) {
|
8
|
+
avatarUrl = `https://peer.decentraland.org/content/contents/${avatarUrl}`;
|
9
|
+
}
|
10
|
+
return (_jsx(AvatarContainer, { inline: inline, children: _jsx(Avatar, { src: avatarUrl, ...avatarProps }) }));
|
11
|
+
});
|
12
|
+
export { AvatarFace };
|
13
|
+
//# sourceMappingURL=AvatarFace.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AvatarFace.js","sourceRoot":"","sources":["../../../src/components/AvatarFace/AvatarFace.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE7D,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAsB,EAAE,EAAE;IACvD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAA;IAEhD,IAAI,SAAS,GAAG,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,CAAA;IAElD,IAAI,SAAS,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;QAClD,SAAS,GAAG,kDAAkD,SAAS,EAAE,CAAA;KAC1E;IAED,OAAO,CACL,KAAC,eAAe,IAAC,MAAM,EAAE,MAAM,YAC7B,KAAC,MAAM,IAAC,GAAG,EAAE,SAAS,KAAM,WAAW,GAAI,GAC3B,CACnB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { AvatarFaceProps } from "./AvatarFace.types";
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
3
|
+
declare const meta: Meta<AvatarFaceProps>;
|
4
|
+
type Story = StoryObj<AvatarFaceProps>;
|
5
|
+
declare const Guest: Story;
|
6
|
+
declare const Simple: Story;
|
7
|
+
declare const Sizes: Story;
|
8
|
+
declare const InParagraph: Story;
|
9
|
+
export default meta;
|
10
|
+
export { Guest, Simple, Sizes, InParagraph };
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { Typography } from "@mui/material";
|
3
|
+
import { AvatarFace } from "./AvatarFace";
|
4
|
+
import { avatar } from "../../data/avatar";
|
5
|
+
import { Mana } from "../Mana";
|
6
|
+
const meta = {
|
7
|
+
component: AvatarFace,
|
8
|
+
title: "Decentraland UI/AvatarFace",
|
9
|
+
tags: ["autodocs"],
|
10
|
+
argTypes: {
|
11
|
+
size: {
|
12
|
+
description: "Size of the avatar face",
|
13
|
+
},
|
14
|
+
inline: {
|
15
|
+
description: "Avatar component should be displayed inline",
|
16
|
+
},
|
17
|
+
},
|
18
|
+
render: (args) => _jsx(AvatarFace, { ...args }),
|
19
|
+
};
|
20
|
+
const Guest = {
|
21
|
+
args: {},
|
22
|
+
};
|
23
|
+
const Simple = {
|
24
|
+
args: {
|
25
|
+
size: "large",
|
26
|
+
avatar,
|
27
|
+
},
|
28
|
+
};
|
29
|
+
const Sizes = {
|
30
|
+
args: {
|
31
|
+
avatar,
|
32
|
+
},
|
33
|
+
render: (args) => (_jsxs(_Fragment, { children: [_jsx(AvatarFace, { size: "tiny", ...args }), _jsx(AvatarFace, { size: "small", ...args }), _jsx(AvatarFace, { size: "medium", ...args }), _jsx(AvatarFace, { size: "large", ...args }), _jsx(AvatarFace, { size: "responsive", ...args })] })),
|
34
|
+
};
|
35
|
+
const InParagraph = {
|
36
|
+
name: "In a paragraph",
|
37
|
+
args: {
|
38
|
+
avatar,
|
39
|
+
inline: true,
|
40
|
+
size: "tiny",
|
41
|
+
},
|
42
|
+
render: (args) => (_jsxs(Typography, { children: ["You've transferred ", _jsx(Mana, { inline: true, children: "1,000" }), " to", " ", _jsx(AvatarFace, { ...args }), " ", _jsx("strong", { children: "cazala" })] })),
|
43
|
+
};
|
44
|
+
// eslint-disable-next-line import/no-default-export
|
45
|
+
export default meta;
|
46
|
+
export { Guest, Simple, Sizes, InParagraph };
|
47
|
+
//# sourceMappingURL=AvatarFace.stories.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AvatarFace.stories.js","sourceRoot":"","sources":["../../../src/components/AvatarFace/AvatarFace.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAI9B,MAAM,IAAI,GAA0B;IAClC,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,4BAA4B;IACnC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,WAAW,EAAE,yBAAyB;SACvC;QACD,MAAM,EAAE;YACN,WAAW,EAAE,6CAA6C;SAC3D;KACF;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,UAAU,OAAK,IAAI,GAAI;CAC3C,CAAA;AAID,MAAM,KAAK,GAAU;IACnB,IAAI,EAAE,EAAE;CACT,CAAA;AAED,MAAM,MAAM,GAAU;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,OAAO;QACb,MAAM;KACP;CACF,CAAA;AAED,MAAM,KAAK,GAAU;IACnB,IAAI,EAAE;QACJ,MAAM;KACP;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAChB,8BACE,KAAC,UAAU,IAAC,IAAI,EAAC,MAAM,KAAK,IAAI,GAAI,EACpC,KAAC,UAAU,IAAC,IAAI,EAAC,OAAO,KAAK,IAAI,GAAI,EACrC,KAAC,UAAU,IAAC,IAAI,EAAC,QAAQ,KAAK,IAAI,GAAI,EACtC,KAAC,UAAU,IAAC,IAAI,EAAC,OAAO,KAAK,IAAI,GAAI,EACrC,KAAC,UAAU,IAAC,IAAI,EAAC,YAAY,KAAK,IAAI,GAAI,IACzC,CACJ;CACF,CAAA;AAED,MAAM,WAAW,GAAU;IACzB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE;QACJ,MAAM;QACN,MAAM,EAAE,IAAI;QACZ,IAAI,EAAE,MAAM;KACb;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAChB,MAAC,UAAU,sCACe,KAAC,IAAI,IAAC,MAAM,4BAAa,SAAI,GAAG,EACxD,KAAC,UAAU,OAAK,IAAI,GAAI,OAAC,sCAAuB,IACrC,CACd;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,CAAA"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { AvatarFaceProps } from "./AvatarFace.types";
|
3
|
+
declare const AvatarContainer: import("@emotion/styled").StyledComponent<{
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
6
|
+
} & Pick<AvatarFaceProps, "inline">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
7
|
+
declare const Avatar: import("@emotion/styled").StyledComponent<import("@mui/material").AvatarOwnProps & import("@mui/material").AvatarSlotsAndSlotProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
8
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
9
|
+
}, "className" | "children" | "style" | "classes" | "alt" | "imgProps" | "sizes" | "src" | "srcSet" | "sx" | "variant" | "slots" | "slotProps"> & {
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
11
|
+
} & Pick<AvatarFaceProps, "size">, {}, {}>;
|
12
|
+
export { AvatarContainer, Avatar };
|
@@ -0,0 +1,49 @@
|
|
1
|
+
import styled from "@emotion/styled";
|
2
|
+
import { Avatar as AvatarMui, useTheme } from "@mui/material";
|
3
|
+
const AvatarContainer = styled("div")((props) => {
|
4
|
+
return {
|
5
|
+
width: "inherit",
|
6
|
+
height: "inherit",
|
7
|
+
display: props.inline ? "inline-flex" : "flex",
|
8
|
+
alignItems: "center",
|
9
|
+
justifyContent: "center",
|
10
|
+
verticalAlign: "middle",
|
11
|
+
};
|
12
|
+
});
|
13
|
+
const Avatar = styled(AvatarMui)((props) => {
|
14
|
+
const theme = useTheme();
|
15
|
+
const size = {
|
16
|
+
width: "32px",
|
17
|
+
height: "32px",
|
18
|
+
};
|
19
|
+
if (props.size === "tiny") {
|
20
|
+
size.width = "20px";
|
21
|
+
size.height = "20px";
|
22
|
+
}
|
23
|
+
else if (props.size === "small") {
|
24
|
+
size.width = "32px";
|
25
|
+
size.height = "32px";
|
26
|
+
}
|
27
|
+
else if (props.size === "medium") {
|
28
|
+
size.width = "48px";
|
29
|
+
size.height = "48px";
|
30
|
+
}
|
31
|
+
else if (props.size === "large") {
|
32
|
+
size.width = "108px";
|
33
|
+
size.height = "108px";
|
34
|
+
}
|
35
|
+
else if (props.size === "responsive") {
|
36
|
+
size.width = "93px";
|
37
|
+
size.height = "93px";
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
backgroundColor: theme.palette.secondary.light,
|
41
|
+
...size,
|
42
|
+
"@media (min-width: 1200px)": props.size === "responsive" && {
|
43
|
+
width: "170px",
|
44
|
+
height: "170px",
|
45
|
+
},
|
46
|
+
};
|
47
|
+
});
|
48
|
+
export { AvatarContainer, Avatar };
|
49
|
+
//# sourceMappingURL=AvatarFace.styled.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AvatarFace.styled.js","sourceRoot":"","sources":["../../../src/components/AvatarFace/AvatarFace.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAG7D,MAAM,eAAe,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CACpC,KAAsC,EACtC,EAAE;IACF,OAAO;QACL,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM;QAC9C,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;QACxB,aAAa,EAAE,QAAQ;KACxB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,KAAoC,EAAE,EAAE;IACxE,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,MAAM,IAAI,GAAG;QACX,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf,CAAA;IAED,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE;QACzB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAA;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;KACrB;SAAM,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE;QACjC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAA;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;KACrB;SAAM,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE;QAClC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAA;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;KACrB;SAAM,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE;QACjC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAA;QACpB,IAAI,CAAC,MAAM,GAAG,OAAO,CAAA;KACtB;SAAM,IAAI,KAAK,CAAC,IAAI,KAAK,YAAY,EAAE;QACtC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAA;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;KACrB;IAED,OAAO;QACL,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK;QAC9C,GAAG,IAAI;QACP,4BAA4B,EAAE,KAAK,CAAC,IAAI,KAAK,YAAY,IAAI;YAC3D,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,OAAO;SAChB;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"AvatarFace.types.js","sourceRoot":"","sources":["../../../src/components/AvatarFace/AvatarFace.types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/AvatarFace/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import React from "react";
|
3
|
+
import SvgIcon from "@mui/material/SvgIcon";
|
4
|
+
const MuteIcon = React.memo((props) => {
|
5
|
+
return (_jsx(SvgIcon, { ...props, children: _jsx("svg", { width: "23", height: "18", viewBox: "0 0 23 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M9 4.22002L5.603 7.00002H2V11H5.603L9 13.78V4.22002ZM4.889 13H1C0.734784 13 0.48043 12.8947 0.292893 12.7071C0.105357 12.5196 0 12.2652 0 12V6.00002C0 5.73481 0.105357 5.48045 0.292893 5.29291C0.48043 5.10538 0.734784 5.00002 1 5.00002H4.889L10.183 0.668021C10.2563 0.607968 10.3451 0.569958 10.4391 0.558415C10.5331 0.546871 10.6284 0.56227 10.714 0.602819C10.7996 0.643367 10.872 0.707397 10.9226 0.787454C10.9732 0.867511 11.0001 0.960301 11 1.05502V16.945C11.0001 17.0397 10.9732 17.1325 10.9226 17.2126C10.872 17.2926 10.7996 17.3567 10.714 17.3972C10.6284 17.4378 10.5331 17.4532 10.4391 17.4416C10.3451 17.4301 10.2563 17.3921 10.183 17.332L4.89 13H4.889ZM19.414 9.00002L22.95 12.536L21.536 13.95L18 10.414L14.464 13.95L13.05 12.536L16.586 9.00002L13.05 5.46402L14.464 4.05002L18 7.58602L21.536 4.05002L22.95 5.46402L19.414 9.00002Z", fill: "#ECEBED" }) }) }));
|
6
|
+
});
|
7
|
+
export { MuteIcon };
|
8
|
+
//# sourceMappingURL=MuteIcon.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MuteIcon.js","sourceRoot":"","sources":["../../../../src/components/Icon/Emotes/MuteIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,OAAyB,MAAM,uBAAuB,CAAA;AAE7D,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAmB,EAAE,EAAE;IAClD,OAAO,CACL,KAAC,OAAO,OAAK,KAAK,YAChB,cACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,YAElC,eACE,CAAC,EAAC,y0BAAy0B,EAC30B,IAAI,EAAC,SAAS,GACd,GACE,GACE,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|