@alfalab/core-components-side-panel 1.2.1 → 1.2.2
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 +99 -0
- package/{Component.desktop.d.ts → dist/Component.desktop.d.ts} +0 -0
- package/{Component.desktop.js → dist/Component.desktop.js} +3 -3
- package/{Component.mobile.d.ts → dist/Component.mobile.d.ts} +0 -0
- package/{Component.mobile.js → dist/Component.mobile.js} +3 -3
- package/{modern → dist}/Component.responsive.d.ts +1 -1
- package/{Component.responsive.js → dist/Component.responsive.js} +1 -1
- package/{Context.d.ts → dist/Context.d.ts} +0 -0
- package/{Context.js → dist/Context.js} +0 -0
- package/{components → dist/components}/closer/Component.d.ts +0 -0
- package/{components → dist/components}/closer/Component.js +2 -2
- package/{components → dist/components}/closer/index.css +4 -4
- package/{components → dist/components}/content/Component.d.ts +0 -0
- package/{components → dist/components}/content/Component.desktop.d.ts +0 -0
- package/{components → dist/components}/content/Component.desktop.js +2 -2
- package/{components → dist/components}/content/Component.js +1 -1
- package/{components → dist/components}/content/Component.mobile.d.ts +0 -0
- package/{components → dist/components}/content/Component.mobile.js +2 -2
- package/{modern → dist}/components/content/desktop.css +3 -3
- package/{modern → dist}/components/content/index.css +3 -3
- package/{modern → dist}/components/content/mobile.css +3 -3
- package/{components → dist/components}/footer/Component.d.ts +0 -0
- package/{components → dist/components}/footer/Component.desktop.d.ts +0 -0
- package/{components → dist/components}/footer/Component.desktop.js +2 -2
- package/{components → dist/components}/footer/Component.js +2 -2
- package/{components → dist/components}/footer/Component.mobile.d.ts +0 -0
- package/{components → dist/components}/footer/Component.mobile.js +2 -2
- package/{esm → dist}/components/footer/desktop.css +3 -3
- package/{esm → dist}/components/footer/index.css +4 -4
- package/dist/components/footer/layout.css +84 -0
- package/{modern → dist}/components/footer/mobile.css +3 -3
- package/{components → dist/components}/header/Component.d.ts +0 -0
- package/{components → dist/components}/header/Component.desktop.d.ts +0 -0
- package/{components → dist/components}/header/Component.desktop.js +2 -2
- package/{components → dist/components}/header/Component.js +1 -1
- package/{components → dist/components}/header/Component.mobile.d.ts +0 -0
- package/{components → dist/components}/header/Component.mobile.js +2 -2
- package/{esm → dist}/components/header/desktop.css +6 -6
- package/{components → dist/components}/header/index.css +15 -15
- package/{modern → dist}/components/header/mobile.css +3 -3
- package/{cssm → dist/cssm}/Component.desktop.d.ts +0 -0
- package/{cssm → dist/cssm}/Component.desktop.js +3 -3
- package/{cssm → dist/cssm}/Component.mobile.d.ts +0 -0
- package/{cssm → dist/cssm}/Component.mobile.js +2 -2
- package/{Component.responsive.d.ts → dist/cssm/Component.responsive.d.ts} +0 -0
- package/{cssm → dist/cssm}/Component.responsive.js +3 -3
- package/{cssm → dist/cssm}/Context.d.ts +0 -0
- package/{cssm → dist/cssm}/Context.js +1 -1
- package/{cssm → dist/cssm}/components/closer/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/closer/Component.js +2 -2
- package/{cssm → dist/cssm}/components/closer/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/content/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/content/Component.desktop.d.ts +0 -0
- package/{cssm → dist/cssm}/components/content/Component.desktop.js +1 -1
- package/{cssm → dist/cssm}/components/content/Component.js +1 -1
- package/{cssm → dist/cssm}/components/content/Component.mobile.d.ts +0 -0
- package/{cssm → dist/cssm}/components/content/Component.mobile.js +1 -1
- package/{cssm → dist/cssm}/components/content/desktop.module.css +0 -0
- package/{cssm → dist/cssm}/components/content/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/content/mobile.module.css +0 -0
- package/{cssm → dist/cssm}/components/footer/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/footer/Component.desktop.d.ts +0 -0
- package/{cssm → dist/cssm}/components/footer/Component.desktop.js +1 -1
- package/{cssm → dist/cssm}/components/footer/Component.js +1 -1
- package/{cssm → dist/cssm}/components/footer/Component.mobile.d.ts +0 -0
- package/{cssm → dist/cssm}/components/footer/Component.mobile.js +1 -1
- package/{cssm → dist/cssm}/components/footer/desktop.module.css +0 -0
- package/{cssm → dist/cssm}/components/footer/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/footer/layout.module.css +0 -0
- package/{cssm → dist/cssm}/components/footer/mobile.module.css +0 -0
- package/{cssm → dist/cssm}/components/header/Component.d.ts +0 -0
- package/{cssm → dist/cssm}/components/header/Component.desktop.d.ts +0 -0
- package/{cssm → dist/cssm}/components/header/Component.desktop.js +2 -2
- package/{cssm → dist/cssm}/components/header/Component.js +1 -1
- package/{cssm → dist/cssm}/components/header/Component.mobile.d.ts +0 -0
- package/{cssm → dist/cssm}/components/header/Component.mobile.js +2 -2
- package/{cssm → dist/cssm}/components/header/desktop.module.css +0 -0
- package/{cssm → dist/cssm}/components/header/index.module.css +0 -0
- package/{cssm → dist/cssm}/components/header/mobile.module.css +0 -0
- package/{cssm → dist/cssm}/desktop.d.ts +0 -0
- package/{cssm → dist/cssm}/desktop.js +3 -3
- package/{cssm → dist/cssm}/desktop.module.css +0 -0
- package/{cssm → dist/cssm}/index.d.ts +0 -0
- package/{cssm → dist/cssm}/index.js +3 -3
- package/{cssm → dist/cssm}/mobile.d.ts +0 -0
- package/{cssm → dist/cssm}/mobile.js +2 -2
- package/{cssm → dist/cssm}/mobile.module.css +0 -0
- package/{cssm → dist/cssm}/responsive.d.ts +0 -0
- package/{cssm → dist/cssm}/responsive.js +3 -3
- package/{cssm → dist/cssm}/transitions.desktop.module.css +0 -0
- package/{cssm → dist/cssm}/transitions.mobile.module.css +0 -0
- package/{cssm → dist/cssm}/tslib.es6-ce870b46.d.ts +0 -0
- package/{cssm → dist/cssm}/tslib.es6-ce870b46.js +0 -0
- package/{cssm → dist/cssm}/vars.css +0 -0
- package/{desktop.css → dist/desktop.css} +3 -3
- package/{desktop.d.ts → dist/desktop.d.ts} +0 -0
- package/{desktop.js → dist/desktop.js} +1 -1
- package/{esm → dist/esm}/Component.desktop.d.ts +0 -0
- package/{esm → dist/esm}/Component.desktop.js +6 -6
- package/{esm → dist/esm}/Component.mobile.d.ts +0 -0
- package/{esm → dist/esm}/Component.mobile.js +5 -5
- package/{cssm → dist/esm}/Component.responsive.d.ts +0 -0
- package/{esm → dist/esm}/Component.responsive.js +4 -4
- package/{esm → dist/esm}/Context.d.ts +0 -0
- package/{esm → dist/esm}/Context.js +1 -1
- package/{esm → dist/esm}/components/closer/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/closer/Component.js +4 -4
- package/{esm → dist/esm}/components/closer/index.css +4 -4
- package/{esm → dist/esm}/components/content/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/content/Component.desktop.d.ts +0 -0
- package/{esm → dist/esm}/components/content/Component.desktop.js +3 -3
- package/{esm → dist/esm}/components/content/Component.js +2 -2
- package/{esm → dist/esm}/components/content/Component.mobile.d.ts +0 -0
- package/{esm → dist/esm}/components/content/Component.mobile.js +3 -3
- package/{esm → dist/esm}/components/content/desktop.css +3 -3
- package/{esm → dist/esm}/components/content/index.css +3 -3
- package/{esm → dist/esm}/components/content/mobile.css +3 -3
- package/{esm → dist/esm}/components/footer/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/footer/Component.desktop.d.ts +0 -0
- package/{esm → dist/esm}/components/footer/Component.desktop.js +3 -3
- package/{esm → dist/esm}/components/footer/Component.js +3 -3
- package/{esm → dist/esm}/components/footer/Component.mobile.d.ts +0 -0
- package/{esm → dist/esm}/components/footer/Component.mobile.js +3 -3
- package/{components → dist/esm/components}/footer/desktop.css +3 -3
- package/{modern → dist/esm}/components/footer/index.css +4 -4
- package/dist/esm/components/footer/layout.css +84 -0
- package/{components → dist/esm/components}/footer/mobile.css +3 -3
- package/{esm → dist/esm}/components/header/Component.d.ts +0 -0
- package/{esm → dist/esm}/components/header/Component.desktop.d.ts +0 -0
- package/{esm → dist/esm}/components/header/Component.desktop.js +4 -4
- package/{esm → dist/esm}/components/header/Component.js +2 -2
- package/{esm → dist/esm}/components/header/Component.mobile.d.ts +0 -0
- package/{esm → dist/esm}/components/header/Component.mobile.js +4 -4
- package/{components → dist/esm/components}/header/desktop.css +6 -6
- package/{esm → dist/esm}/components/header/index.css +15 -15
- package/{components → dist/esm/components}/header/mobile.css +3 -3
- package/{esm → dist/esm}/desktop.css +3 -3
- package/{esm → dist/esm}/desktop.d.ts +0 -0
- package/{esm → dist/esm}/desktop.js +4 -4
- package/{esm → dist/esm}/index.d.ts +0 -0
- package/{esm → dist/esm}/index.js +4 -4
- package/{esm → dist/esm}/mobile.css +2 -2
- package/{esm → dist/esm}/mobile.d.ts +0 -0
- package/{esm → dist/esm}/mobile.js +3 -3
- package/{esm → dist/esm}/responsive.d.ts +0 -0
- package/{esm → dist/esm}/responsive.js +4 -4
- package/{modern → dist/esm}/transitions.desktop.css +8 -8
- package/{modern → dist/esm}/transitions.mobile.css +8 -8
- package/{esm/tslib.es6-9407430f.d.ts → dist/esm/tslib.es6-091bc803.d.ts} +0 -0
- package/{esm/tslib.es6-9407430f.js → dist/esm/tslib.es6-091bc803.js} +0 -0
- package/{index.d.ts → dist/index.d.ts} +0 -0
- package/{index.js → dist/index.js} +1 -1
- package/{modern → dist}/mobile.css +2 -2
- package/{mobile.d.ts → dist/mobile.d.ts} +0 -0
- package/{mobile.js → dist/mobile.js} +1 -1
- package/{modern → dist/modern}/Component.desktop.d.ts +0 -0
- package/{modern → dist/modern}/Component.desktop.js +5 -5
- package/{modern → dist/modern}/Component.mobile.d.ts +0 -0
- package/{modern → dist/modern}/Component.mobile.js +4 -4
- package/{esm → dist/modern}/Component.responsive.d.ts +0 -0
- package/{modern → dist/modern}/Component.responsive.js +3 -3
- package/{modern → dist/modern}/Context.d.ts +0 -0
- package/{modern → dist/modern}/Context.js +1 -1
- package/{modern → dist/modern}/components/closer/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/closer/Component.js +3 -3
- package/{modern → dist/modern}/components/closer/index.css +4 -4
- package/{modern → dist/modern}/components/content/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/content/Component.desktop.d.ts +0 -0
- package/{modern → dist/modern}/components/content/Component.desktop.js +2 -2
- package/{modern → dist/modern}/components/content/Component.js +2 -2
- package/{modern → dist/modern}/components/content/Component.mobile.d.ts +0 -0
- package/{modern → dist/modern}/components/content/Component.mobile.js +2 -2
- package/{components → dist/modern/components}/content/desktop.css +3 -3
- package/{components → dist/modern/components}/content/index.css +3 -3
- package/{components → dist/modern/components}/content/mobile.css +3 -3
- package/{modern → dist/modern}/components/footer/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/footer/Component.desktop.d.ts +0 -0
- package/{modern → dist/modern}/components/footer/Component.desktop.js +2 -2
- package/{modern → dist/modern}/components/footer/Component.js +3 -3
- package/{modern → dist/modern}/components/footer/Component.mobile.d.ts +0 -0
- package/{modern → dist/modern}/components/footer/Component.mobile.js +2 -2
- package/{modern → dist/modern}/components/footer/desktop.css +3 -3
- package/{components → dist/modern/components}/footer/index.css +4 -4
- package/dist/modern/components/footer/layout.css +84 -0
- package/{esm → dist/modern}/components/footer/mobile.css +3 -3
- package/{modern → dist/modern}/components/header/Component.d.ts +0 -0
- package/{modern → dist/modern}/components/header/Component.desktop.d.ts +0 -0
- package/{modern → dist/modern}/components/header/Component.desktop.js +3 -3
- package/{modern → dist/modern}/components/header/Component.js +2 -2
- package/{modern → dist/modern}/components/header/Component.mobile.d.ts +0 -0
- package/{modern → dist/modern}/components/header/Component.mobile.js +3 -3
- package/{modern → dist/modern}/components/header/desktop.css +6 -6
- package/{modern → dist/modern}/components/header/index.css +15 -15
- package/{esm → dist/modern}/components/header/mobile.css +3 -3
- package/{modern → dist/modern}/desktop.css +3 -3
- package/{modern → dist/modern}/desktop.d.ts +0 -0
- package/{modern → dist/modern}/desktop.js +3 -3
- package/{modern → dist/modern}/index.d.ts +0 -0
- package/{modern → dist/modern}/index.js +3 -3
- package/{mobile.css → dist/modern/mobile.css} +2 -2
- package/{modern → dist/modern}/mobile.d.ts +0 -0
- package/{modern → dist/modern}/mobile.js +2 -2
- package/{modern → dist/modern}/responsive.d.ts +0 -0
- package/{modern → dist/modern}/responsive.js +3 -3
- package/{esm → dist/modern}/transitions.desktop.css +8 -8
- package/{transitions.mobile.css → dist/modern/transitions.mobile.css} +8 -8
- package/{responsive.d.ts → dist/responsive.d.ts} +0 -0
- package/{responsive.js → dist/responsive.js} +1 -1
- package/{send-stats.js → dist/send-stats.js} +0 -0
- package/{transitions.desktop.css → dist/transitions.desktop.css} +8 -8
- package/{esm → dist}/transitions.mobile.css +8 -8
- package/{tslib.es6-ae0fec11.d.ts → dist/tslib.es6-f92bad56.d.ts} +0 -0
- package/{tslib.es6-ae0fec11.js → dist/tslib.es6-f92bad56.js} +0 -0
- package/package.json +14 -11
- package/components/footer/layout.css +0 -84
- package/esm/components/footer/layout.css +0 -84
- package/modern/components/footer/layout.css +0 -84
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.side-
|
|
3
|
-
.side-
|
|
1
|
+
/* hash: v88qe */
|
|
2
|
+
.side-panel__appear_zhh0w,
|
|
3
|
+
.side-panel__enter_zhh0w {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateX(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.side-
|
|
9
|
-
.side-
|
|
8
|
+
.side-panel__appearActive_zhh0w,
|
|
9
|
+
.side-panel__enterActive_zhh0w {
|
|
10
10
|
opacity: 1;
|
|
11
11
|
transform: translateX(0);
|
|
12
12
|
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.side-
|
|
15
|
+
.side-panel__exit_zhh0w {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateX(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.side-
|
|
21
|
-
.side-
|
|
20
|
+
.side-panel__exitActive_zhh0w,
|
|
21
|
+
.side-panel__exitDone_zhh0w {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
24
24
|
transform: translateX(15px);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
.side-
|
|
3
|
-
.side-
|
|
1
|
+
/* hash: tropz */
|
|
2
|
+
.side-panel__appear_1a5m6,
|
|
3
|
+
.side-panel__enter_1a5m6 {
|
|
4
4
|
opacity: 0;
|
|
5
5
|
transform: translateY(15px);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.side-
|
|
9
|
-
.side-
|
|
8
|
+
.side-panel__appearActive_1a5m6,
|
|
9
|
+
.side-panel__enterActive_1a5m6 {
|
|
10
10
|
opacity: 1;
|
|
11
11
|
transform: translateY(0);
|
|
12
12
|
transition: opacity 200ms ease-in, transform 200ms ease-in;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.side-
|
|
15
|
+
.side-panel__exit_1a5m6 {
|
|
16
16
|
opacity: 1;
|
|
17
17
|
transform: translateY(0);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.side-
|
|
21
|
-
.side-
|
|
20
|
+
.side-panel__exitActive_1a5m6,
|
|
21
|
+
.side-panel__exitDone_1a5m6 {
|
|
22
22
|
opacity: 0;
|
|
23
23
|
transform: translateY(15px);
|
|
24
24
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, isValidElement, cloneElement } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { Drawer } from '@alfalab/core-components-drawer/modern';
|
|
3
|
+
import { Drawer } from '@alfalab/core-components-drawer/dist/modern';
|
|
4
4
|
import mergeRefs from 'react-merge-refs';
|
|
5
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
5
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
6
6
|
import './Context.js';
|
|
7
7
|
import './components/header/Component.js';
|
|
8
|
-
import '@alfalab/core-components-icon-button/modern';
|
|
8
|
+
import '@alfalab/core-components-icon-button/dist/modern';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
10
10
|
import './components/closer/Component.js';
|
|
11
11
|
import { HeaderDesktop } from './components/header/Component.desktop.js';
|
|
@@ -14,10 +14,10 @@ import { ContentDesktop } from './components/content/Component.desktop.js';
|
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import { FooterDesktop } from './components/footer/Component.desktop.js';
|
|
16
16
|
|
|
17
|
-
var styles = {"s":"side-
|
|
17
|
+
var styles = {"s":"side-panel__s_z4h9k","hidden":"side-panel__hidden_z4h9k"};
|
|
18
18
|
require('./desktop.css')
|
|
19
19
|
|
|
20
|
-
var transitions = {"appear":"side-
|
|
20
|
+
var transitions = {"appear":"side-panel__appear_zhh0w","enter":"side-panel__enter_zhh0w","appearActive":"side-panel__appearActive_zhh0w","enterActive":"side-panel__enterActive_zhh0w","exit":"side-panel__exit_zhh0w","exitActive":"side-panel__exitActive_zhh0w","exitDone":"side-panel__exitDone_zhh0w"};
|
|
21
21
|
require('./transitions.desktop.css')
|
|
22
22
|
|
|
23
23
|
const SidePanelDesktopComponent = forwardRef(({ size = 's', children, className, wrapperClassName, contentTransitionProps = {}, backdropProps, ...restProps }, ref) => {
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { BaseModal } from '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import { BaseModal } from '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import './Context.js';
|
|
5
5
|
import './components/header/Component.js';
|
|
6
|
-
import '@alfalab/core-components-icon-button/modern';
|
|
6
|
+
import '@alfalab/core-components-icon-button/dist/modern';
|
|
7
7
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
8
8
|
import './components/closer/Component.js';
|
|
9
9
|
import './components/content/Component.js';
|
|
@@ -13,10 +13,10 @@ import { HeaderMobile } from './components/header/Component.mobile.js';
|
|
|
13
13
|
import { ContentMobile } from './components/content/Component.mobile.js';
|
|
14
14
|
import { FooterMobile } from './components/footer/Component.mobile.js';
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"side-
|
|
16
|
+
var styles = {"component":"side-panel__component_czw4k"};
|
|
17
17
|
require('./mobile.css')
|
|
18
18
|
|
|
19
|
-
var transitions = {"appear":"side-
|
|
19
|
+
var transitions = {"appear":"side-panel__appear_1a5m6","enter":"side-panel__enter_1a5m6","appearActive":"side-panel__appearActive_1a5m6","enterActive":"side-panel__enterActive_1a5m6","exit":"side-panel__exit_1a5m6","exitActive":"side-panel__exitActive_1a5m6","exitDone":"side-panel__exitDone_1a5m6"};
|
|
20
20
|
require('./transitions.mobile.css')
|
|
21
21
|
|
|
22
22
|
const SidePanelMobileComponent = forwardRef(({ children, className, transitionProps, ...restProps }, ref) => {
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { forwardRef, useMemo, useContext } from 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '@alfalab/core-components-drawer/modern';
|
|
3
|
+
import '@alfalab/core-components-drawer/dist/modern';
|
|
4
4
|
import 'react-merge-refs';
|
|
5
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
5
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
6
6
|
import './Context.js';
|
|
7
7
|
import './components/header/Component.js';
|
|
8
|
-
import '@alfalab/core-components-icon-button/modern';
|
|
8
|
+
import '@alfalab/core-components-icon-button/dist/modern';
|
|
9
9
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
10
10
|
import { Closer } from './components/closer/Component.js';
|
|
11
11
|
import './components/header/Component.desktop.js';
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { useContext, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
|
-
import { IconButton } from '@alfalab/core-components-icon-button/modern';
|
|
5
|
+
import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
|
|
6
6
|
import { CrossHeavyMIcon } from '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
7
7
|
|
|
8
|
-
var styles = {"closer":"side-
|
|
8
|
+
var styles = {"closer":"side-panel__closer_4qt3r","button":"side-panel__button_4qt3r","sticky":"side-panel__sticky_4qt3r"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1uvuj */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
4
4
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
:root {
|
|
26
26
|
--side-panel-closer-bg-color: var(--color-light-bg-primary-alpha-40);
|
|
27
27
|
}
|
|
28
|
-
.side-
|
|
28
|
+
.side-panel__closer_4qt3r {
|
|
29
29
|
flex-shrink: 0;
|
|
30
30
|
width: 48px;
|
|
31
31
|
height: 48px;
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
align-items: center;
|
|
35
35
|
justify-content: center;
|
|
36
36
|
}
|
|
37
|
-
.side-
|
|
37
|
+
.side-panel__button_4qt3r {
|
|
38
38
|
background: var(--side-panel-closer-bg-color);
|
|
39
39
|
-webkit-backdrop-filter: blur(10px);
|
|
40
40
|
backdrop-filter: blur(10px);
|
|
41
41
|
border-radius: 50px;
|
|
42
42
|
}
|
|
43
|
-
.side-
|
|
43
|
+
.side-panel__sticky_4qt3r {
|
|
44
44
|
position: sticky;
|
|
45
45
|
top: 0;
|
|
46
46
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Content } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"s":"side-
|
|
7
|
+
var styles = {"s":"side-panel__s_150ej"};
|
|
8
8
|
require('./desktop.css')
|
|
9
9
|
|
|
10
10
|
const ContentDesktop = ({ size = 's', className, ...restProps }) => React.createElement(Content, Object.assign({ className: cn(className, size && styles[size]) }, restProps));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useContext } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"content":"side-
|
|
6
|
+
var styles = {"content":"side-panel__content_lxf4u","flex":"side-panel__flex_lxf4u"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const Content = ({ children, className, dataTestId }) => {
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Content } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"content":"side-
|
|
7
|
+
var styles = {"content":"side-panel__content_uy3d4"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const ContentMobile = ({ className, ...restProps }) => (React.createElement(Content, Object.assign({ className: cn(className, styles.content) }, restProps)));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vagh */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
|
|
24
24
|
/* mobile */
|
|
25
25
|
}
|
|
26
|
-
.side-
|
|
26
|
+
.side-panel__s_150ej {
|
|
27
27
|
padding: var(--side-panel-s-content-paddings)
|
|
28
28
|
}
|
|
29
|
-
.side-
|
|
29
|
+
.side-panel__s_150ej:last-child {
|
|
30
30
|
padding-bottom: var(--gap-2xl);
|
|
31
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: hpt93 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
|
|
20
20
|
/* mobile */
|
|
21
21
|
}
|
|
22
|
-
.side-
|
|
22
|
+
.side-panel__content_lxf4u {
|
|
23
23
|
box-sizing: border-box;
|
|
24
24
|
width: 100%;
|
|
25
25
|
}
|
|
26
|
-
.side-
|
|
26
|
+
.side-panel__flex_lxf4u {
|
|
27
27
|
flex: 1 1 auto;
|
|
28
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ga37 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
/* mobile */
|
|
24
24
|
}
|
|
25
|
-
.side-
|
|
25
|
+
.side-panel__content_uy3d4 {
|
|
26
26
|
padding: 0 var(--gap-m)
|
|
27
27
|
}
|
|
28
|
-
.side-
|
|
28
|
+
.side-panel__content_uy3d4:last-child {
|
|
29
29
|
padding-bottom: var(--gap-m);
|
|
30
30
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Footer } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"sticky":"side-
|
|
7
|
+
var styles = {"sticky":"side-panel__sticky_9tovb","s":"side-panel__s_9tovb"};
|
|
8
8
|
require('./desktop.css')
|
|
9
9
|
|
|
10
10
|
const FooterDesktop = ({ size = 's', className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, size && styles[size], {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { useContext, useEffect } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"footer":"side-
|
|
6
|
+
var styles = {"footer":"side-panel__footer_jcyef","sticky":"side-panel__sticky_jcyef","highlighted":"side-panel__highlighted_jcyef"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
|
-
var layoutStyles = {"column":"side-
|
|
9
|
+
var layoutStyles = {"column":"side-panel__column_1rrde","gap-16":"side-panel__gap-16_1rrde","gap-24":"side-panel__gap-24_1rrde","gap-32":"side-panel__gap-32_1rrde","start":"side-panel__start_1rrde","center":"side-panel__center_1rrde","space-between":"side-panel__space-between_1rrde"};
|
|
10
10
|
require('./layout.css')
|
|
11
11
|
|
|
12
12
|
const Footer = ({ children, className, sticky, layout = 'start', gap, dataTestId, }) => {
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Footer } from './Component.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"footer":"side-
|
|
7
|
+
var styles = {"footer":"side-panel__footer_1v1lz","sticky":"side-panel__sticky_1v1lz"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const FooterMobile = ({ className, sticky, ...restProps }) => (React.createElement(Footer, Object.assign({ className: cn(className, styles.footer, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: iaxyf */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
|
|
25
25
|
/* mobile */
|
|
26
26
|
}
|
|
27
|
-
.side-
|
|
27
|
+
.side-panel__sticky_9tovb {
|
|
28
28
|
bottom: 0;
|
|
29
29
|
}
|
|
30
|
-
.side-
|
|
30
|
+
.side-panel__s_9tovb {
|
|
31
31
|
padding: var(--side-panel-s-footer-paddings);
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vl68 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-border-primary: #dbdee1;
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
|
|
27
27
|
/* mobile */
|
|
28
28
|
}
|
|
29
|
-
.side-
|
|
29
|
+
.side-panel__footer_jcyef {
|
|
30
30
|
width: 100%;
|
|
31
31
|
box-sizing: border-box;
|
|
32
32
|
transition: box-shadow 0.2s ease, background 0.2s ease;
|
|
33
33
|
}
|
|
34
|
-
.side-
|
|
34
|
+
.side-panel__sticky_jcyef {
|
|
35
35
|
background: var(--side-panel-footer-background);
|
|
36
36
|
position: sticky;
|
|
37
37
|
}
|
|
38
|
-
.side-
|
|
38
|
+
.side-panel__highlighted_jcyef {
|
|
39
39
|
background: var(--side-panel-footer-highlight-background);
|
|
40
40
|
box-shadow: var(--side-panel-footer-highlight-box-shadow);
|
|
41
41
|
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* hash: 1i0ad */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-m: 16px;
|
|
12
|
+
--gap-xl: 24px;
|
|
13
|
+
--gap-2xl: 32px;
|
|
14
|
+
}
|
|
15
|
+
:root {
|
|
16
|
+
--side-panel-footer-default-gap: var(--gap-m);
|
|
17
|
+
|
|
18
|
+
/* sizes */
|
|
19
|
+
|
|
20
|
+
/* paddings */
|
|
21
|
+
|
|
22
|
+
/* scroll */
|
|
23
|
+
|
|
24
|
+
/* desktop */
|
|
25
|
+
|
|
26
|
+
/* mobile */
|
|
27
|
+
}
|
|
28
|
+
.side-panel__column_1rrde {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column
|
|
31
|
+
}
|
|
32
|
+
.side-panel__column_1rrde > * {
|
|
33
|
+
margin-bottom: var(--side-panel-footer-default-gap);
|
|
34
|
+
}
|
|
35
|
+
.side-panel__column_1rrde > *:last-child,
|
|
36
|
+
.side-panel__column_1rrde > *:only-child {
|
|
37
|
+
margin-bottom: 0;
|
|
38
|
+
}
|
|
39
|
+
.side-panel__column_1rrde.side-panel__gap-16_1rrde > * {
|
|
40
|
+
margin-bottom: var(--gap-m);
|
|
41
|
+
}
|
|
42
|
+
.side-panel__column_1rrde.side-panel__gap-24_1rrde > * {
|
|
43
|
+
margin-bottom: var(--gap-xl);
|
|
44
|
+
}
|
|
45
|
+
.side-panel__column_1rrde.side-panel__gap-32_1rrde > * {
|
|
46
|
+
margin-bottom: var(--gap-2xl);
|
|
47
|
+
}
|
|
48
|
+
.side-panel__start_1rrde {
|
|
49
|
+
justify-content: flex-start;
|
|
50
|
+
}
|
|
51
|
+
.side-panel__center_1rrde {
|
|
52
|
+
justify-content: center;
|
|
53
|
+
}
|
|
54
|
+
.side-panel__space-between_1rrde {
|
|
55
|
+
justify-content: space-between
|
|
56
|
+
}
|
|
57
|
+
.side-panel__space-between_1rrde > * {
|
|
58
|
+
flex: 1;
|
|
59
|
+
}
|
|
60
|
+
.side-panel__start_1rrde,
|
|
61
|
+
.side-panel__center_1rrde,
|
|
62
|
+
.side-panel__space-between_1rrde {
|
|
63
|
+
display: flex
|
|
64
|
+
}
|
|
65
|
+
.side-panel__start_1rrde > *, .side-panel__center_1rrde > *, .side-panel__space-between_1rrde > * {
|
|
66
|
+
margin-right: var(--side-panel-footer-default-gap);
|
|
67
|
+
}
|
|
68
|
+
.side-panel__start_1rrde > *:last-child,
|
|
69
|
+
.side-panel__start_1rrde > *:only-child,
|
|
70
|
+
.side-panel__center_1rrde > *:last-child,
|
|
71
|
+
.side-panel__center_1rrde > *:only-child,
|
|
72
|
+
.side-panel__space-between_1rrde > *:last-child,
|
|
73
|
+
.side-panel__space-between_1rrde > *:only-child {
|
|
74
|
+
margin-right: 0;
|
|
75
|
+
}
|
|
76
|
+
.side-panel__start_1rrde.side-panel__gap-16_1rrde > *, .side-panel__center_1rrde.side-panel__gap-16_1rrde > *, .side-panel__space-between_1rrde.side-panel__gap-16_1rrde > * {
|
|
77
|
+
margin-right: var(--gap-m);
|
|
78
|
+
}
|
|
79
|
+
.side-panel__start_1rrde.side-panel__gap-24_1rrde > *, .side-panel__center_1rrde.side-panel__gap-24_1rrde > *, .side-panel__space-between_1rrde.side-panel__gap-24_1rrde > * {
|
|
80
|
+
margin-right: var(--gap-xl);
|
|
81
|
+
}
|
|
82
|
+
.side-panel__start_1rrde.side-panel__gap-32_1rrde > *, .side-panel__center_1rrde.side-panel__gap-32_1rrde > *, .side-panel__space-between_1rrde.side-panel__gap-32_1rrde > * {
|
|
83
|
+
margin-right: var(--gap-2xl);
|
|
84
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 44cpr */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
/* mobile */
|
|
24
24
|
}
|
|
25
|
-
.side-
|
|
25
|
+
.side-panel__footer_1v1lz {
|
|
26
26
|
padding: var(--gap-m);
|
|
27
27
|
}
|
|
28
|
-
.side-
|
|
28
|
+
.side-panel__sticky_1v1lz {
|
|
29
29
|
bottom: 0;
|
|
30
30
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Header } from './Component.js';
|
|
6
|
-
import '@alfalab/core-components-icon-button/modern';
|
|
6
|
+
import '@alfalab/core-components-icon-button/dist/modern';
|
|
7
7
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
8
8
|
import { Closer } from '../closer/Component.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"content":"side-
|
|
10
|
+
var styles = {"content":"side-panel__content_g9cbs","s":"side-panel__s_g9cbs","hasContent":"side-panel__hasContent_g9cbs","sticky":"side-panel__sticky_g9cbs"};
|
|
11
11
|
require('./desktop.css')
|
|
12
12
|
|
|
13
13
|
const HeaderDesktop = ({ size = 's', className, contentClassName, hasCloser = true, sticky, leftAddons = React.createElement("span", null), title, children, ...restProps }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useContext, useEffect } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import { ModalContext } from '../../Context.js';
|
|
5
5
|
|
|
6
|
-
var styles = {"header":"side-
|
|
6
|
+
var styles = {"header":"side-panel__header_1riar","hasContent":"side-panel__hasContent_1riar","highlighted":"side-panel__highlighted_1riar","sticky":"side-panel__sticky_1riar","content":"side-panel__content_1riar","title":"side-panel__title_1riar","addon":"side-panel__addon_1riar","closer":"side-panel__closer_1riar","left":"side-panel__left_1riar","center":"side-panel__center_1riar","right":"side-panel__right_1riar","trim":"side-panel__trim_1riar"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
const Header = ({ className, addonClassName, contentClassName, leftAddons, children, align = 'left', trim = true, title, closer, sticky, dataTestId, }) => {
|
|
File without changes
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import '@alfalab/core-components-base-modal/modern';
|
|
3
|
+
import '@alfalab/core-components-base-modal/dist/modern';
|
|
4
4
|
import '../../Context.js';
|
|
5
5
|
import { Header } from './Component.js';
|
|
6
|
-
import '@alfalab/core-components-icon-button/modern';
|
|
6
|
+
import '@alfalab/core-components-icon-button/dist/modern';
|
|
7
7
|
import '@alfalab/icons-glyph/CrossHeavyMIcon';
|
|
8
8
|
import { Closer } from '../closer/Component.js';
|
|
9
9
|
import CrossMIcon from '@alfalab/icons-glyph/CrossMIcon';
|
|
10
10
|
|
|
11
|
-
var styles = {"sticky":"side-
|
|
11
|
+
var styles = {"sticky":"side-panel__sticky_s7h73","content":"side-panel__content_s7h73"};
|
|
12
12
|
require('./mobile.css')
|
|
13
13
|
|
|
14
14
|
const HeaderMobile = ({ className, contentClassName, hasCloser = true, sticky, ...restProps }) => (React.createElement(Header, Object.assign({ className: cn(className, {
|