@astral/ui 0.28.1-test.1 → 0.31.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 (75) hide show
  1. package/DashboardLayout/DashboardLayout.d.ts +5 -9
  2. package/DashboardLayout/DashboardLayout.js +3 -14
  3. package/DashboardLayout/DashboardLayoutStory.d.ts +7 -0
  4. package/DashboardLayout/DashboardLayoutStory.js +27 -0
  5. package/DashboardLayout/DashboardLayoutStoryTemplate.d.ts +4 -0
  6. package/DashboardLayout/DashboardLayoutStoryTemplate.js +21 -0
  7. package/DashboardLayout/Header/Header.d.ts +7 -1
  8. package/DashboardLayout/Header/Header.js +7 -2
  9. package/DashboardLayout/Header/index.d.ts +0 -1
  10. package/DashboardLayout/Header/index.js +0 -1
  11. package/DashboardLayout/Header/styled.d.ts +3 -17
  12. package/DashboardLayout/Header/styled.js +5 -14
  13. package/DashboardLayout/Main/Main.d.ts +1 -1
  14. package/DashboardLayout/Main/Main.js +1 -1
  15. package/DashboardLayout/Main/styled.d.ts +1 -1
  16. package/DashboardLayout/Main/styled.js +2 -2
  17. package/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
  18. package/DashboardLayout/Sidebar/Sidebar.js +1 -1
  19. package/DashboardLayout/Sidebar/styled.d.ts +6 -1
  20. package/DashboardLayout/Sidebar/styled.js +8 -5
  21. package/DashboardLayout/styled.d.ts +3 -4
  22. package/DashboardLayout/styled.js +4 -3
  23. package/RadioGroup/RadioGroup.d.ts +2 -2
  24. package/RadioGroup/RadioGroup.js +2 -1
  25. package/RadioGroup/index.d.ts +1 -0
  26. package/RadioGroup/index.js +13 -0
  27. package/esm/DashboardLayout/DashboardLayout.d.ts +5 -9
  28. package/esm/DashboardLayout/DashboardLayout.js +4 -15
  29. package/esm/DashboardLayout/DashboardLayoutStory.d.ts +7 -0
  30. package/esm/DashboardLayout/DashboardLayoutStory.js +23 -0
  31. package/esm/DashboardLayout/DashboardLayoutStoryTemplate.d.ts +4 -0
  32. package/esm/DashboardLayout/DashboardLayoutStoryTemplate.js +17 -0
  33. package/esm/DashboardLayout/Header/Header.d.ts +7 -1
  34. package/esm/DashboardLayout/Header/Header.js +8 -3
  35. package/esm/DashboardLayout/Header/index.d.ts +0 -1
  36. package/esm/DashboardLayout/Header/index.js +0 -1
  37. package/esm/DashboardLayout/Header/styled.d.ts +3 -17
  38. package/esm/DashboardLayout/Header/styled.js +4 -13
  39. package/esm/DashboardLayout/Main/Main.d.ts +1 -1
  40. package/esm/DashboardLayout/Main/Main.js +2 -2
  41. package/esm/DashboardLayout/Main/styled.d.ts +1 -1
  42. package/esm/DashboardLayout/Main/styled.js +1 -1
  43. package/esm/DashboardLayout/Sidebar/Sidebar.d.ts +1 -1
  44. package/esm/DashboardLayout/Sidebar/Sidebar.js +3 -3
  45. package/esm/DashboardLayout/Sidebar/styled.d.ts +6 -1
  46. package/esm/DashboardLayout/Sidebar/styled.js +7 -4
  47. package/esm/DashboardLayout/styled.d.ts +3 -4
  48. package/esm/DashboardLayout/styled.js +3 -2
  49. package/esm/RadioGroup/RadioGroup.d.ts +2 -2
  50. package/esm/RadioGroup/RadioGroup.js +1 -2
  51. package/esm/RadioGroup/index.d.ts +1 -0
  52. package/esm/RadioGroup/index.js +1 -0
  53. package/esm/index.d.ts +3 -0
  54. package/esm/index.js +3 -0
  55. package/esm/theme/baseTheme.d.ts +2 -1
  56. package/esm/theme/baseTheme.js +3 -1
  57. package/esm/theme/breakpoints.d.ts +2 -0
  58. package/esm/theme/breakpoints.js +9 -0
  59. package/esm/theme/components/MuiButton.js +9 -0
  60. package/index.d.ts +3 -0
  61. package/index.js +3 -0
  62. package/package.json +5 -5
  63. package/theme/baseTheme.d.ts +2 -1
  64. package/theme/baseTheme.js +3 -1
  65. package/theme/breakpoints.d.ts +2 -0
  66. package/theme/breakpoints.js +12 -0
  67. package/theme/components/MuiButton.js +9 -0
  68. package/DashboardLayout/Header/types.d.ts +0 -10
  69. package/DashboardLayout/Header/types.js +0 -2
  70. package/DashboardLayout/constants.d.ts +0 -1
  71. package/DashboardLayout/constants.js +0 -4
  72. package/esm/DashboardLayout/Header/types.d.ts +0 -10
  73. package/esm/DashboardLayout/Header/types.js +0 -1
  74. package/esm/DashboardLayout/constants.d.ts +0 -1
  75. package/esm/DashboardLayout/constants.js +0 -1
@@ -1,15 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- interface DashBoardLayoutProps {
2
+ export declare type DashBoardLayoutProps = {
3
3
  children: ReactNode;
4
- }
4
+ };
5
5
  export declare const DashboardLayout: {
6
- ({ children }: DashBoardLayoutProps): JSX.Element;
6
+ (props: DashBoardLayoutProps): JSX.Element;
7
7
  Header: import("react").ForwardRefExoticComponent<import("./Header").HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
8
- Sidebar: import("react").ForwardRefExoticComponent<{
9
- children: ReactNode;
10
- } & import("react").RefAttributes<HTMLDivElement>>;
11
- Main: import("react").ForwardRefExoticComponent<{
12
- children: ReactNode;
13
- } & import("react").RefAttributes<HTMLDivElement>>;
8
+ Sidebar: import("react").ForwardRefExoticComponent<import("./Sidebar").SidebarProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ Main: import("react").ForwardRefExoticComponent<import("./Main").MainProps & import("react").RefAttributes<HTMLDivElement>>;
14
10
  };
15
11
  export default DashboardLayout;
@@ -1,15 +1,4 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.DashboardLayout = void 0;
15
4
  var jsx_runtime_1 = require("react/jsx-runtime");
@@ -17,9 +6,9 @@ var Header_1 = require("./Header");
17
6
  var Sidebar_1 = require("./Sidebar");
18
7
  var Main_1 = require("./Main");
19
8
  var styled_1 = require("./styled");
20
- var DashboardLayout = function (_a) {
21
- var children = _a.children;
22
- return ((0, jsx_runtime_1.jsx)(styled_1.StyledDashboard, __assign({ container: true, templateColumns: "auto 1fr", templateRows: "auto 1fr" }, { children: children }), void 0));
9
+ var DashboardLayout = function (props) {
10
+ var children = props.children;
11
+ return (0, jsx_runtime_1.jsx)(styled_1.DashboardLayoutRoot, { children: children }, void 0);
23
12
  };
24
13
  exports.DashboardLayout = DashboardLayout;
25
14
  exports.DashboardLayout.Header = Header_1.Header;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { HeaderProps } from './Header';
3
+ export declare type DashboardLayoutStoryProps = {
4
+ header: HeaderProps;
5
+ };
6
+ export declare const DashboardLayoutStory: FC<DashboardLayoutStoryProps>;
7
+ export default DashboardLayoutStory;
@@ -0,0 +1,27 @@
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.DashboardLayoutStory = void 0;
15
+ var jsx_runtime_1 = require("react/jsx-runtime");
16
+ var icons_1 = require("@astral/icons");
17
+ var material_1 = require("@mui/material");
18
+ var List_1 = require("../List");
19
+ var ListItemIcon_1 = require("../ListItemIcon");
20
+ var ListItemText_1 = require("../ListItemText");
21
+ var DashboardLayout_1 = require("../DashboardLayout");
22
+ var DashboardLayoutStory = function (props) {
23
+ var header = props.header;
24
+ return ((0, jsx_runtime_1.jsxs)(DashboardLayout_1.DashboardLayout, { children: [(0, jsx_runtime_1.jsx)(DashboardLayout_1.DashboardLayout.Header, __assign({}, header), void 0), (0, jsx_runtime_1.jsx)(DashboardLayout_1.DashboardLayout.Sidebar, { children: (0, jsx_runtime_1.jsxs)(List_1.List, { children: [(0, jsx_runtime_1.jsxs)(material_1.ListItemButton, { children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(icons_1.ProfileOutlineMd, {}, void 0) }, void 0), (0, jsx_runtime_1.jsx)(ListItemText_1.ListItemText, { children: "\u0413\u043B\u0430\u0432\u043D\u0430\u044F" }, void 0)] }, void 0), (0, jsx_runtime_1.jsxs)(material_1.ListItemButton, { children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(icons_1.CompanyOutlineMd, {}, void 0) }, void 0), (0, jsx_runtime_1.jsx)(ListItemText_1.ListItemText, { children: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B" }, void 0)] }, void 0), (0, jsx_runtime_1.jsxs)(material_1.ListItemButton, { children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.ListItemIcon, { children: (0, jsx_runtime_1.jsx)(icons_1.SettingsFillMd, {}, void 0) }, void 0), (0, jsx_runtime_1.jsx)(ListItemText_1.ListItemText, { children: "\u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u044B" }, void 0)] }, void 0)] }, void 0) }, void 0), (0, jsx_runtime_1.jsx)(DashboardLayout_1.DashboardLayout.Main, { children: "main-content" }, void 0)] }, void 0));
25
+ };
26
+ exports.DashboardLayoutStory = DashboardLayoutStory;
27
+ exports.default = exports.DashboardLayoutStory;
@@ -0,0 +1,4 @@
1
+ import { ComponentStory } from '@storybook/react';
2
+ import { DashboardLayoutStory } from './DashboardLayoutStory';
3
+ export declare const DashboardLayoutStoryTemplate: ComponentStory<typeof DashboardLayoutStory>;
4
+ export default DashboardLayoutStoryTemplate;
@@ -0,0 +1,21 @@
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.DashboardLayoutStoryTemplate = void 0;
15
+ var jsx_runtime_1 = require("react/jsx-runtime");
16
+ var DashboardLayoutStory_1 = require("./DashboardLayoutStory");
17
+ var DashboardLayoutStoryTemplate = function (args) {
18
+ return (0, jsx_runtime_1.jsx)(DashboardLayoutStory_1.DashboardLayoutStory, __assign({}, args), void 0);
19
+ };
20
+ exports.DashboardLayoutStoryTemplate = DashboardLayoutStoryTemplate;
21
+ exports.default = exports.DashboardLayoutStoryTemplate;
@@ -1,4 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { HeaderProps } from './types';
2
+ import { ProductProps } from '../../Product';
3
+ import { ProfileProps } from '../../Profile/types';
4
+ export declare type HeaderProps = {
5
+ product: ProductProps;
6
+ productSwitcher?: React.FC;
7
+ profile: ProfileProps;
8
+ };
3
9
  export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
4
10
  export default Header;
@@ -14,9 +14,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.Header = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var react_1 = require("react");
17
+ // import { MenuListProps } from '../../MenuList';
18
+ var Product_1 = require("../../Product");
19
+ var Profile_1 = require("../../Profile");
17
20
  var styled_1 = require("./styled");
18
21
  exports.Header = (0, react_1.forwardRef)(function (props, ref) {
19
- var children = props.children, logoSrc = props.logoSrc, logoAlt = props.logoAlt, LogoLink = props.LogoLink, Widget = props.Widget;
20
- return ((0, jsx_runtime_1.jsx)(styled_1.StyledHeader, __assign({ ref: ref }, { children: (0, jsx_runtime_1.jsxs)(styled_1.InnerContainer, { children: [(0, jsx_runtime_1.jsxs)(styled_1.LeftContainer, { children: [Widget && (0, jsx_runtime_1.jsx)(Widget, {}, void 0), (0, jsx_runtime_1.jsx)(styled_1.LogoContainer, __assign({ withWidget: Boolean(Widget) }, { children: (0, jsx_runtime_1.jsx)(LogoLink, { Logo: (0, jsx_runtime_1.jsx)(styled_1.LogoStyle, { src: logoSrc, alt: logoAlt }, void 0) }, void 0) }), void 0)] }, void 0), children] }, void 0) }), void 0));
22
+ var ProductSwitcher = props.productSwitcher, product = props.product,
23
+ // menu: Menu,
24
+ profile = props.profile;
25
+ return ((0, jsx_runtime_1.jsxs)(styled_1.HeaderRoot, __assign({ ref: ref }, { children: [(0, jsx_runtime_1.jsxs)(styled_1.HeaderNav, { children: [ProductSwitcher && (0, jsx_runtime_1.jsx)(ProductSwitcher, {}, void 0), (0, jsx_runtime_1.jsx)(Product_1.Product, __assign({}, product), void 0)] }, void 0), (0, jsx_runtime_1.jsx)(Profile_1.Profile, __assign({}, profile), void 0)] }), void 0));
21
26
  });
22
27
  exports.default = exports.Header;
@@ -1,2 +1 @@
1
1
  export * from './Header';
2
- export * from './types';
@@ -11,4 +11,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./Header"), exports);
14
- __exportStar(require("./types"), exports);
@@ -1,23 +1,9 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
2
+ export declare const HeaderRoot: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
- export declare const InnerContainer: import("@emotion/styled").StyledComponent<{
6
+ export declare const HeaderNav: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
8
  as?: import("react").ElementType<any> | undefined;
9
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export declare const LeftContainer: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
13
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- export declare const LogoContainer: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
17
- } & {
18
- withWidget: boolean;
19
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const LogoStyle: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any> | undefined;
23
- }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -4,14 +4,14 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.LogoStyle = exports.LogoContainer = exports.LeftContainer = exports.InnerContainer = exports.StyledHeader = void 0;
7
+ exports.HeaderNav = exports.HeaderRoot = void 0;
8
8
  var styles_1 = require("../../styles");
9
- exports.StyledHeader = (0, styles_1.styled)('header')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: ", ";\n\n grid-column: 1 / -1;\n width: 100%;\n height: 56px;\n min-height: 56px;\n padding: 0 ", ";\n\n background-color: ", ";\n box-shadow: ", ";\n"], ["\n z-index: ", ";\n\n grid-column: 1 / -1;\n width: 100%;\n height: 56px;\n min-height: 56px;\n padding: 0 ", ";\n\n background-color: ", ";\n box-shadow: ", ";\n"])), function (_a) {
9
+ exports.HeaderRoot = styles_1.styled.header(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: ", ";\n\n display: flex;\n grid-area: header;\n align-items: center;\n justify-content: space-between;\n padding: ", ";\n\n background-color: ", ";\n box-shadow: ", ";\n"], ["\n z-index: ", ";\n\n display: flex;\n grid-area: header;\n align-items: center;\n justify-content: space-between;\n padding: ", ";\n\n background-color: ", ";\n box-shadow: ", ";\n"])), function (_a) {
10
10
  var theme = _a.theme;
11
11
  return theme.zIndex.appBar;
12
12
  }, function (_a) {
13
13
  var theme = _a.theme;
14
- return theme.spacing(5);
14
+ return theme.spacing(2, 4);
15
15
  }, function (_a) {
16
16
  var theme = _a.theme;
17
17
  return theme.palette.background.default;
@@ -19,14 +19,5 @@ exports.StyledHeader = (0, styles_1.styled)('header')(templateObject_1 || (templ
19
19
  var theme = _a.theme;
20
20
  return theme.elevation[200];
21
21
  });
22
- exports.InnerContainer = (0, styles_1.styled)('div')(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n height: 100%;\n"], ["\n display: flex;\n justify-content: space-between;\n height: 100%;\n"])));
23
- exports.LeftContainer = (0, styles_1.styled)('div')(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 100%;\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 100%;\n"])));
24
- exports.LogoContainer = (0, styles_1.styled)('div')(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n max-height: 24px;\n margin-right: ", ";\n margin-left: ", ";\n\n > * {\n height: 100%;\n }\n"], ["\n height: 100%;\n max-height: 24px;\n margin-right: ", ";\n margin-left: ", ";\n\n > * {\n height: 100%;\n }\n"])), function (_a) {
25
- var theme = _a.theme;
26
- return theme.spacing(4);
27
- }, function (_a) {
28
- var withWidget = _a.withWidget, theme = _a.theme;
29
- return withWidget && theme.spacing(2);
30
- });
31
- exports.LogoStyle = (0, styles_1.styled)('img')(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 100%;\n\n cursor: pointer;\n"], ["\n height: 100%;\n\n cursor: pointer;\n"])));
32
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
22
+ exports.HeaderNav = styles_1.styled.nav(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
23
+ var templateObject_1, templateObject_2;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- declare type MainProps = {
2
+ export declare type MainProps = {
3
3
  children: ReactNode;
4
4
  };
5
5
  export declare const Main: import("react").ForwardRefExoticComponent<MainProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -17,6 +17,6 @@ var react_1 = require("react");
17
17
  var styled_1 = require("./styled");
18
18
  exports.Main = (0, react_1.forwardRef)(function (_a, ref) {
19
19
  var children = _a.children;
20
- return (0, jsx_runtime_1.jsx)(styled_1.StyledMain, __assign({ ref: ref }, { children: children }), void 0);
20
+ return (0, jsx_runtime_1.jsx)(styled_1.MainRoot, __assign({ ref: ref }, { children: children }), void 0);
21
21
  });
22
22
  exports.default = exports.Main;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledMain: import("@emotion/styled").StyledComponent<{
2
+ export declare const MainRoot: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
@@ -4,7 +4,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.StyledMain = void 0;
7
+ exports.MainRoot = void 0;
8
8
  var styles_1 = require("../../styles");
9
- exports.StyledMain = (0, styles_1.styled)('main')(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n grid-row: 2;\n grid-column: 2;\n overflow: hidden;\n"], ["\n grid-row: 2;\n grid-column: 2;\n overflow: hidden;\n"])));
9
+ exports.MainRoot = styles_1.styled.main(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n grid-area: main;\n grid-row: 2;\n grid-column: 2;\n overflow: hidden;\n"], ["\n grid-area: main;\n grid-row: 2;\n grid-column: 2;\n overflow: hidden;\n"])));
10
10
  var templateObject_1;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- declare type SidebarProps = {
2
+ export declare type SidebarProps = {
3
3
  children: ReactNode;
4
4
  };
5
5
  export declare const Sidebar: import("react").ForwardRefExoticComponent<SidebarProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -17,6 +17,6 @@ var react_1 = require("react");
17
17
  var styled_1 = require("./styled");
18
18
  exports.Sidebar = (0, react_1.forwardRef)(function (_a, ref) {
19
19
  var children = _a.children;
20
- return ((0, jsx_runtime_1.jsx)(styled_1.StyledDrawer, __assign({ ref: ref, open: true, variant: "persistent" }, { children: children }), void 0));
20
+ return ((0, jsx_runtime_1.jsxs)(styled_1.SidebarRoot, __assign({ ref: ref }, { children: [(0, jsx_runtime_1.jsx)("nav", { children: children }, void 0), (0, jsx_runtime_1.jsx)(styled_1.SidebarToggler, __assign({ variant: "text" }, { children: "\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0435\u043D\u044E" }), void 0)] }), void 0));
21
21
  });
22
22
  exports.default = exports.Sidebar;
@@ -1,3 +1,8 @@
1
- export declare const StyledDrawer: import("@emotion/styled").StyledComponent<import("@mui/material").DrawerProps & {
1
+ /// <reference types="react" />
2
+ export declare const SidebarRoot: 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<HTMLElement>, HTMLElement>, {}>;
6
+ export declare const SidebarToggler: import("@emotion/styled").StyledComponent<Pick<import("../../Button").ButtonProps, "disabled" | "component" | "href" | "onFocusVisible" | "tabIndex" | "type" | "action" | "children" | "form" | "slot" | "title" | "key" | "css" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "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" | "size" | "variant" | keyof import("@mui/material/OverridableComponent").CommonProps | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon" | "loading" | "loadingIndicator" | "loadingPosition"> & import("react").RefAttributes<HTMLButtonElement> & {
2
7
  theme?: import("@emotion/react").Theme | undefined;
3
8
  }, {}, {}>;
@@ -4,15 +4,15 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.StyledDrawer = void 0;
8
- var material_1 = require("@mui/material");
7
+ exports.SidebarToggler = exports.SidebarRoot = void 0;
9
8
  var styles_1 = require("../../styles");
10
- exports.StyledDrawer = (0, styles_1.styled)(material_1.Drawer)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n z-index: ", ";\n\n grid-column: 1;\n width: 241px;\n\n .MuiPaper-root {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n\n padding: ", ";\n\n background-color: ", ";\n border-right: 1px solid ", ";\n }\n"], ["\n position: relative;\n z-index: ", ";\n\n grid-column: 1;\n width: 241px;\n\n .MuiPaper-root {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n\n padding: ", ";\n\n background-color: ", ";\n border-right: 1px solid ", ";\n }\n"])), function (_a) {
9
+ var Button_1 = require("../../Button");
10
+ exports.SidebarRoot = styles_1.styled.aside(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n z-index: ", ";\n\n display: flex;\n flex-direction: column;\n grid-area: sidebar;\n padding: ", ";\n\n background-color: ", ";\n border-right: 1px solid ", ";\n"], ["\n z-index: ", ";\n\n display: flex;\n flex-direction: column;\n grid-area: sidebar;\n padding: ", ";\n\n background-color: ", ";\n border-right: 1px solid ", ";\n"])), function (_a) {
11
11
  var theme = _a.theme;
12
12
  return theme.zIndex.appBar - 1;
13
13
  }, function (_a) {
14
14
  var theme = _a.theme;
15
- return theme.spacing(5, 0);
15
+ return theme.spacing(6);
16
16
  }, function (_a) {
17
17
  var theme = _a.theme;
18
18
  return theme.palette.background.element;
@@ -20,4 +20,7 @@ exports.StyledDrawer = (0, styles_1.styled)(material_1.Drawer)(templateObject_1
20
20
  var theme = _a.theme;
21
21
  return theme.palette.grey[300];
22
22
  });
23
- var templateObject_1;
23
+ // export const SidebarNav = styled.nav`
24
+ // `;
25
+ exports.SidebarToggler = (0, styles_1.styled)(Button_1.Button)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: auto;\n"], ["\n margin-top: auto;\n"])));
26
+ var templateObject_1, templateObject_2;
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledDashboard: import("@emotion/styled").StyledComponent<import("../Grid").GridContainerProps & import("../Grid").GridElementsProps & {
3
- children?: import("react").ReactNode;
4
- } & {
2
+ export declare const DashboardLayoutRoot: import("@emotion/styled").StyledComponent<{
5
3
  theme?: import("@emotion/react").Theme | undefined;
6
- }, {}, {}>;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -4,8 +4,9 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.StyledDashboard = void 0;
8
- var Grid_1 = require("../Grid");
7
+ exports.DashboardLayoutRoot = void 0;
9
8
  var styles_1 = require("../styles");
10
- exports.StyledDashboard = (0, styles_1.styled)(Grid_1.Grid)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100vh;\n"], ["\n height: 100vh;\n"])));
9
+ exports.DashboardLayoutRoot = styles_1.styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid;\n grid-template: ", ";\n height: 100vh;\n"], ["\n display: grid;\n grid-template: ", ";\n height: 100vh;\n"])), function () {
10
+ return "\n\n [header-start] \"header header\" [header-end]\n [main-start] \"sidebar main\" 1fr [main-end] / 240px 1fr\n ";
11
+ });
11
12
  var templateObject_1;
@@ -1,2 +1,2 @@
1
- import { RadioGroup } from '@mui/material';
2
- export default RadioGroup;
1
+ export { RadioGroup } from '@mui/material';
2
+ export type { RadioGroupProps } from '@mui/material';
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RadioGroup = void 0;
3
4
  var material_1 = require("@mui/material");
4
- exports.default = material_1.RadioGroup;
5
+ Object.defineProperty(exports, "RadioGroup", { enumerable: true, get: function () { return material_1.RadioGroup; } });
@@ -0,0 +1 @@
1
+ export * from './RadioGroup';
@@ -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("./RadioGroup"), exports);
@@ -1,15 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- interface DashBoardLayoutProps {
2
+ export declare type DashBoardLayoutProps = {
3
3
  children: ReactNode;
4
- }
4
+ };
5
5
  export declare const DashboardLayout: {
6
- ({ children }: DashBoardLayoutProps): JSX.Element;
6
+ (props: DashBoardLayoutProps): JSX.Element;
7
7
  Header: import("react").ForwardRefExoticComponent<import("./Header").HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
8
- Sidebar: import("react").ForwardRefExoticComponent<{
9
- children: ReactNode;
10
- } & import("react").RefAttributes<HTMLDivElement>>;
11
- Main: import("react").ForwardRefExoticComponent<{
12
- children: ReactNode;
13
- } & import("react").RefAttributes<HTMLDivElement>>;
8
+ Sidebar: import("react").ForwardRefExoticComponent<import("./Sidebar").SidebarProps & import("react").RefAttributes<HTMLDivElement>>;
9
+ Main: import("react").ForwardRefExoticComponent<import("./Main").MainProps & import("react").RefAttributes<HTMLDivElement>>;
14
10
  };
15
11
  export default DashboardLayout;
@@ -1,22 +1,11 @@
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
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { Header } from './Header';
14
3
  import { Sidebar } from './Sidebar';
15
4
  import { Main } from './Main';
16
- import { StyledDashboard } from './styled';
17
- export var DashboardLayout = function (_a) {
18
- var children = _a.children;
19
- return (_jsx(StyledDashboard, __assign({ container: true, templateColumns: "auto 1fr", templateRows: "auto 1fr" }, { children: children }), void 0));
5
+ import { DashboardLayoutRoot } from './styled';
6
+ export var DashboardLayout = function (props) {
7
+ var children = props.children;
8
+ return _jsx(DashboardLayoutRoot, { children: children }, void 0);
20
9
  };
21
10
  DashboardLayout.Header = Header;
22
11
  DashboardLayout.Sidebar = Sidebar;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { HeaderProps } from './Header';
3
+ export declare type DashboardLayoutStoryProps = {
4
+ header: HeaderProps;
5
+ };
6
+ export declare const DashboardLayoutStory: FC<DashboardLayoutStoryProps>;
7
+ export default DashboardLayoutStory;
@@ -0,0 +1,23 @@
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 { CompanyOutlineMd, ProfileOutlineMd, SettingsFillMd, } from '@astral/icons';
14
+ import { ListItemButton } from '@mui/material';
15
+ import { List } from '../List';
16
+ import { ListItemIcon } from '../ListItemIcon';
17
+ import { ListItemText } from '../ListItemText';
18
+ import { DashboardLayout } from '../DashboardLayout';
19
+ export var DashboardLayoutStory = function (props) {
20
+ var header = props.header;
21
+ return (_jsxs(DashboardLayout, { children: [_jsx(DashboardLayout.Header, __assign({}, header), void 0), _jsx(DashboardLayout.Sidebar, { children: _jsxs(List, { children: [_jsxs(ListItemButton, { children: [_jsx(ListItemIcon, { children: _jsx(ProfileOutlineMd, {}, void 0) }, void 0), _jsx(ListItemText, { children: "\u0413\u043B\u0430\u0432\u043D\u0430\u044F" }, void 0)] }, void 0), _jsxs(ListItemButton, { children: [_jsx(ListItemIcon, { children: _jsx(CompanyOutlineMd, {}, void 0) }, void 0), _jsx(ListItemText, { children: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B" }, void 0)] }, void 0), _jsxs(ListItemButton, { children: [_jsx(ListItemIcon, { children: _jsx(SettingsFillMd, {}, void 0) }, void 0), _jsx(ListItemText, { children: "\u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u044B" }, void 0)] }, void 0)] }, void 0) }, void 0), _jsx(DashboardLayout.Main, { children: "main-content" }, void 0)] }, void 0));
22
+ };
23
+ export default DashboardLayoutStory;
@@ -0,0 +1,4 @@
1
+ import { ComponentStory } from '@storybook/react';
2
+ import { DashboardLayoutStory } from './DashboardLayoutStory';
3
+ export declare const DashboardLayoutStoryTemplate: ComponentStory<typeof DashboardLayoutStory>;
4
+ export default DashboardLayoutStoryTemplate;
@@ -0,0 +1,17 @@
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 { DashboardLayoutStory } from './DashboardLayoutStory';
14
+ export var DashboardLayoutStoryTemplate = function (args) {
15
+ return _jsx(DashboardLayoutStory, __assign({}, args), void 0);
16
+ };
17
+ export default DashboardLayoutStoryTemplate;
@@ -1,4 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { HeaderProps } from './types';
2
+ import { ProductProps } from '../../Product';
3
+ import { ProfileProps } from '../../Profile/types';
4
+ export declare type HeaderProps = {
5
+ product: ProductProps;
6
+ productSwitcher?: React.FC;
7
+ profile: ProfileProps;
8
+ };
3
9
  export declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
4
10
  export default Header;
@@ -11,9 +11,14 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { forwardRef } from 'react';
14
- import { InnerContainer, LeftContainer, LogoContainer, LogoStyle, StyledHeader, } from './styled';
14
+ // import { MenuListProps } from '../../MenuList';
15
+ import { Product } from '../../Product';
16
+ import { Profile } from '../../Profile';
17
+ import { HeaderNav, HeaderRoot } from './styled';
15
18
  export var Header = forwardRef(function (props, ref) {
16
- var children = props.children, logoSrc = props.logoSrc, logoAlt = props.logoAlt, LogoLink = props.LogoLink, Widget = props.Widget;
17
- return (_jsx(StyledHeader, __assign({ ref: ref }, { children: _jsxs(InnerContainer, { children: [_jsxs(LeftContainer, { children: [Widget && _jsx(Widget, {}, void 0), _jsx(LogoContainer, __assign({ withWidget: Boolean(Widget) }, { children: _jsx(LogoLink, { Logo: _jsx(LogoStyle, { src: logoSrc, alt: logoAlt }, void 0) }, void 0) }), void 0)] }, void 0), children] }, void 0) }), void 0));
19
+ var ProductSwitcher = props.productSwitcher, product = props.product,
20
+ // menu: Menu,
21
+ profile = props.profile;
22
+ return (_jsxs(HeaderRoot, __assign({ ref: ref }, { children: [_jsxs(HeaderNav, { children: [ProductSwitcher && _jsx(ProductSwitcher, {}, void 0), _jsx(Product, __assign({}, product), void 0)] }, void 0), _jsx(Profile, __assign({}, profile), void 0)] }), void 0));
18
23
  });
19
24
  export default Header;
@@ -1,2 +1 @@
1
1
  export * from './Header';
2
- export * from './types';
@@ -1,2 +1 @@
1
1
  export * from './Header';
2
- export * from './types';
@@ -1,23 +1,9 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
2
+ export declare const HeaderRoot: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
4
  as?: import("react").ElementType<any> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
6
- export declare const InnerContainer: import("@emotion/styled").StyledComponent<{
6
+ export declare const HeaderNav: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
8
  as?: import("react").ElementType<any> | undefined;
9
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- export declare const LeftContainer: import("@emotion/styled").StyledComponent<{
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
13
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
- export declare const LogoContainer: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
17
- } & {
18
- withWidget: boolean;
19
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- export declare const LogoStyle: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any> | undefined;
23
- }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;