@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.
- package/Button/Button.js +13 -1
- package/ListItemIcon/styled.js +1 -1
- package/Menu/Menu.d.ts +2 -2
- package/Menu/Menu.js +5 -14
- package/Menu/index.d.ts +1 -0
- package/Menu/index.js +1 -0
- package/Menu/types.d.ts +1 -0
- package/Menu/types.js +2 -0
- package/MenuGroup/MenuGroup.d.ts +3 -0
- package/MenuGroup/MenuGroup.js +23 -0
- package/MenuGroup/index.d.ts +1 -0
- package/MenuGroup/index.js +13 -0
- package/MenuGroup/stories/Icons.d.ts +8 -0
- package/MenuGroup/stories/Icons.js +29 -0
- package/MenuGroup/stories/styled.d.ts +50 -0
- package/MenuGroup/stories/styled.js +20 -0
- package/MenuGroup/styled.d.ts +20 -0
- package/MenuGroup/styled.js +24 -0
- package/MenuGroup/types.d.ts +8 -0
- package/MenuGroup/types.js +2 -0
- package/MenuItem/MenuItem.d.ts +1 -1
- package/MenuItem/MenuItem.js +2 -2
- package/MenuItem/styled.d.ts +31 -0
- package/MenuItem/styled.js +14 -0
- package/MenuItem/types.d.ts +1 -0
- package/MenuItem/types.js +2 -0
- package/Notification/Notification.d.ts +6 -0
- package/Notification/Notification.js +42 -0
- package/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
- package/Notification/NotificationContainer/NotificationContainer.js +24 -0
- package/Notification/NotificationContainer/index.d.ts +1 -0
- package/Notification/NotificationContainer/index.js +13 -0
- package/Notification/NotificationContainer/styled.d.ts +5 -0
- package/Notification/NotificationContainer/styled.js +10 -0
- package/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
- package/Notification/NotificationTemplate/NotificationTemplate.js +34 -0
- package/Notification/NotificationTemplate/index.d.ts +1 -0
- package/Notification/NotificationTemplate/index.js +13 -0
- package/Notification/NotificationTemplate/styled.d.ts +83 -0
- package/Notification/NotificationTemplate/styled.js +56 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +11 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
- package/Notification/NotificationTemplate/utils/getActionsDirection/index.js +13 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +31 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
- package/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +13 -0
- package/Notification/NotificationTemplate/utils/index.d.ts +2 -0
- package/Notification/NotificationTemplate/utils/index.js +14 -0
- package/Notification/constants/defaultNotificationProps.d.ts +3 -0
- package/Notification/constants/defaultNotificationProps.js +6 -0
- package/Notification/constants/index.d.ts +3 -0
- package/Notification/constants/index.js +15 -0
- package/Notification/constants/notificationVariant.d.ts +6 -0
- package/Notification/constants/notificationVariant.js +23 -0
- package/Notification/constants/positions.d.ts +8 -0
- package/Notification/constants/positions.js +5 -0
- package/Notification/index.d.ts +5 -0
- package/Notification/index.js +17 -0
- package/Notification/styled.d.ts +77 -0
- package/Notification/styled.js +34 -0
- package/Notification/types.d.ts +27 -0
- package/Notification/types.js +2 -0
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
- package/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +17 -0
- package/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
- package/Notification/utils/getNotificationIconByVariant/index.js +13 -0
- package/Notification/utils/index.d.ts +2 -0
- package/Notification/utils/index.js +14 -0
- package/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
- package/Notification/utils/notificationTemplatePropsCreator/index.js +13 -0
- package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
- package/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +18 -0
- package/Placeholder/styled.js +2 -2
- package/Profile/Profile.d.ts +4 -0
- package/Profile/Profile.js +36 -0
- package/Profile/index.d.ts +2 -0
- package/Profile/index.js +14 -0
- package/Profile/styled.d.ts +40 -0
- package/Profile/styled.js +50 -0
- package/Profile/types.d.ts +20 -0
- package/Profile/types.js +2 -0
- package/Typography/index.d.ts +1 -0
- package/Typography/index.js +1 -0
- package/esm/Button/Button.js +13 -1
- package/esm/ListItemIcon/styled.js +1 -1
- package/esm/Menu/Menu.d.ts +2 -2
- package/esm/Menu/Menu.js +3 -15
- package/esm/Menu/index.d.ts +1 -0
- package/esm/Menu/index.js +1 -0
- package/esm/Menu/types.d.ts +1 -0
- package/esm/Menu/types.js +1 -0
- package/esm/MenuGroup/MenuGroup.d.ts +3 -0
- package/esm/MenuGroup/MenuGroup.js +19 -0
- package/esm/MenuGroup/index.d.ts +1 -0
- package/esm/MenuGroup/index.js +1 -0
- package/esm/MenuGroup/stories/Icons.d.ts +8 -0
- package/esm/MenuGroup/stories/Icons.js +19 -0
- package/esm/MenuGroup/stories/styled.d.ts +50 -0
- package/esm/MenuGroup/stories/styled.js +17 -0
- package/esm/MenuGroup/styled.d.ts +20 -0
- package/esm/MenuGroup/styled.js +21 -0
- package/esm/MenuGroup/types.d.ts +8 -0
- package/esm/MenuGroup/types.js +1 -0
- package/esm/MenuItem/MenuItem.d.ts +1 -1
- package/esm/MenuItem/MenuItem.js +2 -2
- package/esm/MenuItem/styled.d.ts +31 -0
- package/esm/MenuItem/styled.js +11 -0
- package/esm/MenuItem/types.d.ts +1 -0
- package/esm/MenuItem/types.js +1 -0
- package/esm/Notification/Notification.d.ts +6 -0
- package/esm/Notification/Notification.js +39 -0
- package/esm/Notification/NotificationContainer/NotificationContainer.d.ts +5 -0
- package/esm/Notification/NotificationContainer/NotificationContainer.js +20 -0
- package/esm/Notification/NotificationContainer/index.d.ts +1 -0
- package/esm/Notification/NotificationContainer/index.js +1 -0
- package/esm/Notification/NotificationContainer/styled.d.ts +5 -0
- package/esm/Notification/NotificationContainer/styled.js +7 -0
- package/esm/Notification/NotificationTemplate/NotificationTemplate.d.ts +13 -0
- package/esm/Notification/NotificationTemplate/NotificationTemplate.js +30 -0
- package/esm/Notification/NotificationTemplate/index.d.ts +1 -0
- package/esm/Notification/NotificationTemplate/index.js +1 -0
- package/esm/Notification/NotificationTemplate/styled.d.ts +83 -0
- package/esm/Notification/NotificationTemplate/styled.js +53 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.d.ts +2 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/getActionsDirection.js +7 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.d.ts +1 -0
- package/esm/Notification/NotificationTemplate/utils/getActionsDirection/index.js +1 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.d.ts +6 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/getNotificationTemplateStyles.js +27 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.d.ts +1 -0
- package/esm/Notification/NotificationTemplate/utils/getNotificationTemplateStyles/index.js +1 -0
- package/esm/Notification/NotificationTemplate/utils/index.d.ts +2 -0
- package/esm/Notification/NotificationTemplate/utils/index.js +2 -0
- package/esm/Notification/constants/defaultNotificationProps.d.ts +3 -0
- package/esm/Notification/constants/defaultNotificationProps.js +3 -0
- package/esm/Notification/constants/index.d.ts +3 -0
- package/esm/Notification/constants/index.js +3 -0
- package/esm/Notification/constants/notificationVariant.d.ts +6 -0
- package/esm/Notification/constants/notificationVariant.js +20 -0
- package/esm/Notification/constants/positions.d.ts +8 -0
- package/esm/Notification/constants/positions.js +2 -0
- package/esm/Notification/index.d.ts +5 -0
- package/esm/Notification/index.js +5 -0
- package/esm/Notification/styled.d.ts +77 -0
- package/esm/Notification/styled.js +31 -0
- package/esm/Notification/types.d.ts +27 -0
- package/esm/Notification/types.js +1 -0
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.d.ts +2 -0
- package/esm/Notification/utils/getNotificationIconByVariant/getNotificationIconByVariant.js +13 -0
- package/esm/Notification/utils/getNotificationIconByVariant/index.d.ts +1 -0
- package/esm/Notification/utils/getNotificationIconByVariant/index.js +1 -0
- package/esm/Notification/utils/index.d.ts +2 -0
- package/esm/Notification/utils/index.js +2 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/index.d.ts +1 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/index.js +1 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.d.ts +4 -0
- package/esm/Notification/utils/notificationTemplatePropsCreator/notificationTemplatePropsCreator.js +14 -0
- package/esm/Placeholder/styled.js +2 -2
- package/esm/Profile/Profile.d.ts +4 -0
- package/esm/Profile/Profile.js +33 -0
- package/esm/Profile/index.d.ts +2 -0
- package/esm/Profile/index.js +2 -0
- package/esm/Profile/styled.d.ts +40 -0
- package/esm/Profile/styled.js +47 -0
- package/esm/Profile/types.d.ts +20 -0
- package/esm/Profile/types.js +1 -0
- package/esm/Typography/index.d.ts +1 -0
- package/esm/Typography/index.js +1 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/theme/components/MuiMenu.d.ts +4 -0
- package/esm/theme/components/MuiMenu.js +24 -0
- package/esm/theme/components/MuiMenuItem.d.ts +4 -0
- package/esm/theme/components/MuiMenuItem.js +13 -0
- package/esm/theme/components/components.js +2 -35
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/package.json +4 -3
- package/theme/components/MuiMenu.d.ts +4 -0
- package/theme/components/MuiMenu.js +27 -0
- package/theme/components/MuiMenuItem.d.ts +4 -0
- package/theme/components/MuiMenuItem.js +16 -0
- package/theme/components/components.js +4 -37
package/Button/Button.js
CHANGED
|
@@ -10,6 +10,17 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
13
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
25
|
exports.Button = void 0;
|
|
15
26
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
@@ -17,6 +28,7 @@ var react_1 = require("react");
|
|
|
17
28
|
var lab_1 = require("@mui/lab");
|
|
18
29
|
var CircularProgress_1 = require("../CircularProgress");
|
|
19
30
|
exports.Button = (0, react_1.forwardRef)(function (props, ref) {
|
|
20
|
-
|
|
31
|
+
var _a = props.variant, variant = _a === void 0 ? 'contained' : _a, restProps = __rest(props, ["variant"]);
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(lab_1.LoadingButton, __assign({ ref: ref }, restProps, { variant: variant, loadingIndicator: (0, jsx_runtime_1.jsx)(CircularProgress_1.CircularProgress, { size: "small" }, void 0) }), void 0));
|
|
21
33
|
});
|
|
22
34
|
exports.default = exports.Button;
|
package/ListItemIcon/styled.js
CHANGED
|
@@ -9,6 +9,6 @@ var material_1 = require("@mui/material");
|
|
|
9
9
|
var styles_1 = require("../styles");
|
|
10
10
|
exports.StyledListItemIcon = (0, styles_1.styled)(material_1.ListItemIcon)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
11
11
|
var theme = _a.theme;
|
|
12
|
-
return theme.palette.
|
|
12
|
+
return theme.palette.grey[900];
|
|
13
13
|
});
|
|
14
14
|
var templateObject_1;
|
package/Menu/Menu.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MenuProps } from '
|
|
3
|
-
export declare const Menu: (
|
|
2
|
+
import { MenuProps } from './types';
|
|
3
|
+
export declare const Menu: (props: MenuProps) => JSX.Element;
|
package/Menu/Menu.js
CHANGED
|
@@ -10,23 +10,14 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
};
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
15
|
};
|
|
24
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
17
|
exports.Menu = void 0;
|
|
26
18
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
-
var
|
|
28
|
-
var Menu = function (
|
|
29
|
-
|
|
30
|
-
return (0, jsx_runtime_1.jsx)(material_1.Menu, __assign({}, props, { children: children }), void 0);
|
|
19
|
+
var Menu_1 = __importDefault(require("@mui/material/Menu"));
|
|
20
|
+
var Menu = function (props) {
|
|
21
|
+
return (0, jsx_runtime_1.jsx)(Menu_1.default, __assign({}, props), void 0);
|
|
31
22
|
};
|
|
32
23
|
exports.Menu = Menu;
|
package/Menu/index.d.ts
CHANGED
package/Menu/index.js
CHANGED
package/Menu/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { MenuProps } from '@mui/material/Menu';
|
package/Menu/types.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.MenuGroup = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var react_1 = require("react");
|
|
17
|
+
var styled_1 = require("./styled");
|
|
18
|
+
var MenuGroup = function (props) {
|
|
19
|
+
var children = props.children, label = props.label;
|
|
20
|
+
var upperCasedLabel = (0, react_1.useMemo)(function () { return label.toUpperCase(); }, [label]);
|
|
21
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(styled_1.StyledLabel, __assign({ variant: "h7" }, { children: upperCasedLabel }), void 0), (0, jsx_runtime_1.jsx)(styled_1.StyledContentWrapper, { children: children }, void 0)] }, void 0));
|
|
22
|
+
};
|
|
23
|
+
exports.MenuGroup = MenuGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MenuGroup';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./MenuGroup"), exports);
|
|
@@ -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,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Ap2Icon = exports.OfdIcon = exports.AsIcon = exports.KedoIcon = exports.EdoIcon = exports.ApIcon = exports.AoIcon = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var AoIcon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7359_1261)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7359_1261" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
17
|
+
exports.AoIcon = AoIcon;
|
|
18
|
+
var ApIcon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7359_1276)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7359_1276" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
19
|
+
exports.ApIcon = ApIcon;
|
|
20
|
+
var EdoIcon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7359_1286)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7359_1286" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
21
|
+
exports.EdoIcon = EdoIcon;
|
|
22
|
+
var KedoIcon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7501_1395)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7501_1395" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
23
|
+
exports.KedoIcon = KedoIcon;
|
|
24
|
+
var AsIcon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7501_1409)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7501_1409" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
25
|
+
exports.AsIcon = AsIcon;
|
|
26
|
+
var OfdIcon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7501_1429)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7501_1429" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
27
|
+
exports.OfdIcon = OfdIcon;
|
|
28
|
+
var Ap2Icon = function () { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [(0, jsx_runtime_1.jsxs)("g", __assign({ "clip-path": "url(#clip0_7501_1441)" }, { children: [(0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.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), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", __assign({ id: "clip0_7501_1441" }, { children: (0, jsx_runtime_1.jsx)("rect", { width: "20", height: "20", fill: "white" }, void 0) }), void 0) }, void 0)] }), void 0)); };
|
|
29
|
+
exports.Ap2Icon = Ap2Icon;
|
|
@@ -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,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.StyledMenuWrapper = exports.StyledLabel = exports.StyledMenuItem = void 0;
|
|
8
|
+
var styles_1 = require("../../styles");
|
|
9
|
+
var MenuItem_1 = require("../../MenuItem");
|
|
10
|
+
var Typography_1 = require("../../Typography");
|
|
11
|
+
exports.StyledMenuItem = (0, styles_1.styled)(MenuItem_1.MenuItem)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 48px;\n"], ["\n height: 48px;\n"])));
|
|
12
|
+
exports.StyledLabel = (0, styles_1.styled)(Typography_1.Typography)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n"], ["\n font-size: ", ";\n"])), function (_a) {
|
|
13
|
+
var theme = _a.theme;
|
|
14
|
+
return theme.typography.h5.fontSize;
|
|
15
|
+
});
|
|
16
|
+
exports.StyledMenuWrapper = styles_1.styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding-top: ", ";\n"], ["\n padding-top: ", ";\n"])), function (_a) {
|
|
17
|
+
var theme = _a.theme;
|
|
18
|
+
return theme.spacing(2);
|
|
19
|
+
});
|
|
20
|
+
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,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.StyledContentWrapper = exports.StyledLabel = void 0;
|
|
8
|
+
var styles_1 = require("../styles");
|
|
9
|
+
var Typography_1 = require("../Typography");
|
|
10
|
+
exports.StyledLabel = (0, styles_1.styled)(Typography_1.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) {
|
|
11
|
+
var theme = _a.theme;
|
|
12
|
+
return theme.spacing(2, 4);
|
|
13
|
+
}, function (_a) {
|
|
14
|
+
var theme = _a.theme;
|
|
15
|
+
return theme.palette.grey[700];
|
|
16
|
+
}, function (_a) {
|
|
17
|
+
var theme = _a.theme;
|
|
18
|
+
return theme.typography.pxToRem(16);
|
|
19
|
+
});
|
|
20
|
+
exports.StyledContentWrapper = styles_1.styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n & > li {\n padding-left: ", ";\n }\n"], ["\n & > li {\n padding-left: ", ";\n }\n"])), function (_a) {
|
|
21
|
+
var theme = _a.theme;
|
|
22
|
+
return theme.spacing(7);
|
|
23
|
+
});
|
|
24
|
+
var templateObject_1, templateObject_2;
|
package/MenuItem/MenuItem.d.ts
CHANGED
package/MenuItem/MenuItem.js
CHANGED
|
@@ -24,9 +24,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.MenuItem = void 0;
|
|
26
26
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
27
|
-
var
|
|
27
|
+
var styled_1 = require("./styled");
|
|
28
28
|
var MenuItem = function (_a) {
|
|
29
29
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
30
|
-
return (0, jsx_runtime_1.jsx)(
|
|
30
|
+
return (0, jsx_runtime_1.jsx)(styled_1.StyledMenuItem, __assign({}, props, { children: children }), void 0);
|
|
31
31
|
};
|
|
32
32
|
exports.MenuItem = MenuItem;
|
|
@@ -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,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.StyledMenuItem = void 0;
|
|
8
|
+
var material_1 = require("@mui/material");
|
|
9
|
+
var styles_1 = require("../styles");
|
|
10
|
+
exports.StyledMenuItem = (0, styles_1.styled)(material_1.MenuItem)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", ";\n"], ["\n padding: ", ";\n"])), function (_a) {
|
|
11
|
+
var theme = _a.theme;
|
|
12
|
+
return theme.spacing(1.5, 10, 1.5, 3);
|
|
13
|
+
});
|
|
14
|
+
var templateObject_1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { MenuItemProps } from '@mui/material/MenuItem';
|
|
@@ -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,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.notify = void 0;
|
|
15
|
+
var react_toastify_1 = require("react-toastify");
|
|
16
|
+
var constants_1 = require("./constants");
|
|
17
|
+
exports.notify = {
|
|
18
|
+
info: function (title, options) {
|
|
19
|
+
return (0, react_toastify_1.toast)(function (_a) {
|
|
20
|
+
var toastProps = _a.toastProps;
|
|
21
|
+
return constants_1.NOTIFICATION_VARIANT.info(__assign(__assign({}, options), { title: title }), toastProps);
|
|
22
|
+
}, options);
|
|
23
|
+
},
|
|
24
|
+
success: function (title, options) {
|
|
25
|
+
return (0, react_toastify_1.toast)(function (_a) {
|
|
26
|
+
var toastProps = _a.toastProps;
|
|
27
|
+
return constants_1.NOTIFICATION_VARIANT.success(__assign(__assign({}, options), { title: title }), toastProps);
|
|
28
|
+
}, options);
|
|
29
|
+
},
|
|
30
|
+
warning: function (title, options) {
|
|
31
|
+
return (0, react_toastify_1.toast)(function (_a) {
|
|
32
|
+
var toastProps = _a.toastProps;
|
|
33
|
+
return constants_1.NOTIFICATION_VARIANT.warning(__assign(__assign({}, options), { title: title }), toastProps);
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
error: function (title, options) {
|
|
37
|
+
return (0, react_toastify_1.toast)(function (_a) {
|
|
38
|
+
var toastProps = _a.toastProps;
|
|
39
|
+
return constants_1.NOTIFICATION_VARIANT.error(__assign(__assign({}, options), { title: title }), toastProps);
|
|
40
|
+
}, options);
|
|
41
|
+
},
|
|
42
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.NotificationContainer = void 0;
|
|
15
|
+
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
+
var react_toastify_1 = require("react-toastify");
|
|
17
|
+
var inject_style_1 = require("react-toastify/dist/inject-style");
|
|
18
|
+
var constants_1 = require("../constants");
|
|
19
|
+
var styled_1 = require("./styled");
|
|
20
|
+
(0, inject_style_1.injectStyle)();
|
|
21
|
+
var NotificationContainer = function (props) {
|
|
22
|
+
return ((0, jsx_runtime_1.jsx)(styled_1.ToastContainerStyled, { children: (0, jsx_runtime_1.jsx)(react_toastify_1.ToastContainer, __assign({ hideProgressBar: true, pauseOnFocusLoss: true, position: constants_1.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));
|
|
23
|
+
};
|
|
24
|
+
exports.NotificationContainer = NotificationContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './NotificationContainer';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./NotificationContainer"), exports);
|
|
@@ -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>, {}>;
|