decentraland-ui2 0.33.3-18844659011.commit-775a7d7 → 0.34.1-18874938974.commit-68354d8

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.
@@ -2,6 +2,6 @@ import { SvgIconProps } from "@mui/material";
2
2
  import type { Meta, StoryObj } from "@storybook/react";
3
3
  declare const meta: Meta;
4
4
  type Story = StoryObj<SvgIconProps>;
5
- declare const Decentraland: Story;
5
+ declare const All: Story;
6
6
  export default meta;
7
- export { Decentraland };
7
+ export { All };
@@ -1,12 +1,16 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Logo } from "./Logo";
3
+ import { StoryContainer, StoryItemContainer } from "./Logo.styled";
3
4
  const meta = {
4
5
  component: Logo,
5
6
  title: "Decentraland UI/Logo",
7
+ tags: ["autodocs"],
6
8
  render: () => _jsx(Logo, {}),
7
9
  };
8
- const Decentraland = {};
10
+ const All = {
11
+ render: () => (_jsxs(StoryContainer, { children: [_jsxs(StoryItemContainer, { children: [_jsx("h3", { children: "Normal" }), _jsx(Logo, { size: "normal" })] }), _jsxs(StoryItemContainer, { children: [_jsx("h3", { children: "Large" }), _jsx(Logo, { size: "large" })] }), _jsxs(StoryItemContainer, { children: [_jsx("h3", { children: "Huge" }), _jsx(Logo, { size: "huge" })] }), _jsxs(StoryItemContainer, { children: [_jsx("h3", { children: "Massive" }), _jsx(Logo, { size: "massive" })] })] })),
12
+ };
9
13
  // eslint-disable-next-line import/no-default-export
10
14
  export default meta;
11
- export { Decentraland };
15
+ export { All };
12
16
  //# sourceMappingURL=Logo.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.stories.js","sourceRoot":"","sources":["../../../src/components/Logo/Logo.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG7B,MAAM,IAAI,GAAS;IACjB,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,sBAAsB;IAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,IAAI,KAAG;CACvB,CAAA;AAID,MAAM,YAAY,GAAU,EAAE,CAAA;AAE9B,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"Logo.stories.js","sourceRoot":"","sources":["../../../src/components/Logo/Logo.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAGlE,MAAM,IAAI,GAAS;IACjB,SAAS,EAAE,IAAI;IACf,KAAK,EAAE,sBAAsB;IAC7B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,IAAI,KAAG;CACvB,CAAA;AAID,MAAM,GAAG,GAAU;IACjB,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,MAAC,cAAc,eACb,MAAC,kBAAkB,eACjB,kCAAe,EACf,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,GAAG,IACH,EACrB,MAAC,kBAAkB,eACjB,iCAAc,EACd,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,GAAG,IACF,EACrB,MAAC,kBAAkB,eACjB,gCAAa,EACb,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,IACD,EACrB,MAAC,kBAAkB,eACjB,mCAAgB,EAChB,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,GAAG,IACJ,IACN,CAClB;CACF,CAAA;AAED,oDAAoD;AACpD,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,GAAG,EAAE,CAAA"}
@@ -7,4 +7,14 @@ declare const LogoContainer: import("@emotion/styled").StyledComponent<import("@
7
7
  } & {
8
8
  size?: "normal" | "large" | "huge" | "massive";
9
9
  }, {}, {}>;
10
- export { LogoContainer };
10
+ declare const StoryContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
13
+ theme?: import("@emotion/react").Theme;
14
+ }, {}, {}>;
15
+ declare const StoryItemContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
18
+ theme?: import("@emotion/react").Theme;
19
+ }, {}, {}>;
20
+ export { LogoContainer, StoryContainer, StoryItemContainer };
@@ -1,5 +1,5 @@
1
1
  import styled from "@emotion/styled";
2
- import { SvgIcon } from "@mui/material";
2
+ import { Box, SvgIcon } from "@mui/material";
3
3
  const dimensionsBySize = {
4
4
  normal: 2.5,
5
5
  large: 4,
@@ -14,5 +14,17 @@ const LogoContainer = styled(SvgIcon)(({ theme, size = "normal" }) => ({
14
14
  fontSize: theme.spacing(4),
15
15
  },
16
16
  }));
17
- export { LogoContainer };
17
+ const StoryContainer = styled(Box)(() => ({
18
+ display: "flex",
19
+ alignItems: "center",
20
+ gap: 32,
21
+ justifyContent: "center",
22
+ }));
23
+ const StoryItemContainer = styled(Box)({
24
+ display: "flex",
25
+ flexDirection: "column",
26
+ alignItems: "center",
27
+ gap: 8,
28
+ });
29
+ export { LogoContainer, StoryContainer, StoryItemContainer };
18
30
  //# sourceMappingURL=Logo.styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.styled.js","sourceRoot":"","sources":["../../../src/components/Logo/Logo.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,MAAM,gBAAgB,GAAG;IACvB,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,IAAI;CACd,CAAA;AAED,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,CACnC,CAAC,EAAE,KAAK,EAAE,IAAI,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC5C,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC7C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAC5B,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KAC3B;CACF,CAAC,CACH,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"Logo.styled.js","sourceRoot":"","sources":["../../../src/components/Logo/Logo.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAG5C,MAAM,gBAAgB,GAAG;IACvB,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,IAAI;CACd,CAAA;AAED,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,CACnC,CAAC,EAAE,KAAK,EAAE,IAAI,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC5C,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC7C,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;IAC5B,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;QAC9B,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KAC3B;CACF,CAAC,CACH,CAAA;AAED,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACxC,OAAO,EAAE,MAAM;IACf,UAAU,EAAE,QAAQ;IACpB,GAAG,EAAE,EAAE;IACP,cAAc,EAAE,QAAQ;CACzB,CAAC,CAAC,CAAA;AAEH,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IACrC,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,UAAU,EAAE,QAAQ;IACpB,GAAG,EAAE,CAAC;CACP,CAAC,CAAA;AAEF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decentraland-ui2",
3
- "version": "0.33.3-18844659011.commit-775a7d7",
3
+ "version": "0.34.1-18874938974.commit-68354d8",
4
4
  "description": "Decentraland's UI components and styles",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -99,5 +99,5 @@
99
99
  "files": [
100
100
  "dist"
101
101
  ],
102
- "commit": "775a7d7af757ea81c4838a7bff39a162b732e98c"
102
+ "commit": "68354d87656fe1d9907f869a73ca373edb1d3033"
103
103
  }