decentraland-ui2 3.23.1 → 3.23.2-35087771092.commit-c70336f
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/Notifications/NotificationItem/NotificationItem.js +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItem.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.d.ts +9 -2
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js +47 -5
- package/dist/components/Notifications/NotificationItem/NotificationItem.styled.js.map +1 -1
- package/dist/components/Notifications/NotificationItem/NotificationItem.types.d.ts +1 -0
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js +2 -2
- package/dist/components/Notifications/NotificationItem/NotificationItemText.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Land/LandRentedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js.map +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js +1 -1
- package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js.map +1 -1
- package/dist/config/env/dev.json +0 -1
- package/dist/config/env/prod.json +0 -1
- package/dist/config/env/stg.json +0 -1
- package/package.json +2 -2
|
@@ -6,9 +6,9 @@ import { NewNotificationIcon } from '../../Icon';
|
|
|
6
6
|
import { NotificationItemImage } from '../NotificationItemImage';
|
|
7
7
|
import { NotificationItemContainer, NotificationItemContent, NotificationItemImageContainer, NotificationItemTimestamp } from './NotificationItem.styled';
|
|
8
8
|
const NotificationItem = React.memo((props) => {
|
|
9
|
-
const { image, imageBackgroundColor, badgeIcon, timestamp, isNew, children, locale } = props;
|
|
9
|
+
const { image, imageBackgroundColor, badgeIcon, timestamp, isNew, children, locale, clickable } = props;
|
|
10
10
|
const usedLocale = locale === 'en' ? enUS : locale === 'es' ? es : zhCN;
|
|
11
|
-
return (_jsxs(NotificationItemContainer, { children: [_jsx(NotificationItemImageContainer, { children: _jsx(NotificationItemImage, { image: image, imageBackgroundColor: imageBackgroundColor, badgeIcon: badgeIcon }) }), _jsxs(NotificationItemContent, { children: [children, _jsx(NotificationItemTimestamp, { children: formatDistanceToNow(timestamp, { locale: usedLocale }) })] }), isNew && _jsx(NewNotificationIcon, { fontStyle: 12 })] }));
|
|
11
|
+
return (_jsxs(NotificationItemContainer, { clickable: clickable, children: [_jsx(NotificationItemImageContainer, { children: _jsx(NotificationItemImage, { image: image, imageBackgroundColor: imageBackgroundColor, badgeIcon: badgeIcon }) }), _jsxs(NotificationItemContent, { children: [children, _jsx(NotificationItemTimestamp, { children: formatDistanceToNow(timestamp, { locale: usedLocale }) })] }), isNew && _jsx(NewNotificationIcon, { fontStyle: 12 })] }));
|
|
12
12
|
});
|
|
13
13
|
export { NotificationItem };
|
|
14
14
|
//# sourceMappingURL=NotificationItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationItem.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationItem/NotificationItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,8BAA8B,EAC9B,yBAAyB,EAC1B,MAAM,2BAA2B,CAAA;AAElC,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAqD,EAAE,EAAE;IAC5F,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationItem.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationItem/NotificationItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAEhE,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACvB,8BAA8B,EAC9B,yBAAyB,EAC1B,MAAM,2BAA2B,CAAA;AAElC,MAAM,gBAAgB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAqD,EAAE,EAAE;IAC5F,MAAM,EAAE,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAA;IACvG,MAAM,UAAU,GAAG,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAA;IAEvE,OAAO,CACL,MAAC,yBAAyB,IAAC,SAAS,EAAE,SAAS,aAC7C,KAAC,8BAA8B,cAC7B,KAAC,qBAAqB,IAAC,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,EAAE,SAAS,GAAI,GAC1E,EACjC,MAAC,uBAAuB,eACrB,QAAQ,EACT,KAAC,yBAAyB,cAAE,mBAAmB,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,GAA6B,IACvF,EACzB,KAAK,IAAI,KAAC,mBAAmB,IAAC,SAAS,EAAE,EAAE,GAAI,IACtB,CAC7B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const NotificationItemContainer: import("@emotion/styled").StyledComponent<{
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
as?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
clickable?: boolean;
|
|
4
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
7
|
declare const NotificationItemImageContainer: import("@emotion/styled").StyledComponent<{
|
|
6
8
|
theme?: import("@emotion/react").Theme;
|
|
@@ -20,11 +22,16 @@ declare const NotificationItemTitle: import("@emotion/styled").StyledComponent<i
|
|
|
20
22
|
}, "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"> & {
|
|
21
23
|
theme?: import("@emotion/react").Theme;
|
|
22
24
|
}, {}, {}>;
|
|
23
|
-
declare const
|
|
25
|
+
declare const NotificationItemTitleLink: import("@emotion/styled").StyledComponent<import("@mui/material").LinkOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
24
26
|
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;
|
|
25
27
|
}, "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"> & {
|
|
26
28
|
theme?: import("@emotion/react").Theme;
|
|
27
29
|
}, {}, {}>;
|
|
30
|
+
declare const NotificationItemDescription: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
31
|
+
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;
|
|
32
|
+
}, "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"> & {
|
|
33
|
+
theme?: import("@emotion/react").Theme;
|
|
34
|
+
}, {}, {}>;
|
|
28
35
|
declare const NotificationItemCountdown: import("@emotion/styled").StyledComponent<{
|
|
29
36
|
theme?: import("@emotion/react").Theme;
|
|
30
37
|
as?: React.ElementType;
|
|
@@ -33,4 +40,4 @@ declare const SpanHighlighted: import("@emotion/styled").StyledComponent<{
|
|
|
33
40
|
theme?: import("@emotion/react").Theme;
|
|
34
41
|
as?: React.ElementType;
|
|
35
42
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
36
|
-
export { NotificationItemContainer, NotificationItemContent, NotificationItemCountdown, NotificationItemDescription, NotificationItemImageContainer, NotificationItemTimestamp, NotificationItemTitle, SpanHighlighted };
|
|
43
|
+
export { NotificationItemContainer, NotificationItemContent, NotificationItemCountdown, NotificationItemDescription, NotificationItemImageContainer, NotificationItemTimestamp, NotificationItemTitle, NotificationItemTitleLink, SpanHighlighted };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
import { Link, Typography } from '@mui/material';
|
|
3
3
|
import { neutral } from '../../../theme/colors';
|
|
4
|
-
|
|
4
|
+
/* A row that has somewhere to go marks itself as the positioning context for the stretched link
|
|
5
|
+
below, and answers to the pointer. One that does not stays inert, because most notification
|
|
6
|
+
types (credits reminders, rewards, streaming keys) carry no destination at all. */
|
|
7
|
+
const NotificationItemContainer = styled('div', {
|
|
8
|
+
shouldForwardProp: prop => prop !== 'clickable'
|
|
9
|
+
})(({ theme, clickable }) => ({
|
|
5
10
|
display: 'flex',
|
|
6
11
|
flexDirection: 'row',
|
|
7
12
|
alignItems: 'center',
|
|
@@ -10,7 +15,14 @@ const NotificationItemContainer = styled('div')(({ theme }) => ({
|
|
|
10
15
|
gap: '16px',
|
|
11
16
|
'&:last-of-type': {
|
|
12
17
|
padding: theme.spacing(1, 2, 2)
|
|
13
|
-
}
|
|
18
|
+
},
|
|
19
|
+
...(clickable && {
|
|
20
|
+
position: 'relative',
|
|
21
|
+
transition: 'background-color 0.15s ease',
|
|
22
|
+
'&:hover': {
|
|
23
|
+
backgroundColor: theme.palette.action.hover
|
|
24
|
+
}
|
|
25
|
+
})
|
|
14
26
|
}));
|
|
15
27
|
const NotificationItemImageContainer = styled('div')(({ theme }) => ({
|
|
16
28
|
marginLeft: theme.spacing(2),
|
|
@@ -30,14 +42,44 @@ const NotificationItemTitle = styled(Typography)(({ theme }) => ({
|
|
|
30
42
|
fontSize: theme.typography.pxToRem(14),
|
|
31
43
|
marginBottom: 0
|
|
32
44
|
}));
|
|
33
|
-
|
|
45
|
+
/* The title carries the row's link, and an empty ::after stretches it over the whole row. Done this
|
|
46
|
+
way rather than by wrapping the row in an <a> because several descriptions hold links of their own
|
|
47
|
+
(the NFT name, a proposal), and anchors cannot nest. It also keeps the link a real anchor, so
|
|
48
|
+
keyboard focus, middle-click and "open in new tab" all behave, and it gives the link an accessible
|
|
49
|
+
name, which a bare overlay would not have. */
|
|
50
|
+
const NotificationItemTitleLink = styled(Link)(({ theme }) => ({
|
|
51
|
+
fontWeight: 600,
|
|
52
|
+
fontSize: theme.typography.pxToRem(14),
|
|
53
|
+
marginBottom: 0,
|
|
54
|
+
width: 'fit-content',
|
|
55
|
+
color: 'inherit',
|
|
56
|
+
textDecoration: 'none',
|
|
57
|
+
'&::after': {
|
|
58
|
+
content: '""',
|
|
59
|
+
position: 'absolute',
|
|
60
|
+
inset: 0,
|
|
61
|
+
zIndex: 0
|
|
62
|
+
}
|
|
63
|
+
}));
|
|
64
|
+
/* Was a MUI Link, which is what put every description in link colours on hover even though only six
|
|
65
|
+
of the fifty-two notification types ever gave it an href to point at. It is text; the row owns the
|
|
66
|
+
navigation now. Any link the description does carry is raised over the stretched ::after above so
|
|
67
|
+
it stays clickable in its own right. */
|
|
68
|
+
const NotificationItemDescription = styled(Typography)(({ theme }) => ({
|
|
34
69
|
display: 'inline',
|
|
35
70
|
color: neutral.gray3,
|
|
36
71
|
margin: theme.spacing(0.5, 0),
|
|
37
72
|
gap: '5px',
|
|
38
73
|
flexWrap: 'wrap',
|
|
39
74
|
alignItems: 'center',
|
|
40
|
-
fontSize: theme.typography.pxToRem(14)
|
|
75
|
+
fontSize: theme.typography.pxToRem(14),
|
|
76
|
+
/* Anchors and buttons alike: three types (the two Land rentals and Streaming) put an IconBadge with
|
|
77
|
+
its own onClick in here, and MUI renders that as a <button>. Without this they would fall under
|
|
78
|
+
the stretched ::after and stop opening their own tab. */
|
|
79
|
+
'& a, & button': {
|
|
80
|
+
position: 'relative',
|
|
81
|
+
zIndex: 1
|
|
82
|
+
}
|
|
41
83
|
}));
|
|
42
84
|
const NotificationItemCountdown = styled('div')(({ theme }) => ({
|
|
43
85
|
padding: theme.spacing(0, 1.25),
|
|
@@ -57,5 +99,5 @@ const NotificationItemCountdown = styled('div')(({ theme }) => ({
|
|
|
57
99
|
const SpanHighlighted = styled('span')(({ theme }) => ({
|
|
58
100
|
color: theme.palette.primary.main
|
|
59
101
|
}));
|
|
60
|
-
export { NotificationItemContainer, NotificationItemContent, NotificationItemCountdown, NotificationItemDescription, NotificationItemImageContainer, NotificationItemTimestamp, NotificationItemTitle, SpanHighlighted };
|
|
102
|
+
export { NotificationItemContainer, NotificationItemContent, NotificationItemCountdown, NotificationItemDescription, NotificationItemImageContainer, NotificationItemTimestamp, NotificationItemTitle, NotificationItemTitleLink, SpanHighlighted };
|
|
61
103
|
//# sourceMappingURL=NotificationItem.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationItem.styled.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationItem/NotificationItem.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE/C,MAAM,yBAAyB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationItem.styled.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationItem/NotificationItem.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAE/C;;qFAEqF;AACrF,MAAM,yBAAyB,GAAG,MAAM,CAAC,KAAK,EAAE;IAC9C,iBAAiB,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,WAAW;CAChD,CAAC,CAA0B,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAAC;IACrD,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,KAAK;IACpB,UAAU,EAAE,QAAQ;IACpB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5B,cAAc,EAAE,eAAe;IAC/B,GAAG,EAAE,MAAM;IACX,gBAAgB,EAAE;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;KAChC;IACD,GAAG,CAAC,SAAS,IAAI;QACf,QAAQ,EAAE,UAAU;QACpB,UAAU,EAAE,6BAA6B;QACzC,SAAS,EAAE;YACT,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SAC5C;KACF,CAAC;CACH,CAAC,CAAC,CAAA;AAEH,MAAM,8BAA8B,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;IAC5B,QAAQ,EAAE,MAAM;CACjB,CAAC,CAAC,CAAA;AAEH,MAAM,uBAAuB,G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jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { NotificationItem } from './NotificationItem';
|
|
4
|
-
import { NotificationItemDescription, NotificationItemTitle } from './NotificationItem.styled';
|
|
4
|
+
import { NotificationItemDescription, NotificationItemTitle, NotificationItemTitleLink } from './NotificationItem.styled';
|
|
5
5
|
function NotificationItemTextComponent(props) {
|
|
6
6
|
const { description, descriptionHref, locale, notification, title, ...imageProps } = props;
|
|
7
|
-
return (_jsxs(NotificationItem, { ...imageProps, timestamp: notification.timestamp, isNew: !notification.read, locale: locale, children: [_jsx(
|
|
7
|
+
return (_jsxs(NotificationItem, { ...imageProps, timestamp: notification.timestamp, isNew: !notification.read, locale: locale, clickable: !!descriptionHref, children: [descriptionHref ? (_jsx(NotificationItemTitleLink, { href: descriptionHref, children: title })) : (_jsx(NotificationItemTitle, { children: title })), _jsx(NotificationItemDescription, { children: description })] }));
|
|
8
8
|
}
|
|
9
9
|
const NotificationItemText = React.memo(NotificationItemTextComponent);
|
|
10
10
|
export { NotificationItemText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationItemText.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationItem/NotificationItemText.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"NotificationItemText.js","sourceRoot":"","sources":["../../../../src/components/Notifications/NotificationItem/NotificationItemText.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AAgBzH,SAAS,6BAA6B,CAAiC,KAAmC;IACxG,MAAM,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAA;IAE1F,OAAO,CACL,MAAC,gBAAgB,OACX,UAAU,EACd,SAAS,EAAE,YAAY,CAAC,SAAS,EACjC,KAAK,EAAE,CAAC,YAAY,CAAC,IAAI,EACzB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,CAAC,eAAe,aAE3B,eAAe,CAAC,CAAC,CAAC,CACjB,KAAC,yBAAyB,IAAC,IAAI,EAAE,eAAe,YAAG,KAAK,GAA6B,CACtF,CAAC,CAAC,CAAC,CACF,KAAC,qBAAqB,cAAE,KAAK,GAAyB,CACvD,EACD,KAAC,2BAA2B,cAAE,WAAW,GAA+B,IACvD,CACpB,CAAA;AACH,CAAC;AAED,MAAM,oBAAoB,GAAG,KAAK,CAAC,IAAI,CAAC,6BAA6B,CAAoD,CAAA;AAGzH,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernanceAuthoredProposalFinishedNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(ProposalFinishedIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceAuthoredProposalFinishedI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), description: _jsxs(_Fragment, { children: [governanceAuthoredProposalFinishedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceAuthoredProposalFinishedI18n[locale].description.link_text })] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(ProposalFinishedIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceAuthoredProposalFinishedI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governanceAuthoredProposalFinishedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceAuthoredProposalFinishedI18n[locale].description.link_text })] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernanceAuthoredProposalFinishedNotification };
|
|
13
13
|
//# sourceMappingURL=GovernanceAuthoredProposalFinishedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceAuthoredProposalFinishedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,8CAA8C,GAAG,KAAK,CAAC,IAAI,CAC/D,CAAC,KAAmF,EAAE,EAAE;IACtF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,sCAAsC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IAC9H,EAEL,WAAW,EACT,8BACG,sCAAsC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACtE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,sCAAsC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IACpH,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,8CAA8C,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceAuthoredProposalFinishedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceAuthoredProposalFinishedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,8CAA8C,GAAG,KAAK,CAAC,IAAI,CAC/D,CAAC,KAAmF,EAAE,EAAE;IACtF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,sCAAsC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IAC9H,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,sCAAsC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACtE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,sCAAsC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IACpH,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,8CAA8C,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernanceCoauthorRequestedNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(CoauthorIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceCoauthorRequestedI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), description: _jsxs(_Fragment, { children: [governanceCoauthorRequestedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceCoauthorRequestedI18n[locale].description.link_text })] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(CoauthorIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceCoauthorRequestedI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governanceCoauthorRequestedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceCoauthorRequestedI18n[locale].description.link_text })] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernanceCoauthorRequestedNotification };
|
|
13
13
|
//# sourceMappingURL=GovernanceCoauthorRequestedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceCoauthorRequestedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,uCAAuC,GAAG,KAAK,CAAC,IAAI,CACxD,CAAC,KAA4E,EAAE,EAAE;IAC/E,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,YAAY,KAAG,EACvB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,+BAA+B,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IACvH,EAEL,WAAW,EACT,8BACG,+BAA+B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC/D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,+BAA+B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IAC7G,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,uCAAuC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceCoauthorRequestedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceCoauthorRequestedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,uCAAuC,GAAG,KAAK,CAAC,IAAI,CACxD,CAAC,KAA4E,EAAE,EAAE;IAC/E,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,YAAY,KAAG,EACvB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,+BAA+B,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IACvH,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,+BAA+B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC/D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,+BAA+B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IAC7G,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,uCAAuC,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernanceNewCommentOnProjectUpdateNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(NewCommentIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceNewCommentOnProjectUpdateI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), description: _jsxs(_Fragment, { children: [governanceNewCommentOnProjectUpdateI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceNewCommentOnProjectUpdateI18n[locale].description.link_text }), "."] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(NewCommentIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceNewCommentOnProjectUpdateI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governanceNewCommentOnProjectUpdateI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceNewCommentOnProjectUpdateI18n[locale].description.link_text }), "."] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernanceNewCommentOnProjectUpdateNotification };
|
|
13
13
|
//# sourceMappingURL=GovernanceNewCommentOnProjectUpdateNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceNewCommentOnProjectUpdateNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,uCAAuC,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,+CAA+C,GAAG,KAAK,CAAC,IAAI,CAChE,CAAC,KAAoF,EAAE,EAAE;IACvF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,cAAc,KAAG,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,uCAAuC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IAC/H,EAEL,WAAW,EACT,8BACG,uCAAuC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACvE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,uCAAuC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,SACrH,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,+CAA+C,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceNewCommentOnProjectUpdateNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProjectUpdateNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,uCAAuC,EAAE,MAAM,mBAAmB,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,+CAA+C,GAAG,KAAK,CAAC,IAAI,CAChE,CAAC,KAAoF,EAAE,EAAE;IACvF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,cAAc,KAAG,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,uCAAuC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IAC/H,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,uCAAuC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACvE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,uCAAuC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,SACrH,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,+CAA+C,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernanceNewCommentOnProposalNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(NewCommentIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceNewCommentOnProposalI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), description: _jsxs(_Fragment, { children: [governanceNewCommentOnProposalI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceNewCommentOnProposalI18n[locale].description.link_text }), "."] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(NewCommentIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceNewCommentOnProposalI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governanceNewCommentOnProposalI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceNewCommentOnProposalI18n[locale].description.link_text }), "."] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernanceNewCommentOnProposalNotification };
|
|
13
13
|
//# sourceMappingURL=GovernanceNewCommentOnProposalNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceNewCommentOnProposalNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,0CAA0C,GAAG,KAAK,CAAC,IAAI,CAC3D,CAAC,KAA+E,EAAE,EAAE;IAClF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,cAAc,KAAG,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,kCAAkC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IAC1H,EAEL,WAAW,EACT,8BACG,kCAAkC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAClE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,kCAAkC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,SAChH,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,0CAA0C,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceNewCommentOnProposalNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceNewCommentOnProposalNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,0CAA0C,GAAG,KAAK,CAAC,IAAI,CAC3D,CAAC,KAA+E,EAAE,EAAE;IAClF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,cAAc,KAAG,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,kCAAkC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IAC1H,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,kCAAkC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAClE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,kCAAkC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,SAChH,GAEL,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,OAAO,EAAE,0CAA0C,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernancePitchPassedNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(PitchIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governancePitchPassedI18n[locale].title.start, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle }), ' ', governancePitchPassedI18n[locale].title.end] }), description: _jsxs(_Fragment, { children: [governancePitchPassedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governancePitchPassedI18n[locale].description.link_text })] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(PitchIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governancePitchPassedI18n[locale].title.start, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle }), ' ', governancePitchPassedI18n[locale].title.end] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governancePitchPassedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governancePitchPassedI18n[locale].description.link_text })] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernancePitchPassedNotification };
|
|
13
13
|
//# sourceMappingURL=GovernancePitchPassedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernancePitchPassedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,iCAAiC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAsE,EAAE,EAAE;IAC9H,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,SAAS,KAAG,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,yBAAyB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,EAAC,GAAG,EAC3H,yBAAyB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,IAC3C,EAEL,WAAW,EACT,8BACG,yBAAyB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACzD,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IACvG,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,iCAAiC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernancePitchPassedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernancePitchPassedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,iCAAiC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAsE,EAAE,EAAE;IAC9H,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,SAAS,KAAG,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,yBAAyB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,EAAC,GAAG,EAC3H,yBAAyB,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,IAC3C,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,yBAAyB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACzD,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IACvG,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,iCAAiC,EAAE,CAAA"}
|
|
@@ -6,7 +6,7 @@ import { ProjectEnactedIcon } from '../../../Icon';
|
|
|
6
6
|
import { NotificationItemText } from '../../NotificationItem';
|
|
7
7
|
const GovernanceProposalEnactedNotification = React.memo((props) => {
|
|
8
8
|
const { notification, locale } = props;
|
|
9
|
-
return (_jsx(NotificationItemText, { image: _jsx(ProjectEnactedIcon, {}), locale: locale, notification: notification, title: governanceProposalEnactedI18n[locale].title, description: _jsxs(_Fragment, { children: [governanceProposalEnactedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: notification.metadata.link }), ' ', governanceProposalEnactedI18n[locale].description.end] }) }));
|
|
9
|
+
return (_jsx(NotificationItemText, { image: _jsx(ProjectEnactedIcon, {}), locale: locale, notification: notification, title: governanceProposalEnactedI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governanceProposalEnactedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: notification.metadata.link }), ' ', governanceProposalEnactedI18n[locale].description.end] }) }));
|
|
10
10
|
});
|
|
11
11
|
export { GovernanceProposalEnactedNotification };
|
|
12
12
|
//# sourceMappingURL=GovernanceProposalEnactedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceProposalEnactedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,qCAAqC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA0E,EAAE,EAAE;IACtI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,kBAAkB,KAAG,EAC7B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,6BAA6B,CAAC,MAAM,CAAC,CAAC,KAAK,EAClD,WAAW,EACT,8BACG,6BAA6B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC7D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,YAAY,CAAC,QAAQ,CAAC,IAAI,GAAQ,EAAC,GAAG,EAC9E,6BAA6B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IACrD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,qCAAqC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceProposalEnactedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceProposalEnactedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,qCAAqC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA0E,EAAE,EAAE;IACtI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,kBAAkB,KAAG,EAC7B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,6BAA6B,CAAC,MAAM,CAAC,CAAC,KAAK,EAClD,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,6BAA6B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC7D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,YAAY,CAAC,QAAQ,CAAC,IAAI,GAAQ,EAAC,GAAG,EAC9E,6BAA6B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IACrD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,qCAAqC,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernanceTenderPassedNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(TenderIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceTenderPassedI18n[locale].title.start, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle }), ' ', governanceTenderPassedI18n[locale].title.end] }), description: _jsxs(_Fragment, { children: [governanceTenderPassedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceTenderPassedI18n[locale].description.link_text })] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(TenderIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceTenderPassedI18n[locale].title.start, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle }), ' ', governanceTenderPassedI18n[locale].title.end] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [governanceTenderPassedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.link, children: governanceTenderPassedI18n[locale].description.link_text })] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernanceTenderPassedNotification };
|
|
13
13
|
//# sourceMappingURL=GovernanceTenderPassedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceTenderPassedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuE,EAAE,EAAE;IAChI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,UAAU,KAAG,EACrB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,EAAC,GAAG,EAC5H,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,IAC5C,EAEL,WAAW,EACT,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC1D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IACxG,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceTenderPassedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceTenderPassedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuE,EAAE,EAAE;IAChI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,UAAU,KAAG,EACrB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,EAAC,GAAG,EAC5H,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,IAC5C,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC1D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,IACxG,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { SpanHighlighted } from '../../NotificationItem/NotificationItem.styled';
|
|
8
8
|
const GovernanceVotingEndedVoterNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(VotingEndedIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceVotingEndedVoterI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), description: _jsxs(_Fragment, { children: [_jsx(Link, { href: notification.metadata.link, children: governanceVotingEndedVoterI18n[locale].description.link_text }), ' ', governanceVotingEndedVoterI18n[locale].description.end] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(VotingEndedIcon, {}), locale: locale, notification: notification, title: _jsxs(_Fragment, { children: [governanceVotingEndedVoterI18n[locale].title, " ", _jsx(SpanHighlighted, { children: notification.metadata.proposalTitle })] }), descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [_jsx(Link, { href: notification.metadata.link, children: governanceVotingEndedVoterI18n[locale].description.link_text }), ' ', governanceVotingEndedVoterI18n[locale].description.end] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { GovernanceVotingEndedVoterNotification };
|
|
13
13
|
//# sourceMappingURL=GovernanceVotingEndedVoterNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GovernanceVotingEndedVoterNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,sCAAsC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA2E,EAAE,EAAE;IACxI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,eAAe,KAAG,EAC1B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,8BAA8B,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IACtH,EAEL,WAAW,EACT,8BACE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,EAAC,GAAG,EAChH,8BAA8B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IACtD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,sCAAsC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"GovernanceVotingEndedVoterNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Governance/GovernanceVotingEndedVoterNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAA;AAGhF,MAAM,sCAAsC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA2E,EAAE,EAAE;IACxI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,eAAe,KAAG,EAC1B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EACH,8BACG,8BAA8B,CAAC,MAAM,CAAC,CAAC,KAAK,OAAE,KAAC,eAAe,cAAE,YAAY,CAAC,QAAQ,CAAC,aAAa,GAAmB,IACtH,EAEL,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACE,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,YAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,EAAC,GAAG,EAChH,8BAA8B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IACtD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,sCAAsC,EAAE,CAAA"}
|
|
@@ -6,7 +6,7 @@ import { IconBadge, IconBadgeIcon } from '../../../IconBadge';
|
|
|
6
6
|
import { NotificationItemText } from '../../NotificationItem';
|
|
7
7
|
const LandRentalEndedNotification = React.memo((props) => {
|
|
8
8
|
const { notification, locale } = props;
|
|
9
|
-
return (_jsx(NotificationItemText, { image: _jsx(RentPeriodEndingIcon, {}), locale: locale, notification: notification, title: landRentalEndedI18n[locale].title, description: _jsxs(_Fragment, { children: [landRentalEndedI18n[locale].description.start, ' ', _jsx(IconBadge, { inline: true, icon: IconBadgeIcon.Places, text: notification.metadata.land, onClick: () => window.open(notification.metadata.link, '_blank') }), ' ', landRentalEndedI18n[locale].description.end] }) }));
|
|
9
|
+
return (_jsx(NotificationItemText, { image: _jsx(RentPeriodEndingIcon, {}), locale: locale, notification: notification, title: landRentalEndedI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [landRentalEndedI18n[locale].description.start, ' ', _jsx(IconBadge, { inline: true, icon: IconBadgeIcon.Places, text: notification.metadata.land, onClick: () => window.open(notification.metadata.link, '_blank') }), ' ', landRentalEndedI18n[locale].description.end] }) }));
|
|
10
10
|
});
|
|
11
11
|
export { LandRentalEndedNotification };
|
|
12
12
|
//# sourceMappingURL=LandRentalEndedNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LandRentalEndedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,2BAA2B,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAgE,EAAE,EAAE;IAClH,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,KAAK,EACxC,WAAW,EACT,8BACG,mBAAmB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACnD,KAAC,SAAS,IACR,MAAM,QACN,IAAI,EAAE,aAAa,CAAC,MAAM,EAC1B,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,GAChE,EAAC,GAAG,EACL,mBAAmB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IAC3C,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"LandRentalEndedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Land/LandRentalEndedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,2BAA2B,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAgE,EAAE,EAAE;IAClH,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,KAAK,EACxC,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,mBAAmB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACnD,KAAC,SAAS,IACR,MAAM,QACN,IAAI,EAAE,aAAa,CAAC,MAAM,EAC1B,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,GAChE,EAAC,GAAG,EACL,mBAAmB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IAC3C,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
const LandRentedNotification = React.memo((props) => {
|
|
8
8
|
const { notification, locale, renderProfile } = props;
|
|
9
9
|
const tenant = renderProfile ? renderProfile(notification.metadata.tenant) : notification.metadata.tenant;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(LandRentedIcon, {}), locale: locale, notification: notification, title: landRentedI18n[locale].title, description: _jsxs(_Fragment, { children: [landRentedI18n[locale].description.start, ' ', _jsx(IconBadge, { inline: true, icon: IconBadgeIcon.Places, text: notification.metadata.land, onClick: () => window.open(notification.metadata.link, '_blank') }), ' ', landRentedI18n[locale].description.end, " ", tenant] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(LandRentedIcon, {}), locale: locale, notification: notification, title: landRentedI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [landRentedI18n[locale].description.start, ' ', _jsx(IconBadge, { inline: true, icon: IconBadgeIcon.Places, text: notification.metadata.land, onClick: () => window.open(notification.metadata.link, '_blank') }), ' ', landRentedI18n[locale].description.end, " ", tenant] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { LandRentedNotification };
|
|
13
13
|
//# sourceMappingURL=LandRentedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LandRentedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Land/LandRentedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,sBAAsB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA2D,EAAE,EAAE;IACxG,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAA;IAErD,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAE,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAA;IAC1G,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,cAAc,KAAG,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,KAAK,EACnC,WAAW,EACT,8BACG,cAAc,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC9C,KAAC,SAAS,IACR,MAAM,QACN,IAAI,EAAE,aAAa,CAAC,MAAM,EAC1B,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,GAChE,EAAC,GAAG,EACL,cAAc,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,OAAG,MAAM,IAC/C,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"LandRentedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Land/LandRentedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,sBAAsB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA2D,EAAE,EAAE;IACxG,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,KAAK,CAAA;IAErD,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAE,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAA;IAC1G,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,cAAc,KAAG,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,CAAC,KAAK,EACnC,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,cAAc,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC9C,KAAC,SAAS,IACR,MAAM,QACN,IAAI,EAAE,aAAa,CAAC,MAAM,EAC1B,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,GAChE,EAAC,GAAG,EACL,cAAc,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,OAAG,MAAM,IAC/C,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js
CHANGED
|
@@ -11,7 +11,7 @@ import { formatMana, getBGColorByRarity } from '../../utils';
|
|
|
11
11
|
const BidAcceptedNotification = React.memo((props) => {
|
|
12
12
|
const { notification, locale } = props;
|
|
13
13
|
const theme = useTheme();
|
|
14
|
-
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(BidAcceptedIcon, {}), locale: locale, notification: notification, title: bidAcceptedI18n[locale].title, description: _jsxs(_Fragment, { children: [bidAcceptedI18n[locale].description.start, ' ', _jsx(Mana, { inline: true, network: notification.metadata.network === 'polygon' ? Network.MATIC : Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.price) }), ' ', bidAcceptedI18n[locale].description.middle, ' ', _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] }) }));
|
|
14
|
+
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(BidAcceptedIcon, {}), locale: locale, notification: notification, title: bidAcceptedI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [bidAcceptedI18n[locale].description.start, ' ', _jsx(Mana, { inline: true, network: notification.metadata.network === 'polygon' ? Network.MATIC : Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.price) }), ' ', bidAcceptedI18n[locale].description.middle, ' ', _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] }) }));
|
|
15
15
|
});
|
|
16
16
|
export { BidAcceptedNotification };
|
|
17
17
|
//# sourceMappingURL=BidAcceptedNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BidAcceptedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAC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AAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"BidAcceptedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/BidAcceptedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,uBAAuB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAA4D,EAAE,EAAE;IAC1G,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EAAE,KAAC,eAAe,KAAG,EAC9B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,KAAK,EACpC,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,eAAe,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC/C,KAAC,IAAI,IACH,MAAM,QACN,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EACvF,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,YAElC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,GACnC,EAAC,GAAG,EACV,eAAe,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EAChD,KAAC,uBAAuB,IACtB,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js
CHANGED
|
@@ -11,7 +11,7 @@ import { formatMana, getBGColorByRarity } from '../../utils';
|
|
|
11
11
|
const BidReceivedNotification = React.memo((props) => {
|
|
12
12
|
const { notification, locale } = props;
|
|
13
13
|
const theme = useTheme();
|
|
14
|
-
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(BidAcceptedIcon, {}), locale: locale, notification: notification, title: bidReceivedI18n[locale].title, description: _jsxs(_Fragment, { children: [bidReceivedI18n[locale].description.start, ' ', _jsx(Mana, { inline: true, network: notification.metadata.network === 'polygon' ? Network.MATIC : Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.price) }), ' ', bidReceivedI18n[locale].description.middle, ' ', _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] }) }));
|
|
14
|
+
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(BidAcceptedIcon, {}), locale: locale, notification: notification, title: bidReceivedI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [bidReceivedI18n[locale].description.start, ' ', _jsx(Mana, { inline: true, network: notification.metadata.network === 'polygon' ? Network.MATIC : Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.price) }), ' ', bidReceivedI18n[locale].description.middle, ' ', _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] }) }));
|
|
15
15
|
});
|
|
16
16
|
export { BidReceivedNotification };
|
|
17
17
|
//# sourceMappingURL=BidReceivedNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BidReceivedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/BidReceivedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,uBAAu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,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EACvF,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,YAElC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,GACnC,EAAC,GAAG,EACV,eAAe,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EAChD,KAAC,uBAAuB,IACtB,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemNFTLink } from '../../NotificationItemNFTLink';
|
|
|
7
7
|
import { getBGColorByRarity } from '../../utils';
|
|
8
8
|
const ItemSoldNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(ItemSoldIcon, {}), locale: locale, notification: notification, title: itemSoldI18n[locale].title, description: _jsxs(_Fragment, { children: [itemSoldI18n[locale].description, ' ', _jsx(NotificationItemNFTLink, { rarity: notification.metadata.rarity, name: notification.metadata.nftName, link: notification.metadata.link })] }) }));
|
|
10
|
+
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: _jsx(ItemSoldIcon, {}), locale: locale, notification: notification, title: itemSoldI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [itemSoldI18n[locale].description, ' ', _jsx(NotificationItemNFTLink, { rarity: notification.metadata.rarity, name: notification.metadata.nftName, link: notification.metadata.link })] }) }));
|
|
11
11
|
});
|
|
12
12
|
export { ItemSoldNotification };
|
|
13
13
|
//# sourceMappingURL=ItemSoldNotification.js.map
|
package/dist/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ItemSoldNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,oBAAoB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAyD,EAAE,EAAE;IACpG,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EAAE,KAAC,YAAY,KAAG,EAC3B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,KAAK,EACjC,WAAW,EACT,8BACG,YAAY,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,GAAG,EACtC,KAAC,uBAAuB,IACtB,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"ItemSoldNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/ItemSoldNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,oBAAoB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAyD,EAAE,EAAE;IACpG,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EAAE,KAAC,YAAY,KAAG,EAC3B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC,KAAK,EACjC,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,EAC3C,WAAW,EACT,8BACG,YAAY,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,GAAG,EACtC,KAAC,uBAAuB,IACtB,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.js
CHANGED
|
@@ -11,7 +11,7 @@ import { formatMana, getBGColorByRarity } from '../../utils';
|
|
|
11
11
|
const RoyaltiesEarnedNotification = React.memo((props) => {
|
|
12
12
|
const { notification, locale } = props;
|
|
13
13
|
const theme = useTheme();
|
|
14
|
-
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: notification.metadata.network === 'ethereum' ? _jsx(ManaMainnetIcon, {}) : _jsx(ManaPolygonIcon, {}), locale: locale, notification: notification, title: royaltiesEarnedI18n[locale].title, description: _jsxs(_Fragment, { children: [royaltiesEarnedI18n[locale].description.start, ' ', _jsx(Mana, { inline: true, network: notification.metadata.network === 'polygon' ? Network.MATIC : Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.royaltiesCut) }), ' ', royaltiesEarnedI18n[locale].description.middle, ' ', _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] }) }));
|
|
14
|
+
return (_jsx(NotificationItemText, { image: notification.metadata.image, imageBackgroundColor: getBGColorByRarity(notification.metadata.rarity), badgeIcon: notification.metadata.network === 'ethereum' ? _jsx(ManaMainnetIcon, {}) : _jsx(ManaPolygonIcon, {}), locale: locale, notification: notification, title: royaltiesEarnedI18n[locale].title, descriptionHref: notification.metadata.link, description: _jsxs(_Fragment, { children: [royaltiesEarnedI18n[locale].description.start, ' ', _jsx(Mana, { inline: true, network: notification.metadata.network === 'polygon' ? Network.MATIC : Network.ETHEREUM, color: theme.palette.text.secondary, children: formatMana(notification.metadata.royaltiesCut) }), ' ', royaltiesEarnedI18n[locale].description.middle, ' ', _jsx(NotificationItemNFTLink, { name: notification.metadata.nftName, rarity: notification.metadata.rarity, link: notification.metadata.link })] }) }));
|
|
15
15
|
});
|
|
16
16
|
export { RoyaltiesEarnedNotification };
|
|
17
17
|
//# sourceMappingURL=RoyaltiesEarnedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoyaltiesEarnedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,2BAA2B,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAgE,EAAE,EAAE;IAClH,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,EAClC,oBAAoB,EAAE,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EACtE,SAAS,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,EACnG,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,KAAK,EACxC,WAAW,EACT,8BACG,mBAAmB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EACnD,KAAC,IAAI,IACH,MAAM,QACN,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,EACvF,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,YAElC,UAAU,CAAC,YAAY,CAAC,QAAQ,CAAC,YAAY,CAAC,GAC1C,EAAC,GAAG,EACV,mBAAmB,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,EACpD,KAAC,uBAAuB,IACtB,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"RoyaltiesEarnedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Marketplace/RoyaltiesEarnedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAA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,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,EACnC,MAAM,EAAE,YAAY,CAAC,QAAQ,CAAC,MAAM,EACpC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,IAAI,GAChC,IACD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { NotificationItemText } from '../../NotificationItem';
|
|
|
7
7
|
import { replaceWithValues } from '../../utils';
|
|
8
8
|
const StreamingNotification = React.memo((props) => {
|
|
9
9
|
const { notification, locale, i18n } = props;
|
|
10
|
-
return (_jsx(NotificationItemText, { image: _jsx(StreamingIcon, { width: 48, height: 48 }), locale: locale, notification: notification, title: i18n[locale].title, description: replaceWithValues(i18n[locale].description, {
|
|
10
|
+
return (_jsx(NotificationItemText, { image: _jsx(StreamingIcon, { width: 48, height: 48 }), locale: locale, notification: notification, title: i18n[locale].title, descriptionHref: notification.metadata.url, description: replaceWithValues(i18n[locale].description, {
|
|
11
11
|
place: notification.metadata.isWorld ? (_jsx(Link, { href: notification.metadata.url, target: "_blank", rel: "noreferrer", children: notification.metadata.worldName })) : (_jsx(IconBadge, { inline: true, icon: IconBadgeIcon.Places, text: notification.metadata.position, onClick: () => window.open(notification.metadata.url, '_blank') }))
|
|
12
12
|
}) }));
|
|
13
13
|
});
|
package/dist/components/Notifications/NotificationTypes/Streaming/StreamingNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamingNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Streaming/StreamingNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAG/C,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuC,EAAE,EAAE;IACnF,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAA;IAC5C,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,aAAa,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,EAC/C,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,EACzB,WAAW,EAAE,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE;YACvD,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CACrC,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,YACpE,YAAY,CAAC,QAAQ,CAAC,SAAS,GAC3B,CACR,CAAC,CAAC,CAAC,CACF,KAAC,SAAS,IACR,MAAM,QACN,IAAI,EAAE,aAAa,CAAC,MAAM,EAC1B,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,QAAQ,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,GAC/D,CACH;SACF,CAAC,GACF,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"StreamingNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Streaming/StreamingNotification.tsx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CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,GAC/D,CACH;SACF,CAAC,GACF,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.js
CHANGED
|
@@ -6,7 +6,7 @@ import { AccessRestrictedIcon } from '../../../Icon';
|
|
|
6
6
|
import { NotificationItemText } from '../../NotificationItem';
|
|
7
7
|
const WorldsAccessRestrictedNotification = React.memo((props) => {
|
|
8
8
|
const { notification, locale } = props;
|
|
9
|
-
return (_jsx(NotificationItemText, { image: _jsx(AccessRestrictedIcon, {}), locale: locale, notification: notification, title: worldsAccessRestrictedI18n[locale].title, description: _jsxs(_Fragment, { children: [worldsAccessRestrictedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.url, children: worldsAccessRestrictedI18n[locale].description.link_text }), "."] }) }));
|
|
9
|
+
return (_jsx(NotificationItemText, { image: _jsx(AccessRestrictedIcon, {}), locale: locale, notification: notification, title: worldsAccessRestrictedI18n[locale].title, descriptionHref: notification.metadata.url, description: _jsxs(_Fragment, { children: [worldsAccessRestrictedI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.url, children: worldsAccessRestrictedI18n[locale].description.link_text }), "."] }) }));
|
|
10
10
|
});
|
|
11
11
|
export { WorldsAccessRestrictedNotification };
|
|
12
12
|
//# sourceMappingURL=WorldsAccessRestrictedNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorldsAccessRestrictedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuE,EAAE,EAAE;IAChI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,EAC/C,WAAW,EACT,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC1D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,SACvG,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"WorldsAccessRestrictedNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsAccessRestrictedNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuE,EAAE,EAAE;IAChI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,EAC/C,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,EAC1C,WAAW,EACT,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC1D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,SACvG,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
package/dist/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.js
CHANGED
|
@@ -6,7 +6,7 @@ import { MissingResourcesIcon } from '../../../Icon';
|
|
|
6
6
|
import { NotificationItemText } from '../../NotificationItem';
|
|
7
7
|
const WorldsMissingResourcesNotification = React.memo((props) => {
|
|
8
8
|
const { notification, locale } = props;
|
|
9
|
-
return (_jsx(NotificationItemText, { image: _jsx(MissingResourcesIcon, {}), locale: locale, notification: notification, title: worldsMissingResourcesI18n[locale].title, description: _jsxs(_Fragment, { children: [worldsMissingResourcesI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.url, children: worldsMissingResourcesI18n[locale].description.link_text }), ' ', worldsMissingResourcesI18n[locale].description.end] }) }));
|
|
9
|
+
return (_jsx(NotificationItemText, { image: _jsx(MissingResourcesIcon, {}), locale: locale, notification: notification, title: worldsMissingResourcesI18n[locale].title, descriptionHref: notification.metadata.url, description: _jsxs(_Fragment, { children: [worldsMissingResourcesI18n[locale].description.start, ' ', _jsx(Link, { href: notification.metadata.url, children: worldsMissingResourcesI18n[locale].description.link_text }), ' ', worldsMissingResourcesI18n[locale].description.end] }) }));
|
|
10
10
|
});
|
|
11
11
|
export { WorldsMissingResourcesNotification };
|
|
12
12
|
//# sourceMappingURL=WorldsMissingResourcesNotification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorldsMissingResourcesNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuE,EAAE,EAAE;IAChI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,EAC/C,WAAW,EACT,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC1D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,EAAC,GAAG,EAC3G,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IAClD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"WorldsMissingResourcesNotification.js","sourceRoot":"","sources":["../../../../../src/components/Notifications/NotificationTypes/Worlds/WorldsMissingResourcesNotification.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAG7D,MAAM,kCAAkC,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAuE,EAAE,EAAE;IAChI,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAC,oBAAoB,KAAG,EAC/B,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC,KAAK,EAC/C,eAAe,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,EAC1C,WAAW,EACT,8BACG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAC1D,KAAC,IAAI,IAAC,IAAI,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,GAAQ,EAAC,GAAG,EAC3G,0BAA0B,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,GAAG,IAClD,GAEL,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,kCAAkC,EAAE,CAAA"}
|
package/dist/config/env/dev.json
CHANGED
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"DOCS_URL": "https://docs.decentraland.org",
|
|
58
58
|
"BEEHIV_SUBSCRIPTION_URL": "https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",
|
|
59
59
|
"AUTO_SIGNING_BASE_URL": "https://download-gateway.decentraland.zone",
|
|
60
|
-
"TOP_SCENES_URL": "https://decentraland.zone/top-scenes",
|
|
61
60
|
"IOS_STORE_URL": "https://testflight.apple.com/join/KF4r3jlU",
|
|
62
61
|
"ANDROID_STORE_URL": "https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer"
|
|
63
62
|
}
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"DOCS_URL": "https://docs.decentraland.org",
|
|
58
58
|
"BEEHIV_SUBSCRIPTION_URL": "https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",
|
|
59
59
|
"AUTO_SIGNING_BASE_URL": "https://download-gateway.decentraland.org",
|
|
60
|
-
"TOP_SCENES_URL": "https://decentraland.org/top-scenes",
|
|
61
60
|
"IOS_STORE_URL": "https://testflight.apple.com/join/KF4r3jlU",
|
|
62
61
|
"ANDROID_STORE_URL": "https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer"
|
|
63
62
|
}
|
package/dist/config/env/stg.json
CHANGED
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"DOCS_URL": "https://docs.decentraland.org",
|
|
58
58
|
"BEEHIV_SUBSCRIPTION_URL": "https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",
|
|
59
59
|
"AUTO_SIGNING_BASE_URL": "https://download-gateway.decentraland.zone",
|
|
60
|
-
"TOP_SCENES_URL": "https://decentraland.zone/top-scenes",
|
|
61
60
|
"IOS_STORE_URL": "https://testflight.apple.com/join/KF4r3jlU",
|
|
62
61
|
"ANDROID_STORE_URL": "https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer"
|
|
63
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "decentraland-ui2",
|
|
3
|
-
"version": "3.23.
|
|
3
|
+
"version": "3.23.2-35087771092.commit-c70336f",
|
|
4
4
|
"description": "Decentraland's UI components and styles",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
"url": "https://github.com/decentraland/ui2/issues"
|
|
118
118
|
},
|
|
119
119
|
"homepage": "https://github.com/decentraland/ui2#readme",
|
|
120
|
-
"commit": "
|
|
120
|
+
"commit": "c70336f5342fbe25fa020bbbe61f12c1bf7c5803"
|
|
121
121
|
}
|