decentraland-ui2 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. package/dist/Assets/Navbar/create-submenu.png +0 -0
  2. package/dist/Assets/Navbar/explore-submenu.png +0 -0
  3. package/dist/Assets/Navbar/governance-submenu.png +0 -0
  4. package/dist/Assets/Navbar/learn-submenu.png +0 -0
  5. package/dist/Assets/Navbar/marketplace-submenu.png +0 -0
  6. package/dist/components/ChainSelector/ChainSelector.d.ts +2 -1
  7. package/dist/components/ChainSelector/ChainSelector.js +3 -3
  8. package/dist/components/ChainSelector/ChainSelector.js.map +1 -1
  9. package/dist/components/ChainSelector/ChainSelector.styled.js +15 -10
  10. package/dist/components/ChainSelector/ChainSelector.styled.js.map +1 -1
  11. package/dist/components/Logo/Logo.d.ts +4 -0
  12. package/dist/components/Logo/Logo.js +8 -0
  13. package/dist/components/Logo/Logo.js.map +1 -0
  14. package/dist/components/Logo/Logo.stories.d.ts +7 -0
  15. package/dist/components/Logo/Logo.stories.js +12 -0
  16. package/dist/components/Logo/Logo.stories.js.map +1 -0
  17. package/dist/components/Logo/Logo.styled.d.ts +6 -0
  18. package/dist/components/Logo/Logo.styled.js +13 -0
  19. package/dist/components/Logo/Logo.styled.js.map +1 -0
  20. package/dist/components/Modal/Modal.styled.js +3 -2
  21. package/dist/components/Modal/Modal.styled.js.map +1 -1
  22. package/dist/components/Modal/Modal.types.d.ts +1 -1
  23. package/dist/components/Navbar/MainMenu/MainMenu.d.ts +2 -0
  24. package/dist/components/Navbar/MainMenu/MainMenu.js +10 -0
  25. package/dist/components/Navbar/MainMenu/MainMenu.js.map +1 -0
  26. package/dist/components/Navbar/MainMenu/MainMenu.styled.d.ts +8 -0
  27. package/dist/components/Navbar/MainMenu/MainMenu.styled.js +38 -0
  28. package/dist/components/Navbar/MainMenu/MainMenu.styled.js.map +1 -0
  29. package/dist/components/Navbar/MainMenu/MainMenu.types.d.ts +8 -0
  30. package/dist/components/Navbar/MainMenu/MainMenu.types.js +2 -0
  31. package/dist/components/Navbar/MainMenu/MainMenu.types.js.map +1 -0
  32. package/dist/components/Navbar/MenuItem/MenuItem.d.ts +3 -0
  33. package/dist/components/Navbar/MenuItem/MenuItem.js +15 -0
  34. package/dist/components/Navbar/MenuItem/MenuItem.js.map +1 -0
  35. package/dist/components/Navbar/MenuItem/MenuItem.styled.d.ts +13 -0
  36. package/dist/components/Navbar/MenuItem/MenuItem.styled.js +54 -0
  37. package/dist/components/Navbar/MenuItem/MenuItem.styled.js.map +1 -0
  38. package/dist/components/Navbar/MenuItem/MenuItem.types.d.ts +9 -0
  39. package/dist/components/Navbar/MenuItem/MenuItem.types.js +2 -0
  40. package/dist/components/Navbar/MenuItem/MenuItem.types.js.map +1 -0
  41. package/dist/components/Navbar/Navbar.d.ts +4 -0
  42. package/dist/components/Navbar/Navbar.defaults.d.ts +6 -0
  43. package/dist/components/Navbar/Navbar.defaults.js +220 -0
  44. package/dist/components/Navbar/Navbar.defaults.js.map +1 -0
  45. package/dist/components/Navbar/Navbar.js +46 -0
  46. package/dist/components/Navbar/Navbar.js.map +1 -0
  47. package/dist/components/Navbar/Navbar.stories.d.ts +9 -0
  48. package/dist/components/Navbar/Navbar.stories.js +61 -0
  49. package/dist/components/Navbar/Navbar.stories.js.map +1 -0
  50. package/dist/components/Navbar/Navbar.styled.d.ts +47 -0
  51. package/dist/components/Navbar/Navbar.styled.js +106 -0
  52. package/dist/components/Navbar/Navbar.styled.js.map +1 -0
  53. package/dist/components/Navbar/Navbar.types.d.ts +57 -0
  54. package/dist/components/Navbar/Navbar.types.js +10 -0
  55. package/dist/components/Navbar/Navbar.types.js.map +1 -0
  56. package/dist/components/Navbar/SubMenu/SubMenu.d.ts +2 -0
  57. package/dist/components/Navbar/SubMenu/SubMenu.js +14 -0
  58. package/dist/components/Navbar/SubMenu/SubMenu.js.map +1 -0
  59. package/dist/components/Navbar/SubMenu/SubMenu.styled.d.ts +26 -0
  60. package/dist/components/Navbar/SubMenu/SubMenu.styled.js +156 -0
  61. package/dist/components/Navbar/SubMenu/SubMenu.styled.js.map +1 -0
  62. package/dist/components/Navbar/SubMenu/SubMenu.types.d.ts +13 -0
  63. package/dist/components/Navbar/SubMenu/SubMenu.types.js +2 -0
  64. package/dist/components/Navbar/SubMenu/SubMenu.types.js.map +1 -0
  65. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.d.ts +3 -0
  66. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.js +9 -0
  67. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.js.map +1 -0
  68. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.d.ts +11 -0
  69. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js +33 -0
  70. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.js.map +1 -0
  71. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.types.d.ts +5 -0
  72. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.types.js +2 -0
  73. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.types.js.map +1 -0
  74. package/dist/components/Navbar/SubMenuItem/SubMenuItem.d.ts +2 -0
  75. package/dist/components/Navbar/SubMenuItem/SubMenuItem.js +16 -0
  76. package/dist/components/Navbar/SubMenuItem/SubMenuItem.js.map +1 -0
  77. package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.d.ts +28 -0
  78. package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js +65 -0
  79. package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.js.map +1 -0
  80. package/dist/components/Navbar/SubMenuItem/SubMenuItem.types.d.ts +13 -0
  81. package/dist/components/Navbar/SubMenuItem/SubMenuItem.types.js +2 -0
  82. package/dist/components/Navbar/SubMenuItem/SubMenuItem.types.js.map +1 -0
  83. package/dist/components/Navbar/index.d.ts +2 -0
  84. package/dist/components/Navbar/index.js +3 -0
  85. package/dist/components/Navbar/index.js.map +1 -0
  86. package/dist/components/Notifications/Notifications.types.d.ts +3 -2
  87. package/dist/components/Notifications/NotificationsFeed.types.d.ts +2 -1
  88. package/dist/components/Notifications/NotificationsFeedTabs.js +1 -1
  89. package/dist/components/Notifications/NotificationsFeedTabs.js.map +1 -1
  90. package/dist/components/Notifications/NotificationsFeedTabs.types.d.ts +2 -1
  91. package/dist/components/Notifications/index.d.ts +3 -2
  92. package/dist/components/Notifications/index.js +1 -1
  93. package/dist/components/Notifications/index.js.map +1 -1
  94. package/dist/components/Notifications/types.d.ts +2 -1
  95. package/dist/components/Notifications/types.js +1 -1
  96. package/dist/components/Notifications/types.js.map +1 -1
  97. package/dist/components/UserMenu/ManaBalances/index.d.ts +1 -1
  98. package/dist/components/UserMenu/UserMenu.js +1 -1
  99. package/dist/components/UserMenu/UserMenu.js.map +1 -1
  100. package/dist/components/UserMenu/UserMenu.styled.js +12 -7
  101. package/dist/components/UserMenu/UserMenu.styled.js.map +1 -1
  102. package/dist/components/UserMenu/UserMenu.types.d.ts +3 -2
  103. package/dist/components/UserMenu/UserMenu.types.js.map +1 -1
  104. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js +35 -29
  105. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.js.map +1 -1
  106. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.types.d.ts +2 -2
  107. package/dist/components/UserMenu/index.d.ts +2 -2
  108. package/dist/config/env/dev.json +4 -2
  109. package/dist/config/env/prod.json +4 -2
  110. package/dist/config/env/stg.json +5 -3
  111. package/dist/data/notifications.d.ts +1 -1
  112. package/dist/data/notifications.js +1 -1
  113. package/dist/data/notifications.js.map +1 -1
  114. package/dist/theme/index.js +9 -0
  115. package/dist/theme/index.js.map +1 -1
  116. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenu.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenu/SubMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,0BAA0B,MAAM,4CAA4C,CAAA;AAEnF,O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QACH,CAAC,CAAC,GACe,CACpB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,26 @@
1
+ import { NavbarPages } from "../Navbar.types";
2
+ declare const SubMenuContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
5
+ theme?: import("@emotion/react").Theme;
6
+ }, {}, {}>;
7
+ declare const MenuItemContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
10
+ theme?: import("@emotion/react").Theme;
11
+ } & {
12
+ active: boolean;
13
+ section: NavbarPages;
14
+ isMobile?: boolean;
15
+ }, {}, {}>;
16
+ declare const SubMenuWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
18
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
19
+ theme?: import("@emotion/react").Theme;
20
+ }, {}, {}>;
21
+ declare const BackButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
22
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
23
+ }, "style" | "color" | "classes" | "className" | "tabIndex" | "children" | "size" | "sx" | "variant" | "href" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon"> & {
24
+ theme?: import("@emotion/react").Theme;
25
+ }, {}, {}>;
26
+ export { SubMenuContainer, MenuItemContainer, SubMenuWrapper, BackButton };
@@ -0,0 +1,156 @@
1
+ import zIndex from "@mui/material/styles/zIndex";
2
+ import styled from "@emotion/styled";
3
+ import { Box, Button, useTheme } from "@mui/material";
4
+ import CreateImage from "../../../Assets/Navbar/create-submenu.png";
5
+ import ExploreImage from "../../../Assets/Navbar/explore-submenu.png";
6
+ import GovernanceImage from "../../../Assets/Navbar/governance-submenu.png";
7
+ import LearnImage from "../../../Assets/Navbar/learn-submenu.png";
8
+ import MarketplaceImage from "../../../Assets/Navbar/marketplace-submenu.png";
9
+ import { NavbarPages } from "../Navbar.types";
10
+ const SubMenuContainer = styled(Box)(() => {
11
+ const theme = useTheme();
12
+ return {
13
+ [theme.breakpoints.down("sm")]: {
14
+ position: "absolute",
15
+ zIndex: zIndex.modal,
16
+ },
17
+ };
18
+ });
19
+ const MenuItemContainer = styled(Box)((props) => {
20
+ const { active, section } = props;
21
+ const theme = useTheme();
22
+ let modifiedStyles;
23
+ let mobileModifiedStyles;
24
+ let leftImageStyles;
25
+ const defaultStyles = {
26
+ opacity: 1,
27
+ top: "-200%",
28
+ backgroundSize: "100% 100%",
29
+ backgroundPosition: "0px 0px, 0px 0px",
30
+ position: "fixed",
31
+ zIndex: 0,
32
+ left: 0,
33
+ paddingLeft: "370px",
34
+ width: "100%",
35
+ height: "328px",
36
+ minHeight: "calc(390px + 64px)",
37
+ boxShadow: "none",
38
+ backgroundRepeat: "no-repeat",
39
+ display: "flex",
40
+ alignItems: "center",
41
+ paddingTop: "64px",
42
+ backgroundColor: theme.palette.background.default,
43
+ transition: `${theme.transitions.create(["box-shadow", "height"], {
44
+ duration: theme.transitions.duration.shorter,
45
+ easing: theme.transitions.easing.easeInOut,
46
+ })}, ${theme.transitions.create(["top", "left"], {
47
+ duration: theme.transitions.duration.complex,
48
+ easing: "cubic-bezier(1, 0, 0.15, 1)",
49
+ })}`,
50
+ };
51
+ if (active) {
52
+ modifiedStyles = {
53
+ opacity: 1,
54
+ top: 0,
55
+ zIndex: 10,
56
+ boxShadow: theme.shadows[20],
57
+ };
58
+ mobileModifiedStyles = {
59
+ left: 0,
60
+ };
61
+ }
62
+ switch (section) {
63
+ case NavbarPages.MARKETPLACE:
64
+ modifiedStyles = {
65
+ ...modifiedStyles,
66
+ backgroundImage: "radial-gradient(350px 200px at 400px 120%,#691fa933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #691fa933 0%, #073aff00 100%)",
67
+ };
68
+ leftImageStyles = {
69
+ backgroundImage: `url(${MarketplaceImage})`,
70
+ };
71
+ break;
72
+ case NavbarPages.CREATE:
73
+ modifiedStyles = {
74
+ ...modifiedStyles,
75
+ backgroundImage: "radial-gradient(350px 200px at 400px 120%,#ff743933 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff743933 0%, #073aff00 100%)",
76
+ };
77
+ leftImageStyles = {
78
+ backgroundImage: `url(${CreateImage})`,
79
+ };
80
+ break;
81
+ case NavbarPages.EXPLORE:
82
+ modifiedStyles = {
83
+ ...modifiedStyles,
84
+ backgroundImage: "radial-gradient(350px 200px at 400px 120%,#3dd0ff33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #3dd0ff33 0%, #073aff00 100%)",
85
+ };
86
+ leftImageStyles = {
87
+ backgroundImage: `url(${ExploreImage})`,
88
+ };
89
+ break;
90
+ case NavbarPages.LEARN:
91
+ modifiedStyles = {
92
+ ...modifiedStyles,
93
+ backgroundImage: "radial-gradient(350px 200px at 400px 120%,#a6746433 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #a6746433 0%, #073aff00 100%)",
94
+ };
95
+ leftImageStyles = {
96
+ backgroundImage: `url(${LearnImage})`,
97
+ };
98
+ break;
99
+ case NavbarPages.GOVERNANCE:
100
+ modifiedStyles = {
101
+ ...modifiedStyles,
102
+ backgroundImage: "radial-gradient(350px 200px at 400px 120%,#ff3dec33 0%,transparent 150%),radial-gradient(350px 200px at 1280px 120%, #ff3dec33 0%, #073aff00 100%)",
103
+ };
104
+ leftImageStyles = {
105
+ backgroundImage: `url(${GovernanceImage})`,
106
+ };
107
+ break;
108
+ }
109
+ return {
110
+ ...defaultStyles,
111
+ ...modifiedStyles,
112
+ "&::after": {
113
+ content: '""',
114
+ position: "absolute",
115
+ width: "370px",
116
+ height: "calc(100% - 64px)",
117
+ top: "64px",
118
+ backgroundRepeat: "no-repeat",
119
+ backgroundPosition: "bottom center",
120
+ left: 0,
121
+ backgroundSize: "auto 90%",
122
+ ...leftImageStyles,
123
+ },
124
+ [theme.breakpoints.down("sm")]: {
125
+ top: "64px",
126
+ left: "150%",
127
+ height: "100vh",
128
+ paddingLeft: 0,
129
+ width: "100%",
130
+ padding: "0 25px",
131
+ margin: 0,
132
+ alignItems: "flex-start",
133
+ boxShadow: "none",
134
+ backgroundColor: theme.palette.background.default,
135
+ ...mobileModifiedStyles,
136
+ "&::after": {
137
+ content: "none",
138
+ },
139
+ },
140
+ };
141
+ });
142
+ const SubMenuWrapper = styled(Box)(() => {
143
+ const theme = useTheme();
144
+ return {
145
+ width: "100%",
146
+ display: "flex",
147
+ alignItems: "flex-start",
148
+ height: "fit-content",
149
+ [theme.breakpoints.down("sm")]: {
150
+ flexDirection: "column",
151
+ },
152
+ };
153
+ });
154
+ const BackButton = styled(Button)({ padding: "0" });
155
+ export { SubMenuContainer, MenuItemContainer, SubMenuWrapper, BackButton };
156
+ //# sourceMappingURL=SubMenu.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenu.styled.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenu/SubMenu.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,6BAA6B,CAAA;AAChD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,WAAW,MAAM,2CAA2C,CAAA;AACnE,OAAO,YAAY,MAAM,4CAA4C,CAAA;AACrE,OAAO,eAAe,MAAM,+CAA+C,CAAA;AAC3E,OAAO,UAAU,MAAM,0CAA0C,CAAA;AACjE,OAAO,gBAAgB,MAAM,gDAAgD,CAAA;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAE7C,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE;IACxC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO;QACL,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;YAC9B,QAAQ,EAAE,UAAmB;YAC7B,MAAM,EAAE,MAAM,CAAC,KAAK;SACrB;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,KAItC,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAA;IACjC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IAExB,IAAI,cAAc,CAAA;IAClB,IAAI,oBAAoB,CAAA;IACxB,IAAI,eAAe,CAAA;IAEnB,MAAM,aAAa,GAAG;QACpB,OAAO,EAAE,CAAC;QACV,GAAG,EAAE,OAAO;QACZ,cAAc,EAA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M;YACZ,MAAM,EAAE,OAAO;YACf,WAAW,EAAE,CAAC;YACd,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,CAAC;YACT,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,MAAM;YACjB,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO;YACjD,GAAG,oBAAoB;YACvB,UAAU,EAAE;gBACV,OAAO,EAAE,MAAM;aAChB;SACF;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE;IACtC,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO;QACL,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,MAAM;QACf,UAAU,EAAE,YAAY;QACxB,MAAM,EAAE,aAAa;QACrB,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;YAC9B,aAAa,EAAE,QAAiB;SACjC;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAA;AAEnD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,UAAU,EAAE,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { NavbarPages, NavbarSubmenuProps } from "../Navbar.types";
2
+ type SubMenuProps = {
3
+ selectedMenu: NavbarPages | boolean;
4
+ submenus: NavbarSubmenuProps;
5
+ onToggleShowSubMenu: (e: React.MouseEvent<HTMLElement>, show: boolean, section: NavbarPages) => void;
6
+ onClickMenuOption?: (event: React.MouseEvent<HTMLElement, MouseEvent>, options: {
7
+ eventTrackingName: string;
8
+ url?: string;
9
+ isExternal?: boolean;
10
+ }) => void;
11
+ isMobile?: boolean;
12
+ };
13
+ export { SubMenuProps };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SubMenu.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenu.types.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenu/SubMenu.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { SubMenuColumnProps } from "./SubMenuColumn.types";
2
+ declare const SubMenuColumn: (props: SubMenuColumnProps) => import("react/jsx-runtime").JSX.Element;
3
+ export { SubMenuColumn };
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Typography } from "@mui/material";
3
+ import { SubMenuColumnContainer } from "./SubMenuColumn.styled";
4
+ const SubMenuColumn = (props) => {
5
+ const { children, title } = props;
6
+ return (_jsxs(SubMenuColumnContainer, { children: [!!title && _jsx(Typography, { variant: "body2", children: title }), children] }));
7
+ };
8
+ export { SubMenuColumn };
9
+ //# sourceMappingURL=SubMenuColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenuColumn.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenuColumn/SubMenuColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAE,EAAE;IAClD,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,CAAA;IACjC,OAAO,CACL,MAAC,sBAAsB,eACpB,CAAC,CAAC,KAAK,IAAI,KAAC,UAAU,IAAC,OAAO,EAAC,OAAO,YAAE,KAAK,GAAc,EAC3D,QAAQ,IACc,CAC1B,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ declare const SubMenuColumnContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
4
+ theme?: import("@emotion/react").Theme;
5
+ }, {}, {}>;
6
+ declare const SubMenuColumnTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
7
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
8
+ }, "p" | "style" | "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" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "className" | "children" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
9
+ theme?: import("@emotion/react").Theme;
10
+ }, {}, {}>;
11
+ export { SubMenuColumnContainer, SubMenuColumnTitle };
@@ -0,0 +1,33 @@
1
+ import styled from "@emotion/styled";
2
+ import { Box, Typography, useTheme } from "@mui/material";
3
+ const SubMenuColumnContainer = styled(Box)(() => {
4
+ const theme = useTheme();
5
+ return {
6
+ display: "flex",
7
+ flexFlow: "column nowrap",
8
+ justifyContent: "center",
9
+ height: "100%",
10
+ flexWrap: "nowrap",
11
+ marginRight: "56px",
12
+ flex: 1,
13
+ maxWidth: "350px",
14
+ "&:hover": {
15
+ borderBottomColor: "blue",
16
+ },
17
+ [theme.breakpoints.down("sm")]: {
18
+ maxWidth: "100%",
19
+ width: "100%",
20
+ },
21
+ };
22
+ });
23
+ const SubMenuColumnTitle = styled(Typography)(() => ({
24
+ fontSize: "18px",
25
+ fontWeight: 600,
26
+ lineHeight: "18px",
27
+ marginBottom: "6px",
28
+ "&:hover": {
29
+ color: "blue",
30
+ },
31
+ }));
32
+ export { SubMenuColumnContainer, SubMenuColumnTitle };
33
+ //# sourceMappingURL=SubMenuColumn.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenuColumn.styled.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenuColumn/SubMenuColumn.styled.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAEzD,MAAM,sBAAsB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE;IAC9C,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO;QACL,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE,eAAe;QACzB,cAAc,EAAE,QAAQ;QACxB,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,QAAiB;QAC3B,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,OAAO;QACjB,SAAS,EAAE;YACT,iBAAiB,EAAE,MAAM;SAC1B;QACD,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;YAC9B,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,MAAM;SACd;KACF,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;IACnD,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,GAAG;IACf,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,KAAK;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM;KACd;CACF,CAAC,CAAC,CAAA;AAEH,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,5 @@
1
+ export type SubMenuColumnProps = {
2
+ children: React.ReactNode;
3
+ title?: string;
4
+ isExternal?: boolean;
5
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SubMenuColumn.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenuColumn.types.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenuColumn/SubMenuColumn.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SubMenuItemProps } from "./SubMenuItem.types";
2
+ export declare const SubMenuItem: (props: SubMenuItemProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useCallback } from "react";
3
+ import { SubMenuItemContainer, SubMenuItemDescription, SubMenuItemExternal, SubMenuItemTitle, SubMenuLink, } from "./SubMenuItem.styled";
4
+ export const SubMenuItem = (props) => {
5
+ const { title, description, href, isExternal, eventTrackingName, onClickMenuOption, } = props;
6
+ const handleClick = useCallback((event) => {
7
+ event.preventDefault();
8
+ onClickMenuOption &&
9
+ onClickMenuOption(event, { eventTrackingName, url: href, isExternal });
10
+ setTimeout(() => {
11
+ window.open(href, isExternal ? "_blank" : "_self", "noopener");
12
+ }, onClickMenuOption ? 300 : 0);
13
+ }, [onClickMenuOption, eventTrackingName, href, isExternal]);
14
+ return (_jsx(SubMenuItemContainer, { isExternal: isExternal, children: _jsxs(SubMenuLink, { href: href, onClick: handleClick, children: [_jsx(SubMenuItemTitle, { children: title }), _jsx(SubMenuItemDescription, { children: description }), isExternal && _jsx(SubMenuItemExternal, {})] }) }));
15
+ };
16
+ //# sourceMappingURL=SubMenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenuItem.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenuItem/SubMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAE1C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,GACZ,MAAM,sBAAsB,CAAA;AAE7B,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAE,EAAE;IACrD,MAAM,EACJ,KAAK,EACL,WAAW,EACX,IAAI,EACJ,UAAU,EACV,iBAAiB,EACjB,iBAAiB,GAClB,GAAG,KAAK,CAAA;IAET,MAAM,WAAW,GAAG,WAAW,CAC7B,CAAC,KAAgD,EAAE,EAAE;QACnD,KAAK,CAAC,cAAc,EAAE,CAAA;QACtB,iBAAiB;YACf,iBAAiB,CAAC,KAAK,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAA;QACxE,UAAU,CACR,GAAG,EAAE;YACH,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,UAAU,CAAC,CAAA;QAChE,CAAC,EACD,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAC5B,CAAA;IACH,CAAC,EACD,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,IAAI,EAAE,UAAU,CAAC,CACzD,CAAA;IAED,OAAO,CACL,KAAC,oBAAoB,IAAC,UAAU,EAAE,UAAU,YAC1C,MAAC,WAAW,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,aAC3C,KAAC,gBAAgB,cAAE,KAAK,GAAoB,EAC5C,KAAC,sBAAsB,cAAE,WAAW,GAA0B,EAC7D,UAAU,IAAI,KAAC,mBAAmB,KAAG,IAC1B,GACO,CACxB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,28 @@
1
+ declare const SubMenuItemContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
+ }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
4
+ theme?: import("@emotion/react").Theme;
5
+ } & {
6
+ isExternal?: boolean;
7
+ }, {}, {}>;
8
+ declare const SubMenuLink: import("@emotion/styled").StyledComponent<import("@mui/material").LinkOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
9
+ ref?: ((instance: HTMLAnchorElement | null) => void) | import("react").RefObject<HTMLAnchorElement> | null | undefined;
10
+ }, "p" | "style" | "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" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "className" | "children" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "underline" | "TypographyClasses"> & {
11
+ theme?: import("@emotion/react").Theme;
12
+ }, {}, {}>;
13
+ declare const SubMenuItemTitle: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
14
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
15
+ }, "p" | "style" | "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" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "className" | "children" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
16
+ theme?: import("@emotion/react").Theme;
17
+ }, {}, {}>;
18
+ declare const SubMenuItemDescription: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
19
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
20
+ }, "p" | "style" | "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" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "className" | "children" | "sx" | "variant" | "align" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
21
+ theme?: import("@emotion/react").Theme;
22
+ }, {}, {}>;
23
+ declare const SubMenuItemExternal: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
24
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
25
+ }, "style" | "color" | "fontSize" | "shapeRendering" | "classes" | "className" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
26
+ theme?: import("@emotion/react").Theme;
27
+ }, {}, {}>;
28
+ export { SubMenuItemContainer, SubMenuLink, SubMenuItemTitle, SubMenuItemDescription, SubMenuItemExternal, };
@@ -0,0 +1,65 @@
1
+ import ArrowOutwardRoundedIcon from "@mui/icons-material/ArrowOutwardRounded";
2
+ import styled from "@emotion/styled";
3
+ import { Box, Link, Typography, useTheme } from "@mui/material";
4
+ const SubMenuItemContainer = styled(Box)((props) => {
5
+ let otherStyles = {};
6
+ const theme = useTheme();
7
+ if (props.isExternal) {
8
+ otherStyles = {
9
+ backgroundImage: `url(${ArrowOutwardRoundedIcon})`,
10
+ };
11
+ }
12
+ return {
13
+ display: "flex",
14
+ padding: 0,
15
+ width: "100%",
16
+ borderBottomColor: theme.palette.text.secondary,
17
+ color: theme.palette.text.secondary,
18
+ borderBottomStyle: "solid",
19
+ marginBottom: "6px",
20
+ paddingBottom: "16px",
21
+ height: "77.5px",
22
+ cursor: "pointer",
23
+ marginTop: "52px",
24
+ position: "relative",
25
+ ...otherStyles,
26
+ "&:not(:first-child)": {
27
+ marginTop: "32px",
28
+ },
29
+ "&:hover": {
30
+ borderBottomColor: theme.palette.text.primary,
31
+ color: theme.palette.text.primary,
32
+ },
33
+ [theme.breakpoints.down("sm")]: {
34
+ color: theme.palette.text.primary,
35
+ borderBottomColor: theme.palette.text.primary,
36
+ },
37
+ };
38
+ });
39
+ const SubMenuLink = styled(Link)({
40
+ textDecoration: "none",
41
+ color: "inherit",
42
+ });
43
+ const SubMenuItemTitle = styled(Typography)(() => ({
44
+ fontSize: "18px",
45
+ fontWeight: 600,
46
+ lineHeight: "18px",
47
+ marginBottom: "6px",
48
+ textDecoration: "none",
49
+ color: "inherit",
50
+ }));
51
+ const SubMenuItemDescription = styled(Typography)(() => ({
52
+ fontSize: "14px",
53
+ fontWeight: 400,
54
+ lineHeight: "18px",
55
+ textDecoration: "none",
56
+ color: "inherit",
57
+ }));
58
+ const SubMenuItemExternal = styled(ArrowOutwardRoundedIcon)(() => ({
59
+ position: "absolute",
60
+ right: 0,
61
+ top: "50%",
62
+ transform: "translateY(-50%)",
63
+ }));
64
+ export { SubMenuItemContainer, SubMenuLink, SubMenuItemTitle, SubMenuItemDescription, SubMenuItemExternal, };
65
+ //# sourceMappingURL=SubMenuItem.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenuItem.styled.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenuItem/SubMenuItem.styled.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,MAAM,yCAAyC,CAAA;AAC7E,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE/D,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,KAA+B,EAAE,EAAE;IAC3E,IAAI,WAAW,GAAG,EAAE,CAAA;IAEpB,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;QACrB,WAAW,GAAG;YACZ,eAAe,EAAE,OAAO,uBAAuB,GAAG;SACnD,CAAA;IACH,CAAC;IAED,OAAO;QACL,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,MAAM;QACb,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS;QAC/C,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS;QACnC,iBAAiB,EAAE,OAAgB;QACnC,YAAY,EAAE,KAAK;QACnB,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,QAAQ;QAChB,MAAM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EAAE,CAAC;IACR,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,kBAAkB;CAC9B,CAAC,CAAC,CAAA;AAEH,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,GACpB,CAAA"}
@@ -0,0 +1,13 @@
1
+ export type SubMenuItemProps = {
2
+ title: string;
3
+ description: string;
4
+ href: string;
5
+ eventTrackingName: string;
6
+ isExternal?: boolean;
7
+ className?: string;
8
+ onClickMenuOption?: (event: React.MouseEvent<HTMLElement, MouseEvent>, options: {
9
+ eventTrackingName: string;
10
+ url?: string;
11
+ isExternal?: boolean;
12
+ }) => void;
13
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SubMenuItem.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubMenuItem.types.js","sourceRoot":"","sources":["../../../../src/components/Navbar/SubMenuItem/SubMenuItem.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./Navbar";
2
+ export * from "./Navbar.types";
@@ -0,0 +1,3 @@
1
+ export * from "./Navbar";
2
+ export * from "./Navbar.types";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Navbar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA"}
@@ -1,5 +1,6 @@
1
1
  import { ModalProps } from "@mui/material";
2
- import { DCLNotificationProps, NotificationActiveTab, NotificationLocale } from "./types";
2
+ import { NotificationActiveTab } from "../Notifications";
3
+ import type { DCLNotificationProps, NotificationLocale } from "./types";
3
4
  type NotificationsProps = {
4
5
  isOpen: boolean;
5
6
  items: DCLNotificationProps[];
@@ -13,4 +14,4 @@ type NotificationsProps = {
13
14
  onBegin: (e: React.MouseEvent<HTMLButtonElement>) => void;
14
15
  onClose: (event: React.MouseEvent<HTMLElement> | MouseEvent, data?: ModalProps) => void;
15
16
  };
16
- export { NotificationsProps };
17
+ export type { NotificationsProps };
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- import { DCLNotificationProps, NotificationActiveTab, NotificationLocale } from "./types";
2
+ import { NotificationActiveTab } from "./types";
3
+ import type { DCLNotificationProps, NotificationLocale } from "./types";
3
4
  type NotificationsFeedProps = {
4
5
  items: DCLNotificationProps[];
5
6
  isLoading: boolean;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import React, { useCallback } from "react";
3
3
  import { Tab, Tabs } from "@mui/material";
4
4
  import { i18n } from "./NotificationsFeedTabs.i18n";
5
- import { NotificationActiveTab, } from "./types";
5
+ import { NotificationActiveTab } from "./types";
6
6
  import { NotificationComponentByType } from "./utils";
7
7
  import { EmptyInboxIcon, HistoryIcon } from "../Icon";
8
8
  import { EmptyViewContainer, EmptyViewDescription, EmptyViewTitle, } from "./NotificationsFeed.styled";
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsFeedTabs.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeedTabs.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AACnD,OAAO,EAEL,qBAAqB,GAEtB,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAErD,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,GACf,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,0BAA0B,EAC1B,iCAAiC,EACjC,+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EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,IAHvB,YAAY,CAAC,EAAE,CAIpB,CACH,CAAC,GACE,EACL,qBAAqB,CAAC,MAAM,GAAG,CAAC,IAAI,CACnC,0BACE,KAAC,wBAAwB,cACtB,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,GACG,EAC1B,qBAAqB,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,CAC3C,KAAC,mBAAmB,IAElB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,IAHvB,YAAY,CAAC,EAAE,CAIpB,CACH,CAAC,IACE,CACP,IACA,CACJ,GACA,CACJ,CAAC,CAAC,CAAC,CACF,4BACG,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC9B,iBAAiB,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,CACtC,KAAC,mBAAmB,IAElB,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa,IAHvB,YAAY,CAAC,EAAE,CAIpB,CACH,CAAC,CACH,CAAC,CAAC,CAAC,CACF,KAAC,mBAAmB,IAAC,MAAM,EAAE,MAAM,GAAI,CACxC,GACA,CACJ,GAC+B,GACA,IACR,IACA,CACjC,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
1
+ {"version":3,"file":"NotificationsFeedTabs.js","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsFeedTabs.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;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import { DCLNotificationProps, NotificationActiveTab, NotificationLocale } from "./types";
2
+ import { NotificationActiveTab } from "./types";
3
+ import type { DCLNotificationProps, NotificationLocale } from "./types";
3
4
  type NotificationsFeedTabsProps = {
4
5
  unreadNotifications: DCLNotificationProps[];
5
6
  previousNotifications: DCLNotificationProps[];
@@ -1,3 +1,4 @@
1
1
  export { Notifications } from "./Notifications";
2
- export { NotificationsProps } from "./Notifications.types";
3
- export { NotificationActiveTab, NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, RewardAssignedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, DCLNotificationProps, CommonNotificationProps, } from "./types";
2
+ export type { NotificationsProps } from "./Notifications.types";
3
+ export type { NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, RewardAssignedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, DCLNotificationProps, CommonNotificationProps, } from "./types";
4
+ export { NotificationActiveTab } from "./types";
@@ -1,3 +1,3 @@
1
1
  export { Notifications } from "./Notifications";
2
- export { NotificationActiveTab, } from "./types";
2
+ export { NotificationActiveTab } from "./types";
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EACL,qBAAqB,GA4BtB,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Notifications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AA+B/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA"}
@@ -126,4 +126,5 @@ type CommonNotificationProps<N> = {
126
126
  locale: NotificationLocale;
127
127
  renderProfile?: (address: string) => JSX.Element | string | null;
128
128
  };
129
- export { NotificationActiveTab, NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, RewardAssignedNotificationProps, RewardInProgressNotificationProps, RewardDelayedNotificationProps, CampaignOutOfStockNotificationProps, CampaignOutOfFundsNotificationProps, CampaignGasPriceHigherThanExpectedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, DCLNotificationProps, CommonNotificationProps, };
129
+ export { NotificationActiveTab };
130
+ export type { NotificationLocale, RawDecentralandNotification, ItemSoldNotificationProps, RoyalitesEarnedNotificationProps, BidAcceptedNotificationProps, BidReceivedNotificationProps, GovernanceAnnouncementNotificationProps, GovernanceProposalEnactedNotificationProps, GovernanceCoauthorRequestedNotificationProps, GovernanceAuthoredProposalFinishedNotificationProps, GovernanceVotingEndedVoterNotificationProps, GovernanceNewCommentOnProposalNotificationProps, GovernanceNewCommentOnProjectUpdateNotificationProps, GovernancePitchPassedNotificationProps, GovernanceTenderPassedNotificationProps, WorldsMissingResourcesNotificationProps, WorldsAccessRestrictedNotificationProps, WorldsAccessRestoredNotificationProps, WorldsPermissionGrantedNotificationProps, WorldsPermissionRevokedNotificationProps, LandRentedNotificationProps, LandRentalEndedNotificationProps, RewardAssignedNotificationProps, RewardInProgressNotificationProps, RewardDelayedNotificationProps, CampaignOutOfStockNotificationProps, CampaignOutOfFundsNotificationProps, CampaignGasPriceHigherThanExpectedNotificationProps, EventsStartsSoonNotificationProps, EventsStartedNotificationProps, DCLNotificationProps, CommonNotificationProps, };
@@ -3,5 +3,5 @@ var NotificationActiveTab;
3
3
  NotificationActiveTab["NEWEST"] = "newest";
4
4
  NotificationActiveTab["READ"] = "read";
5
5
  })(NotificationActiveTab || (NotificationActiveTab = {}));
6
- export { NotificationActiveTab, };
6
+ export { NotificationActiveTab };
7
7
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/Notifications/types.ts"],"names":[],"mappings":"AAEA,IAAK,qBAGJ;AAHD,WAAK,qBAAqB;IACxB,0CAAiB,CAAA;IACjB,sCAAa,CAAA;AACf,CAAC,EAHI,qBAAqB,KAArB,qBAAqB,QAGzB;AAkTD,OAAO,EACL,qBAAqB,GAiCtB,CAAA"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/components/Notifications/types.ts"],"names":[],"mappings":"AAEA,IAAK,qBAGJ;AAHD,WAAK,qBAAqB;IACxB,0CAAiB,CAAA;IACjB,sCAAa,CAAA;AACf,CAAC,EAHI,qBAAqB,KAArB,qBAAqB,QAGzB;AAkTD,OAAO,EAAE,qBAAqB,EAAE,CAAA"}