@alfalab/core-components-bottom-sheet 5.0.1 → 5.0.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/{component-69b83924.d.ts → component-8bfa5862.d.ts} +0 -0
- package/{component-69b83924.js → component-8bfa5862.js} +3 -3
- package/component.js +2 -2
- package/components/backer/Component.js +2 -2
- package/components/backer/index.css +15 -5
- package/components/closer/Component.js +2 -2
- package/components/closer/index.css +15 -5
- package/components/footer/Component.js +1 -1
- package/components/footer/index.css +4 -4
- package/components/header/Component.js +2 -2
- package/components/header/index.css +17 -17
- package/components/swipeable-backdrop/Component.js +1 -1
- package/cssm/components/backer/index.module.css +12 -2
- package/cssm/components/closer/index.module.css +12 -2
- package/esm/{component-76bf9ac2.d.ts → component-ff5a8898.d.ts} +0 -0
- package/esm/{component-76bf9ac2.js → component-ff5a8898.js} +3 -3
- package/esm/component.js +2 -2
- package/esm/components/backer/Component.js +2 -2
- package/esm/components/backer/index.css +15 -5
- package/esm/components/closer/Component.js +2 -2
- package/esm/components/closer/index.css +15 -5
- package/esm/components/footer/Component.js +1 -1
- package/esm/components/footer/index.css +4 -4
- package/esm/components/header/Component.js +2 -2
- package/esm/components/header/index.css +17 -17
- package/esm/components/swipeable-backdrop/Component.js +1 -1
- package/esm/index.css +15 -15
- package/esm/index.d.ts +1 -1
- package/esm/index.js +2 -2
- package/esm/{tslib.es6-08dd8a42.d.ts → tslib.es6-8beee9c3.d.ts} +0 -0
- package/esm/{tslib.es6-08dd8a42.js → tslib.es6-8beee9c3.js} +0 -0
- package/index.css +15 -15
- package/index.d.ts +1 -1
- package/index.js +2 -2
- package/modern/{component-9215d353.d.ts → component-86401c14.d.ts} +0 -0
- package/modern/{component-9215d353.js → component-86401c14.js} +2 -2
- package/modern/component.js +1 -1
- package/modern/components/backer/Component.js +1 -1
- package/modern/components/backer/index.css +15 -5
- package/modern/components/closer/Component.js +1 -1
- package/modern/components/closer/index.css +15 -5
- package/modern/components/footer/Component.js +1 -1
- package/modern/components/footer/index.css +4 -4
- package/modern/components/header/Component.js +1 -1
- package/modern/components/header/index.css +17 -17
- package/modern/index.css +15 -15
- package/modern/index.d.ts +1 -1
- package/modern/index.js +1 -1
- package/package.json +2 -2
- /package/{tslib.es6-e6bf14a8.d.ts → tslib.es6-2e2f8472.d.ts} +0 -0
- /package/{tslib.es6-e6bf14a8.js → tslib.es6-2e2f8472.js} +0 -0
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-2e2f8472.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var reactDiv100vh = require('react-div-100vh');
|
|
@@ -22,7 +22,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
22
22
|
return dataTestId ? "" + dataTestId + elementPart : undefined;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var styles = {"headerWrapper":"bottom-
|
|
25
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_166t2","header":"bottom-sheet__header_166t2","sticky":"bottom-sheet__sticky_166t2","highlighted":"bottom-sheet__highlighted_166t2","justifyEnd":"bottom-sheet__justifyEnd_166t2","addon":"bottom-sheet__addon_166t2","addonFixed":"bottom-sheet__addonFixed_166t2","addonLeft":"bottom-sheet__addonLeft_166t2","addonRight":"bottom-sheet__addonRight_166t2","title":"bottom-sheet__title_166t2","titleCenter":"bottom-sheet__titleCenter_166t2","titleLeft":"bottom-sheet__titleLeft_166t2","trimTitle":"bottom-sheet__trimTitle_166t2","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_166t2","titleIndentRight":"bottom-sheet__titleIndentRight_166t2","titleIndentLeft":"bottom-sheet__titleIndentLeft_166t2"};
|
|
26
26
|
require('./components/header/index.css')
|
|
27
27
|
|
|
28
28
|
var Header = function (_a) {
|
|
@@ -72,7 +72,7 @@ var Header = function (_a) {
|
|
|
72
72
|
bottomAddons));
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
var styles$1 = {"modal":"bottom-
|
|
75
|
+
var styles$1 = {"modal":"bottom-sheet__modal_667vy","component":"bottom-sheet__component_667vy","withTransition":"bottom-sheet__withTransition_667vy","scrollableContainer":"bottom-sheet__scrollableContainer_667vy","marker":"bottom-sheet__marker_667vy","content":"bottom-sheet__content_667vy","noHeader":"bottom-sheet__noHeader_667vy","noFooter":"bottom-sheet__noFooter_667vy","scrollLocked":"bottom-sheet__scrollLocked_667vy","appear":"bottom-sheet__appear_667vy","enter":"bottom-sheet__enter_667vy","appearActive":"bottom-sheet__appearActive_667vy","enterActive":"bottom-sheet__enterActive_667vy","enterDone":"bottom-sheet__enterDone_667vy","appearDone":"bottom-sheet__appearDone_667vy","exit":"bottom-sheet__exit_667vy","exitActive":"bottom-sheet__exitActive_667vy"};
|
|
76
76
|
require('./index.css')
|
|
77
77
|
|
|
78
78
|
var TIMEOUT = 300;
|
package/component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-2e2f8472.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('react-div-100vh');
|
|
@@ -14,7 +14,7 @@ require('@alfalab/icons-glyph/CrossMIcon');
|
|
|
14
14
|
require('./components/closer/Component.js');
|
|
15
15
|
require('@alfalab/icons-glyph/ArrowBackMIcon');
|
|
16
16
|
require('./components/backer/Component.js');
|
|
17
|
-
var components_header_Component = require('./component-
|
|
17
|
+
var components_header_Component = require('./component-8bfa5862.js');
|
|
18
18
|
require('./components/footer/Component.js');
|
|
19
19
|
require('@alfalab/core-components-backdrop');
|
|
20
20
|
require('./components/swipeable-backdrop/Component.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-2e2f8472.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
|
|
@@ -13,7 +13,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"backer":"bottom-
|
|
16
|
+
var styles = {"backer":"bottom-sheet__backer_1fycj","button":"bottom-sheet__button_1fycj"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Backer = function (_a) {
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bvuid */
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
3
|
+
--color-light-graphic-primary: #0b1f35;
|
|
4
|
+
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
4
5
|
}
|
|
6
|
+
:root {
|
|
7
|
+
|
|
8
|
+
/* Hard */
|
|
5
9
|
|
|
6
|
-
|
|
10
|
+
/* Up */
|
|
11
|
+
|
|
12
|
+
/* Hard up */
|
|
13
|
+
}
|
|
14
|
+
:root {
|
|
15
|
+
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
16
|
+
}
|
|
17
|
+
.bottom-sheet__backer_1fycj {
|
|
7
18
|
width: 32px;
|
|
8
19
|
height: 32px;
|
|
9
20
|
display: flex;
|
|
@@ -12,8 +23,7 @@
|
|
|
12
23
|
cursor: pointer;
|
|
13
24
|
color: var(--color-light-graphic-primary);
|
|
14
25
|
}
|
|
15
|
-
|
|
16
|
-
.bottom-sheet__button_1enhp {
|
|
26
|
+
.bottom-sheet__button_1fycj {
|
|
17
27
|
background: var(--bottom-sheet-backer-bg-color);
|
|
18
28
|
-webkit-backdrop-filter: blur(10px);
|
|
19
29
|
backdrop-filter: blur(10px);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-2e2f8472.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var coreComponentsBaseModal = require('@alfalab/core-components-base-modal');
|
|
@@ -14,7 +14,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
15
15
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
16
16
|
|
|
17
|
-
var styles = {"closer":"bottom-
|
|
17
|
+
var styles = {"closer":"bottom-sheet__closer_7cvt3","button":"bottom-sheet__button_7cvt3"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Closer = function (_a) {
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17apl */
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
3
|
+
--color-light-graphic-primary: #0b1f35;
|
|
4
|
+
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
4
5
|
}
|
|
6
|
+
:root {
|
|
7
|
+
|
|
8
|
+
/* Hard */
|
|
5
9
|
|
|
6
|
-
|
|
10
|
+
/* Up */
|
|
11
|
+
|
|
12
|
+
/* Hard up */
|
|
13
|
+
}
|
|
14
|
+
:root {
|
|
15
|
+
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
16
|
+
}
|
|
17
|
+
.bottom-sheet__closer_7cvt3 {
|
|
7
18
|
width: 32px;
|
|
8
19
|
height: 32px;
|
|
9
20
|
display: flex;
|
|
@@ -12,8 +23,7 @@
|
|
|
12
23
|
cursor: pointer;
|
|
13
24
|
color: var(--color-light-graphic-primary);
|
|
14
25
|
}
|
|
15
|
-
|
|
16
|
-
.bottom-sheet__button_620z9 {
|
|
26
|
+
.bottom-sheet__button_7cvt3 {
|
|
17
27
|
background: var(--bottom-sheet-closer-bg-color);
|
|
18
28
|
-webkit-backdrop-filter: blur(10px);
|
|
19
29
|
backdrop-filter: blur(10px);
|
|
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"footer":"bottom-
|
|
14
|
+
var styles = {"footer":"bottom-sheet__footer_egnl5","sticky":"bottom-sheet__sticky_egnl5","highlighted":"bottom-sheet__highlighted_egnl5"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17htm */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-border-primary: #dbdee1;
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
|
|
19
19
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
20
20
|
}
|
|
21
|
-
.bottom-
|
|
21
|
+
.bottom-sheet__footer_egnl5 {
|
|
22
22
|
padding: var(--gap-m) var(--gap-m);
|
|
23
23
|
background-color: var(--color-light-bg-primary);
|
|
24
24
|
}
|
|
25
|
-
.bottom-
|
|
25
|
+
.bottom-sheet__sticky_egnl5 {
|
|
26
26
|
position: sticky;
|
|
27
27
|
bottom: 0;
|
|
28
28
|
}
|
|
29
|
-
.bottom-
|
|
29
|
+
.bottom-sheet__highlighted_egnl5 {
|
|
30
30
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
31
31
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
32
32
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('../../tslib.es6-
|
|
5
|
+
require('../../tslib.es6-2e2f8472.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('react-div-100vh');
|
|
@@ -14,7 +14,7 @@ require('@alfalab/icons-glyph/CrossMIcon');
|
|
|
14
14
|
require('../closer/Component.js');
|
|
15
15
|
require('@alfalab/icons-glyph/ArrowBackMIcon');
|
|
16
16
|
require('../backer/Component.js');
|
|
17
|
-
var components_header_Component = require('../../component-
|
|
17
|
+
var components_header_Component = require('../../component-8bfa5862.js');
|
|
18
18
|
require('../footer/Component.js');
|
|
19
19
|
require('@alfalab/core-components-backdrop');
|
|
20
20
|
require('../swipeable-backdrop/Component.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wkqqn */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--bottom-sheet-title-font-family: var(--font-family-system);
|
|
31
31
|
--bottom-sheet-title-margin-vertical: var(--gap-2xs);
|
|
32
32
|
}
|
|
33
|
-
.bottom-
|
|
33
|
+
.bottom-sheet__headerWrapper_166t2 {
|
|
34
34
|
padding: var(--gap-xs);
|
|
35
35
|
padding-bottom: 0;
|
|
36
36
|
background-color: var(--color-light-bg-primary);
|
|
@@ -38,38 +38,38 @@
|
|
|
38
38
|
border-top-left-radius: var(--border-radius-xl);
|
|
39
39
|
z-index: 1;
|
|
40
40
|
}
|
|
41
|
-
.bottom-
|
|
41
|
+
.bottom-sheet__header_166t2 {
|
|
42
42
|
display: flex;
|
|
43
43
|
}
|
|
44
|
-
.bottom-
|
|
44
|
+
.bottom-sheet__sticky_166t2 {
|
|
45
45
|
position: sticky;
|
|
46
46
|
top: 0;
|
|
47
47
|
}
|
|
48
|
-
.bottom-
|
|
48
|
+
.bottom-sheet__highlighted_166t2 {
|
|
49
49
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
50
50
|
}
|
|
51
|
-
.bottom-
|
|
51
|
+
.bottom-sheet__justifyEnd_166t2 {
|
|
52
52
|
justify-content: flex-end;
|
|
53
53
|
}
|
|
54
|
-
.bottom-
|
|
54
|
+
.bottom-sheet__addon_166t2 {
|
|
55
55
|
display: flex;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
align-items: center;
|
|
58
58
|
min-width: 48px;
|
|
59
59
|
height: 48px;
|
|
60
60
|
}
|
|
61
|
-
.bottom-
|
|
61
|
+
.bottom-sheet__addonFixed_166t2 {
|
|
62
62
|
position: fixed;
|
|
63
63
|
}
|
|
64
|
-
.bottom-
|
|
64
|
+
.bottom-sheet__addonLeft_166t2 {
|
|
65
65
|
left: 0;
|
|
66
66
|
margin-left: var(--gap-xs);
|
|
67
67
|
}
|
|
68
|
-
.bottom-
|
|
68
|
+
.bottom-sheet__addonRight_166t2 {
|
|
69
69
|
right: 0;
|
|
70
70
|
margin-right: var(--gap-xs);
|
|
71
71
|
}
|
|
72
|
-
.bottom-
|
|
72
|
+
.bottom-sheet__title_166t2 {
|
|
73
73
|
padding: var(--gap-xs) var(--gap-xs);
|
|
74
74
|
margin: var(--bottom-sheet-title-margin-vertical) 0;
|
|
75
75
|
width: 100%;
|
|
@@ -78,23 +78,23 @@
|
|
|
78
78
|
line-height: var(--bottom-sheet-title-line-height);
|
|
79
79
|
font-family: var(--bottom-sheet-title-font-family);
|
|
80
80
|
}
|
|
81
|
-
.bottom-
|
|
81
|
+
.bottom-sheet__titleCenter_166t2 {
|
|
82
82
|
text-align: center;
|
|
83
83
|
}
|
|
84
|
-
.bottom-
|
|
84
|
+
.bottom-sheet__titleLeft_166t2 {
|
|
85
85
|
text-align: left;
|
|
86
86
|
}
|
|
87
|
-
.bottom-
|
|
87
|
+
.bottom-sheet__trimTitle_166t2 {
|
|
88
88
|
white-space: nowrap;
|
|
89
89
|
overflow: hidden;
|
|
90
90
|
text-overflow: ellipsis;
|
|
91
91
|
}
|
|
92
|
-
.bottom-
|
|
92
|
+
.bottom-sheet__titleBigIndentHorizontal_166t2 {
|
|
93
93
|
margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
|
|
94
94
|
}
|
|
95
|
-
.bottom-
|
|
95
|
+
.bottom-sheet__titleIndentRight_166t2 {
|
|
96
96
|
margin-right: var(--gap-4xl);
|
|
97
97
|
}
|
|
98
|
-
.bottom-
|
|
98
|
+
.bottom-sheet__titleIndentLeft_166t2 {
|
|
99
99
|
margin-left: var(--gap-4xl);
|
|
100
100
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-2e2f8472.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var coreComponentsBackdrop = require('@alfalab/core-components-backdrop');
|
|
8
8
|
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
2
|
+
--color-light-graphic-primary: #0b1f35;
|
|
3
|
+
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
3
4
|
}
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/* Hard */
|
|
4
8
|
|
|
9
|
+
/* Up */
|
|
10
|
+
|
|
11
|
+
/* Hard up */
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
15
|
+
}
|
|
5
16
|
.backer {
|
|
6
17
|
width: 32px;
|
|
7
18
|
height: 32px;
|
|
@@ -11,7 +22,6 @@
|
|
|
11
22
|
cursor: pointer;
|
|
12
23
|
color: var(--color-light-graphic-primary);
|
|
13
24
|
}
|
|
14
|
-
|
|
15
25
|
.button {
|
|
16
26
|
background: var(--bottom-sheet-backer-bg-color);
|
|
17
27
|
-webkit-backdrop-filter: blur(10px);
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
2
|
+
--color-light-graphic-primary: #0b1f35;
|
|
3
|
+
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
3
4
|
}
|
|
5
|
+
:root {
|
|
6
|
+
|
|
7
|
+
/* Hard */
|
|
4
8
|
|
|
9
|
+
/* Up */
|
|
10
|
+
|
|
11
|
+
/* Hard up */
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
15
|
+
}
|
|
5
16
|
.closer {
|
|
6
17
|
width: 32px;
|
|
7
18
|
height: 32px;
|
|
@@ -11,7 +22,6 @@
|
|
|
11
22
|
cursor: pointer;
|
|
12
23
|
color: var(--color-light-graphic-primary);
|
|
13
24
|
}
|
|
14
|
-
|
|
15
25
|
.button {
|
|
16
26
|
background: var(--bottom-sheet-closer-bg-color);
|
|
17
27
|
-webkit-backdrop-filter: blur(10px);
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __assign } from './tslib.es6-8beee9c3.js';
|
|
2
2
|
import React, { useContext, useEffect, forwardRef, useState, useRef, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { use100vh } from 'react-div-100vh';
|
|
@@ -15,7 +15,7 @@ var getDataTestId = function (dataTestId, element) {
|
|
|
15
15
|
return dataTestId ? "" + dataTestId + elementPart : undefined;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
var styles = {"headerWrapper":"bottom-
|
|
18
|
+
var styles = {"headerWrapper":"bottom-sheet__headerWrapper_166t2","header":"bottom-sheet__header_166t2","sticky":"bottom-sheet__sticky_166t2","highlighted":"bottom-sheet__highlighted_166t2","justifyEnd":"bottom-sheet__justifyEnd_166t2","addon":"bottom-sheet__addon_166t2","addonFixed":"bottom-sheet__addonFixed_166t2","addonLeft":"bottom-sheet__addonLeft_166t2","addonRight":"bottom-sheet__addonRight_166t2","title":"bottom-sheet__title_166t2","titleCenter":"bottom-sheet__titleCenter_166t2","titleLeft":"bottom-sheet__titleLeft_166t2","trimTitle":"bottom-sheet__trimTitle_166t2","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_166t2","titleIndentRight":"bottom-sheet__titleIndentRight_166t2","titleIndentLeft":"bottom-sheet__titleIndentLeft_166t2"};
|
|
19
19
|
require('./components/header/index.css')
|
|
20
20
|
|
|
21
21
|
var Header = function (_a) {
|
|
@@ -65,7 +65,7 @@ var Header = function (_a) {
|
|
|
65
65
|
bottomAddons));
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
var styles$1 = {"modal":"bottom-
|
|
68
|
+
var styles$1 = {"modal":"bottom-sheet__modal_667vy","component":"bottom-sheet__component_667vy","withTransition":"bottom-sheet__withTransition_667vy","scrollableContainer":"bottom-sheet__scrollableContainer_667vy","marker":"bottom-sheet__marker_667vy","content":"bottom-sheet__content_667vy","noHeader":"bottom-sheet__noHeader_667vy","noFooter":"bottom-sheet__noFooter_667vy","scrollLocked":"bottom-sheet__scrollLocked_667vy","appear":"bottom-sheet__appear_667vy","enter":"bottom-sheet__enter_667vy","appearActive":"bottom-sheet__appearActive_667vy","enterActive":"bottom-sheet__enterActive_667vy","enterDone":"bottom-sheet__enterDone_667vy","appearDone":"bottom-sheet__appearDone_667vy","exit":"bottom-sheet__exit_667vy","exitActive":"bottom-sheet__exitActive_667vy"};
|
|
69
69
|
require('./index.css')
|
|
70
70
|
|
|
71
71
|
var TIMEOUT = 300;
|
package/esm/component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-8beee9c3.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'react-div-100vh';
|
|
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
|
|
|
10
10
|
import './components/closer/Component.js';
|
|
11
11
|
import '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
12
12
|
import './components/backer/Component.js';
|
|
13
|
-
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-
|
|
13
|
+
export { B as BottomSheet, C as CLOSE_OFFSET, H as HEADER_OFFSET } from './component-ff5a8898.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import '@alfalab/core-components-backdrop/esm';
|
|
16
16
|
import './components/swipeable-backdrop/Component.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __rest, _ as __assign } from '../../tslib.es6-8beee9c3.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { IconButton } from '@alfalab/core-components-icon-button/esm';
|
|
5
5
|
import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
6
6
|
|
|
7
|
-
var styles = {"backer":"bottom-
|
|
7
|
+
var styles = {"backer":"bottom-sheet__backer_1fycj","button":"bottom-sheet__button_1fycj"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Backer = function (_a) {
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bvuid */
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
3
|
+
--color-light-graphic-primary: #0b1f35;
|
|
4
|
+
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
4
5
|
}
|
|
6
|
+
:root {
|
|
7
|
+
|
|
8
|
+
/* Hard */
|
|
5
9
|
|
|
6
|
-
|
|
10
|
+
/* Up */
|
|
11
|
+
|
|
12
|
+
/* Hard up */
|
|
13
|
+
}
|
|
14
|
+
:root {
|
|
15
|
+
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
16
|
+
}
|
|
17
|
+
.bottom-sheet__backer_1fycj {
|
|
7
18
|
width: 32px;
|
|
8
19
|
height: 32px;
|
|
9
20
|
display: flex;
|
|
@@ -12,8 +23,7 @@
|
|
|
12
23
|
cursor: pointer;
|
|
13
24
|
color: var(--color-light-graphic-primary);
|
|
14
25
|
}
|
|
15
|
-
|
|
16
|
-
.bottom-sheet__button_1enhp {
|
|
26
|
+
.bottom-sheet__button_1fycj {
|
|
17
27
|
background: var(--bottom-sheet-backer-bg-color);
|
|
18
28
|
-webkit-backdrop-filter: blur(10px);
|
|
19
29
|
backdrop-filter: blur(10px);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __rest, _ as __assign } from '../../tslib.es6-8beee9c3.js';
|
|
2
2
|
import React, { useContext, useCallback } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
5
5
|
import { IconButton } from '@alfalab/core-components-icon-button/esm';
|
|
6
6
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
7
7
|
|
|
8
|
-
var styles = {"closer":"bottom-
|
|
8
|
+
var styles = {"closer":"bottom-sheet__closer_7cvt3","button":"bottom-sheet__button_7cvt3"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Closer = function (_a) {
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17apl */
|
|
2
2
|
:root {
|
|
3
|
-
--
|
|
3
|
+
--color-light-graphic-primary: #0b1f35;
|
|
4
|
+
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
4
5
|
}
|
|
6
|
+
:root {
|
|
7
|
+
|
|
8
|
+
/* Hard */
|
|
5
9
|
|
|
6
|
-
|
|
10
|
+
/* Up */
|
|
11
|
+
|
|
12
|
+
/* Hard up */
|
|
13
|
+
}
|
|
14
|
+
:root {
|
|
15
|
+
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
16
|
+
}
|
|
17
|
+
.bottom-sheet__closer_7cvt3 {
|
|
7
18
|
width: 32px;
|
|
8
19
|
height: 32px;
|
|
9
20
|
display: flex;
|
|
@@ -12,8 +23,7 @@
|
|
|
12
23
|
cursor: pointer;
|
|
13
24
|
color: var(--color-light-graphic-primary);
|
|
14
25
|
}
|
|
15
|
-
|
|
16
|
-
.bottom-sheet__button_620z9 {
|
|
26
|
+
.bottom-sheet__button_7cvt3 {
|
|
17
27
|
background: var(--bottom-sheet-closer-bg-color);
|
|
18
28
|
-webkit-backdrop-filter: blur(10px);
|
|
19
29
|
backdrop-filter: blur(10px);
|
|
@@ -2,7 +2,7 @@ import React, { useContext, useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { BaseModalContext } from '@alfalab/core-components-base-modal/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"footer":"bottom-
|
|
5
|
+
var styles = {"footer":"bottom-sheet__footer_egnl5","sticky":"bottom-sheet__sticky_egnl5","highlighted":"bottom-sheet__highlighted_egnl5"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 17htm */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-bg-primary: #fff;
|
|
4
4
|
--color-light-border-primary: #dbdee1;
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
--bottom-sheet-footer-border-top: 1px solid var(--color-light-border-primary);
|
|
19
19
|
--bottom-sheet-footer-background-color: var(--color-light-bg-primary);
|
|
20
20
|
}
|
|
21
|
-
.bottom-
|
|
21
|
+
.bottom-sheet__footer_egnl5 {
|
|
22
22
|
padding: var(--gap-m) var(--gap-m);
|
|
23
23
|
background-color: var(--color-light-bg-primary);
|
|
24
24
|
}
|
|
25
|
-
.bottom-
|
|
25
|
+
.bottom-sheet__sticky_egnl5 {
|
|
26
26
|
position: sticky;
|
|
27
27
|
bottom: 0;
|
|
28
28
|
}
|
|
29
|
-
.bottom-
|
|
29
|
+
.bottom-sheet__highlighted_egnl5 {
|
|
30
30
|
border-top: var(--bottom-sheet-footer-border-top);
|
|
31
31
|
background-color: var(--bottom-sheet-footer-background-color);
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../../tslib.es6-
|
|
1
|
+
import '../../tslib.es6-8beee9c3.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'react-div-100vh';
|
|
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/CrossMIcon';
|
|
|
10
10
|
import '../closer/Component.js';
|
|
11
11
|
import '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
12
12
|
import '../backer/Component.js';
|
|
13
|
-
export { a as Header } from '../../component-
|
|
13
|
+
export { a as Header } from '../../component-ff5a8898.js';
|
|
14
14
|
import '../footer/Component.js';
|
|
15
15
|
import '@alfalab/core-components-backdrop/esm';
|
|
16
16
|
import '../swipeable-backdrop/Component.js';
|