@alfalab/core-components-bottom-sheet 4.1.0 → 4.1.3
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 +24 -24
- package/dist/{component-8680d27f.d.ts → component-361629fa.d.ts} +0 -0
- package/dist/{component-8680d27f.js → component-361629fa.js} +3 -3
- package/dist/component.js +2 -2
- package/dist/components/backer/Component.js +2 -2
- package/dist/components/backer/index.css +3 -3
- package/dist/components/closer/Component.js +2 -2
- package/dist/components/closer/index.css +3 -3
- package/dist/components/footer/Component.js +1 -1
- package/dist/components/footer/index.css +4 -4
- package/dist/components/header/Component.js +2 -2
- package/dist/components/header/index.css +16 -16
- package/dist/components/swipeable-backdrop/Component.js +1 -1
- package/dist/cssm/index.module.css +2 -2
- package/dist/esm/{component-7d960f38.d.ts → component-c99fc8cc.d.ts} +0 -0
- package/dist/esm/{component-7d960f38.js → component-c99fc8cc.js} +3 -3
- package/dist/esm/component.js +2 -2
- package/dist/esm/components/backer/Component.js +2 -2
- package/dist/esm/components/backer/index.css +3 -3
- package/dist/esm/components/closer/Component.js +2 -2
- package/dist/esm/components/closer/index.css +3 -3
- package/dist/esm/components/footer/Component.js +1 -1
- package/dist/esm/components/footer/index.css +4 -4
- package/dist/esm/components/header/Component.js +2 -2
- package/dist/esm/components/header/index.css +16 -16
- package/dist/esm/components/swipeable-backdrop/Component.js +1 -1
- package/dist/esm/index.css +17 -17
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{tslib.es6-7f629856.d.ts → tslib.es6-f3afbc15.d.ts} +0 -0
- package/dist/esm/{tslib.es6-7f629856.js → tslib.es6-f3afbc15.js} +0 -0
- package/dist/index.css +17 -17
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/modern/{component-7a1c353b.d.ts → component-7c3cd516.d.ts} +0 -0
- package/dist/modern/{component-7a1c353b.js → component-7c3cd516.js} +2 -2
- package/dist/modern/component.js +1 -1
- package/dist/modern/components/backer/Component.js +1 -1
- package/dist/modern/components/backer/index.css +3 -3
- package/dist/modern/components/closer/Component.js +1 -1
- package/dist/modern/components/closer/index.css +3 -3
- package/dist/modern/components/footer/Component.js +1 -1
- package/dist/modern/components/footer/index.css +4 -4
- package/dist/modern/components/header/Component.js +1 -1
- package/dist/modern/components/header/index.css +16 -16
- package/dist/modern/index.css +17 -17
- package/dist/modern/index.d.ts +1 -1
- package/dist/modern/index.js +1 -1
- package/dist/{tslib.es6-c74c8bbc.d.ts → tslib.es6-51ba014b.d.ts} +0 -0
- package/dist/{tslib.es6-c74c8bbc.js → tslib.es6-51ba014b.js} +0 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [4.0.2](https://github.com/
|
|
6
|
+
## [4.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@4.0.1...@alfalab/core-components-bottom-sheet@4.0.2) (2022-03-30)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @alfalab/core-components-bottom-sheet
|
|
9
9
|
|
|
@@ -11,24 +11,24 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [4.0.1](https://github.com/
|
|
14
|
+
## [4.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@4.0.0...@alfalab/core-components-bottom-sheet@4.0.1) (2022-03-28)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Bug Fixes
|
|
18
18
|
|
|
19
|
-
* fix modal and bottom-sheet dark mode ([#1043](https://github.com/
|
|
20
|
-
* **bottom-sheet:** fix bottom-sheet swipeable marker ([#1044](https://github.com/
|
|
19
|
+
* fix modal and bottom-sheet dark mode ([#1043](https://github.com/core-ds/core-components/issues/1043)) ([cad36a2](https://github.com/core-ds/core-components/commit/cad36a25b28bfa71296c3dd9dc325eec28b5c241))
|
|
20
|
+
* **bottom-sheet:** fix bottom-sheet swipeable marker ([#1044](https://github.com/core-ds/core-components/issues/1044)) ([0734e55](https://github.com/core-ds/core-components/commit/0734e55cc0e394fb33452f875ffcf47819277aee))
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
# [4.0.0](https://github.com/
|
|
26
|
+
# [4.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.1.1...@alfalab/core-components-bottom-sheet@4.0.0) (2022-03-24)
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
### Features
|
|
30
30
|
|
|
31
|
-
* **bottom-sheet:** update-bottom-sheet ([#1025](https://github.com/
|
|
31
|
+
* **bottom-sheet:** update-bottom-sheet ([#1025](https://github.com/core-ds/core-components/issues/1025)) ([26fa9aa](https://github.com/core-ds/core-components/commit/26fa9aab68bebf0f7093a38bc0f18a9b596ccf37)), closes [#1032](https://github.com/core-ds/core-components/issues/1032)
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
### BREAKING CHANGES
|
|
@@ -39,7 +39,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
## [3.1.1](https://github.com/
|
|
42
|
+
## [3.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.1.0...@alfalab/core-components-bottom-sheet@3.1.1) (2022-03-03)
|
|
43
43
|
|
|
44
44
|
**Note:** Version bump only for package @alfalab/core-components-bottom-sheet
|
|
45
45
|
|
|
@@ -47,29 +47,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
# [3.1.0](https://github.com/
|
|
50
|
+
# [3.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.2...@alfalab/core-components-bottom-sheet@3.1.0) (2022-03-01)
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
### Features
|
|
54
54
|
|
|
55
|
-
* Исправить импорты в сторях. ([#998](https://github.com/
|
|
55
|
+
* Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
## [3.0.2](https://github.com/
|
|
61
|
+
## [3.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.1...@alfalab/core-components-bottom-sheet@3.0.2) (2022-01-27)
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
### Bug Fixes
|
|
65
65
|
|
|
66
|
-
* **bottom-sheet:** fix double calling onClose fn ([#962](https://github.com/
|
|
66
|
+
* **bottom-sheet:** fix double calling onClose fn ([#962](https://github.com/core-ds/core-components/issues/962)) ([feda2a4](https://github.com/core-ds/core-components/commit/feda2a4c8d3a4f40a1ab9c40eb21f5359e4fa538))
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
## [3.0.1](https://github.com/
|
|
72
|
+
## [3.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@3.0.0...@alfalab/core-components-bottom-sheet@3.0.1) (2022-01-17)
|
|
73
73
|
|
|
74
74
|
**Note:** Version bump only for package @alfalab/core-components-bottom-sheet
|
|
75
75
|
|
|
@@ -77,12 +77,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
# [3.0.0](https://github.com/
|
|
80
|
+
# [3.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.1.1...@alfalab/core-components-bottom-sheet@3.0.0) (2021-11-26)
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
### Features
|
|
84
84
|
|
|
85
|
-
* **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/
|
|
85
|
+
* **button:** добавлена кнопка размера 40px, изменены скругления ([#886](https://github.com/core-ds/core-components/issues/886)) ([88e657a](https://github.com/core-ds/core-components/commit/88e657a9f0f68b8b58f6e9437053954ee984f83c)), closes [#890](https://github.com/core-ds/core-components/issues/890)
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
### BREAKING CHANGES
|
|
@@ -117,29 +117,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
120
|
-
## [2.1.1](https://github.com/
|
|
120
|
+
## [2.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.1.0...@alfalab/core-components-bottom-sheet@2.1.1) (2021-09-14)
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
### Bug Fixes
|
|
124
124
|
|
|
125
|
-
* **base-modal:** modal scroll ([#820](https://github.com/
|
|
125
|
+
* **base-modal:** modal scroll ([#820](https://github.com/core-ds/core-components/issues/820)) ([1b2d94a](https://github.com/core-ds/core-components/commit/1b2d94ad45e04145bf1292d749ae2028702dc622))
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
# [2.1.0](https://github.com/
|
|
131
|
+
# [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.2...@alfalab/core-components-bottom-sheet@2.1.0) (2021-07-23)
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
### Features
|
|
135
135
|
|
|
136
|
-
* **bottom-sheet:** fix marker gap, fix animation duration ([#750](https://github.com/
|
|
136
|
+
* **bottom-sheet:** fix marker gap, fix animation duration ([#750](https://github.com/core-ds/core-components/issues/750)) ([cb04ed8](https://github.com/core-ds/core-components/commit/cb04ed8cc214fac9dba32a0ab39a4399743d5bfc))
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
## [2.0.2](https://github.com/
|
|
142
|
+
## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.1...@alfalab/core-components-bottom-sheet@2.0.2) (2021-07-19)
|
|
143
143
|
|
|
144
144
|
**Note:** Version bump only for package @alfalab/core-components-bottom-sheet
|
|
145
145
|
|
|
@@ -147,7 +147,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
## [2.0.1](https://github.com/
|
|
150
|
+
## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@2.0.0...@alfalab/core-components-bottom-sheet@2.0.1) (2021-07-09)
|
|
151
151
|
|
|
152
152
|
**Note:** Version bump only for package @alfalab/core-components-bottom-sheet
|
|
153
153
|
|
|
@@ -155,14 +155,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
# [2.0.0](https://github.com/
|
|
158
|
+
# [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@1.1.1...@alfalab/core-components-bottom-sheet@2.0.0) (2021-07-08)
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
### Features
|
|
162
162
|
|
|
163
|
-
* upgrade storybook ([#696](https://github.com/
|
|
163
|
+
* upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
|
|
164
164
|
|
|
165
|
-
## [1.1.1](https://github.com/
|
|
165
|
+
## [1.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-bottom-sheet@1.1.0...@alfalab/core-components-bottom-sheet@1.1.1) (2021-07-02)
|
|
166
166
|
|
|
167
167
|
**Note:** Version bump only for package @alfalab/core-components-bottom-sheet
|
|
168
168
|
|
|
@@ -175,4 +175,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
175
175
|
|
|
176
176
|
### Features
|
|
177
177
|
|
|
178
|
-
* **bottom-sheet:** new component (PDS-228) ([#645](https://github.com/
|
|
178
|
+
* **bottom-sheet:** new component (PDS-228) ([#645](https://github.com/core-ds/core-components/issues/645)) ([1f7391d](https://github.com/core-ds/core-components/commit/1f7391df16a270d8a3a28b8ebaf98d0ed0928bc8)), closes [#642](https://github.com/core-ds/core-components/issues/642) [#642](https://github.com/core-ds/core-components/issues/642) [#646](https://github.com/core-ds/core-components/issues/646) [#646](https://github.com/core-ds/core-components/issues/646) [#634](https://github.com/core-ds/core-components/issues/634) [#635](https://github.com/core-ds/core-components/issues/635) [#634](https://github.com/core-ds/core-components/issues/634) [#635](https://github.com/core-ds/core-components/issues/635) [#648](https://github.com/core-ds/core-components/issues/648) [#647](https://github.com/core-ds/core-components/issues/647) [#630](https://github.com/core-ds/core-components/issues/630) [#648](https://github.com/core-ds/core-components/issues/648) [#630](https://github.com/core-ds/core-components/issues/630) [#669](https://github.com/core-ds/core-components/issues/669)
|
|
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-51ba014b.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var reactDiv100vh = require('react-div-100vh');
|
|
@@ -17,7 +17,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"header":"bottom-
|
|
20
|
+
var styles = {"header":"bottom-sheet__header_1f3x7","sticky":"bottom-sheet__sticky_1f3x7","highlighted":"bottom-sheet__highlighted_1f3x7","justifyEnd":"bottom-sheet__justifyEnd_1f3x7","addon":"bottom-sheet__addon_1f3x7","addonFixed":"bottom-sheet__addonFixed_1f3x7","addonLeft":"bottom-sheet__addonLeft_1f3x7","addonRight":"bottom-sheet__addonRight_1f3x7","title":"bottom-sheet__title_1f3x7","titleCenter":"bottom-sheet__titleCenter_1f3x7","titleLeft":"bottom-sheet__titleLeft_1f3x7","trimTitle":"bottom-sheet__trimTitle_1f3x7","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1f3x7","titleIndentRight":"bottom-sheet__titleIndentRight_1f3x7","titleIndentLeft":"bottom-sheet__titleIndentLeft_1f3x7"};
|
|
21
21
|
require('./components/header/index.css')
|
|
22
22
|
|
|
23
23
|
var Header = function (_a) {
|
|
@@ -64,7 +64,7 @@ var Header = function (_a) {
|
|
|
64
64
|
_e)) }, hasCloser ? React__default['default'].createElement(components_closer_Component.Closer, { className: closerClassName }) : rightAddons))));
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
var styles$1 = {"modal":"bottom-
|
|
67
|
+
var styles$1 = {"modal":"bottom-sheet__modal_p20i9","component":"bottom-sheet__component_p20i9","withTransition":"bottom-sheet__withTransition_p20i9","scrollableContainer":"bottom-sheet__scrollableContainer_p20i9","marker":"bottom-sheet__marker_p20i9","content":"bottom-sheet__content_p20i9","noHeader":"bottom-sheet__noHeader_p20i9","noFooter":"bottom-sheet__noFooter_p20i9","scrollLocked":"bottom-sheet__scrollLocked_p20i9","appear":"bottom-sheet__appear_p20i9","enter":"bottom-sheet__enter_p20i9","appearActive":"bottom-sheet__appearActive_p20i9","enterActive":"bottom-sheet__enterActive_p20i9","enterDone":"bottom-sheet__enterDone_p20i9","appearDone":"bottom-sheet__appearDone_p20i9","exit":"bottom-sheet__exit_p20i9","exitActive":"bottom-sheet__exitActive_p20i9"};
|
|
68
68
|
require('./index.css')
|
|
69
69
|
|
|
70
70
|
var TIMEOUT = 300;
|
package/dist/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-51ba014b.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-361629fa.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-51ba014b.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_1uxjh","button":"bottom-sheet__button_1uxjh"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var Backer = function (_a) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1chn3 */
|
|
2
2
|
:root {
|
|
3
3
|
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.bottom-
|
|
6
|
+
.bottom-sheet__backer_1uxjh {
|
|
7
7
|
width: 32px;
|
|
8
8
|
height: 32px;
|
|
9
9
|
display: flex;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
color: var(--color-light-graphic-primary);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.bottom-
|
|
16
|
+
.bottom-sheet__button_1uxjh {
|
|
17
17
|
background: var(--bottom-sheet-backer-bg-color);
|
|
18
18
|
-webkit-backdrop-filter: blur(10px);
|
|
19
19
|
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-51ba014b.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_dw4c8","button":"bottom-sheet__button_dw4c8"};
|
|
18
18
|
require('./index.css')
|
|
19
19
|
|
|
20
20
|
var Closer = function (_a) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xhb0 */
|
|
2
2
|
:root {
|
|
3
3
|
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.bottom-
|
|
6
|
+
.bottom-sheet__closer_dw4c8 {
|
|
7
7
|
width: 32px;
|
|
8
8
|
height: 32px;
|
|
9
9
|
display: flex;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
color: var(--color-light-graphic-primary);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.bottom-
|
|
16
|
+
.bottom-sheet__button_dw4c8 {
|
|
17
17
|
background: var(--bottom-sheet-closer-bg-color);
|
|
18
18
|
-webkit-backdrop-filter: blur(10px);
|
|
19
19
|
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_3bny9","sticky":"bottom-sheet__sticky_3bny9","highlighted":"bottom-sheet__highlighted_3bny9"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
var Footer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ebjye */
|
|
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_3bny9 {
|
|
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_3bny9 {
|
|
26
26
|
position: sticky;
|
|
27
27
|
bottom: 0;
|
|
28
28
|
}
|
|
29
|
-
.bottom-
|
|
29
|
+
.bottom-sheet__highlighted_3bny9 {
|
|
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-51ba014b.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-361629fa.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: 1v027 */
|
|
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__header_1f3x7 {
|
|
34
34
|
display: flex;
|
|
35
35
|
padding: var(--gap-xs);
|
|
36
36
|
padding-bottom: 0;
|
|
@@ -39,35 +39,35 @@
|
|
|
39
39
|
border-top-left-radius: var(--border-radius-xl);
|
|
40
40
|
z-index: 1;
|
|
41
41
|
}
|
|
42
|
-
.bottom-
|
|
42
|
+
.bottom-sheet__sticky_1f3x7 {
|
|
43
43
|
position: sticky;
|
|
44
44
|
top: 0;
|
|
45
45
|
}
|
|
46
|
-
.bottom-
|
|
46
|
+
.bottom-sheet__highlighted_1f3x7 {
|
|
47
47
|
border-bottom: var(--bottom-sheet-header-border-bottom);
|
|
48
48
|
}
|
|
49
|
-
.bottom-
|
|
49
|
+
.bottom-sheet__justifyEnd_1f3x7 {
|
|
50
50
|
justify-content: flex-end;
|
|
51
51
|
}
|
|
52
|
-
.bottom-
|
|
52
|
+
.bottom-sheet__addon_1f3x7 {
|
|
53
53
|
display: flex;
|
|
54
54
|
justify-content: center;
|
|
55
55
|
align-items: center;
|
|
56
56
|
min-width: 48px;
|
|
57
57
|
height: 48px;
|
|
58
58
|
}
|
|
59
|
-
.bottom-
|
|
59
|
+
.bottom-sheet__addonFixed_1f3x7 {
|
|
60
60
|
position: fixed;
|
|
61
61
|
}
|
|
62
|
-
.bottom-
|
|
62
|
+
.bottom-sheet__addonLeft_1f3x7 {
|
|
63
63
|
left: 0;
|
|
64
64
|
margin-left: var(--gap-xs);
|
|
65
65
|
}
|
|
66
|
-
.bottom-
|
|
66
|
+
.bottom-sheet__addonRight_1f3x7 {
|
|
67
67
|
right: 0;
|
|
68
68
|
margin-right: var(--gap-xs);
|
|
69
69
|
}
|
|
70
|
-
.bottom-
|
|
70
|
+
.bottom-sheet__title_1f3x7 {
|
|
71
71
|
padding: var(--gap-xs) var(--gap-xs);
|
|
72
72
|
margin: var(--bottom-sheet-title-margin-vertical) 0;
|
|
73
73
|
width: 100%;
|
|
@@ -76,23 +76,23 @@
|
|
|
76
76
|
line-height: var(--bottom-sheet-title-line-height);
|
|
77
77
|
font-family: var(--bottom-sheet-title-font-family);
|
|
78
78
|
}
|
|
79
|
-
.bottom-
|
|
79
|
+
.bottom-sheet__titleCenter_1f3x7 {
|
|
80
80
|
text-align: center;
|
|
81
81
|
}
|
|
82
|
-
.bottom-
|
|
82
|
+
.bottom-sheet__titleLeft_1f3x7 {
|
|
83
83
|
text-align: left;
|
|
84
84
|
}
|
|
85
|
-
.bottom-
|
|
85
|
+
.bottom-sheet__trimTitle_1f3x7 {
|
|
86
86
|
white-space: nowrap;
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
text-overflow: ellipsis;
|
|
89
89
|
}
|
|
90
|
-
.bottom-
|
|
90
|
+
.bottom-sheet__titleBigIndentHorizontal_1f3x7 {
|
|
91
91
|
margin: var(--bottom-sheet-title-margin-vertical) var(--gap-4xl);
|
|
92
92
|
}
|
|
93
|
-
.bottom-
|
|
93
|
+
.bottom-sheet__titleIndentRight_1f3x7 {
|
|
94
94
|
margin-right: var(--gap-4xl);
|
|
95
95
|
}
|
|
96
|
-
.bottom-
|
|
96
|
+
.bottom-sheet__titleIndentLeft_1f3x7 {
|
|
97
97
|
margin-left: var(--gap-4xl);
|
|
98
98
|
}
|
|
@@ -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-51ba014b.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var coreComponentsBackdrop = require('@alfalab/core-components-backdrop');
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--color-light-bg-primary: #fff;
|
|
3
|
-
--color-light-graphic-
|
|
3
|
+
--color-light-graphic-quaternary: #dbdee1;
|
|
4
4
|
--color-light-text-primary: #0b1f35;
|
|
5
5
|
}
|
|
6
6
|
:root {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
height: 4px;
|
|
59
59
|
border-radius: 20px;
|
|
60
60
|
transform: translateX(-50%);
|
|
61
|
-
background-color: var(--color-light-graphic-
|
|
61
|
+
background-color: var(--color-light-graphic-quaternary);
|
|
62
62
|
z-index: 1000;
|
|
63
63
|
}
|
|
64
64
|
.content {
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __assign } from './tslib.es6-f3afbc15.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';
|
|
@@ -10,7 +10,7 @@ import { Backer } from './components/backer/Component.js';
|
|
|
10
10
|
import { Footer } from './components/footer/Component.js';
|
|
11
11
|
import { SwipeableBackdrop } from './components/swipeable-backdrop/Component.js';
|
|
12
12
|
|
|
13
|
-
var styles = {"header":"bottom-
|
|
13
|
+
var styles = {"header":"bottom-sheet__header_1f3x7","sticky":"bottom-sheet__sticky_1f3x7","highlighted":"bottom-sheet__highlighted_1f3x7","justifyEnd":"bottom-sheet__justifyEnd_1f3x7","addon":"bottom-sheet__addon_1f3x7","addonFixed":"bottom-sheet__addonFixed_1f3x7","addonLeft":"bottom-sheet__addonLeft_1f3x7","addonRight":"bottom-sheet__addonRight_1f3x7","title":"bottom-sheet__title_1f3x7","titleCenter":"bottom-sheet__titleCenter_1f3x7","titleLeft":"bottom-sheet__titleLeft_1f3x7","trimTitle":"bottom-sheet__trimTitle_1f3x7","titleBigIndentHorizontal":"bottom-sheet__titleBigIndentHorizontal_1f3x7","titleIndentRight":"bottom-sheet__titleIndentRight_1f3x7","titleIndentLeft":"bottom-sheet__titleIndentLeft_1f3x7"};
|
|
14
14
|
require('./components/header/index.css')
|
|
15
15
|
|
|
16
16
|
var Header = function (_a) {
|
|
@@ -57,7 +57,7 @@ var Header = function (_a) {
|
|
|
57
57
|
_e)) }, hasCloser ? React.createElement(Closer, { className: closerClassName }) : rightAddons))));
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
var styles$1 = {"modal":"bottom-
|
|
60
|
+
var styles$1 = {"modal":"bottom-sheet__modal_p20i9","component":"bottom-sheet__component_p20i9","withTransition":"bottom-sheet__withTransition_p20i9","scrollableContainer":"bottom-sheet__scrollableContainer_p20i9","marker":"bottom-sheet__marker_p20i9","content":"bottom-sheet__content_p20i9","noHeader":"bottom-sheet__noHeader_p20i9","noFooter":"bottom-sheet__noFooter_p20i9","scrollLocked":"bottom-sheet__scrollLocked_p20i9","appear":"bottom-sheet__appear_p20i9","enter":"bottom-sheet__enter_p20i9","appearActive":"bottom-sheet__appearActive_p20i9","enterActive":"bottom-sheet__enterActive_p20i9","enterDone":"bottom-sheet__enterDone_p20i9","appearDone":"bottom-sheet__appearDone_p20i9","exit":"bottom-sheet__exit_p20i9","exitActive":"bottom-sheet__exitActive_p20i9"};
|
|
61
61
|
require('./index.css')
|
|
62
62
|
|
|
63
63
|
var TIMEOUT = 300;
|
package/dist/esm/component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-f3afbc15.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-c99fc8cc.js';
|
|
14
14
|
import './components/footer/Component.js';
|
|
15
15
|
import '@alfalab/core-components-backdrop/dist/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-f3afbc15.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { IconButton } from '@alfalab/core-components-icon-button/dist/esm';
|
|
5
5
|
import { ArrowBackMIcon } from '@alfalab/icons-glyph/ArrowBackMIcon';
|
|
6
6
|
|
|
7
|
-
var styles = {"backer":"bottom-
|
|
7
|
+
var styles = {"backer":"bottom-sheet__backer_1uxjh","button":"bottom-sheet__button_1uxjh"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var Backer = function (_a) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1chn3 */
|
|
2
2
|
:root {
|
|
3
3
|
--bottom-sheet-backer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.bottom-
|
|
6
|
+
.bottom-sheet__backer_1uxjh {
|
|
7
7
|
width: 32px;
|
|
8
8
|
height: 32px;
|
|
9
9
|
display: flex;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
color: var(--color-light-graphic-primary);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.bottom-
|
|
16
|
+
.bottom-sheet__button_1uxjh {
|
|
17
17
|
background: var(--bottom-sheet-backer-bg-color);
|
|
18
18
|
-webkit-backdrop-filter: blur(10px);
|
|
19
19
|
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-f3afbc15.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/dist/esm';
|
|
5
5
|
import { IconButton } from '@alfalab/core-components-icon-button/dist/esm';
|
|
6
6
|
import { CrossMIcon } from '@alfalab/icons-glyph/CrossMIcon';
|
|
7
7
|
|
|
8
|
-
var styles = {"closer":"bottom-
|
|
8
|
+
var styles = {"closer":"bottom-sheet__closer_dw4c8","button":"bottom-sheet__button_dw4c8"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
var Closer = function (_a) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xhb0 */
|
|
2
2
|
:root {
|
|
3
3
|
--bottom-sheet-closer-bg-color: var(--color-light-bg-primary-inverted-alpha-3);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.bottom-
|
|
6
|
+
.bottom-sheet__closer_dw4c8 {
|
|
7
7
|
width: 32px;
|
|
8
8
|
height: 32px;
|
|
9
9
|
display: flex;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
color: var(--color-light-graphic-primary);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.bottom-
|
|
16
|
+
.bottom-sheet__button_dw4c8 {
|
|
17
17
|
background: var(--bottom-sheet-closer-bg-color);
|
|
18
18
|
-webkit-backdrop-filter: blur(10px);
|
|
19
19
|
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/dist/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"footer":"bottom-
|
|
5
|
+
var styles = {"footer":"bottom-sheet__footer_3bny9","sticky":"bottom-sheet__sticky_3bny9","highlighted":"bottom-sheet__highlighted_3bny9"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Footer = function (_a) {
|