decentraland-ui2 1.1.4 → 1.1.5
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/dist/components/SceneCard/SceneCard.js +6 -6
- package/dist/components/SceneCard/SceneCard.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.types.d.ts +3 -0
- package/dist/components/ScenesTable/ScenesTable.js +3 -3
- package/dist/components/ScenesTable/ScenesTable.js.map +1 -1
- package/dist/components/ScenesTable/ScenesTable.types.d.ts +2 -0
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.js +4 -4
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.js.map +1 -1
- package/dist/components/ScenesTable/rows/ActionRow/ActionRow.types.d.ts +2 -0
- package/package.json +2 -2
|
@@ -7,19 +7,19 @@ import { LocationIcon } from "../Icon";
|
|
|
7
7
|
import { JumpIn } from "../JumpIn/JumpIn";
|
|
8
8
|
import { AvatarAndLocationRow, AvatarContainer, AvatarLink, AvatarTextContainer, BadgesContainer, CardContainer, ContentContainer, CornerBadgeContainer, JumpInButtonContainer, LeftBadge, LocationChip, LocationChipContainer, MediaContainer, RightBadge, SceneInfoContainer, SceneTitle, StyledCardActionArea, StyledCardContent, StyledCardMedia, } from "./SceneCard.styled";
|
|
9
9
|
const SceneCard = memo((props) => {
|
|
10
|
-
const { image, sceneName, avatar, coordinates, withShadow, cornerBadge, borderColor, leftBadge, rightBadge, showOnHover = [], } = props;
|
|
10
|
+
const { image, sceneName, avatar, coordinates, withShadow, cornerBadge, borderColor, leftBadge, rightBadge, showOnHover = [], onJumpInTrack, onClick, } = props;
|
|
11
11
|
const isWorld = coordinates?.includes(".eth.dcl");
|
|
12
12
|
const jumpInUrl = isWorld
|
|
13
13
|
? `https://decentraland.org/jump?realm=${coordinates}`
|
|
14
14
|
: `https://decentraland.org/jump?position=${coordinates}`;
|
|
15
15
|
const shouldShowOnHover = (element) => showOnHover.includes(element);
|
|
16
16
|
const hasVisibleButton = !shouldShowOnHover("jumpInButton");
|
|
17
|
-
return (_jsxs(CardContainer, { withShadow: withShadow, borderColor: borderColor, children: [cornerBadge && (_jsx(CornerBadgeContainer, { children: cornerBadge })), _jsxs(StyledCardActionArea, { hasVisibleButton: hasVisibleButton, children: [(leftBadge !== undefined || rightBadge !== undefined) && (_jsxs(BadgesContainer, { children: [leftBadge !== undefined && (_jsx(LeftBadge, { showOnHover: shouldShowOnHover("leftBadge"), children: _jsx(Box, { component: "span", children: leftBadge }) })), rightBadge !== undefined && (_jsx(RightBadge, { showOnHover: shouldShowOnHover("rightBadge"), children: _jsx(Box, { component: "span", children: rightBadge }) }))] })), _jsx(MediaContainer, { children: _jsx(StyledCardMedia, { image: image, shrinkOnHover: shouldShowOnHover("jumpInButton") }) }), _jsx(StyledCardContent, { children: _jsxs(ContentContainer, { children: [_jsxs(SceneInfoContainer, { children: [_jsx(SceneTitle, { children: _jsx(Typography, { variant: "h6", component: "div", gutterBottom: true, children: sceneName }) }), _jsxs(AvatarAndLocationRow, { children: [_jsxs(AvatarContainer, { showOnHover: shouldShowOnHover("avatar"), children: [_jsx(AvatarFace, { size: "small", avatar: avatar }), _jsx(AvatarTextContainer, { children: _jsxs(Typography, { variant: "body2", children: ["by", " ", _jsx(AvatarLink, { href: `https://decentraland.org/profile/accounts/${avatar?.ethAddress}`, children: avatar?.name })] }) })] }), coordinates && (_jsx(LocationChipContainer, { showOnHover: shouldShowOnHover("location"), children: _jsx(LocationChip, { label: coordinates, size: "small", icon: _jsx(LocationIcon, {}), onClick: () => {
|
|
17
|
+
return (_jsxs(CardContainer, { withShadow: withShadow, borderColor: borderColor, children: [cornerBadge && (_jsx(CornerBadgeContainer, { children: cornerBadge })), _jsxs(StyledCardActionArea, { hasVisibleButton: hasVisibleButton, onClick: onClick, children: [(leftBadge !== undefined || rightBadge !== undefined) && (_jsxs(BadgesContainer, { children: [leftBadge !== undefined && (_jsx(LeftBadge, { showOnHover: shouldShowOnHover("leftBadge"), children: _jsx(Box, { component: "span", children: leftBadge }) })), rightBadge !== undefined && (_jsx(RightBadge, { showOnHover: shouldShowOnHover("rightBadge"), children: _jsx(Box, { component: "span", children: rightBadge }) }))] })), _jsx(MediaContainer, { children: _jsx(StyledCardMedia, { image: image, shrinkOnHover: shouldShowOnHover("jumpInButton") }) }), _jsx(StyledCardContent, { children: _jsxs(ContentContainer, { children: [_jsxs(SceneInfoContainer, { children: [_jsx(SceneTitle, { children: _jsx(Typography, { variant: "h6", component: "div", gutterBottom: true, children: sceneName }) }), _jsxs(AvatarAndLocationRow, { children: [_jsxs(AvatarContainer, { showOnHover: shouldShowOnHover("avatar"), children: [_jsx(AvatarFace, { size: "small", avatar: avatar }), _jsx(AvatarTextContainer, { children: _jsxs(Typography, { variant: "body2", children: ["by", " ", _jsx(AvatarLink, { href: `https://decentraland.org/profile/accounts/${avatar?.ethAddress}`, children: avatar?.name })] }) })] }), coordinates && (_jsx(LocationChipContainer, { showOnHover: shouldShowOnHover("location"), children: _jsx(LocationChip, { label: coordinates, size: "small", icon: _jsx(LocationIcon, {}), onClick: () => {
|
|
18
18
|
window.open(jumpInUrl, "_blank");
|
|
19
|
-
} }) }))] })] }), _jsx(JumpInButtonContainer, { showOnHover: shouldShowOnHover("jumpInButton"), children: _jsx(JumpIn, { position: coordinates, variant: "button", modalProps: {
|
|
20
|
-
title: "Jump In",
|
|
21
|
-
description: "
|
|
22
|
-
buttonLabel: "
|
|
19
|
+
} }) }))] })] }), _jsx(JumpInButtonContainer, { showOnHover: shouldShowOnHover("jumpInButton"), children: _jsx(JumpIn, { position: coordinates, variant: "button", onTrack: onJumpInTrack, modalProps: {
|
|
20
|
+
title: "Download Decentraland to Jump In",
|
|
21
|
+
description: "Once you've installed and launched Decentraland, you can jump straight to the scene in-world!",
|
|
22
|
+
buttonLabel: "Download",
|
|
23
23
|
} }) })] }) })] })] }));
|
|
24
24
|
});
|
|
25
25
|
SceneCard.displayName = "SceneCard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SceneCard.js","sourceRoot":"","sources":["../../../src/components/SceneCard/SceneCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,UAAU,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEzC,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,UAAU,EACV,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,GAChB,MAAM,oBAAoB,CAAA;AAE3B,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,EACJ,KAAK,EACL,SAAS,EACT,MAAM,EACN,WAAW,EACX,UAAU,EACV,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EACV,WAAW,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"SceneCard.js","sourceRoot":"","sources":["../../../src/components/SceneCard/SceneCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,UAAU,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEzC,OAAO,EACL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B,IACpB,WAAW,EAAE,iBAAiB,CAAC,cAAc,CAAC,YAE9C,KAAC,MAAM,IACL,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,aAAa,EACtB,UAAU,EAAE;4CACV,KAAK,EAAE,kCAAkC;4CACzC,WAAW,EACT,+FAA+F;4CACjG,WAAW,EAAE,UAAU;yCACxB,GACD,GACoB,IACP,GACD,IACC,IACT,CACjB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAA;AAEnC,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { Avatar } from "@dcl/schemas";
|
|
3
|
+
import { JumpInTrackingData } from "../JumpIn/JumpIn.types";
|
|
3
4
|
type SceneCardHoverElement = "leftBadge" | "rightBadge" | "avatar" | "location" | "jumpInButton";
|
|
4
5
|
interface SceneCardProps {
|
|
5
6
|
image: string;
|
|
@@ -12,5 +13,7 @@ interface SceneCardProps {
|
|
|
12
13
|
leftBadge?: string | ReactNode;
|
|
13
14
|
rightBadge?: string | ReactNode;
|
|
14
15
|
showOnHover?: SceneCardHoverElement[];
|
|
16
|
+
onJumpInTrack?: (data: JumpInTrackingData) => void;
|
|
17
|
+
onClick?: () => void;
|
|
15
18
|
}
|
|
16
19
|
export type { SceneCardHoverElement, SceneCardProps };
|
|
@@ -3,7 +3,7 @@ import { memo, useMemo } from "react";
|
|
|
3
3
|
import { ActionRow, AvatarRow, LocationRow, SceneRow } from "./rows";
|
|
4
4
|
import { Table } from "../Table";
|
|
5
5
|
const ScenesTable = memo((props) => {
|
|
6
|
-
const { rows, headerVisible = true, onMobileRowClick } = props;
|
|
6
|
+
const { rows, headerVisible = true, onMobileRowClick, onJumpInTrack } = props;
|
|
7
7
|
const columns = useMemo(() => [
|
|
8
8
|
{
|
|
9
9
|
id: "scene",
|
|
@@ -28,9 +28,9 @@ const ScenesTable = memo((props) => {
|
|
|
28
28
|
id: "action",
|
|
29
29
|
header: "",
|
|
30
30
|
hideOnMobile: true,
|
|
31
|
-
render: (row) => (_jsx(ActionRow, { positionChange: row.positionChange, location: row.location })),
|
|
31
|
+
render: (row) => (_jsx(ActionRow, { positionChange: row.positionChange, location: row.location, onJumpInTrack: onJumpInTrack })),
|
|
32
32
|
},
|
|
33
|
-
], []);
|
|
33
|
+
], [onJumpInTrack]);
|
|
34
34
|
return (_jsx(Table, { columns: columns, rows: rows, headerVisible: headerVisible, onMobileRowClick: onMobileRowClick }));
|
|
35
35
|
});
|
|
36
36
|
ScenesTable.displayName = "ScenesTable";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScenesTable.js","sourceRoot":"","sources":["../../../src/components/ScenesTable/ScenesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACpE,OAAO,EAAU,KAAK,EAAE,MAAM,UAAU,CAAA;AAGxC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,KAAuB,EAAE,EAAE;IACnD,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,EAAE,gBAAgB,EAAE,GAAG,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"ScenesTable.js","sourceRoot":"","sources":["../../../src/components/ScenesTable/ScenesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACpE,OAAO,EAAU,KAAK,EAAE,MAAM,UAAU,CAAA;AAGxC,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,KAAuB,EAAE,EAAE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O,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA;AAEvC,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Avatar } from "@dcl/schemas";
|
|
2
|
+
import { JumpInTrackingData } from "../JumpIn/JumpIn.types";
|
|
2
3
|
type SceneRowData = {
|
|
3
4
|
key: string;
|
|
4
5
|
sceneName: string;
|
|
@@ -12,5 +13,6 @@ type ScenesTableProps = {
|
|
|
12
13
|
rows: SceneRowData[];
|
|
13
14
|
headerVisible?: boolean;
|
|
14
15
|
onMobileRowClick?: (row: SceneRowData, index: number) => void;
|
|
16
|
+
onJumpInTrack?: (data: JumpInTrackingData) => void;
|
|
15
17
|
};
|
|
16
18
|
export type { SceneRowData, ScenesTableProps };
|
|
@@ -5,13 +5,13 @@ import ArrowUpwardIcon from "@mui/icons-material/ArrowUpward";
|
|
|
5
5
|
import { JumpIn } from "../../../JumpIn";
|
|
6
6
|
import { ActionRowContainer, PositionChangeContainer, PositionContent, } from "./ActionRow.styled";
|
|
7
7
|
const ActionRow = memo((props) => {
|
|
8
|
-
const { positionChange, location } = props;
|
|
8
|
+
const { positionChange, location, onJumpInTrack } = props;
|
|
9
9
|
const hasPositionChange = positionChange !== undefined && positionChange !== 0;
|
|
10
10
|
const isPositive = positionChange !== undefined && positionChange > 0;
|
|
11
11
|
const ArrowIcon = isPositive ? ArrowUpwardIcon : ArrowDownwardIcon;
|
|
12
|
-
return (_jsxs(ActionRowContainer, { children: [hasPositionChange && (_jsx(PositionChangeContainer, { children: _jsxs(PositionContent, { isPositive: isPositive, children: [_jsx(ArrowIcon, { fontSize: "small" }), Math.abs(positionChange)] }) })), _jsx(JumpIn, { variant: "button", buttonProps: { className: "jump-in-button" }, modalProps: {
|
|
13
|
-
title: "Download Decentraland",
|
|
14
|
-
description: "
|
|
12
|
+
return (_jsxs(ActionRowContainer, { children: [hasPositionChange && (_jsx(PositionChangeContainer, { children: _jsxs(PositionContent, { isPositive: isPositive, children: [_jsx(ArrowIcon, { fontSize: "small" }), Math.abs(positionChange)] }) })), _jsx(JumpIn, { variant: "button", buttonProps: { className: "jump-in-button" }, onTrack: onJumpInTrack, modalProps: {
|
|
13
|
+
title: "Download Decentraland to Jump In",
|
|
14
|
+
description: "Once you've installed and launched Decentraland, you can jump straight to the scene in-world!",
|
|
15
15
|
buttonLabel: "Download",
|
|
16
16
|
}, desktopAppOptions: location.includes(".dcl")
|
|
17
17
|
? { realm: location }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionRow.js","sourceRoot":"","sources":["../../../../../src/components/ScenesTable/rows/ActionRow/ActionRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,iBAAiB,MAAM,mCAAmC,CAAA;AACjE,OAAO,eAAe,MAAM,iCAAiC,CAAA;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,GAChB,MAAM,oBAAoB,CAAA;AAE3B,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,KAAqB,EAAE,EAAE;IAC/C,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"ActionRow.js","sourceRoot":"","sources":["../../../../../src/components/ScenesTable/rows/ActionRow/ActionRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,iBAAiB,MAAM,mCAAmC,CAAA;AACjE,OAAO,eAAe,MAAM,iCAAiC,CAAA;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;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1
|
{
|
|
2
2
|
"name": "decentraland-ui2",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "Decentraland's UI components and styles",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"files": [
|
|
102
102
|
"dist"
|
|
103
103
|
],
|
|
104
|
-
"commit": "
|
|
104
|
+
"commit": "13b51aa94aee18c9b4dc2bb5e1bc678112e20dc6"
|
|
105
105
|
}
|