@astral/ui 0.25.0 → 0.28.0

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.
Files changed (185) hide show
  1. package/Button/Button.js +13 -1
  2. package/ListItemIcon/styled.js +1 -1
  3. package/Menu/Menu.d.ts +2 -2
  4. package/Menu/Menu.js +5 -14
  5. package/Menu/index.d.ts +1 -0
  6. package/Menu/index.js +1 -0
  7. package/Menu/types.d.ts +1 -0
  8. package/Menu/types.js +2 -0
  9. package/MenuGroup/MenuGroup.d.ts +3 -0
  10. package/MenuGroup/MenuGroup.js +23 -0
  11. package/MenuGroup/index.d.ts +1 -0
  12. package/MenuGroup/index.js +13 -0
  13. package/MenuGroup/stories/Icons.d.ts +8 -0
  14. package/MenuGroup/stories/Icons.js +29 -0
  15. package/MenuGroup/stories/styled.d.ts +50 -0
  16. package/MenuGroup/stories/styled.js +20 -0
  17. package/MenuGroup/styled.d.ts +20 -0
  18. package/MenuGroup/styled.js +24 -0
  19. package/MenuGroup/types.d.ts +8 -0
  20. package/MenuGroup/types.js +2 -0
  21. package/MenuItem/MenuItem.d.ts +1 -1
  22. package/MenuItem/MenuItem.js +2 -2
  23. package/MenuItem/styled.d.ts +31 -0
  24. package/MenuItem/styled.js +14 -0
  25. package/MenuItem/types.d.ts +1 -0
  26. package/MenuItem/types.js +2 -0
  27. package/Notification/Notification.d.ts +6 -0
  28. package/Notification/Notification.js +42 -0
  29. package/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
  30. package/Notification/NotificationContainer/NotificationContainer.js +24 -0
  31. package/Notification/NotificationContainer/index.d.ts +1 -0
  32. package/Notification/NotificationContainer/index.js +13 -0
  33. package/Notification/NotificationContainer/styled.d.ts +5 -0
  34. package/Notification/NotificationContainer/styled.js +10 -0
  35. package/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
  36. package/Notification/NotificationTemplate/NotificationTemplate.js +34 -0
  37. package/Notification/NotificationTemplate/index.d.ts +1 -0
  38. package/Notification/NotificationTemplate/index.js +13 -0
  39. package/Notification/NotificationTemplate/styled.d.ts +83 -0
  40. package/Notification/NotificationTemplate/styled.js +56 -0
  41. package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
  42. package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +11 -0
  43. package/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
  44. package/Notification/NotificationTemplate/utils/getActionsDirection/index.js +13 -0
  45. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
  46. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +31 -0
  47. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
  48. package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +13 -0
  49. package/Notification/NotificationTemplate/utils/index.d.ts +2 -0
  50. package/Notification/NotificationTemplate/utils/index.js +14 -0
  51. package/Notification/constants/defaultNotificationProps.d.ts +3 -0
  52. package/Notification/constants/defaultNotificationProps.js +6 -0
  53. package/Notification/constants/index.d.ts +3 -0
  54. package/Notification/constants/index.js +15 -0
  55. package/Notification/constants/notificationVariant.d.ts +6 -0
  56. package/Notification/constants/notificationVariant.js +23 -0
  57. package/Notification/constants/positions.d.ts +8 -0
  58. package/Notification/constants/positions.js +5 -0
  59. package/Notification/index.d.ts +5 -0
  60. package/Notification/index.js +17 -0
  61. package/Notification/styled.d.ts +77 -0
  62. package/Notification/styled.js +34 -0
  63. package/Notification/types.d.ts +27 -0
  64. package/Notification/types.js +2 -0
  65. package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
  66. package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +17 -0
  67. package/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
  68. package/Notification/utils/getNotificationIconByVariant/index.js +13 -0
  69. package/Notification/utils/index.d.ts +2 -0
  70. package/Notification/utils/index.js +14 -0
  71. package/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
  72. package/Notification/utils/notificationTemplatePropsCreator/index.js +13 -0
  73. package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
  74. package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +18 -0
  75. package/Placeholder/styled.js +2 -2
  76. package/Profile/Profile.d.ts +4 -0
  77. package/Profile/Profile.js +36 -0
  78. package/Profile/index.d.ts +2 -0
  79. package/Profile/index.js +14 -0
  80. package/Profile/styled.d.ts +40 -0
  81. package/Profile/styled.js +50 -0
  82. package/Profile/types.d.ts +20 -0
  83. package/Profile/types.js +2 -0
  84. package/Typography/index.d.ts +1 -0
  85. package/Typography/index.js +1 -0
  86. package/esm/Button/Button.js +13 -1
  87. package/esm/ListItemIcon/styled.js +1 -1
  88. package/esm/Menu/Menu.d.ts +2 -2
  89. package/esm/Menu/Menu.js +3 -15
  90. package/esm/Menu/index.d.ts +1 -0
  91. package/esm/Menu/index.js +1 -0
  92. package/esm/Menu/types.d.ts +1 -0
  93. package/esm/Menu/types.js +1 -0
  94. package/esm/MenuGroup/MenuGroup.d.ts +3 -0
  95. package/esm/MenuGroup/MenuGroup.js +19 -0
  96. package/esm/MenuGroup/index.d.ts +1 -0
  97. package/esm/MenuGroup/index.js +1 -0
  98. package/esm/MenuGroup/stories/Icons.d.ts +8 -0
  99. package/esm/MenuGroup/stories/Icons.js +19 -0
  100. package/esm/MenuGroup/stories/styled.d.ts +50 -0
  101. package/esm/MenuGroup/stories/styled.js +17 -0
  102. package/esm/MenuGroup/styled.d.ts +20 -0
  103. package/esm/MenuGroup/styled.js +21 -0
  104. package/esm/MenuGroup/types.d.ts +8 -0
  105. package/esm/MenuGroup/types.js +1 -0
  106. package/esm/MenuItem/MenuItem.d.ts +1 -1
  107. package/esm/MenuItem/MenuItem.js +2 -2
  108. package/esm/MenuItem/styled.d.ts +31 -0
  109. package/esm/MenuItem/styled.js +11 -0
  110. package/esm/MenuItem/types.d.ts +1 -0
  111. package/esm/MenuItem/types.js +1 -0
  112. package/esm/Notification/Notification.d.ts +6 -0
  113. package/esm/Notification/Notification.js +39 -0
  114. package/esm/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
  115. package/esm/Notification/NotificationContainer/NotificationContainer.js +20 -0
  116. package/esm/Notification/NotificationContainer/index.d.ts +1 -0
  117. package/esm/Notification/NotificationContainer/index.js +1 -0
  118. package/esm/Notification/NotificationContainer/styled.d.ts +5 -0
  119. package/esm/Notification/NotificationContainer/styled.js +7 -0
  120. package/esm/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
  121. package/esm/Notification/NotificationTemplate/NotificationTemplate.js +30 -0
  122. package/esm/Notification/NotificationTemplate/index.d.ts +1 -0
  123. package/esm/Notification/NotificationTemplate/index.js +1 -0
  124. package/esm/Notification/NotificationTemplate/styled.d.ts +83 -0
  125. package/esm/Notification/NotificationTemplate/styled.js +53 -0
  126. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
  127. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +7 -0
  128. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
  129. package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.js +1 -0
  130. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
  131. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +27 -0
  132. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
  133. package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +1 -0
  134. package/esm/Notification/NotificationTemplate/utils/index.d.ts +2 -0
  135. package/esm/Notification/NotificationTemplate/utils/index.js +2 -0
  136. package/esm/Notification/constants/defaultNotificationProps.d.ts +3 -0
  137. package/esm/Notification/constants/defaultNotificationProps.js +3 -0
  138. package/esm/Notification/constants/index.d.ts +3 -0
  139. package/esm/Notification/constants/index.js +3 -0
  140. package/esm/Notification/constants/notificationVariant.d.ts +6 -0
  141. package/esm/Notification/constants/notificationVariant.js +20 -0
  142. package/esm/Notification/constants/positions.d.ts +8 -0
  143. package/esm/Notification/constants/positions.js +2 -0
  144. package/esm/Notification/index.d.ts +5 -0
  145. package/esm/Notification/index.js +5 -0
  146. package/esm/Notification/styled.d.ts +77 -0
  147. package/esm/Notification/styled.js +31 -0
  148. package/esm/Notification/types.d.ts +27 -0
  149. package/esm/Notification/types.js +1 -0
  150. package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
  151. package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +13 -0
  152. package/esm/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
  153. package/esm/Notification/utils/getNotificationIconByVariant/index.js +1 -0
  154. package/esm/Notification/utils/index.d.ts +2 -0
  155. package/esm/Notification/utils/index.js +2 -0
  156. package/esm/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
  157. package/esm/Notification/utils/notificationTemplatePropsCreator/index.js +1 -0
  158. package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
  159. package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +14 -0
  160. package/esm/Placeholder/styled.js +2 -2
  161. package/esm/Profile/Profile.d.ts +4 -0
  162. package/esm/Profile/Profile.js +33 -0
  163. package/esm/Profile/index.d.ts +2 -0
  164. package/esm/Profile/index.js +2 -0
  165. package/esm/Profile/styled.d.ts +40 -0
  166. package/esm/Profile/styled.js +47 -0
  167. package/esm/Profile/types.d.ts +20 -0
  168. package/esm/Profile/types.js +1 -0
  169. package/esm/Typography/index.d.ts +1 -0
  170. package/esm/Typography/index.js +1 -0
  171. package/esm/index.d.ts +2 -0
  172. package/esm/index.js +2 -0
  173. package/esm/theme/components/MuiMenu.d.ts +4 -0
  174. package/esm/theme/components/MuiMenu.js +24 -0
  175. package/esm/theme/components/MuiMenuItem.d.ts +4 -0
  176. package/esm/theme/components/MuiMenuItem.js +13 -0
  177. package/esm/theme/components/components.js +2 -35
  178. package/index.d.ts +2 -0
  179. package/index.js +2 -0
  180. package/package.json +4 -3
  181. package/theme/components/MuiMenu.d.ts +4 -0
  182. package/theme/components/MuiMenu.js +27 -0
  183. package/theme/components/MuiMenuItem.d.ts +4 -0
  184. package/theme/components/MuiMenuItem.js +16 -0
  185. package/theme/components/components.js +4 -37
@@ -9,11 +9,23 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
12
23
  import { jsx as _jsx } from "react/jsx-runtime";
13
24
  import { forwardRef } from 'react';
14
25
  import { LoadingButton } from '@mui/lab';
15
26
  import { CircularProgress } from '../CircularProgress';
16
27
  export var Button = forwardRef(function (props, ref) {
17
- return (_jsx(LoadingButton, __assign({ ref: ref }, props, { loadingIndicator: _jsx(CircularProgress, { size: "small" }, void 0) }), void 0));
28
+ var _a = props.variant, variant = _a === void 0 ? 'contained' : _a, restProps = __rest(props, ["variant"]);
29
+ return (_jsx(LoadingButton, __assign({ ref: ref }, restProps, { variant: variant, loadingIndicator: _jsx(CircularProgress, { size: "small" }, void 0) }), void 0));
18
30
  });
19
31
  export default Button;
@@ -6,6 +6,6 @@ import { ListItemIcon } from '@mui/material';
6
6
  import { styled } from '../styles';
7
7
  export var StyledListItemIcon = styled(ListItemIcon)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
8
8
  var theme = _a.theme;
9
- return theme.palette.primary[800];
9
+ return theme.palette.grey[900];
10
10
  });
11
11
  var templateObject_1;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { MenuProps } from '@mui/material';
3
- export declare const Menu: ({ children, ...props }: MenuProps) => JSX.Element;
2
+ import { MenuProps } from './types';
3
+ export declare const Menu: (props: MenuProps) => JSX.Element;
package/esm/Menu/Menu.js CHANGED
@@ -9,20 +9,8 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
12
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import { Menu as MuiMenu } from '@mui/material';
25
- export var Menu = function (_a) {
26
- var children = _a.children, props = __rest(_a, ["children"]);
27
- return _jsx(MuiMenu, __assign({}, props, { children: children }), void 0);
13
+ import MuiMenu from '@mui/material/Menu';
14
+ export var Menu = function (props) {
15
+ return _jsx(MuiMenu, __assign({}, props), void 0);
28
16
  };
@@ -1 +1,2 @@
1
1
  export * from './Menu';
2
+ export * from './types';
package/esm/Menu/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export * from './Menu';
2
+ export * from './types';
@@ -0,0 +1 @@
1
+ export type { MenuProps } from '@mui/material/Menu';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { MenuGroupProps } from './types';
3
+ export declare const MenuGroup: (props: MenuGroupProps) => JSX.Element;
@@ -0,0 +1,19 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { useMemo } from 'react';
14
+ import { StyledContentWrapper, StyledLabel } from './styled';
15
+ export var MenuGroup = function (props) {
16
+ var children = props.children, label = props.label;
17
+ var upperCasedLabel = useMemo(function () { return label.toUpperCase(); }, [label]);
18
+ return (_jsxs(_Fragment, { children: [_jsx(StyledLabel, __assign({ variant: "h7" }, { children: upperCasedLabel }), void 0), _jsx(StyledContentWrapper, { children: children }, void 0)] }, void 0));
19
+ };
@@ -0,0 +1 @@
1
+ export * from './MenuGroup';
@@ -0,0 +1 @@
1
+ export * from './MenuGroup';
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const AoIcon: () => JSX.Element;
3
+ export declare const ApIcon: () => JSX.Element;
4
+ export declare const EdoIcon: () => JSX.Element;
5
+ export declare const KedoIcon: () => JSX.Element;
6
+ export declare const AsIcon: () => JSX.Element;
7
+ export declare const OfdIcon: () => JSX.Element;
8
+ export declare const Ap2Icon: () => JSX.Element;
@@ -0,0 +1,19 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ export var AoIcon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7359_1261)" }, { children: [_jsx("path", { d: "M13.0106 0.400124L19.2802 19.2282C19.3403 19.4074 19.31 19.6036 19.2001 19.7564C19.0902 19.9098 18.9128 20.0002 18.7246 20.0002H15.4785C14.2087 20.0002 13.0901 19.1928 12.6953 17.9917L9.43831 8.23219C9.39768 8.11204 9.39768 7.98157 9.43831 7.86141L11.8994 0.40071L13.0106 0.400124Z", fill: "#55B8F0" }, void 0), _jsx("path", { d: "M4.52136 20H1.27523C1.08699 20 0.91015 19.9096 0.79972 19.7568C0.689837 19.604 0.659525 19.4077 0.719056 19.2286L6.96523 0.400508C7.04534 0.161367 7.26906 0 7.5214 0H12.455C12.6432 0 12.82 0.0903906 12.9305 0.243203C13.0403 0.395977 13.0707 0.592812 13.0106 0.771367L7.30398 17.9933C6.90917 19.1932 5.7905 20 4.52136 20Z", fill: "#2165CC" }, void 0), _jsx("path", { d: "M12.455 0H9.99646V9.90453V9.90469L13.0106 0.771367C13.0707 0.592852 13.0404 0.396016 12.9305 0.243203C12.8201 0.0903906 12.6433 0 12.455 0V0Z", fill: "#0D4EB0" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7359_1261" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
14
+ export var ApIcon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7359_1276)" }, { children: [_jsx("path", { d: "M6.63256 19.2115C4.88306 18.225 3.94656 15.7465 4.91406 14.1325C5.79706 12.601 8.37506 11.833 10.6831 13.2455C11.9256 14.0095 13.3981 14.6365 15.1926 14.6365C16.8501 14.6365 18.4146 13.65 19.2901 12.1695C19.6121 11.6315 19.8421 10.959 19.9806 10.5105C19.9341 12.0805 19.4736 13.694 18.5996 15.1305C16.3901 18.9435 10.3146 21.3195 6.63256 19.2115Z", fill: "#2165CC" }, void 0), _jsx("path", { d: "M3.81346 2.49251C5.55196 1.58501 8.25046 1.90401 9.07396 3.67251C9.80646 5.26001 9.81246 7.48401 6.83296 9.07001C5.55196 9.75051 4.08846 10.5675 3.26446 12.111C2.48696 13.5625 2.39446 15.331 3.26446 16.874C3.58446 17.418 4.04196 18.008 4.36146 18.3255C3.03546 17.4625 1.89196 16.238 1.06796 14.6965C-1.00004 10.969 0.0159621 4.49001 3.81346 2.49251Z", fill: "#55B8F0" }, void 0), _jsx("path", { d: "M19.5 7.9815C19.5 9.9015 17.8195 12 15.866 12C14.049 12 12.232 10.9745 12.232 7.58C12.232 6.1515 12.0955 4.4995 11.187 3.0695C10.3245 1.6865 8.7265 0.79 6.9535 0.835C6.465 0.8355 5.931 0.8825 5.5 1C5.8 0.862 6.031 0.735 6.506 0.5685C7.547 0.2045 8.684 0.031 9.8695 0C14.322 0 19.454 3.83 19.5 7.9815Z", fill: "#0D4EB0" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7359_1276" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
15
+ export var EdoIcon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7359_1286)" }, { children: [_jsx("path", { d: "M6.5 6.10352e-05C5.1195 6.10352e-05 4 1.11956 4 2.50006V3.00006H13.75C15.545 3.00006 17 4.45506 17 6.25006V11.2501C17 12.2166 16.2165 13.0001 15.25 13.0001H8.75C7.7835 13.0001 7 12.2166 7 11.2501V8.00006H5C4.4475 8.00006 4 8.44756 4 9.00006V13.5001C4 14.8806 5.1195 16.0001 6.5 16.0001H17.5C18.8805 16.0001 20 14.8806 20 13.5001V2.50006C20 1.11956 18.8805 6.10352e-05 17.5 6.10352e-05H6.5Z", fill: "#55B8F0" }, void 0), _jsx("path", { d: "M2.5 4.00006C1.1195 4.00006 0 5.11956 0 6.50006V17.5001C0 18.8806 1.1195 20.0001 2.5 20.0001H13.5C14.8805 20.0001 16 18.8806 16 17.5001V17.0001H6.25C4.455 17.0001 3 15.5451 3 13.7501V8.75006C3 7.78356 3.7835 7.00006 4.75 7.00006H11.25C12.2165 7.00006 13 7.78356 13 8.75006V12.0001H15C15.5525 12.0001 16 11.5526 16 11.0001V6.50006C16 5.11956 14.8805 4.00006 13.5 4.00006H2.5Z", fill: "#1874FF" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7359_1286" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
16
+ export var KedoIcon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7501_1395)" }, { children: [_jsx("path", { d: "M0 10.2164C0 10.0838 0.0749008 9.96261 0.193475 9.90332L3.49348 8.25332C3.72619 8.13697 4 8.30619 4 8.56637V17.4337C4 17.6939 3.72619 17.8632 3.49348 17.7468L0.193475 16.0968C0.0749008 16.0375 0 15.9163 0 15.7837V10.2164Z", fill: "#B7C2CE" }, void 0), _jsx("path", { d: "M20 10.2164C20 10.0838 19.9251 9.96261 19.8065 9.90332L16.5065 8.25332C16.2738 8.13697 16 8.30619 16 8.56637V17.4337C16 17.6939 16.2738 17.8632 16.5065 17.7468L19.8065 16.0968C19.9251 16.0375 20 15.9163 20 15.7837V10.2164Z", fill: "#B7C2CE" }, void 0), _jsx("path", { d: "M0 4.22752C0 4.0892 0.0814567 3.96386 0.207852 3.90768L8.50785 0.218794C8.7393 0.115927 9 0.285347 9 0.538628V19.4693C9 19.7205 8.74308 19.89 8.51213 19.791L5.71213 18.591C5.58344 18.5358 5.5 18.4093 5.5 18.2693V6.58965C5.5 6.32398 5.21563 6.15517 4.9824 6.28239L0.517599 8.71774C0.284367 8.84495 0 8.67614 0 8.41047V4.22752Z", fill: "#778DA8" }, void 0), _jsx("path", { d: "M20 4.22752C20 4.0892 19.9185 3.96386 19.7921 3.90768L11.4921 0.218794C11.2607 0.115927 11 0.285347 11 0.538628V19.4693C11 19.7205 11.2569 19.89 11.4879 19.791L14.2879 18.591C14.4166 18.5358 14.5 18.4093 14.5 18.2693V6.58965C14.5 6.32398 14.7844 6.15517 15.0176 6.28239L19.4824 8.71774C19.7156 8.84495 20 8.67614 20 8.41047V4.22752Z", fill: "#778DA8" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7501_1395" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
17
+ export var AsIcon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7501_1409)" }, { children: [_jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.8738 11.1216C14.3646 13.343 12.3759 15 10 15C7.23863 15 5.00005 12.7615 5.00005 10C5.00005 7.6243 6.65696 5.63556 8.87824 5.12637C8.43153 5.0434 7.97091 5.00003 7.50016 5.00003C3.75223 5.00003 0.646392 7.74918 0.0891765 11.3409C0.685587 15.7913 4.20917 19.3147 8.65956 19.911C12.2512 19.3536 15.0002 16.2479 15.0002 12.5C15.0002 12.0292 14.9568 11.5684 14.8738 11.1216ZM10.3166 5.00989C12.8258 5.16666 14.8333 7.1741 14.9902 9.68325C15.3198 10.5594 15.5002 11.5086 15.5002 12.5C15.5002 15.9325 13.3385 18.86 10.3023 19.9956C15.6853 19.8358 20 15.4218 20 10C20 4.47718 15.5229 3.05176e-05 10 3.05176e-05C4.57816 3.05176e-05 0.164084 4.31499 0.0045166 9.69823C1.13999 6.66184 4.06761 4.50003 7.50016 4.50003C8.49142 4.50003 9.44057 4.68032 10.3166 5.00989Z", fill: "#2165CC" }, void 0), _jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.8736 11.1222C14.3642 13.3433 12.3756 15 9.99996 15C7.23854 15 4.99996 12.7615 4.99996 10C4.99996 7.62434 6.65683 5.63562 8.87806 5.12639C8.43131 5.04341 7.97065 5.00003 7.49985 5.00003C3.75219 5.00003 0.646527 7.74878 0.0889893 11.3402C0.685093 15.7908 4.20877 19.3146 8.65936 19.9109C12.2509 19.3536 14.9999 16.2478 14.9999 12.5C14.9999 12.0294 14.9565 11.5688 14.8736 11.1222Z", fill: "#B7C2CE" }, void 0), _jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10 20C15.5228 20 20 15.5229 20 10C20 4.47718 15.5228 3.05176e-05 10 3.05176e-05C4.47715 3.05176e-05 0 4.47718 0 10C0 10.4546 0.0303304 10.9021 0.0890777 11.3406C0.646448 7.74899 3.7522 5.00003 7.5 5.00003C11.6421 5.00003 15 8.35789 15 12.5C15 16.2478 12.251 19.3536 8.65946 19.911C9.09794 19.9697 9.54543 20 10 20Z", fill: "#778DA8" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7501_1409" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
18
+ export var OfdIcon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7501_1429)" }, { children: [_jsx("path", { d: "M19.0528 16.6056C19.7177 17.9354 18.7507 19.5 17.2639 19.5H4.25C3.2835 19.5 2.5 18.7165 2.5 17.75C2.5 16.7835 3.2835 16 4.25 16H14.5L9 5.50003H13.5L19.0528 16.6056Z", fill: "#B7C2CE" }, void 0), _jsx("path", { d: "M1.44721 3.39446C0.782312 2.06466 1.7493 0.500031 3.23607 0.500031H16.25C17.2165 0.500031 18 1.28353 18 2.25003C18 3.21653 17.2165 4.00003 16.25 4.00003H6L11.5 14.5H7L1.44721 3.39446Z", fill: "#778DA8" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7501_1429" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
19
+ export var Ap2Icon = function () { return (_jsxs("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsxs("g", __assign({ "clip-path": "url(#clip0_7501_1441)" }, { children: [_jsx("path", { d: "M6.63256 19.2115C4.88306 18.225 3.94656 15.7465 4.91406 14.1325C5.79706 12.601 8.37506 11.833 10.6831 13.2455C11.9256 14.0095 13.3981 14.6365 15.1926 14.6365C16.8501 14.6365 18.4146 13.65 19.2901 12.1695C19.6121 11.6315 19.8421 10.959 19.9806 10.5105C19.9341 12.0805 19.4736 13.694 18.5996 15.1305C16.3901 18.9435 10.3146 21.3195 6.63256 19.2115Z", fill: "#99A9BA" }, void 0), _jsx("path", { d: "M3.81346 2.49251C5.55196 1.58501 8.25046 1.90401 9.07396 3.67251C9.80646 5.26001 9.81246 7.48401 6.83296 9.07001C5.55196 9.75051 4.08846 10.5675 3.26446 12.111C2.48696 13.5625 2.39446 15.331 3.26446 16.874C3.58446 17.418 4.04196 18.008 4.36146 18.3255C3.03546 17.4625 1.89196 16.238 1.06796 14.6965C-1.00004 10.969 0.0159621 4.49001 3.81346 2.49251Z", fill: "#B7C2CE" }, void 0), _jsx("path", { d: "M19.5 7.9815C19.5 9.9015 17.8195 12 15.866 12C14.049 12 12.232 10.9745 12.232 7.58C12.232 6.1515 12.0955 4.4995 11.187 3.0695C10.3245 1.6865 8.7265 0.79 6.9535 0.835C6.465 0.8355 5.931 0.8825 5.5 1C5.8 0.862 6.031 0.735 6.506 0.5685C7.547 0.2045 8.684 0.031 9.8695 0C14.322 0 19.454 3.83 19.5 7.9815Z", fill: "#557192" }, void 0)] }), void 0), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7501_1441" }, { children: _jsx("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
@@ -0,0 +1,50 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<{
3
+ autoFocus?: boolean | undefined;
4
+ classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
5
+ dense?: boolean | undefined;
6
+ disabled?: boolean | undefined;
7
+ disableGutters?: boolean | undefined;
8
+ divider?: boolean | undefined;
9
+ selected?: boolean | undefined;
10
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
11
+ } & Omit<{
12
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
13
+ centerRipple?: boolean | undefined;
14
+ children?: import("react").ReactNode;
15
+ classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
16
+ disabled?: boolean | undefined;
17
+ disableRipple?: boolean | undefined;
18
+ disableTouchRipple?: boolean | undefined;
19
+ focusRipple?: boolean | undefined;
20
+ focusVisibleClassName?: string | undefined;
21
+ LinkComponent?: import("react").ElementType<any> | undefined;
22
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
23
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
24
+ tabIndex?: number | undefined;
25
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
26
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
27
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "tabIndex" | "children" | "className" | "slot" | "style" | "title" | "key" | "css" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
28
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
29
+ }, "disabled" | "onFocusVisible" | "tabIndex" | "action" | "children" | "autoFocus" | "dense" | "divider" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters"> & {
30
+ theme?: import("@emotion/react").Theme | undefined;
31
+ }, {}, {}>;
32
+ export declare const StyledLabel: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
33
+ align?: "inherit" | "left" | "right" | "center" | "justify" | undefined;
34
+ children?: import("react").ReactNode;
35
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
36
+ gutterBottom?: boolean | undefined;
37
+ noWrap?: boolean | undefined;
38
+ paragraph?: boolean | undefined;
39
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
40
+ variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
41
+ variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
42
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "tabIndex" | "children" | "className" | "slot" | "style" | "title" | "key" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
43
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
44
+ }, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "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" | "overflow" | "padding" | "typography" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
45
+ theme?: import("@emotion/react").Theme | undefined;
46
+ }, {}, {}>;
47
+ export declare const StyledMenuWrapper: import("@emotion/styled").StyledComponent<{
48
+ theme?: import("@emotion/react").Theme | undefined;
49
+ as?: import("react").ElementType<any> | undefined;
50
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,17 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { styled } from '../../styles';
6
+ import { MenuItem } from '../../MenuItem';
7
+ import { Typography } from '../../Typography';
8
+ export var StyledMenuItem = styled(MenuItem)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n"], ["\n height: 48px;\n"])));
9
+ export var StyledLabel = styled(Typography)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n"], ["\n font-size: ", ";\n"])), function (_a) {
10
+ var theme = _a.theme;
11
+ return theme.typography.h5.fontSize;
12
+ });
13
+ export var StyledMenuWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding-top: ", ";\n"], ["\n padding-top: ", ";\n"])), function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.spacing(2);
16
+ });
17
+ var templateObject_1, templateObject_2, templateObject_3;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledLabel: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
3
+ align?: "inherit" | "left" | "right" | "center" | "justify" | undefined;
4
+ children?: import("react").ReactNode;
5
+ classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
6
+ gutterBottom?: boolean | undefined;
7
+ noWrap?: boolean | undefined;
8
+ paragraph?: boolean | undefined;
9
+ sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
10
+ variant?: "inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div" | undefined;
11
+ variantMapping?: Partial<Record<"inherit" | "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "caption" | "button" | "overline" | "h7" | "h8" | "h9" | "ui" | "link" | "pointer" | "code" | "div", string>> | undefined;
12
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "tabIndex" | "children" | "className" | "slot" | "style" | "title" | "key" | "css" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
13
+ ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
14
+ }, "children" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "p" | "color" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "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" | "overflow" | "padding" | "typography" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
17
+ export declare const StyledContentWrapper: import("@emotion/styled").StyledComponent<{
18
+ theme?: import("@emotion/react").Theme | undefined;
19
+ as?: import("react").ElementType<any> | undefined;
20
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,21 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { styled } from '../styles';
6
+ import { Typography } from '../Typography';
7
+ export var StyledLabel = styled(Typography)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n padding: ", ";\n\n color: ", ";\n line-height: ", ";\n"], ["\n display: block;\n padding: ", ";\n\n color: ", ";\n line-height: ", ";\n"])), function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.spacing(2, 4);
10
+ }, function (_a) {
11
+ var theme = _a.theme;
12
+ return theme.palette.grey[700];
13
+ }, function (_a) {
14
+ var theme = _a.theme;
15
+ return theme.typography.pxToRem(16);
16
+ });
17
+ export var StyledContentWrapper = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n & > li {\n padding-left: ", ";\n }\n"], ["\n & > li {\n padding-left: ", ";\n }\n"])), function (_a) {
18
+ var theme = _a.theme;
19
+ return theme.spacing(7);
20
+ });
21
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ export declare type MenuGroupProps = {
3
+ children: ReactNode;
4
+ /**
5
+ * Заголовок группы
6
+ */
7
+ label: string;
8
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { MenuItemProps } from '@mui/material';
2
+ import { MenuItemProps } from './types';
3
3
  export declare const MenuItem: ({ children, ...props }: MenuItemProps) => JSX.Element;
@@ -21,8 +21,8 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import { MenuItem as MuiMenuItem } from '@mui/material';
24
+ import { StyledMenuItem } from './styled';
25
25
  export var MenuItem = function (_a) {
26
26
  var children = _a.children, props = __rest(_a, ["children"]);
27
- return _jsx(MuiMenuItem, __assign({}, props, { children: children }), void 0);
27
+ return _jsx(StyledMenuItem, __assign({}, props, { children: children }), void 0);
28
28
  };
@@ -0,0 +1,31 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<{
3
+ autoFocus?: boolean | undefined;
4
+ classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
5
+ dense?: boolean | undefined;
6
+ disabled?: boolean | undefined;
7
+ disableGutters?: boolean | undefined;
8
+ divider?: boolean | undefined;
9
+ selected?: boolean | undefined;
10
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
11
+ } & Omit<{
12
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
13
+ centerRipple?: boolean | undefined;
14
+ children?: import("react").ReactNode;
15
+ classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
16
+ disabled?: boolean | undefined;
17
+ disableRipple?: boolean | undefined;
18
+ disableTouchRipple?: boolean | undefined;
19
+ focusRipple?: boolean | undefined;
20
+ focusVisibleClassName?: string | undefined;
21
+ LinkComponent?: import("react").ElementType<any> | undefined;
22
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
23
+ sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
24
+ tabIndex?: number | undefined;
25
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
26
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
27
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "tabIndex" | "children" | "className" | "slot" | "style" | "title" | "key" | "css" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
28
+ ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
29
+ }, "disabled" | "onFocusVisible" | "tabIndex" | "action" | "children" | "autoFocus" | "dense" | "divider" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters"> & {
30
+ theme?: import("@emotion/react").Theme | undefined;
31
+ }, {}, {}>;
@@ -0,0 +1,11 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { MenuItem as MuiMenuItem } from '@mui/material';
6
+ import { styled } from '../styles';
7
+ export var StyledMenuItem = styled(MuiMenuItem)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", ";\n"], ["\n padding: ", ";\n"])), function (_a) {
8
+ var theme = _a.theme;
9
+ return theme.spacing(1.5, 10, 1.5, 3);
10
+ });
11
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export type { MenuItemProps } from '@mui/material/MenuItem';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ import { NotificationProps, Variant } from './types';
2
+ interface NotificationOptions extends Omit<NotificationProps, 'title'> {
3
+ }
4
+ export declare type Notify = (title: string, options?: NotificationOptions) => number | string;
5
+ export declare const notify: Record<Variant, Notify>;
6
+ export {};
@@ -0,0 +1,39 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { toast } from 'react-toastify';
13
+ import { NOTIFICATION_VARIANT } from './constants';
14
+ export var notify = {
15
+ info: function (title, options) {
16
+ return toast(function (_a) {
17
+ var toastProps = _a.toastProps;
18
+ return NOTIFICATION_VARIANT.info(__assign(__assign({}, options), { title: title }), toastProps);
19
+ }, options);
20
+ },
21
+ success: function (title, options) {
22
+ return toast(function (_a) {
23
+ var toastProps = _a.toastProps;
24
+ return NOTIFICATION_VARIANT.success(__assign(__assign({}, options), { title: title }), toastProps);
25
+ }, options);
26
+ },
27
+ warning: function (title, options) {
28
+ return toast(function (_a) {
29
+ var toastProps = _a.toastProps;
30
+ return NOTIFICATION_VARIANT.warning(__assign(__assign({}, options), { title: title }), toastProps);
31
+ });
32
+ },
33
+ error: function (title, options) {
34
+ return toast(function (_a) {
35
+ var toastProps = _a.toastProps;
36
+ return NOTIFICATION_VARIANT.error(__assign(__assign({}, options), { title: title }), toastProps);
37
+ }, options);
38
+ },
39
+ };
@@ -0,0 +1,5 @@
1
+ import { VFC } from 'react';
2
+ import { ToastContainerProps } from 'react-toastify';
3
+ export interface NotificationContainerProps extends ToastContainerProps {
4
+ }
5
+ export declare const NotificationContainer: VFC<NotificationContainerProps>;
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { ToastContainer } from 'react-toastify';
14
+ import { injectStyle } from 'react-toastify/dist/inject-style';
15
+ import { NOTIFY_POSITIONS } from '../constants';
16
+ import { ToastContainerStyled } from './styled';
17
+ injectStyle();
18
+ export var NotificationContainer = function (props) {
19
+ return (_jsx(ToastContainerStyled, { children: _jsx(ToastContainer, __assign({ hideProgressBar: true, pauseOnFocusLoss: true, position: NOTIFY_POSITIONS.BOTTOM_RIGHT, newestOnTop: false, closeOnClick: false, draggable: false, rtl: false }, props, { closeButton: false, bodyClassName: "notify__body", toastClassName: "notify", progressClassName: "notify__progress", className: "notify__container" }), void 0) }, void 0));
20
+ };
@@ -0,0 +1 @@
1
+ export * from './NotificationContainer';
@@ -0,0 +1 @@
1
+ export * from './NotificationContainer';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const ToastContainerStyled: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ import { styled } from '../../styles';
6
+ export var ToastContainerStyled = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .notify {\n min-height: 56px;\n padding: 0;\n\n &__container {\n width: 400px;\n }\n\n &__body {\n margin: 0;\n padding: 0;\n }\n }\n"], ["\n .notify {\n min-height: 56px;\n padding: 0;\n\n &__container {\n width: 400px;\n }\n\n &__body {\n margin: 0;\n padding: 0;\n }\n }\n"])));
7
+ var templateObject_1;
@@ -0,0 +1,13 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { ToastProps } from 'react-toastify/dist/types';
3
+ import { ActionsDirection, Variant } from '../types';
4
+ export interface NotificationTemplateProps extends ToastProps {
5
+ icon: JSX.Element;
6
+ title: string;
7
+ filled?: boolean;
8
+ variant: Variant;
9
+ content?: ReactNode;
10
+ actions?: JSX.Element;
11
+ actionsDirection?: ActionsDirection;
12
+ }
13
+ export declare const NotificationTemplate: FC<NotificationTemplateProps>;
@@ -0,0 +1,30 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { useMemo } from 'react';
14
+ import { DEFAULT_NOTIFICATION_PROPS } from '../constants';
15
+ import { NotificationActions, NotificationCloseButton, NotificationCloseIcon, NotificationContent, NotificationHeader, NotificationIcon, NotificationTitle, NotificationWrapper, NotificationTemplate as StyledNotificationTemplate, } from './styled';
16
+ export var NotificationTemplate = function (_a) {
17
+ var icon = _a.icon, title = _a.title, closeToast = _a.closeToast, content = _a.content, actions = _a.actions, variant = _a.variant, _b = _a.filled, filled = _b === void 0 ? DEFAULT_NOTIFICATION_PROPS.filled : _b, _c = _a.actionsDirection, actionsDirection = _c === void 0 ? 'right' : _c;
18
+ var handleCloseToast = function () {
19
+ if (closeToast) {
20
+ closeToast();
21
+ }
22
+ };
23
+ var Content = useMemo(function () {
24
+ return _jsx(NotificationContent, { children: content }, void 0);
25
+ }, [content]);
26
+ var Actions = useMemo(function () {
27
+ return (_jsx(NotificationActions, __assign({ actionsDirection: actionsDirection }, { children: actions }), void 0));
28
+ }, [actions, actionsDirection]);
29
+ return (_jsxs(StyledNotificationTemplate, __assign({ variant: variant, filled: filled }, { children: [_jsxs(NotificationWrapper, { children: [_jsx(NotificationIcon, __assign({ filled: filled }, { children: icon }), void 0), _jsxs(NotificationHeader, { children: [_jsx(NotificationTitle, { children: title }, void 0), _jsx(NotificationCloseButton, __assign({ filled: filled, onClick: handleCloseToast, color: "primary", variant: "text" }, { children: _jsx(NotificationCloseIcon, { filled: filled }, void 0) }), void 0)] }, void 0)] }, void 0), content && Content, actions && Actions] }), void 0));
30
+ };
@@ -0,0 +1 @@
1
+ export * from './NotificationTemplate';
@@ -0,0 +1 @@
1
+ export * from './NotificationTemplate';