decentraland-ui2 1.4.0 → 1.4.1-23354493323.commit-131b47d
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/Badges/Badges.d.ts +4 -2
- package/dist/components/Badges/Badges.js +9 -3
- package/dist/components/Badges/Badges.js.map +1 -1
- package/dist/components/Badges/Badges.styled.d.ts +16 -1
- package/dist/components/Badges/Badges.styled.js +51 -2
- package/dist/components/Badges/Badges.styled.js.map +1 -1
- package/dist/components/Badges/Badges.types.d.ts +4 -1
- package/dist/components/Badges/index.d.ts +3 -2
- package/dist/components/Badges/index.js +2 -1
- package/dist/components/Badges/index.js.map +1 -1
- package/dist/components/EventCard/EventCard.d.ts +3 -0
- package/dist/components/EventCard/EventCard.js +29 -0
- package/dist/components/EventCard/EventCard.js.map +1 -0
- package/dist/components/EventCard/EventCard.stories.d.ts +13 -0
- package/dist/components/EventCard/EventCard.stories.js +101 -0
- package/dist/components/EventCard/EventCard.stories.js.map +1 -0
- package/dist/components/EventCard/EventCard.stories.styled.d.ts +7 -0
- package/dist/components/EventCard/EventCard.stories.styled.js +15 -0
- package/dist/components/EventCard/EventCard.stories.styled.js.map +1 -0
- package/dist/components/EventCard/EventCard.styled.d.ts +59 -0
- package/dist/components/EventCard/EventCard.styled.js +257 -0
- package/dist/components/EventCard/EventCard.styled.js.map +1 -0
- package/dist/components/EventCard/EventCard.types.d.ts +19 -0
- package/dist/components/EventCard/EventCard.types.js +2 -0
- package/dist/components/EventCard/EventCard.types.js.map +1 -0
- package/dist/components/EventCard/index.d.ts +2 -0
- package/dist/components/EventCard/index.js +2 -0
- package/dist/components/EventCard/index.js.map +1 -0
- package/dist/components/SceneCard/SceneCard.js +1 -1
- package/dist/components/SceneCard/SceneCard.stories.js +24 -115
- package/dist/components/SceneCard/SceneCard.stories.js.map +1 -1
- package/dist/components/SceneCard/SceneCard.stories.styled.d.ts +22 -0
- package/dist/components/SceneCard/SceneCard.stories.styled.js +48 -0
- package/dist/components/SceneCard/SceneCard.stories.styled.js.map +1 -0
- package/dist/components/ScenesTable/ScenesTable.stories.js +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { NumberBadgeProps, TextBadgeProps } from './Badges.types';
|
|
1
|
+
import { NumberBadgeProps, TextBadgeProps, UserCountBadgeProps } from './Badges.types';
|
|
2
2
|
declare const NumberBadge: import("react").MemoExoticComponent<({ value }: NumberBadgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
declare const TextBadge: import("react").MemoExoticComponent<({ text }: TextBadgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
|
|
4
|
+
declare const LiveBadge: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
5
|
+
declare const UserCountBadge: import("react").MemoExoticComponent<({ count }: UserCountBadgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
|
+
export { LiveBadge, NumberBadge, TextBadge, UserCountBadge };
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import PermIdentityRoundedIcon from '@mui/icons-material/PermIdentityRounded';
|
|
4
|
+
import SensorsRoundedIcon from '@mui/icons-material/SensorsRounded';
|
|
5
|
+
import { LiveBadgeWrapper, NumberBadgeInner, NumberBadgeWrapper, TextBadgeLabel, TextBadgeWrapper, UserCountBadgeWrapper, UserCountDot } from './Badges.styled';
|
|
4
6
|
const NumberBadge = memo(({ value }) => (_jsx(NumberBadgeWrapper, { children: _jsx(NumberBadgeInner, { children: value }) })));
|
|
5
7
|
NumberBadge.displayName = 'NumberBadge';
|
|
6
8
|
const TextBadge = memo(({ text }) => (_jsx(TextBadgeWrapper, { children: _jsx(TextBadgeLabel, { children: text }) })));
|
|
7
9
|
TextBadge.displayName = 'TextBadge';
|
|
8
|
-
|
|
10
|
+
const LiveBadge = memo(() => (_jsxs(LiveBadgeWrapper, { children: [_jsx(SensorsRoundedIcon, { sx: { fontSize: 14 } }), "LIVE"] })));
|
|
11
|
+
LiveBadge.displayName = 'LiveBadge';
|
|
12
|
+
const UserCountBadge = memo(({ count }) => (_jsxs(UserCountBadgeWrapper, { children: [_jsx(UserCountDot, {}), _jsx(PermIdentityRoundedIcon, { sx: { fontSize: 14 } }), count] })));
|
|
13
|
+
UserCountBadge.displayName = 'UserCountBadge';
|
|
14
|
+
export { LiveBadge, NumberBadge, TextBadge, UserCountBadge };
|
|
9
15
|
//# sourceMappingURL=Badges.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badges.js","sourceRoot":"","sources":["../../../src/components/Badges/Badges.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Badges.js","sourceRoot":"","sources":["../../../src/components/Badges/Badges.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,uBAAuB,MAAM,yCAAyC,CAAA;AAC7E,OAAO,kBAAkB,MAAM,oCAAoC,CAAA;AAEnE,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACb,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,EAAE,KAAK,EAAoB,EAAE,EAAE,CAAC,CACxD,KAAC,kBAAkB,cACjB,KAAC,gBAAgB,cAAE,KAAK,GAAoB,GACzB,CACtB,CAAC,CAAA;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA;AAEvC,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,EAAE,IAAI,EAAkB,EAAE,EAAE,CAAC,CACnD,KAAC,gBAAgB,cACf,KAAC,cAAc,cAAE,IAAI,GAAkB,GACtB,CACpB,CAAC,CAAA;AAEF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAA;AAEnC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,CAC3B,MAAC,gBAAgB,eACf,KAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAI,YAE3B,CACpB,CAAC,CAAA;AAEF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAA;AAEnC,MAAM,cAAc,GAAG,IAAI,CAAC,CAAC,EAAE,KAAK,EAAuB,EAAE,EAAE,CAAC,CAC9D,MAAC,qBAAqB,eACpB,KAAC,YAAY,KAAG,EAChB,KAAC,uBAAuB,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAI,EAChD,KAAK,IACgB,CACzB,CAAC,CAAA;AAEF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAA;AAE7C,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -10,4 +10,19 @@ declare const TextBadgeWrapper: import("@emotion/styled").StyledComponent<import
|
|
|
10
10
|
declare const TextBadgeLabel: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
12
12
|
}, "typography" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
|
-
|
|
13
|
+
declare const LiveBadgeWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
+
declare const LiveBadgeDot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
18
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
19
|
+
declare const UserCountBadgeWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
20
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
22
|
+
declare const UserCountDot: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
23
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
24
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
25
|
+
declare const BadgeGroup: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
27
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
28
|
+
export { BadgeGroup, LiveBadgeDot, LiveBadgeWrapper, NumberBadgeInner, NumberBadgeWrapper, TextBadgeLabel, TextBadgeWrapper, UserCountBadgeWrapper, UserCountDot };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { styled } from '@mui/material/styles';
|
|
1
|
+
import { keyframes, styled } from '@mui/material/styles';
|
|
2
2
|
import { Box, Typography } from '@mui/material';
|
|
3
3
|
import { gradient } from '../../theme/colors';
|
|
4
4
|
const NumberBadgeWrapper = styled(Box)(({ theme }) => ({
|
|
@@ -47,5 +47,54 @@ const TextBadgeLabel = styled(Typography)(({ theme }) => ({
|
|
|
47
47
|
fontSize: 14
|
|
48
48
|
}
|
|
49
49
|
}));
|
|
50
|
-
|
|
50
|
+
const pulse = keyframes({
|
|
51
|
+
'0%, 100%': { opacity: 1 },
|
|
52
|
+
'50%': { opacity: 0.4 }
|
|
53
|
+
});
|
|
54
|
+
const LiveBadgeWrapper = styled(Box)(({ theme }) => ({
|
|
55
|
+
display: 'flex',
|
|
56
|
+
alignItems: 'center',
|
|
57
|
+
gap: theme.spacing(0.5),
|
|
58
|
+
height: 26,
|
|
59
|
+
padding: theme.spacing(0, 1.5),
|
|
60
|
+
backgroundColor: theme.palette.error.main,
|
|
61
|
+
color: theme.palette.common.white,
|
|
62
|
+
borderRadius: theme.spacing(1),
|
|
63
|
+
fontSize: theme.typography.caption.fontSize,
|
|
64
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
65
|
+
textTransform: 'uppercase',
|
|
66
|
+
lineHeight: 1
|
|
67
|
+
}));
|
|
68
|
+
const LiveBadgeDot = styled(Box)({
|
|
69
|
+
width: 8,
|
|
70
|
+
height: 8,
|
|
71
|
+
borderRadius: '50%',
|
|
72
|
+
backgroundColor: 'currentColor',
|
|
73
|
+
animation: `${pulse} 1.5s ease-in-out infinite`
|
|
74
|
+
});
|
|
75
|
+
const UserCountBadgeWrapper = styled(Box)(({ theme }) => ({
|
|
76
|
+
display: 'flex',
|
|
77
|
+
alignItems: 'center',
|
|
78
|
+
gap: theme.spacing(0.75),
|
|
79
|
+
height: 26,
|
|
80
|
+
padding: theme.spacing(0, 1.5),
|
|
81
|
+
backgroundColor: theme.palette.background.default,
|
|
82
|
+
color: theme.palette.text.primary,
|
|
83
|
+
borderRadius: theme.spacing(1),
|
|
84
|
+
fontSize: theme.typography.caption.fontSize,
|
|
85
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
86
|
+
lineHeight: 1
|
|
87
|
+
}));
|
|
88
|
+
const UserCountDot = styled(Box)(({ theme }) => ({
|
|
89
|
+
width: 8,
|
|
90
|
+
height: 8,
|
|
91
|
+
borderRadius: '50%',
|
|
92
|
+
backgroundColor: theme.palette.success.main
|
|
93
|
+
}));
|
|
94
|
+
const BadgeGroup = styled(Box)(({ theme }) => ({
|
|
95
|
+
display: 'flex',
|
|
96
|
+
alignItems: 'center',
|
|
97
|
+
gap: theme.spacing(1)
|
|
98
|
+
}));
|
|
99
|
+
export { BadgeGroup, LiveBadgeDot, LiveBadgeWrapper, NumberBadgeInner, NumberBadgeWrapper, TextBadgeLabel, TextBadgeWrapper, UserCountBadgeWrapper, UserCountDot };
|
|
51
100
|
//# sourceMappingURL=Badges.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badges.styled.js","sourceRoot":"","sources":["../../../src/components/Badges/Badges.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"Badges.styled.js","sourceRoot":"","sources":["../../../src/components/Badges/Badges.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAE7C,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACrD,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9B,UAAU,EAAE,QAAQ,CAAC,KAAK;IAC1B,OAAO,EAAE,CAAC;IACV,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,KAAK,EAAE,EAAE;QACT,MAAM,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CAAC,CAAA;AAEH,OAAO,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,YAAY,EACb,CAAA"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { NumberBadge, TextBadge } from './Badges';
|
|
2
|
-
export
|
|
1
|
+
export { LiveBadge, NumberBadge, TextBadge, UserCountBadge } from './Badges';
|
|
2
|
+
export { BadgeGroup } from './Badges.styled';
|
|
3
|
+
export type { NumberBadgeProps, TextBadgeProps, UserCountBadgeProps } from './Badges.types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Badges/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Badges/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo, useCallback } from 'react';
|
|
3
|
+
import Typography from '@mui/material/Typography';
|
|
4
|
+
import { Box, Button } from '@mui/material';
|
|
5
|
+
import { AvatarFace } from '../AvatarFace';
|
|
6
|
+
import { JumpInIcon, LocationIcon } from '../Icon';
|
|
7
|
+
import { AvatarAndLocationRow, AvatarContainer, AvatarLink, AvatarTextContainer, BadgesContainer, EventCardActionArea, EventCardContainer, EventCardContent, EventCardMedia, EventMediaContainer, JumpInButtonContainer, LeftBadge, LocationChip, LocationChipContainer, SceneInfoContainer, SceneTitle } from './EventCard.styled';
|
|
8
|
+
const EventCard = memo((props) => {
|
|
9
|
+
const { image, sceneName, avatar, coordinates, withShadow, leftBadge, leftBadgeTransparent = false, onClick, redirectToAuth = false, hideLocation = false } = props;
|
|
10
|
+
const isWorld = coordinates?.includes('.dcl.eth');
|
|
11
|
+
const jumpInUrl = isWorld ? `https://decentraland.org/jump?realm=${coordinates}` : `https://decentraland.org/jump?position=${coordinates}`;
|
|
12
|
+
const handleCardClick = useCallback(() => {
|
|
13
|
+
if (onClick) {
|
|
14
|
+
onClick();
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if (redirectToAuth) {
|
|
18
|
+
window.location.href = '/auth';
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (coordinates) {
|
|
22
|
+
window.open(jumpInUrl, '_blank');
|
|
23
|
+
}
|
|
24
|
+
}, [onClick, redirectToAuth, coordinates, jumpInUrl]);
|
|
25
|
+
return (_jsx(EventCardContainer, { withShadow: withShadow, children: _jsxs(EventCardActionArea, { onClick: handleCardClick, children: [leftBadge !== undefined && (_jsx(BadgesContainer, { children: _jsx(LeftBadge, { transparent: leftBadgeTransparent, children: _jsx(Box, { component: "span", children: leftBadge }) }) })), _jsx(EventMediaContainer, { children: _jsx(EventCardMedia, { image: image }) }), _jsxs(EventCardContent, { children: [_jsxs(SceneInfoContainer, { children: [_jsx(SceneTitle, { children: _jsx(Typography, { variant: "h6", component: "div", gutterBottom: true, children: sceneName }) }), _jsxs(AvatarAndLocationRow, { children: [_jsxs(AvatarContainer, { 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 && !hideLocation && (_jsx(LocationChipContainer, { children: _jsx(LocationChip, { label: coordinates, size: "small", icon: _jsx(LocationIcon, {}) }) }))] })] }), _jsx(JumpInButtonContainer, { children: _jsxs(Button, { variant: "contained", size: "small", fullWidth: true, sx: { borderRadius: 2 }, children: [_jsx("span", { children: "Jump In" }), _jsx(JumpInIcon, { sx: { marginLeft: 1 } })] }) })] })] }) }));
|
|
26
|
+
});
|
|
27
|
+
EventCard.displayName = 'EventCard';
|
|
28
|
+
export { EventCard };
|
|
29
|
+
//# sourceMappingURL=EventCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCard.js","sourceRoot":"","sources":["../../../src/components/EventCard/EventCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,UAAU,MAAM,0BAA0B,CAAA;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAElD,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,UAAU,EACX,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,SAAS,EACT,oBAAoB,GAAG,KAAK,EAC5B,OAAO,EACP,cAAc,GAAG,KAAK,EACtB,YAAY,GAAG,KAAK,EACrB,GAAG,KAAK,CAAA;IAET,MAAM,OAAO,GAAG,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;IACjD,MAAM,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,uCAAuC,WAAW,EAAE,CAAC,CAAC,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,GACO,IACN,EACjB,WAAW,IAAI,CAAC,YAAY,IAAI,CAC/B,KAAC,qBAAqB,cACpB,KAAC,YAAY,IAAC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAC,OAAO,EAAC,IAAI,EAAE,KAAC,YAAY,KAAG,GAAI,GACnD,CACzB,IACoB,IACJ,EACrB,KAAC,qBAAqB,cACpB,MAAC,MAAM,IAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,OAAO,EAAC,SAAS,QAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,aACxE,qCAAoB,EACpB,KAAC,UAAU,IAAC,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,GAAI,IAC9B,GACa,IACP,IACC,GACH,CACtB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAA;AAEnC,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventCard } from './EventCard';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof EventCard>;
|
|
4
|
+
type Story = StoryObj<typeof EventCard>;
|
|
5
|
+
declare const Default: Story;
|
|
6
|
+
declare const WithRedirectToAuth: Story;
|
|
7
|
+
declare const OneCard: Story;
|
|
8
|
+
declare const TwoCards: Story;
|
|
9
|
+
declare const ThreeCards: Story;
|
|
10
|
+
declare const CardQuantities: Story;
|
|
11
|
+
declare const Multiline: Story;
|
|
12
|
+
export default meta;
|
|
13
|
+
export { Default, WithRedirectToAuth, OneCard, TwoCards, ThreeCards, CardQuantities, Multiline };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { EventCard } from './EventCard';
|
|
3
|
+
import sceneThumbnail from '../../Assets/scene-thumbnail.png';
|
|
4
|
+
import { BadgeGroup, LiveBadge, UserCountBadge } from '../Badges';
|
|
5
|
+
import { StoryRow, StorySection } from './EventCard.stories.styled';
|
|
6
|
+
const exampleAvatar = {
|
|
7
|
+
hasClaimedName: true,
|
|
8
|
+
description: '',
|
|
9
|
+
tutorialStep: 256,
|
|
10
|
+
name: 'alelevyyyy',
|
|
11
|
+
userId: '0xe3fc7040653768efb2941a6c26fdb868ed36ca99',
|
|
12
|
+
email: '',
|
|
13
|
+
ethAddress: '0xe3fc7040653768efb2941a6c26fdb868ed36ca99',
|
|
14
|
+
version: 5,
|
|
15
|
+
avatar: {
|
|
16
|
+
bodyShape: 'urn:decentraland:off-chain:base-avatars:BaseFemale',
|
|
17
|
+
wearables: [
|
|
18
|
+
'urn:decentraland:off-chain:base-avatars:black_top',
|
|
19
|
+
'urn:decentraland:off-chain:base-avatars:kilt',
|
|
20
|
+
'urn:decentraland:off-chain:base-avatars:SchoolShoes',
|
|
21
|
+
'urn:decentraland:off-chain:base-avatars:matrix_sunglasses',
|
|
22
|
+
'urn:decentraland:off-chain:base-avatars:thunder_02_earring',
|
|
23
|
+
'urn:decentraland:off-chain:base-avatars:hair_undere',
|
|
24
|
+
'urn:decentraland:off-chain:base-avatars:f_eyes_06'
|
|
25
|
+
],
|
|
26
|
+
forceRender: [],
|
|
27
|
+
emotes: [
|
|
28
|
+
{ slot: 0, urn: 'handsair' },
|
|
29
|
+
{ slot: 1, urn: 'wave' },
|
|
30
|
+
{ slot: 2, urn: 'fistpump' },
|
|
31
|
+
{ slot: 3, urn: 'dance' },
|
|
32
|
+
{ slot: 4, urn: 'raiseHand' },
|
|
33
|
+
{ slot: 5, urn: 'clap' },
|
|
34
|
+
{ slot: 6, urn: 'money' },
|
|
35
|
+
{ slot: 7, urn: 'kiss' },
|
|
36
|
+
{ slot: 8, urn: 'headexplode' },
|
|
37
|
+
{ slot: 9, urn: 'shrug' }
|
|
38
|
+
],
|
|
39
|
+
snapshots: {
|
|
40
|
+
face256: 'https://profile-images.decentraland.org/entities/bafkreietha7mzh7q3lk4j236vut2znwqhbiapihg46p6yrv3j4lbwlzd34/face.png',
|
|
41
|
+
body: 'https://profile-images.decentraland.org/entities/bafkreietha7mzh7q3lk4j236vut2znwqhbiapihg46p6yrv3j4lbwlzd34/body.png'
|
|
42
|
+
},
|
|
43
|
+
eyes: { color: { r: 0.2235294133424759, g: 0.48627451062202454, b: 0.6901960968971252 } },
|
|
44
|
+
hair: { color: { r: 0.32549020648002625, g: 0.2352941334247589, b: 0.1764705926179886 } },
|
|
45
|
+
skin: { color: { r: 0.9490196108818054, g: 0.7607843279838562, b: 0.6470588445663452 } }
|
|
46
|
+
},
|
|
47
|
+
blocked: [],
|
|
48
|
+
interests: [],
|
|
49
|
+
hasConnectedWeb3: true,
|
|
50
|
+
country: '',
|
|
51
|
+
employmentStatus: '',
|
|
52
|
+
gender: '',
|
|
53
|
+
pronouns: '',
|
|
54
|
+
relationshipStatus: '',
|
|
55
|
+
sexualOrientation: '',
|
|
56
|
+
language: '',
|
|
57
|
+
profession: '',
|
|
58
|
+
realName: '',
|
|
59
|
+
hobbies: '',
|
|
60
|
+
birthdate: 0,
|
|
61
|
+
links: []
|
|
62
|
+
};
|
|
63
|
+
const meta = {
|
|
64
|
+
title: 'Decentraland UI/Cards/Event Card',
|
|
65
|
+
component: EventCard,
|
|
66
|
+
parameters: {
|
|
67
|
+
layout: 'padded'
|
|
68
|
+
},
|
|
69
|
+
tags: ['autodocs'],
|
|
70
|
+
argTypes: {
|
|
71
|
+
image: {
|
|
72
|
+
description: 'Image URL',
|
|
73
|
+
control: 'text'
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const Default = {
|
|
78
|
+
render: () => (_jsx(EventCard, { image: sceneThumbnail, sceneName: "Event Title", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }))
|
|
79
|
+
};
|
|
80
|
+
const WithRedirectToAuth = {
|
|
81
|
+
render: () => (_jsx(EventCard, { image: sceneThumbnail, sceneName: "Event With Auth Redirect", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true, redirectToAuth: true }))
|
|
82
|
+
};
|
|
83
|
+
const OneCard = {
|
|
84
|
+
render: () => (_jsx(StoryRow, { children: _jsx(EventCard, { image: sceneThumbnail, sceneName: "Single Event Card", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }) }))
|
|
85
|
+
};
|
|
86
|
+
const TwoCards = {
|
|
87
|
+
render: () => (_jsxs(StoryRow, { children: [_jsx(EventCard, { image: sceneThumbnail, sceneName: "Live Music Festival", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "Art Gallery Opening", coordinates: "10,15", avatar: exampleAvatar, withShadow: true, leftBadge: _jsx(UserCountBadge, { count: 12 }), leftBadgeTransparent: true })] }))
|
|
88
|
+
};
|
|
89
|
+
const ThreeCards = {
|
|
90
|
+
render: () => (_jsxs(StoryRow, { children: [_jsx(EventCard, { image: sceneThumbnail, sceneName: "Live Music Festival", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "Art Gallery Opening", coordinates: "10,15", avatar: exampleAvatar, withShadow: true, leftBadge: _jsx(UserCountBadge, { count: 12 }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "Upcoming Community Meetup", coordinates: "0,0", avatar: exampleAvatar, withShadow: true })] }))
|
|
91
|
+
};
|
|
92
|
+
const CardQuantities = {
|
|
93
|
+
render: () => (_jsxs(StorySection, { children: [_jsx(StoryRow, { children: _jsx(EventCard, { image: sceneThumbnail, sceneName: "Single Card", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }) }), _jsxs(StoryRow, { children: [_jsx(EventCard, { image: sceneThumbnail, sceneName: "Two Cards - First", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "Two Cards - Second", coordinates: "10,15", avatar: exampleAvatar, withShadow: true, leftBadge: _jsx(UserCountBadge, { count: 12 }), leftBadgeTransparent: true })] }), _jsxs(StoryRow, { children: [_jsx(EventCard, { image: sceneThumbnail, sceneName: "Three Cards - First", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "Three Cards - Second", coordinates: "10,15", avatar: exampleAvatar, withShadow: true, leftBadge: _jsx(UserCountBadge, { count: 12 }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "Three Cards - Third", coordinates: "0,0", avatar: exampleAvatar, withShadow: true })] })] }))
|
|
94
|
+
};
|
|
95
|
+
const Multiline = {
|
|
96
|
+
render: () => (_jsxs(StoryRow, { children: [_jsx(EventCard, { image: sceneThumbnail, sceneName: "Short Title", coordinates: "24,24", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 24 })] }), leftBadgeTransparent: true }), _jsx(EventCard, { image: sceneThumbnail, sceneName: "This Is A Much Longer Event Title That Wraps To Two Lines", coordinates: "10,15", avatar: exampleAvatar, withShadow: true, leftBadge: _jsxs(BadgeGroup, { children: [_jsx(LiveBadge, {}), _jsx(UserCountBadge, { count: 8 })] }), leftBadgeTransparent: true })] }))
|
|
97
|
+
};
|
|
98
|
+
// eslint-disable-next-line import/no-default-export
|
|
99
|
+
export default meta;
|
|
100
|
+
export { Default, WithRedirectToAuth, OneCard, TwoCards, ThreeCards, CardQuantities, Multiline };
|
|
101
|
+
//# sourceMappingURL=EventCard.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCard.stories.js","sourceRoot":"","sources":["../../../src/components/EventCard/EventCard.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,cAAc,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AACjE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAGnE,MAAM,aAAa,GAAW;IAC5B,cAAc,EAAE,IAAI;IACpB,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,GAAG;IACjB,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,4CAA4C;IACpD,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,4CAA4C;IACxD,OAAO,EAAE,CAAC;IACV,MAAM,EAAE;QACN,SAAS,EAAE,oDAAoD;QAC/D,SAAS,EAAE;YACT,mDAAmD;YACnD,8CAA8C;YAC9C,qDAAqD;YACrD,2DAA2D;YAC3D,4DAA4D;YAC5D,qDAAqD;YACrD,mDAAmD;SACpD;QACD,WAAW,EAAE,EAAE;QACf,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,CAAC,E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CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const StorySection: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
4
|
+
declare const StoryRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
|
+
export { StoryRow, StorySection };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Box, styled } from '@mui/material';
|
|
2
|
+
const StorySection = styled(Box)(({ theme }) => ({
|
|
3
|
+
display: 'flex',
|
|
4
|
+
flexDirection: 'column',
|
|
5
|
+
gap: theme.spacing(4),
|
|
6
|
+
width: '100%'
|
|
7
|
+
}));
|
|
8
|
+
const StoryRow = styled(Box)(({ theme }) => ({
|
|
9
|
+
display: 'grid',
|
|
10
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(400px, 1fr))',
|
|
11
|
+
gap: theme.spacing(3),
|
|
12
|
+
width: '100%'
|
|
13
|
+
}));
|
|
14
|
+
export { StoryRow, StorySection };
|
|
15
|
+
//# sourceMappingURL=EventCard.stories.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCard.stories.styled.js","sourceRoot":"","sources":["../../../src/components/EventCard/EventCard.stories.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/C,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IACrB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC,CAAA;AAEH,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3C,OAAO,EAAE,MAAM;IACf,mBAAmB,EAAE,sCAAsC;IAC3D,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IACrB,KAAK,EAAE,MAAM;CACd,CAAC,CAAC,CAAA;AAEH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
declare const EventCardContainer: import("@emotion/styled").StyledComponent<import("@mui/material").CardOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
+
}, "elevation" | "className" | "style" | "classes" | "children" | "square" | "sx" | "variant" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
4
|
+
withShadow?: boolean;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
declare const EventCardActionArea: import("@emotion/styled").StyledComponent<import("@mui/material").CardActionAreaOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
8
|
+
}, "disabled" | "className" | "style" | "classes" | "children" | "sx" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
9
|
+
declare const EventMediaContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
12
|
+
declare const EventCardMedia: import("@emotion/styled").StyledComponent<import("@mui/material").CardMediaOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
13
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
14
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "image" | "src"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
15
|
+
imageHeight?: number;
|
|
16
|
+
hoverHeight?: number;
|
|
17
|
+
}, {}, {}>;
|
|
18
|
+
declare const EventCardContent: import("@emotion/styled").StyledComponent<import("@mui/material").CardContentOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
19
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
20
|
+
}, "className" | "style" | "classes" | "children" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
21
|
+
declare const BadgesContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
24
|
+
declare const LeftBadge: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
26
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
27
|
+
transparent?: boolean;
|
|
28
|
+
}, {}, {}>;
|
|
29
|
+
declare const SceneTitle: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
30
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
31
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
32
|
+
declare const ContentContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
33
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
34
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
35
|
+
declare const AvatarContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
36
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
37
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
38
|
+
declare const AvatarTextContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
39
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
40
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
41
|
+
declare const AvatarLink: import("@emotion/styled").StyledComponent<import("@mui/material").LinkOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
42
|
+
ref?: ((instance: HTMLAnchorElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
|
|
43
|
+
}, "typography" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "TypographyClasses" | "underline"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
44
|
+
declare const AvatarAndLocationRow: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
45
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
46
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
47
|
+
declare const LocationChipContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
48
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
49
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
50
|
+
declare const LocationChip: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
51
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
52
|
+
}, "disabled" | "icon" | "color" | "className" | "style" | "classes" | "children" | "sx" | "variant" | "label" | "tabIndex" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
53
|
+
declare const JumpInButtonContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
54
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
55
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
56
|
+
declare const SceneInfoContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
57
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
58
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
59
|
+
export { AvatarAndLocationRow, AvatarContainer, AvatarLink, AvatarTextContainer, BadgesContainer, ContentContainer, EventCardActionArea, EventCardContainer, EventCardContent, EventCardMedia, EventMediaContainer, JumpInButtonContainer, LeftBadge, LocationChip, LocationChipContainer, SceneInfoContainer, SceneTitle };
|