@alfalab/core-components-side-panel 1.1.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/CHANGELOG.md +11 -0
- package/dist/Component.desktop.d.ts +35 -0
- package/dist/Component.desktop.js +47 -0
- package/dist/Component.mobile.d.ts +22 -0
- package/dist/Component.mobile.js +42 -0
- package/dist/Component.responsive.d.ts +20 -0
- package/dist/Component.responsive.js +62 -0
- package/dist/Context.d.ts +4 -0
- package/dist/Context.js +9 -0
- package/dist/components/closer/Component.d.ts +29 -0
- package/dist/components/closer/Component.js +37 -0
- package/dist/components/closer/index.css +46 -0
- package/dist/components/content/Component.d.ts +13 -0
- package/dist/components/content/Component.desktop.d.ts +11 -0
- package/dist/components/content/Component.desktop.js +25 -0
- package/dist/components/content/Component.js +24 -0
- package/dist/components/content/Component.mobile.d.ts +5 -0
- package/dist/components/content/Component.mobile.js +25 -0
- package/dist/components/content/desktop.css +31 -0
- package/dist/components/content/index.css +28 -0
- package/dist/components/content/mobile.css +30 -0
- package/dist/components/footer/Component.d.ts +25 -0
- package/dist/components/footer/Component.desktop.d.ts +11 -0
- package/dist/components/footer/Component.desktop.js +28 -0
- package/dist/components/footer/Component.js +34 -0
- package/dist/components/footer/Component.mobile.d.ts +5 -0
- package/dist/components/footer/Component.mobile.js +28 -0
- package/dist/components/footer/desktop.css +32 -0
- package/dist/components/footer/index.css +41 -0
- package/dist/components/footer/layout.css +84 -0
- package/dist/components/footer/mobile.css +30 -0
- package/dist/components/header/Component.d.ts +45 -0
- package/dist/components/header/Component.desktop.d.ts +15 -0
- package/dist/components/header/Component.desktop.js +33 -0
- package/dist/components/header/Component.js +40 -0
- package/dist/components/header/Component.mobile.d.ts +10 -0
- package/dist/components/header/Component.mobile.js +33 -0
- package/dist/components/header/desktop.css +54 -0
- package/dist/components/header/index.css +85 -0
- package/dist/components/header/mobile.css +46 -0
- package/dist/cssm/Component.desktop.d.ts +35 -0
- package/dist/cssm/Component.desktop.js +53 -0
- package/dist/cssm/Component.mobile.d.ts +22 -0
- package/dist/cssm/Component.mobile.js +48 -0
- package/dist/cssm/Component.responsive.d.ts +20 -0
- package/dist/cssm/Component.responsive.js +77 -0
- package/dist/cssm/Context.d.ts +4 -0
- package/dist/cssm/Context.js +9 -0
- package/dist/cssm/components/closer/Component.d.ts +29 -0
- package/dist/cssm/components/closer/Component.js +36 -0
- package/dist/cssm/components/closer/index.module.css +45 -0
- package/dist/cssm/components/content/Component.d.ts +13 -0
- package/dist/cssm/components/content/Component.desktop.d.ts +11 -0
- package/dist/cssm/components/content/Component.desktop.js +25 -0
- package/dist/cssm/components/content/Component.js +23 -0
- package/dist/cssm/components/content/Component.mobile.d.ts +5 -0
- package/dist/cssm/components/content/Component.mobile.js +25 -0
- package/dist/cssm/components/content/desktop.module.css +30 -0
- package/dist/cssm/components/content/index.module.css +27 -0
- package/dist/cssm/components/content/mobile.module.css +29 -0
- package/dist/cssm/components/footer/Component.d.ts +25 -0
- package/dist/cssm/components/footer/Component.desktop.d.ts +11 -0
- package/dist/cssm/components/footer/Component.desktop.js +29 -0
- package/dist/cssm/components/footer/Component.js +32 -0
- package/dist/cssm/components/footer/Component.mobile.d.ts +5 -0
- package/dist/cssm/components/footer/Component.mobile.js +29 -0
- package/dist/cssm/components/footer/desktop.module.css +31 -0
- package/dist/cssm/components/footer/index.module.css +40 -0
- package/dist/cssm/components/footer/layout.module.css +83 -0
- package/dist/cssm/components/footer/mobile.module.css +29 -0
- package/dist/cssm/components/header/Component.d.ts +45 -0
- package/dist/cssm/components/header/Component.desktop.d.ts +15 -0
- package/dist/cssm/components/header/Component.desktop.js +34 -0
- package/dist/cssm/components/header/Component.js +39 -0
- package/dist/cssm/components/header/Component.mobile.d.ts +10 -0
- package/dist/cssm/components/header/Component.mobile.js +34 -0
- package/dist/cssm/components/header/desktop.module.css +53 -0
- package/dist/cssm/components/header/index.module.css +84 -0
- package/dist/cssm/components/header/mobile.module.css +45 -0
- package/dist/cssm/desktop.d.ts +1 -0
- package/dist/cssm/desktop.js +35 -0
- package/dist/cssm/desktop.module.css +27 -0
- package/dist/cssm/index.d.ts +2 -0
- package/dist/cssm/index.js +48 -0
- package/dist/cssm/mobile.d.ts +1 -0
- package/dist/cssm/mobile.js +34 -0
- package/dist/cssm/mobile.module.css +24 -0
- package/dist/cssm/responsive.d.ts +1 -0
- package/dist/cssm/responsive.js +47 -0
- package/dist/cssm/transitions.desktop.module.css +24 -0
- package/dist/cssm/transitions.mobile.module.css +24 -0
- package/dist/cssm/tslib.es6-ce870b46.d.ts +32 -0
- package/dist/cssm/tslib.es6-ce870b46.js +42 -0
- package/dist/cssm/vars.css +20 -0
- package/dist/desktop.css +28 -0
- package/dist/desktop.d.ts +1 -0
- package/dist/desktop.js +25 -0
- package/dist/esm/Component.desktop.d.ts +35 -0
- package/dist/esm/Component.desktop.js +37 -0
- package/dist/esm/Component.mobile.d.ts +22 -0
- package/dist/esm/Component.mobile.js +33 -0
- package/dist/esm/Component.responsive.d.ts +20 -0
- package/dist/esm/Component.responsive.js +54 -0
- package/dist/esm/Context.d.ts +4 -0
- package/dist/esm/Context.js +5 -0
- package/dist/esm/components/closer/Component.d.ts +29 -0
- package/dist/esm/components/closer/Component.js +28 -0
- package/dist/esm/components/closer/index.css +46 -0
- package/dist/esm/components/content/Component.d.ts +13 -0
- package/dist/esm/components/content/Component.desktop.d.ts +11 -0
- package/dist/esm/components/content/Component.desktop.js +16 -0
- package/dist/esm/components/content/Component.js +15 -0
- package/dist/esm/components/content/Component.mobile.d.ts +5 -0
- package/dist/esm/components/content/Component.mobile.js +16 -0
- package/dist/esm/components/content/desktop.css +31 -0
- package/dist/esm/components/content/index.css +28 -0
- package/dist/esm/components/content/mobile.css +30 -0
- package/dist/esm/components/footer/Component.d.ts +25 -0
- package/dist/esm/components/footer/Component.desktop.d.ts +11 -0
- package/dist/esm/components/footer/Component.desktop.js +19 -0
- package/dist/esm/components/footer/Component.js +25 -0
- package/dist/esm/components/footer/Component.mobile.d.ts +5 -0
- package/dist/esm/components/footer/Component.mobile.js +19 -0
- package/dist/esm/components/footer/desktop.css +32 -0
- package/dist/esm/components/footer/index.css +41 -0
- package/dist/esm/components/footer/layout.css +84 -0
- package/dist/esm/components/footer/mobile.css +30 -0
- package/dist/esm/components/header/Component.d.ts +45 -0
- package/dist/esm/components/header/Component.desktop.d.ts +15 -0
- package/dist/esm/components/header/Component.desktop.js +24 -0
- package/dist/esm/components/header/Component.js +31 -0
- package/dist/esm/components/header/Component.mobile.d.ts +10 -0
- package/dist/esm/components/header/Component.mobile.js +23 -0
- package/dist/esm/components/header/desktop.css +54 -0
- package/dist/esm/components/header/index.css +85 -0
- package/dist/esm/components/header/mobile.css +46 -0
- package/dist/esm/desktop.css +28 -0
- package/dist/esm/desktop.d.ts +1 -0
- package/dist/esm/desktop.js +17 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +24 -0
- package/dist/esm/mobile.css +25 -0
- package/dist/esm/mobile.d.ts +1 -0
- package/dist/esm/mobile.js +16 -0
- package/dist/esm/responsive.d.ts +1 -0
- package/dist/esm/responsive.js +24 -0
- package/dist/esm/transitions.desktop.css +25 -0
- package/dist/esm/transitions.mobile.css +25 -0
- package/dist/esm/tslib.es6-44d9de0b.d.ts +32 -0
- package/dist/esm/tslib.es6-44d9de0b.js +40 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +33 -0
- package/dist/mobile.css +25 -0
- package/dist/mobile.d.ts +1 -0
- package/dist/mobile.js +24 -0
- package/dist/modern/Component.desktop.d.ts +35 -0
- package/dist/modern/Component.desktop.js +36 -0
- package/dist/modern/Component.mobile.d.ts +22 -0
- package/dist/modern/Component.mobile.js +34 -0
- package/dist/modern/Component.responsive.d.ts +20 -0
- package/dist/modern/Component.responsive.js +52 -0
- package/dist/modern/Context.d.ts +4 -0
- package/dist/modern/Context.js +5 -0
- package/dist/modern/components/closer/Component.d.ts +29 -0
- package/dist/modern/components/closer/Component.js +25 -0
- package/dist/modern/components/closer/index.css +46 -0
- package/dist/modern/components/content/Component.d.ts +13 -0
- package/dist/modern/components/content/Component.desktop.d.ts +11 -0
- package/dist/modern/components/content/Component.desktop.js +12 -0
- package/dist/modern/components/content/Component.js +14 -0
- package/dist/modern/components/content/Component.mobile.d.ts +5 -0
- package/dist/modern/components/content/Component.mobile.js +12 -0
- package/dist/modern/components/content/desktop.css +31 -0
- package/dist/modern/components/content/index.css +28 -0
- package/dist/modern/components/content/mobile.css +30 -0
- package/dist/modern/components/footer/Component.d.ts +25 -0
- package/dist/modern/components/footer/Component.desktop.d.ts +11 -0
- package/dist/modern/components/footer/Component.desktop.js +14 -0
- package/dist/modern/components/footer/Component.js +23 -0
- package/dist/modern/components/footer/Component.mobile.d.ts +5 -0
- package/dist/modern/components/footer/Component.mobile.js +14 -0
- package/dist/modern/components/footer/desktop.css +32 -0
- package/dist/modern/components/footer/index.css +41 -0
- package/dist/modern/components/footer/layout.css +84 -0
- package/dist/modern/components/footer/mobile.css +30 -0
- package/dist/modern/components/header/Component.d.ts +45 -0
- package/dist/modern/components/header/Component.desktop.d.ts +15 -0
- package/dist/modern/components/header/Component.desktop.js +21 -0
- package/dist/modern/components/header/Component.js +29 -0
- package/dist/modern/components/header/Component.mobile.d.ts +10 -0
- package/dist/modern/components/header/Component.mobile.js +18 -0
- package/dist/modern/components/header/desktop.css +54 -0
- package/dist/modern/components/header/index.css +85 -0
- package/dist/modern/components/header/mobile.css +46 -0
- package/dist/modern/desktop.css +28 -0
- package/dist/modern/desktop.d.ts +1 -0
- package/dist/modern/desktop.js +16 -0
- package/dist/modern/index.d.ts +2 -0
- package/dist/modern/index.js +23 -0
- package/dist/modern/mobile.css +25 -0
- package/dist/modern/mobile.d.ts +1 -0
- package/dist/modern/mobile.js +15 -0
- package/dist/modern/responsive.d.ts +1 -0
- package/dist/modern/responsive.js +23 -0
- package/dist/modern/transitions.desktop.css +25 -0
- package/dist/modern/transitions.mobile.css +25 -0
- package/dist/responsive.d.ts +1 -0
- package/dist/responsive.js +32 -0
- package/dist/send-stats.js +82 -0
- package/dist/transitions.desktop.css +25 -0
- package/dist/transitions.mobile.css +25 -0
- package/dist/tslib.es6-46fc2207.d.ts +32 -0
- package/dist/tslib.es6-46fc2207.js +42 -0
- package/package.json +29 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React, { useContext, useEffect } from 'react';
|
|
2
|
+
import cn from 'classnames';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/esm';
|
|
4
|
+
import { ModalContext } from '../../Context.js';
|
|
5
|
+
|
|
6
|
+
var styles = {"header":"side-panel__header_1io7a","hasContent":"side-panel__hasContent_1io7a","highlighted":"side-panel__highlighted_1io7a","sticky":"side-panel__sticky_1io7a","content":"side-panel__content_1io7a","title":"side-panel__title_1io7a","addon":"side-panel__addon_1io7a","closer":"side-panel__closer_1io7a","left":"side-panel__left_1io7a","center":"side-panel__center_1io7a","right":"side-panel__right_1io7a","trim":"side-panel__trim_1io7a"};
|
|
7
|
+
require('./index.css')
|
|
8
|
+
|
|
9
|
+
var Header = function (_a) {
|
|
10
|
+
var _b, _c;
|
|
11
|
+
var className = _a.className, addonClassName = _a.addonClassName, contentClassName = _a.contentClassName, leftAddons = _a.leftAddons, children = _a.children, _d = _a.align, align = _d === void 0 ? 'left' : _d, _e = _a.trim, trim = _e === void 0 ? true : _e, title = _a.title, closer = _a.closer, sticky = _a.sticky;
|
|
12
|
+
var _f = useContext(ModalContext), headerHighlighted = _f.headerHighlighted, setHasHeader = _f.setHasHeader;
|
|
13
|
+
var hasContent = Boolean(title || children);
|
|
14
|
+
useEffect(function () {
|
|
15
|
+
setHasHeader(true);
|
|
16
|
+
}, [setHasHeader]);
|
|
17
|
+
return (React.createElement("div", { className: cn(styles.header, className, (_b = {},
|
|
18
|
+
_b[styles.highlighted] = hasContent && sticky && headerHighlighted,
|
|
19
|
+
_b[styles.sticky] = sticky,
|
|
20
|
+
_b[styles.hasContent] = hasContent,
|
|
21
|
+
_b)) },
|
|
22
|
+
leftAddons && React.createElement("div", { className: cn(styles.addon, addonClassName) }, leftAddons),
|
|
23
|
+
hasContent && (React.createElement("div", { className: cn(styles.content, contentClassName, styles[align], (_c = {},
|
|
24
|
+
_c[styles.trim] = trim,
|
|
25
|
+
_c)) },
|
|
26
|
+
children,
|
|
27
|
+
title && React.createElement("div", { className: styles.title }, title))),
|
|
28
|
+
closer && (React.createElement("div", { className: cn(styles.addon, styles.closer, addonClassName) }, closer))));
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export { Header };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { HeaderProps } from "./Component";
|
|
3
|
+
type HeaderMobileProps = Omit<HeaderProps, 'closer'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Наличие крестика
|
|
6
|
+
*/
|
|
7
|
+
hasCloser?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const HeaderMobile: FC<HeaderMobileProps>;
|
|
10
|
+
export { HeaderMobileProps, HeaderMobile };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-44d9de0b.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import cn from 'classnames';
|
|
4
|
+
import '@alfalab/core-components-base-modal/dist/esm';
|
|
5
|
+
import '../../Context.js';
|
|
6
|
+
import { Header } from './Component.js';
|
|
7
|
+
import '@alfalab/core-components-icon-button/dist/esm';
|
|
8
|
+
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
9
|
+
import { Closer } from '../closer/Component.js';
|
|
10
|
+
import CrossMIcon from '@alfalab/icons-glyph/CrossMIcon';
|
|
11
|
+
|
|
12
|
+
var styles = {"sticky":"side-panel__sticky_vwpuy","content":"side-panel__content_vwpuy"};
|
|
13
|
+
require('./mobile.css')
|
|
14
|
+
|
|
15
|
+
var HeaderMobile = function (_a) {
|
|
16
|
+
var _b;
|
|
17
|
+
var className = _a.className, contentClassName = _a.contentClassName, _c = _a.hasCloser, hasCloser = _c === void 0 ? true : _c, sticky = _a.sticky, restProps = __rest(_a, ["className", "contentClassName", "hasCloser", "sticky"]);
|
|
18
|
+
return (React.createElement(Header, __assign({ className: cn(className, (_b = {},
|
|
19
|
+
_b[styles.sticky] = sticky,
|
|
20
|
+
_b)), contentClassName: cn(styles.content, contentClassName), closer: hasCloser ? React.createElement(Closer, { icon: CrossMIcon, size: 'xs' }) : null, sticky: sticky }, restProps)));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { HeaderMobile };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* hash: 3uz6o */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-xs: 8px;
|
|
12
|
+
--gap-s: 12px;
|
|
13
|
+
--gap-m: 16px;
|
|
14
|
+
}
|
|
15
|
+
:root {
|
|
16
|
+
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
17
|
+
sans-serif;
|
|
18
|
+
}
|
|
19
|
+
:root {
|
|
20
|
+
|
|
21
|
+
/* sizes */
|
|
22
|
+
|
|
23
|
+
/* paddings */
|
|
24
|
+
--side-panel-s-header-paddings: var(--gap-xs) var(--gap-xs) var(--gap-m);
|
|
25
|
+
|
|
26
|
+
/* scroll */
|
|
27
|
+
|
|
28
|
+
/* desktop */
|
|
29
|
+
--side-panel-s-header-desktop-content-paddings: var(--gap-s) var(--gap-m) 0 0;
|
|
30
|
+
--side-panel-s-header-desktop-font-size: 22px;
|
|
31
|
+
--side-panel-s-header-desktop-line-height: 26px;
|
|
32
|
+
--side-panel-header-desktop-font-weight: bold;
|
|
33
|
+
--side-panel-header-desktop-font-family: var(--font-family-system);
|
|
34
|
+
|
|
35
|
+
/* mobile */
|
|
36
|
+
}
|
|
37
|
+
.side-panel__content_1gynr {
|
|
38
|
+
font-weight: var(--side-panel-header-desktop-font-weight);
|
|
39
|
+
font-family: var(--side-panel-header-desktop-font-family);
|
|
40
|
+
}
|
|
41
|
+
.side-panel__s_1gynr .side-panel__content_1gynr {
|
|
42
|
+
padding: var(--side-panel-s-header-desktop-content-paddings);
|
|
43
|
+
font-size: var(--side-panel-s-header-desktop-font-size);
|
|
44
|
+
line-height: var(--side-panel-s-header-desktop-line-height);
|
|
45
|
+
}
|
|
46
|
+
.side-panel__s_1gynr {
|
|
47
|
+
padding: var(--side-panel-s-header-paddings)
|
|
48
|
+
}
|
|
49
|
+
.side-panel__s_1gynr:not(.side-panel__hasContent_1gynr) {
|
|
50
|
+
padding-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
.side-panel__sticky_1gynr {
|
|
53
|
+
top: 0;
|
|
54
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* hash: 1tseh */
|
|
2
|
+
:root {
|
|
3
|
+
--color-light-bg-primary: #fff;
|
|
4
|
+
}
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/* Hard */
|
|
8
|
+
|
|
9
|
+
/* Up */
|
|
10
|
+
|
|
11
|
+
/* Hard up */
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--side-panel-header-background: var(--color-light-bg-primary);
|
|
15
|
+
|
|
16
|
+
/* sizes */
|
|
17
|
+
|
|
18
|
+
/* paddings */
|
|
19
|
+
|
|
20
|
+
/* scroll */
|
|
21
|
+
--side-panel-header-highlight-background: var(--color-light-bg-primary);
|
|
22
|
+
--side-panel-header-highlight-box-shadow: none;
|
|
23
|
+
|
|
24
|
+
/* desktop */
|
|
25
|
+
|
|
26
|
+
/* mobile */
|
|
27
|
+
}
|
|
28
|
+
.side-panel__header_1io7a {
|
|
29
|
+
width: 100%;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: stretch;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
transition: box-shadow 0.2s ease, background 0.2s ease
|
|
35
|
+
}
|
|
36
|
+
.side-panel__header_1io7a:not(.side-panel__hasContent_1io7a) {
|
|
37
|
+
pointer-events: none;
|
|
38
|
+
}
|
|
39
|
+
.side-panel__highlighted_1io7a {
|
|
40
|
+
background: var(--side-panel-header-highlight-background);
|
|
41
|
+
box-shadow: var(--side-panel-header-highlight-box-shadow);
|
|
42
|
+
}
|
|
43
|
+
.side-panel__sticky_1io7a {
|
|
44
|
+
position: sticky
|
|
45
|
+
}
|
|
46
|
+
.side-panel__sticky_1io7a.side-panel__hasContent_1io7a {
|
|
47
|
+
background: var(--side-panel-header-background);
|
|
48
|
+
}
|
|
49
|
+
.side-panel__content_1io7a {
|
|
50
|
+
flex-grow: 1;
|
|
51
|
+
}
|
|
52
|
+
.side-panel__title_1io7a {
|
|
53
|
+
word-break: break-word;
|
|
54
|
+
}
|
|
55
|
+
.side-panel__addon_1io7a {
|
|
56
|
+
min-width: 48px;
|
|
57
|
+
height: 48px;
|
|
58
|
+
display: flex;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
align-items: center;
|
|
61
|
+
pointer-events: all;
|
|
62
|
+
}
|
|
63
|
+
.side-panel__closer_1io7a {
|
|
64
|
+
margin-left: auto;
|
|
65
|
+
}
|
|
66
|
+
.side-panel__left_1io7a {
|
|
67
|
+
justify-content: flex-start;
|
|
68
|
+
text-align: left;
|
|
69
|
+
}
|
|
70
|
+
.side-panel__center_1io7a {
|
|
71
|
+
justify-content: center;
|
|
72
|
+
text-align: center;
|
|
73
|
+
}
|
|
74
|
+
.side-panel__right_1io7a {
|
|
75
|
+
justify-content: flex-end;
|
|
76
|
+
text-align: right;
|
|
77
|
+
}
|
|
78
|
+
.side-panel__trim_1io7a {
|
|
79
|
+
overflow: hidden
|
|
80
|
+
}
|
|
81
|
+
.side-panel__trim_1io7a .side-panel__title_1io7a {
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
text-overflow: ellipsis;
|
|
85
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* hash: 1rk7g */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-xs: 8px;
|
|
12
|
+
--gap-s: 12px;
|
|
13
|
+
--gap-m: 16px;
|
|
14
|
+
}
|
|
15
|
+
:root {
|
|
16
|
+
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
17
|
+
sans-serif;
|
|
18
|
+
}
|
|
19
|
+
:root {
|
|
20
|
+
|
|
21
|
+
/* sizes */
|
|
22
|
+
|
|
23
|
+
/* paddings */
|
|
24
|
+
|
|
25
|
+
/* scroll */
|
|
26
|
+
|
|
27
|
+
/* desktop */
|
|
28
|
+
|
|
29
|
+
/* mobile */
|
|
30
|
+
--side-panel-header-mobile-content-paddings: var(--gap-s) var(--gap-xs) var(--gap-s)
|
|
31
|
+
var(--gap-m);
|
|
32
|
+
--side-panel-header-mobile-font-size: 18px;
|
|
33
|
+
--side-panel-header-mobile-line-height: 24px;
|
|
34
|
+
--side-panel-header-mobile-font-family: var(--font-family-system);
|
|
35
|
+
--side-panel-header-mobile-font-weight: bold;
|
|
36
|
+
}
|
|
37
|
+
.side-panel__sticky_vwpuy {
|
|
38
|
+
top: 0;
|
|
39
|
+
}
|
|
40
|
+
.side-panel__content_vwpuy {
|
|
41
|
+
font-size: var(--side-panel-header-mobile-font-size);
|
|
42
|
+
line-height: var(--side-panel-header-mobile-line-height);
|
|
43
|
+
font-family: var(--side-panel-header-mobile-font-family);
|
|
44
|
+
font-weight: var(--side-panel-header-mobile-font-weight);
|
|
45
|
+
padding: var(--side-panel-header-mobile-content-paddings);
|
|
46
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* hash: sbjib */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
|
|
12
|
+
/* sizes */
|
|
13
|
+
--side-panel-s-width: 500px;
|
|
14
|
+
|
|
15
|
+
/* paddings */
|
|
16
|
+
|
|
17
|
+
/* scroll */
|
|
18
|
+
|
|
19
|
+
/* desktop */
|
|
20
|
+
|
|
21
|
+
/* mobile */
|
|
22
|
+
}
|
|
23
|
+
.side-panel__s_1ysbr {
|
|
24
|
+
width: var(--side-panel-s-width);
|
|
25
|
+
}
|
|
26
|
+
.side-panel__hidden_1ysbr {
|
|
27
|
+
overflow-x: hidden;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component.desktop";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './tslib.es6-44d9de0b.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'classnames';
|
|
4
|
+
import '@alfalab/core-components-drawer/dist/esm';
|
|
5
|
+
import 'react-merge-refs';
|
|
6
|
+
import '@alfalab/core-components-base-modal/dist/esm';
|
|
7
|
+
import './Context.js';
|
|
8
|
+
import './components/header/Component.js';
|
|
9
|
+
import '@alfalab/core-components-icon-button/dist/esm';
|
|
10
|
+
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
11
|
+
import './components/closer/Component.js';
|
|
12
|
+
import './components/header/Component.desktop.js';
|
|
13
|
+
import './components/content/Component.js';
|
|
14
|
+
import './components/content/Component.desktop.js';
|
|
15
|
+
import './components/footer/Component.js';
|
|
16
|
+
import './components/footer/Component.desktop.js';
|
|
17
|
+
export { SidePanelDesktop } from './Component.desktop.js';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import './tslib.es6-44d9de0b.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'classnames';
|
|
4
|
+
import '@alfalab/core-components-drawer/dist/esm';
|
|
5
|
+
import 'react-merge-refs';
|
|
6
|
+
import '@alfalab/core-components-base-modal/dist/esm';
|
|
7
|
+
export { ModalContext } from './Context.js';
|
|
8
|
+
import './components/header/Component.js';
|
|
9
|
+
import '@alfalab/core-components-icon-button/dist/esm';
|
|
10
|
+
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
11
|
+
import './components/closer/Component.js';
|
|
12
|
+
import './components/header/Component.desktop.js';
|
|
13
|
+
import './components/content/Component.js';
|
|
14
|
+
import './components/content/Component.desktop.js';
|
|
15
|
+
import './components/footer/Component.js';
|
|
16
|
+
import './components/footer/Component.desktop.js';
|
|
17
|
+
import './Component.desktop.js';
|
|
18
|
+
import '@alfalab/icons-glyph/CrossMIcon';
|
|
19
|
+
import './components/header/Component.mobile.js';
|
|
20
|
+
import './components/content/Component.mobile.js';
|
|
21
|
+
import './components/footer/Component.mobile.js';
|
|
22
|
+
import './Component.mobile.js';
|
|
23
|
+
import '@alfalab/hooks';
|
|
24
|
+
export { SidePanelResponsive } from './Component.responsive.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* hash: 158pz */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
|
|
12
|
+
/* sizes */
|
|
13
|
+
|
|
14
|
+
/* paddings */
|
|
15
|
+
|
|
16
|
+
/* scroll */
|
|
17
|
+
|
|
18
|
+
/* desktop */
|
|
19
|
+
|
|
20
|
+
/* mobile */
|
|
21
|
+
}
|
|
22
|
+
.side-panel__component_y5ha2 {
|
|
23
|
+
flex: 1;
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component.mobile";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './tslib.es6-44d9de0b.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'classnames';
|
|
4
|
+
import '@alfalab/core-components-base-modal/dist/esm';
|
|
5
|
+
import './Context.js';
|
|
6
|
+
import './components/header/Component.js';
|
|
7
|
+
import '@alfalab/core-components-icon-button/dist/esm';
|
|
8
|
+
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
9
|
+
import './components/closer/Component.js';
|
|
10
|
+
import './components/content/Component.js';
|
|
11
|
+
import './components/footer/Component.js';
|
|
12
|
+
import '@alfalab/icons-glyph/CrossMIcon';
|
|
13
|
+
import './components/header/Component.mobile.js';
|
|
14
|
+
import './components/content/Component.mobile.js';
|
|
15
|
+
import './components/footer/Component.mobile.js';
|
|
16
|
+
export { SidePanelMobile } from './Component.mobile.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component.responsive";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import './tslib.es6-44d9de0b.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import 'classnames';
|
|
4
|
+
import '@alfalab/core-components-drawer/dist/esm';
|
|
5
|
+
import 'react-merge-refs';
|
|
6
|
+
import '@alfalab/core-components-base-modal/dist/esm';
|
|
7
|
+
import './Context.js';
|
|
8
|
+
import './components/header/Component.js';
|
|
9
|
+
import '@alfalab/core-components-icon-button/dist/esm';
|
|
10
|
+
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
11
|
+
import './components/closer/Component.js';
|
|
12
|
+
import './components/header/Component.desktop.js';
|
|
13
|
+
import './components/content/Component.js';
|
|
14
|
+
import './components/content/Component.desktop.js';
|
|
15
|
+
import './components/footer/Component.js';
|
|
16
|
+
import './components/footer/Component.desktop.js';
|
|
17
|
+
import './Component.desktop.js';
|
|
18
|
+
import '@alfalab/icons-glyph/CrossMIcon';
|
|
19
|
+
import './components/header/Component.mobile.js';
|
|
20
|
+
import './components/content/Component.mobile.js';
|
|
21
|
+
import './components/footer/Component.mobile.js';
|
|
22
|
+
import './Component.mobile.js';
|
|
23
|
+
import '@alfalab/hooks';
|
|
24
|
+
export { SidePanelResponsive } from './Component.responsive.js';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* hash: 1xjfe */
|
|
2
|
+
.side-panel__appear_1hpwc,
|
|
3
|
+
.side-panel__enter_1hpwc {
|
|
4
|
+
opacity: 0;
|
|
5
|
+
transform: translateX(15px);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.side-panel__appearActive_1hpwc,
|
|
9
|
+
.side-panel__enterActive_1hpwc {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
transform: translateX(0);
|
|
12
|
+
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.side-panel__exit_1hpwc {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
transform: translateX(0);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.side-panel__exitActive_1hpwc,
|
|
21
|
+
.side-panel__exitDone_1hpwc {
|
|
22
|
+
opacity: 0;
|
|
23
|
+
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
24
|
+
transform: translateX(15px);
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* hash: 14s5p */
|
|
2
|
+
.side-panel__appear_kozij,
|
|
3
|
+
.side-panel__enter_kozij {
|
|
4
|
+
opacity: 0;
|
|
5
|
+
transform: translateY(15px);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.side-panel__appearActive_kozij,
|
|
9
|
+
.side-panel__enterActive_kozij {
|
|
10
|
+
opacity: 1;
|
|
11
|
+
transform: translateY(0);
|
|
12
|
+
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.side-panel__exit_kozij {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
transform: translateY(0);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.side-panel__exitActive_kozij,
|
|
21
|
+
.side-panel__exitDone_kozij {
|
|
22
|
+
opacity: 0;
|
|
23
|
+
transform: translateY(15px);
|
|
24
|
+
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
25
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare function __extends(d: any, b: any): void;
|
|
2
|
+
declare function __rest(s: any, e: any): {};
|
|
3
|
+
declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
|
|
4
|
+
declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
|
|
5
|
+
declare function __metadata(metadataKey: any, metadataValue: any): any;
|
|
6
|
+
declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
|
|
7
|
+
declare function __generator(thisArg: any, body: any): {
|
|
8
|
+
next: (v: any) => any;
|
|
9
|
+
throw: (v: any) => any;
|
|
10
|
+
return: (v: any) => any;
|
|
11
|
+
};
|
|
12
|
+
declare function __exportStar(m: any, o: any): void;
|
|
13
|
+
declare function __values(o: any): any;
|
|
14
|
+
declare function __read(o: any, n: any): any;
|
|
15
|
+
declare function __spread(...args: any[]): any[];
|
|
16
|
+
declare function __spreadArrays(...args: any[]): any[];
|
|
17
|
+
declare function __await(v: any): any;
|
|
18
|
+
declare class __await {
|
|
19
|
+
constructor(v: any);
|
|
20
|
+
v: any;
|
|
21
|
+
}
|
|
22
|
+
declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
|
|
23
|
+
declare function __asyncDelegator(o: any): {};
|
|
24
|
+
declare function __asyncValues(o: any): any;
|
|
25
|
+
declare function __makeTemplateObject(cooked: any, raw: any): any;
|
|
26
|
+
declare function __importStar(mod: any): any;
|
|
27
|
+
declare function __importDefault(mod: any): any;
|
|
28
|
+
declare function __classPrivateFieldGet(receiver: any, privateMap: any): any;
|
|
29
|
+
declare function __classPrivateFieldSet(receiver: any, privateMap: any, value: any): any;
|
|
30
|
+
declare function __assign(...args: any[]): any;
|
|
31
|
+
declare function __createBinding(o: any, m: any, k: any, k2: any): void;
|
|
32
|
+
export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __assign, __createBinding };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
var __assign = function () {
|
|
16
|
+
__assign = Object.assign || function __assign(t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s)
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
21
|
+
t[p] = s[p];
|
|
22
|
+
}
|
|
23
|
+
return t;
|
|
24
|
+
};
|
|
25
|
+
return __assign.apply(this, arguments);
|
|
26
|
+
};
|
|
27
|
+
function __rest(s, e) {
|
|
28
|
+
var t = {};
|
|
29
|
+
for (var p in s)
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { __rest as _, __assign as a };
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('./tslib.es6-46fc2207.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/core-components-drawer');
|
|
9
|
+
require('react-merge-refs');
|
|
10
|
+
require('@alfalab/core-components-base-modal');
|
|
11
|
+
var Context = require('./Context.js');
|
|
12
|
+
require('./components/header/Component.js');
|
|
13
|
+
require('@alfalab/core-components-icon-button');
|
|
14
|
+
require('@alfalab/icons-glyph/CrossHeavyMIcon');
|
|
15
|
+
require('./components/closer/Component.js');
|
|
16
|
+
require('./components/header/Component.desktop.js');
|
|
17
|
+
require('./components/content/Component.js');
|
|
18
|
+
require('./components/content/Component.desktop.js');
|
|
19
|
+
require('./components/footer/Component.js');
|
|
20
|
+
require('./components/footer/Component.desktop.js');
|
|
21
|
+
require('./Component.desktop.js');
|
|
22
|
+
require('@alfalab/icons-glyph/CrossMIcon');
|
|
23
|
+
require('./components/header/Component.mobile.js');
|
|
24
|
+
require('./components/content/Component.mobile.js');
|
|
25
|
+
require('./components/footer/Component.mobile.js');
|
|
26
|
+
require('./Component.mobile.js');
|
|
27
|
+
require('@alfalab/hooks');
|
|
28
|
+
var Component_responsive = require('./Component.responsive.js');
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.ModalContext = Context.ModalContext;
|
|
33
|
+
exports.SidePanelResponsive = Component_responsive.SidePanelResponsive;
|
package/dist/mobile.css
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* hash: 158pz */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
|
|
12
|
+
/* sizes */
|
|
13
|
+
|
|
14
|
+
/* paddings */
|
|
15
|
+
|
|
16
|
+
/* scroll */
|
|
17
|
+
|
|
18
|
+
/* desktop */
|
|
19
|
+
|
|
20
|
+
/* mobile */
|
|
21
|
+
}
|
|
22
|
+
.side-panel__component_y5ha2 {
|
|
23
|
+
flex: 1;
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
package/dist/mobile.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Component.mobile";
|
package/dist/mobile.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('./tslib.es6-46fc2207.js');
|
|
6
|
+
require('react');
|
|
7
|
+
require('classnames');
|
|
8
|
+
require('@alfalab/core-components-base-modal');
|
|
9
|
+
require('./Context.js');
|
|
10
|
+
require('./components/header/Component.js');
|
|
11
|
+
require('@alfalab/core-components-icon-button');
|
|
12
|
+
require('@alfalab/icons-glyph/CrossHeavyMIcon');
|
|
13
|
+
require('./components/closer/Component.js');
|
|
14
|
+
require('./components/content/Component.js');
|
|
15
|
+
require('./components/footer/Component.js');
|
|
16
|
+
require('@alfalab/icons-glyph/CrossMIcon');
|
|
17
|
+
require('./components/header/Component.mobile.js');
|
|
18
|
+
require('./components/content/Component.mobile.js');
|
|
19
|
+
require('./components/footer/Component.mobile.js');
|
|
20
|
+
var Component_mobile = require('./Component.mobile.js');
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.SidePanelMobile = Component_mobile.SidePanelMobile;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react-transition-group" />
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { DrawerProps } from "@alfalab/core-components-drawer";
|
|
5
|
+
type SidePanelDesktopProps = DrawerProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Ширина модального окна
|
|
8
|
+
* @default "s"
|
|
9
|
+
*/
|
|
10
|
+
size?: 's';
|
|
11
|
+
/**
|
|
12
|
+
* Управление наличием закрывающего крестика
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
hasCloser?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const SidePanelDesktop: React.ForwardRefExoticComponent<Pick<import("packages/base-modal/src").BaseModalProps, "children" | "className" | "open" | "onClose" | "dataTestId" | "Backdrop" | "backdropProps" | "disableAutoFocus" | "disableFocusLock" | "disableRestoreFocus" | "disableEscapeKeyDown" | "disableBackdropClick" | "keepMounted" | "contentClassName" | "wrapperClassName" | "scrollHandler" | "transitionProps" | "onBackdropClick" | "onEscapeKeyDown" | "onMount" | "onUnmount" | "zIndex" | "componentRef"> & {
|
|
18
|
+
contentTransitionProps?: Partial<TimeoutProps<undefined>> | Partial<EndListenerProps<undefined>> | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
/**
|
|
21
|
+
* Ширина модального окна
|
|
22
|
+
* @default "s"
|
|
23
|
+
*/
|
|
24
|
+
size?: "s" | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Управление наличием закрывающего крестика
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
hasCloser?: boolean | undefined;
|
|
30
|
+
} & React.RefAttributes<HTMLDivElement>> & {
|
|
31
|
+
Content: React.FC<import("./components/content/Component.desktop").ContentDesktopProps>;
|
|
32
|
+
Header: React.FC<import("./components/header/Component.desktop").HeaderDesktopProps>;
|
|
33
|
+
Footer: React.FC<import("./components/footer/Component.desktop").FooterDesktopProps>;
|
|
34
|
+
};
|
|
35
|
+
export { SidePanelDesktopProps, SidePanelDesktop };
|