decentraland-ui2 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Notifications/Notifications.styled.js +1 -1
- package/dist/components/Notifications/Notifications.styled.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js +2 -3
- package/dist/components/UserMenu/ManaBalances/ManaBalances.js.map +1 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +6 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js +5 -1
- package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.js.map +1 -1
- package/package.json +2 -2
@@ -55,7 +55,7 @@ const NotificationIconContainer = styled(Badge)((props) => {
|
|
55
55
|
});
|
56
56
|
const NotificationIconWrapper = styled(Box)(({ theme }) => {
|
57
57
|
return {
|
58
|
-
height: "
|
58
|
+
height: "30.625px",
|
59
59
|
"&:hover": {
|
60
60
|
backgroundColor: theme.palette.action.hover,
|
61
61
|
borderRadius: "50%",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Notifications.styled.js","sourceRoot":"","sources":["../../../src/components/Notifications/Notifications.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,KAAK,GAAG,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiCnB,CAAA;AAEJ,MAAM,yBAAyB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAEhD,EAAE,EAAE;IACH,IAAI,WAAW,GAAG,EAAE,CAAA;IACpB,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACjB,WAAW,GAAG;YACZ,SAAS,EAAE,GAAG,KAAK,OAAO;YAC1B,uBAAuB,EAAE,CAAC;SAC3B,CAAA;IACH,CAAC;IACD,OAAO;QACL,GAAG,WAAW;QACd,SAAS,EAAE;YACT,eAAe,EAAE,aAAa;SAC/B;QACD,mBAAmB,EAAE;YACnB,SAAS,EAAE,gCAAgC;SAC5C;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACxD,OAAO;QACL,MAAM,EAAE,
|
1
|
+
{"version":3,"file":"Notifications.styled.js","sourceRoot":"","sources":["../../../src/components/Notifications/Notifications.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,KAAK,GAAG,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiCnB,CAAA;AAEJ,MAAM,yBAAyB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAEhD,EAAE,EAAE;IACH,IAAI,WAAW,GAAG,EAAE,CAAA;IACpB,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACjB,WAAW,GAAG;YACZ,SAAS,EAAE,GAAG,KAAK,OAAO;YAC1B,uBAAuB,EAAE,CAAC;SAC3B,CAAA;IACH,CAAC;IACD,OAAO;QACL,GAAG,WAAW;QACd,SAAS,EAAE;YACT,eAAe,EAAE,aAAa;SAC/B;QACD,mBAAmB,EAAE;YACnB,SAAS,EAAE,gCAAgC;SAC5C;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACxD,OAAO;QACL,MAAM,EAAE,UAAU;QAClB,SAAS,EAAE;YACT,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;YAC3C,YAAY,EAAE,KAAK;YACnB,MAAM,EAAE,SAAS;SAClB;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,CAAA"}
|
@@ -1,14 +1,13 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import React from "react";
|
3
3
|
import { Network } from "@dcl/schemas";
|
4
|
-
import { Typography } from "@mui/material";
|
5
4
|
import { config } from "../../../config";
|
6
5
|
import { Mana } from "../../Mana";
|
7
|
-
import { ManaBalancesWrapper } from "./ManaBalances.styled";
|
6
|
+
import { ManaBalanceNumber, ManaBalancesWrapper } from "./ManaBalances.styled";
|
8
7
|
const ManaBalances = React.memo((props) => {
|
9
8
|
const { manaBalances, onClickBalance } = props;
|
10
9
|
return (_jsx(ManaBalancesWrapper, { children: manaBalances &&
|
11
|
-
Object.keys(manaBalances).map((network) => (_jsx(Mana, { network: network, href: config.get("ACCOUNT_URL"), onClick: onClickBalance, primary: network === Network.ETHEREUM, children: _jsx(
|
10
|
+
Object.keys(manaBalances).map((network) => (_jsx(Mana, { network: network, href: config.get("ACCOUNT_URL"), onClick: onClickBalance, primary: network === Network.ETHEREUM, children: _jsx(ManaBalanceNumber, { variant: "subtitle2", children: Number(manaBalances[network].toFixed(2)).toLocaleString() }) }, network))) }));
|
12
11
|
});
|
13
12
|
export { ManaBalances };
|
14
13
|
//# sourceMappingURL=ManaBalances.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ManaBalances.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/ManaBalances/ManaBalances.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"ManaBalances.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/ManaBalances/ManaBalances.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAEjC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE9E,MAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC,KAAwB,EAAE,EAAE;IAC3D,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,GAAG,KAAK,CAAA;IAE9C,OAAO,CACL,KAAC,mBAAmB,cACjB,YAAY;YACX,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACzC,KAAC,IAAI,IAEH,OAAO,EAAE,OAAkB,EAC3B,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAC/B,OAAO,EAAE,cAAc,EACvB,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,QAAQ,YAErC,KAAC,iBAAiB,IAAC,OAAO,EAAC,WAAW,YACnC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,EAAE,GACxC,IARf,OAAO,CASP,CACR,CAAC,GACgB,CACvB,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
@@ -2,4 +2,9 @@ declare const ManaBalancesWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
3
3
|
as?: import("react").ElementType;
|
4
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
5
|
-
|
5
|
+
declare const ManaBalanceNumber: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
6
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
7
|
+
}, "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"> & {
|
8
|
+
theme?: import("@emotion/react").Theme;
|
9
|
+
}, {}, {}>;
|
10
|
+
export { ManaBalancesWrapper, ManaBalanceNumber };
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import styled from "@emotion/styled";
|
2
|
+
import { Typography } from "@mui/material";
|
2
3
|
const ManaBalancesWrapper = styled("div")((props) => {
|
3
4
|
const { theme } = props;
|
4
5
|
return {
|
@@ -8,5 +9,8 @@ const ManaBalancesWrapper = styled("div")((props) => {
|
|
8
9
|
},
|
9
10
|
};
|
10
11
|
});
|
11
|
-
|
12
|
+
const ManaBalanceNumber = styled(Typography)({
|
13
|
+
lineHeight: "inherit",
|
14
|
+
});
|
15
|
+
export { ManaBalancesWrapper, ManaBalanceNumber };
|
12
16
|
//# sourceMappingURL=ManaBalances.styled.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ManaBalances.styled.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/ManaBalances/ManaBalances.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;
|
1
|
+
{"version":3,"file":"ManaBalances.styled.js","sourceRoot":"","sources":["../../../../src/components/UserMenu/ManaBalances/ManaBalances.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE;IAClD,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAA;IACvB,OAAO;QACL,OAAO,EAAE,MAAM;QACf,OAAO,EAAE;YACP,QAAQ,EAAE,KAAM,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ;SAC/C;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IAC3C,UAAU,EAAE,SAAS;CACtB,CAAC,CAAA;AAEF,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "decentraland-ui2",
|
3
|
-
"version": "0.8.
|
3
|
+
"version": "0.8.6",
|
4
4
|
"description": "Decentraland's UI components and styles",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -90,5 +90,5 @@
|
|
90
90
|
"files": [
|
91
91
|
"dist"
|
92
92
|
],
|
93
|
-
"commit": "
|
93
|
+
"commit": "99035168ea551433839090a7a0b0fe1a4ee99b27"
|
94
94
|
}
|