@hh.ru/magritte-ui-bottom-sheet 7.3.1 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BottomSheet.js +1 -1
- package/BottomSheetFooter.js +1 -1
- package/BottomSheetIFrameAdapter.js +1 -1
- package/bottom-sheet-DbqcY9os.js +5 -0
- package/bottom-sheet-DbqcY9os.js.map +1 -0
- package/index.css +73 -68
- package/index.d.ts +0 -1
- package/index.js +1 -2
- package/index.js.map +1 -1
- package/index.mock.d.ts +0 -2
- package/index.mock.js +1 -3
- package/index.mock.js.map +1 -1
- package/package.json +7 -8
- package/bottom-sheet-Dy0dUeLr.js +0 -5
- package/bottom-sheet-Dy0dUeLr.js.map +0 -1
package/BottomSheet.js
CHANGED
|
@@ -18,7 +18,7 @@ import { Divider } from '@hh.ru/magritte-ui-divider';
|
|
|
18
18
|
import { Layer } from '@hh.ru/magritte-ui-layer';
|
|
19
19
|
import { isNavigationBarComponent, NavigationBarComponent } from '@hh.ru/magritte-ui-navigation-bar';
|
|
20
20
|
import { isValidTreeSelectorWrapper } from '@hh.ru/magritte-ui-tree-selector';
|
|
21
|
-
import { s as styles } from './bottom-sheet-
|
|
21
|
+
import { s as styles } from './bottom-sheet-DbqcY9os.js';
|
|
22
22
|
|
|
23
23
|
const CSS_VAR_ENTER_ANIMATION_DURATION = '--enter-animation-duration';
|
|
24
24
|
const CSS_VAR_EXIT_ANIMATION_DURATION = '--exit-animation-duration';
|
package/BottomSheetFooter.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { s as styles } from './bottom-sheet-
|
|
3
|
+
import { s as styles } from './bottom-sheet-DbqcY9os.js';
|
|
4
4
|
|
|
5
5
|
const BottomSheetFooter = ({ children }) => (jsx("div", { className: styles.footerWithPadding, children: children }));
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useRef, useEffect } from 'react';
|
|
4
|
-
import { s as styles } from './bottom-sheet-
|
|
4
|
+
import { s as styles } from './bottom-sheet-DbqcY9os.js';
|
|
5
5
|
|
|
6
6
|
const BottomSheetIFrameAdapter = ({ children }) => {
|
|
7
7
|
const touchEventsInterceptorRef = useRef(null);
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"flex-container":"magritte-flex-container___muHAx_8-0-0","flexContainer":"magritte-flex-container___muHAx_8-0-0","animation-timeout":"magritte-animation-timeout___yd-SZ_8-0-0","animationTimeout":"magritte-animation-timeout___yd-SZ_8-0-0","css-variables-container":"magritte-css-variables-container___jBCr9_8-0-0","cssVariablesContainer":"magritte-css-variables-container___jBCr9_8-0-0","appear-animation":"magritte-appear-animation___P84Ln_8-0-0","appearAnimation":"magritte-appear-animation___P84Ln_8-0-0","disappear-animation":"magritte-disappear-animation___Putks_8-0-0","disappearAnimation":"magritte-disappear-animation___Putks_8-0-0","grabber-transition-animation":"magritte-grabber-transition-animation___s3Oh4_8-0-0","grabberTransitionAnimation":"magritte-grabber-transition-animation___s3Oh4_8-0-0","height-transition-animation":"magritte-height-transition-animation___xNprr_8-0-0","heightTransitionAnimation":"magritte-height-transition-animation___xNprr_8-0-0","close-by-swipe-animation":"magritte-close-by-swipe-animation___wdezY_8-0-0","closeBySwipeAnimation":"magritte-close-by-swipe-animation___wdezY_8-0-0","swipe-cancel-animation":"magritte-swipe-cancel-animation___AhYj5_8-0-0","swipeCancelAnimation":"magritte-swipe-cancel-animation___AhYj5_8-0-0","overlay":"magritte-overlay___5a2U-_8-0-0","overlay-background":"magritte-overlay-background___8Sd4V_8-0-0","overlayBackground":"magritte-overlay-background___8Sd4V_8-0-0","overlay-background_visible":"magritte-overlay-background_visible___FOJgj_8-0-0","overlayBackgroundVisible":"magritte-overlay-background_visible___FOJgj_8-0-0","swipe-container":"magritte-swipe-container___sZ2n5_8-0-0","swipeContainer":"magritte-swipe-container___sZ2n5_8-0-0","grabber":"magritte-grabber___A7SB-_8-0-0","grabber_ensure-safe":"magritte-grabber_ensure-safe___DR-dV_8-0-0","grabberEnsureSafe":"magritte-grabber_ensure-safe___DR-dV_8-0-0","visual-container":"magritte-visual-container___-VSuY_8-0-0","visualContainer":"magritte-visual-container___-VSuY_8-0-0","visual-container_full-screen":"magritte-visual-container_full-screen___jCCBb_8-0-0","visualContainerFullScreen":"magritte-visual-container_full-screen___jCCBb_8-0-0","scroll-container":"magritte-scroll-container___4ngNY_8-0-0","scrollContainer":"magritte-scroll-container___4ngNY_8-0-0","native-scroll-container":"magritte-native-scroll-container___JOlxE_8-0-0","nativeScrollContainer":"magritte-native-scroll-container___JOlxE_8-0-0","content":"magritte-content___1gAwP_8-0-0","content_full-screen":"magritte-content_full-screen___2SFaO_8-0-0","contentFullScreen":"magritte-content_full-screen___2SFaO_8-0-0","content_sized-full-screen":"magritte-content_sized-full-screen___45pa6_8-0-0","contentSizedFullScreen":"magritte-content_sized-full-screen___45pa6_8-0-0","content_with-paddings":"magritte-content_with-paddings___gIiAv_8-0-0","contentWithPaddings":"magritte-content_with-paddings___gIiAv_8-0-0","footer":"magritte-footer___RWslT_8-0-0","footer-with-padding":"magritte-footer-with-padding___KwkhC_8-0-0","footerWithPadding":"magritte-footer-with-padding___KwkhC_8-0-0","divider":"magritte-divider___0F8hh_8-0-0","divider_visible":"magritte-divider_visible___pAWZM_8-0-0","dividerVisible":"magritte-divider_visible___pAWZM_8-0-0","content-overlay":"magritte-content-overlay___HAyzL_8-0-0","contentOverlay":"magritte-content-overlay___HAyzL_8-0-0","no-caret":"magritte-no-caret___ewcMD_8-0-0","noCaret":"magritte-no-caret___ewcMD_8-0-0","iframe-wrapper":"magritte-iframe-wrapper___gBCL5_8-0-0","iframeWrapper":"magritte-iframe-wrapper___gBCL5_8-0-0","iframe-events-interceptor":"magritte-iframe-events-interceptor___FTW-8_8-0-0","iframeEventsInterceptor":"magritte-iframe-events-interceptor___FTW-8_8-0-0"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=bottom-sheet-DbqcY9os.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottom-sheet-DbqcY9os.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/index.css
CHANGED
|
@@ -1,31 +1,36 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-color-component-bottom-sheet-background-content-v22-
|
|
3
|
-
--magritte-color-component-bottom-sheet-grabber-content-v22-
|
|
4
|
-
--magritte-color-component-_overlay-background-content-v22-
|
|
2
|
+
--magritte-color-component-bottom-sheet-background-content-v22-1-0:#ffffff;
|
|
3
|
+
--magritte-color-component-bottom-sheet-grabber-content-v22-1-0:#bbc8d48f;
|
|
4
|
+
--magritte-color-component-_overlay-background-content-v22-1-0:#20262b99;
|
|
5
5
|
}
|
|
6
6
|
:root{
|
|
7
|
-
--magritte-semantic-border-radius-modal-v22-
|
|
8
|
-
--magritte-semantic-animation-ease-in-out-100-duration-v22-
|
|
9
|
-
--magritte-semantic-animation-ease-in-out-200-timing-function-v22-
|
|
10
|
-
--magritte-semantic-animation-ease-in-out-200-duration-v22-
|
|
11
|
-
--magritte-semantic-animation-ease-in-out-300-timing-function-v22-
|
|
12
|
-
--magritte-semantic-animation-ease-in-out-300-duration-v22-
|
|
13
|
-
--magritte-semantic-animation-ease-in-out-400-timing-function-v22-
|
|
14
|
-
--magritte-semantic-animation-ease-in-out-400-duration-v22-
|
|
15
|
-
--magritte-static-border-radius-50-v22-
|
|
7
|
+
--magritte-semantic-border-radius-modal-v22-1-0:24px;
|
|
8
|
+
--magritte-semantic-animation-ease-in-out-100-duration-v22-1-0:100ms;
|
|
9
|
+
--magritte-semantic-animation-ease-in-out-200-timing-function-v22-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
10
|
+
--magritte-semantic-animation-ease-in-out-200-duration-v22-1-0:200ms;
|
|
11
|
+
--magritte-semantic-animation-ease-in-out-300-timing-function-v22-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
12
|
+
--magritte-semantic-animation-ease-in-out-300-duration-v22-1-0:300ms;
|
|
13
|
+
--magritte-semantic-animation-ease-in-out-400-timing-function-v22-1-0:cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
14
|
+
--magritte-semantic-animation-ease-in-out-400-duration-v22-1-0:400ms;
|
|
15
|
+
--magritte-static-border-radius-50-v22-1-0:2px;
|
|
16
16
|
}
|
|
17
17
|
.magritte-night-theme{
|
|
18
|
-
--magritte-color-component-bottom-sheet-background-content-v22-
|
|
19
|
-
--magritte-color-component-bottom-sheet-grabber-content-v22-
|
|
20
|
-
--magritte-color-component-_overlay-background-content-v22-
|
|
18
|
+
--magritte-color-component-bottom-sheet-background-content-v22-1-0:#111;
|
|
19
|
+
--magritte-color-component-bottom-sheet-grabber-content-v22-1-0:#c6c6c68f;
|
|
20
|
+
--magritte-color-component-_overlay-background-content-v22-1-0:#26262699;
|
|
21
21
|
}
|
|
22
|
-
.magritte-
|
|
22
|
+
.magritte-zp-day-theme{
|
|
23
|
+
--magritte-color-component-bottom-sheet-background-content-v22-1-0:#ffffff;
|
|
24
|
+
--magritte-color-component-bottom-sheet-grabber-content-v22-1-0:#bbc8d48f;
|
|
25
|
+
--magritte-color-component-_overlay-background-content-v22-1-0:#20262b99;
|
|
26
|
+
}
|
|
27
|
+
.magritte-flex-container___muHAx_8-0-0{
|
|
23
28
|
display:flex;
|
|
24
29
|
flex-direction:column;
|
|
25
30
|
align-items:stretch;
|
|
26
31
|
}
|
|
27
|
-
.magritte-animation-timeout___yd-
|
|
28
|
-
.magritte-css-variables-
|
|
32
|
+
.magritte-animation-timeout___yd-SZ_8-0-0,
|
|
33
|
+
.magritte-css-variables-container___jBCr9_8-0-0{
|
|
29
34
|
--virtual-keyboard-top-offset:0px;
|
|
30
35
|
--virtual-keyboard-bottom-offset:0px;
|
|
31
36
|
--enter-animation-duration:0ms;
|
|
@@ -35,61 +40,61 @@
|
|
|
35
40
|
--swipe-cancel-transition-duration:0ms;
|
|
36
41
|
}
|
|
37
42
|
@media (prefers-reduced-motion: no-preference){
|
|
38
|
-
.magritte-animation-timeout___yd-
|
|
39
|
-
.magritte-css-variables-
|
|
40
|
-
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v22-
|
|
41
|
-
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v22-
|
|
42
|
-
--grabber-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v22-
|
|
43
|
-
--height-transition-duration:var(--magritte-semantic-animation-ease-in-out-400-duration-v22-
|
|
44
|
-
--swipe-cancel-transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v22-
|
|
43
|
+
.magritte-animation-timeout___yd-SZ_8-0-0,
|
|
44
|
+
.magritte-css-variables-container___jBCr9_8-0-0{
|
|
45
|
+
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v22-1-0);
|
|
46
|
+
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v22-1-0);
|
|
47
|
+
--grabber-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v22-1-0);
|
|
48
|
+
--height-transition-duration:var(--magritte-semantic-animation-ease-in-out-400-duration-v22-1-0);
|
|
49
|
+
--swipe-cancel-transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v22-1-0);
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
|
-
.magritte-appear-
|
|
52
|
+
.magritte-appear-animation___P84Ln_8-0-0{
|
|
48
53
|
transition-property:transform opacity;
|
|
49
54
|
transition-duration:var(--enter-animation-duration);
|
|
50
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v22-
|
|
55
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v22-1-0);
|
|
51
56
|
}
|
|
52
|
-
.magritte-disappear-
|
|
57
|
+
.magritte-disappear-animation___Putks_8-0-0{
|
|
53
58
|
transition-property:transform opacity;
|
|
54
59
|
transition-duration:var(--exit-animation-duration);
|
|
55
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v22-
|
|
60
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v22-1-0);
|
|
56
61
|
}
|
|
57
|
-
.magritte-grabber-transition-
|
|
62
|
+
.magritte-grabber-transition-animation___s3Oh4_8-0-0::after{
|
|
58
63
|
transition-property:transform;
|
|
59
64
|
transition-duration:var(--grabber-animation-duration);
|
|
60
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v22-
|
|
65
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v22-1-0);
|
|
61
66
|
}
|
|
62
|
-
.magritte-height-transition-
|
|
67
|
+
.magritte-height-transition-animation___xNprr_8-0-0{
|
|
63
68
|
transition-property:height;
|
|
64
69
|
transition-duration:var(--height-transition-duration);
|
|
65
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-400-timing-function-v22-
|
|
70
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-400-timing-function-v22-1-0);
|
|
66
71
|
}
|
|
67
|
-
.magritte-close-by-swipe-
|
|
72
|
+
.magritte-close-by-swipe-animation___wdezY_8-0-0{
|
|
68
73
|
transition-property:transform;
|
|
69
74
|
transition-duration:var(--exit-animation-duration);
|
|
70
75
|
transition-timing-function:linear;
|
|
71
76
|
}
|
|
72
|
-
.magritte-swipe-cancel-
|
|
77
|
+
.magritte-swipe-cancel-animation___AhYj5_8-0-0{
|
|
73
78
|
transition-property:transform;
|
|
74
79
|
transition-duration:var(--swipe-cancel-transition-duration);
|
|
75
|
-
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-duration-v22-
|
|
80
|
+
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-duration-v22-1-0);
|
|
76
81
|
}
|
|
77
|
-
.magritte-overlay___5a2U-
|
|
82
|
+
.magritte-overlay___5a2U-_8-0-0{
|
|
78
83
|
pointer-events:none;
|
|
79
84
|
position:fixed;
|
|
80
85
|
inset:0;
|
|
81
86
|
}
|
|
82
|
-
.magritte-overlay-
|
|
87
|
+
.magritte-overlay-background___8Sd4V_8-0-0{
|
|
83
88
|
position:absolute;
|
|
84
89
|
inset:0;
|
|
85
90
|
will-change:opacity;
|
|
86
91
|
transform:translate3d(0, 0, 0);
|
|
87
92
|
}
|
|
88
|
-
.magritte-overlay-
|
|
93
|
+
.magritte-overlay-background_visible___FOJgj_8-0-0{
|
|
89
94
|
pointer-events:initial;
|
|
90
|
-
background-color:var(--magritte-color-component-_overlay-background-content-v22-
|
|
95
|
+
background-color:var(--magritte-color-component-_overlay-background-content-v22-1-0);
|
|
91
96
|
}
|
|
92
|
-
.magritte-swipe-
|
|
97
|
+
.magritte-swipe-container___sZ2n5_8-0-0{
|
|
93
98
|
display:flex;
|
|
94
99
|
flex-direction:column;
|
|
95
100
|
align-items:stretch;
|
|
@@ -99,43 +104,43 @@
|
|
|
99
104
|
will-change:transform;
|
|
100
105
|
transform:translate3d(0, 0, 0);
|
|
101
106
|
}
|
|
102
|
-
.magritte-grabber___A7SB-
|
|
107
|
+
.magritte-grabber___A7SB-_8-0-0{
|
|
103
108
|
flex:0 0 20px;
|
|
104
109
|
position:relative;
|
|
105
110
|
}
|
|
106
|
-
.magritte-grabber___A7SB-
|
|
111
|
+
.magritte-grabber___A7SB-_8-0-0::after{
|
|
107
112
|
content:'';
|
|
108
113
|
position:absolute;
|
|
109
114
|
top:8px;
|
|
110
115
|
left:calc(50% - (36px / 2));
|
|
111
116
|
height:4px;
|
|
112
117
|
width:36px;
|
|
113
|
-
background-color:var(--magritte-color-component-bottom-sheet-grabber-content-v22-
|
|
114
|
-
border-radius:var(--magritte-static-border-radius-50-v22-
|
|
118
|
+
background-color:var(--magritte-color-component-bottom-sheet-grabber-content-v22-1-0);
|
|
119
|
+
border-radius:var(--magritte-static-border-radius-50-v22-1-0);
|
|
115
120
|
z-index:3;
|
|
116
121
|
}
|
|
117
|
-
.magritte-grabber_ensure-safe___DR-
|
|
122
|
+
.magritte-grabber_ensure-safe___DR-dV_8-0-0::after{
|
|
118
123
|
transform:translateY(20px);
|
|
119
124
|
}
|
|
120
|
-
.magritte-visual-container___-
|
|
125
|
+
.magritte-visual-container___-VSuY_8-0-0{
|
|
121
126
|
display:flex;
|
|
122
127
|
flex-direction:column;
|
|
123
128
|
align-items:stretch;
|
|
124
129
|
pointer-events:initial;
|
|
125
|
-
background-color:var(--magritte-color-component-bottom-sheet-background-content-v22-
|
|
126
|
-
border-radius:var(--magritte-semantic-border-radius-modal-v22-
|
|
130
|
+
background-color:var(--magritte-color-component-bottom-sheet-background-content-v22-1-0);
|
|
131
|
+
border-radius:var(--magritte-semantic-border-radius-modal-v22-1-0) var(--magritte-semantic-border-radius-modal-v22-1-0) 0 0;
|
|
127
132
|
flex:0 1 auto;
|
|
128
133
|
min-height:1px;
|
|
129
134
|
contain:paint;
|
|
130
135
|
overflow:clip;
|
|
131
136
|
user-select:text;
|
|
132
137
|
}
|
|
133
|
-
.magritte-visual-container_full-
|
|
138
|
+
.magritte-visual-container_full-screen___jCCBb_8-0-0{
|
|
134
139
|
flex:1 1 auto;
|
|
135
140
|
min-height:1px;
|
|
136
141
|
}
|
|
137
|
-
.magritte-scroll-
|
|
138
|
-
--magritte-ui-navigation-bar-background-override:var(--magritte-color-component-bottom-sheet-background-content-v22-
|
|
142
|
+
.magritte-scroll-container___4ngNY_8-0-0{
|
|
143
|
+
--magritte-ui-navigation-bar-background-override:var(--magritte-color-component-bottom-sheet-background-content-v22-1-0);
|
|
139
144
|
--magritte-ui-navigation-bar-top-padding-override:16px;
|
|
140
145
|
display:flex;
|
|
141
146
|
flex-direction:column;
|
|
@@ -144,14 +149,14 @@
|
|
|
144
149
|
min-height:1px;
|
|
145
150
|
z-index:1;
|
|
146
151
|
}
|
|
147
|
-
.magritte-native-scroll-
|
|
152
|
+
.magritte-native-scroll-container___JOlxE_8-0-0{
|
|
148
153
|
overflow:scroll;
|
|
149
154
|
scrollbar-width:none;
|
|
150
155
|
}
|
|
151
|
-
.magritte-native-scroll-
|
|
156
|
+
.magritte-native-scroll-container___JOlxE_8-0-0::-webkit-scrollbar{
|
|
152
157
|
display:none;
|
|
153
158
|
}
|
|
154
|
-
.magritte-
|
|
159
|
+
.magritte-content___1gAwP_8-0-0{
|
|
155
160
|
display:flex;
|
|
156
161
|
flex-direction:column;
|
|
157
162
|
align-items:stretch;
|
|
@@ -160,49 +165,49 @@
|
|
|
160
165
|
will-change:transform;
|
|
161
166
|
transform:translate3d(0, 0, 0);
|
|
162
167
|
}
|
|
163
|
-
.magritte-content_full-
|
|
168
|
+
.magritte-content_full-screen___2SFaO_8-0-0{
|
|
164
169
|
flex:1 0 auto;
|
|
165
170
|
}
|
|
166
|
-
.magritte-content_sized-full-
|
|
171
|
+
.magritte-content_sized-full-screen___45pa6_8-0-0{
|
|
167
172
|
flex:1 1 auto;
|
|
168
173
|
min-height:1px;
|
|
169
174
|
}
|
|
170
|
-
.magritte-content_with-
|
|
175
|
+
.magritte-content_with-paddings___gIiAv_8-0-0{
|
|
171
176
|
padding:16px 16px 0;
|
|
172
177
|
}
|
|
173
|
-
.magritte-
|
|
178
|
+
.magritte-footer___RWslT_8-0-0{
|
|
174
179
|
flex:0 0 auto;
|
|
175
|
-
background-color:var(--magritte-color-component-bottom-sheet-background-content-v22-
|
|
180
|
+
background-color:var(--magritte-color-component-bottom-sheet-background-content-v22-1-0);
|
|
176
181
|
z-index:2;
|
|
177
182
|
will-change:transform;
|
|
178
183
|
transform:translate3d(0, 0, 0);
|
|
179
|
-
--magritte-ui-action-bar-background-color-override:var(--magritte-color-component-bottom-sheet-background-content-v22-
|
|
184
|
+
--magritte-ui-action-bar-background-color-override:var(--magritte-color-component-bottom-sheet-background-content-v22-1-0);
|
|
180
185
|
}
|
|
181
|
-
.magritte-footer-with-
|
|
186
|
+
.magritte-footer-with-padding___KwkhC_8-0-0{
|
|
182
187
|
display:flex;
|
|
183
188
|
flex-direction:column;
|
|
184
189
|
gap:12px;
|
|
185
190
|
padding:16px;
|
|
186
191
|
}
|
|
187
|
-
.magritte-
|
|
192
|
+
.magritte-divider___0F8hh_8-0-0{
|
|
188
193
|
visibility:hidden;
|
|
189
194
|
}
|
|
190
|
-
.magritte-
|
|
195
|
+
.magritte-divider_visible___pAWZM_8-0-0{
|
|
191
196
|
visibility:visible;
|
|
192
197
|
}
|
|
193
|
-
.magritte-content-
|
|
198
|
+
.magritte-content-overlay___HAyzL_8-0-0{
|
|
194
199
|
pointer-events:none;
|
|
195
200
|
position:absolute;
|
|
196
201
|
inset:0;
|
|
197
202
|
}
|
|
198
|
-
.magritte-no-
|
|
203
|
+
.magritte-no-caret___ewcMD_8-0-0{
|
|
199
204
|
--magritte-ui-input-caret-color-override:transparent;
|
|
200
205
|
--magritte-ui-textarea-caret-color-override:transparent;
|
|
201
206
|
}
|
|
202
|
-
.magritte-iframe-
|
|
207
|
+
.magritte-iframe-wrapper___gBCL5_8-0-0{
|
|
203
208
|
position:relative;
|
|
204
209
|
}
|
|
205
|
-
.magritte-iframe-events-interceptor___FTW-
|
|
210
|
+
.magritte-iframe-events-interceptor___FTW-8_8-0-0{
|
|
206
211
|
position:absolute;
|
|
207
212
|
inset:0;
|
|
208
213
|
}
|
package/index.d.ts
CHANGED
|
@@ -4,4 +4,3 @@ export { BottomSheetContext } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheetC
|
|
|
4
4
|
export { BottomSheetFooter } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheetFooter';
|
|
5
5
|
export { BottomSheetIFrameAdapter } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheetIFrameAdapter';
|
|
6
6
|
export * from '@hh.ru/magritte-ui-bottom-sheet/types';
|
|
7
|
-
export * from '@hh.ru/magritte-ui-theme-provider';
|
package/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export { BottomSheetContentOverlay } from './BottomSheetContentOverlay.js';
|
|
|
4
4
|
export { BottomSheetContext } from './BottomSheetContext.js';
|
|
5
5
|
export { BottomSheetFooter } from './BottomSheetFooter.js';
|
|
6
6
|
export { BottomSheetIFrameAdapter } from './BottomSheetIFrameAdapter.js';
|
|
7
|
-
export * from '@hh.ru/magritte-ui-theme-provider';
|
|
8
7
|
import 'react/jsx-runtime';
|
|
9
8
|
import 'react';
|
|
10
9
|
import 'react-dom';
|
|
@@ -23,5 +22,5 @@ import '@hh.ru/magritte-ui-divider';
|
|
|
23
22
|
import '@hh.ru/magritte-ui-layer';
|
|
24
23
|
import '@hh.ru/magritte-ui-navigation-bar';
|
|
25
24
|
import '@hh.ru/magritte-ui-tree-selector';
|
|
26
|
-
import './bottom-sheet-
|
|
25
|
+
import './bottom-sheet-DbqcY9os.js';
|
|
27
26
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.mock.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent } from 'react';
|
|
2
2
|
export * from '@hh.ru/magritte-ui-bottom-sheet/types';
|
|
3
|
-
declare const ThemeProvider: any;
|
|
4
|
-
export { ThemeProvider };
|
|
5
3
|
export declare const BottomSheet: ForwardRefExoticComponent<Record<string, unknown>>;
|
|
6
4
|
export declare const BottomSheetContentOverlay: ForwardRefExoticComponent<Record<string, unknown>>;
|
|
7
5
|
export { BottomSheetContext } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheetContext';
|
package/index.mock.js
CHANGED
|
@@ -3,8 +3,6 @@ import { mockComponent } from '@hh.ru/magritte-ui-mock-component';
|
|
|
3
3
|
export { BottomSheetContext } from './BottomSheetContext.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
7
|
-
const { ThemeProvider } = jest.requireActual('@hh.ru/magritte-ui-theme-provider/index');
|
|
8
6
|
const BottomSheet = mockComponent('BottomSheet', undefined, {
|
|
9
7
|
withChildren: true,
|
|
10
8
|
});
|
|
@@ -18,5 +16,5 @@ const BottomSheetIFrameAdapter = mockComponent('BottomSheetIFrameAdapter', undef
|
|
|
18
16
|
withChildren: true,
|
|
19
17
|
});
|
|
20
18
|
|
|
21
|
-
export { BottomSheet, BottomSheetContentOverlay, BottomSheetFooter, BottomSheetIFrameAdapter
|
|
19
|
+
export { BottomSheet, BottomSheetContentOverlay, BottomSheetFooter, BottomSheetIFrameAdapter };
|
|
22
20
|
//# sourceMappingURL=index.mock.js.map
|
package/index.mock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mock.js","sources":["../src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport * from '@hh.ru/magritte-ui-bottom-sheet/types';\n\
|
|
1
|
+
{"version":3,"file":"index.mock.js","sources":["../src/index.mock.ts"],"sourcesContent":["import { ForwardRefExoticComponent } from 'react';\n\nimport { mockComponent } from '@hh.ru/magritte-ui-mock-component';\n\nexport * from '@hh.ru/magritte-ui-bottom-sheet/types';\n\nexport const BottomSheet: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent('BottomSheet', undefined, {\n withChildren: true,\n});\n\nexport const BottomSheetContentOverlay: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'BottomSheetContentOverlay',\n undefined,\n {\n withChildren: true,\n }\n);\n\nexport { BottomSheetContext } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheetContext';\n\nexport const BottomSheetFooter: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'BottomSheetFooter',\n undefined,\n {\n withChildren: true,\n }\n);\n\nexport const BottomSheetIFrameAdapter: ForwardRefExoticComponent<Record<string, unknown>> = mockComponent(\n 'BottomSheetIFrameAdapter',\n undefined,\n {\n withChildren: true,\n }\n);\n"],"names":[],"mappings":";;;;MAMa,WAAW,GAAuD,aAAa,CAAC,aAAa,EAAE,SAAS,EAAE;AACnH,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EAAE;MAEU,yBAAyB,GAAuD,aAAa,CACtG,2BAA2B,EAC3B,SAAS,EACT;AACI,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EACH;MAIW,iBAAiB,GAAuD,aAAa,CAC9F,mBAAmB,EACnB,SAAS,EACT;AACI,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA,EACH;MAEW,wBAAwB,GAAuD,aAAa,CACrG,0BAA0B,EAC1B,SAAS,EACT;AACI,IAAA,YAAY,EAAE,IAAI;AACrB,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-bottom-sheet",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,17 +25,16 @@
|
|
|
25
25
|
"@hh.ru/magritte-common-use-multiple-refs": "1.1.7",
|
|
26
26
|
"@hh.ru/magritte-common-use-no-bubbling": "1.0.5",
|
|
27
27
|
"@hh.ru/magritte-common-use-swipe": "3.1.6",
|
|
28
|
-
"@hh.ru/magritte-design-tokens": "22.
|
|
28
|
+
"@hh.ru/magritte-design-tokens": "22.1.0",
|
|
29
29
|
"@hh.ru/magritte-internal-custom-scroll": "1.4.3",
|
|
30
30
|
"@hh.ru/magritte-internal-layer-name": "3.0.2",
|
|
31
|
-
"@hh.ru/magritte-ui-action-bar": "4.0.
|
|
31
|
+
"@hh.ru/magritte-ui-action-bar": "4.0.7",
|
|
32
32
|
"@hh.ru/magritte-ui-breakpoint": "5.0.3",
|
|
33
|
-
"@hh.ru/magritte-ui-divider": "
|
|
33
|
+
"@hh.ru/magritte-ui-divider": "3.0.0",
|
|
34
34
|
"@hh.ru/magritte-ui-layer": "3.0.2",
|
|
35
35
|
"@hh.ru/magritte-ui-mock-component": "1.1.4",
|
|
36
|
-
"@hh.ru/magritte-ui-navigation-bar": "
|
|
37
|
-
"@hh.ru/magritte-ui-
|
|
38
|
-
"@hh.ru/magritte-ui-tree-selector": "4.7.1"
|
|
36
|
+
"@hh.ru/magritte-ui-navigation-bar": "10.0.0",
|
|
37
|
+
"@hh.ru/magritte-ui-tree-selector": "5.0.0"
|
|
39
38
|
},
|
|
40
39
|
"peerDependencies": {
|
|
41
40
|
"classnames": ">=2.3.2",
|
|
@@ -46,5 +45,5 @@
|
|
|
46
45
|
"publishConfig": {
|
|
47
46
|
"access": "public"
|
|
48
47
|
},
|
|
49
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "a823b2d582e812bf99b5fdf32058a93eaa59076b"
|
|
50
49
|
}
|
package/bottom-sheet-Dy0dUeLr.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"flex-container":"magritte-flex-container___muHAx_7-3-1","flexContainer":"magritte-flex-container___muHAx_7-3-1","animation-timeout":"magritte-animation-timeout___yd-SZ_7-3-1","animationTimeout":"magritte-animation-timeout___yd-SZ_7-3-1","css-variables-container":"magritte-css-variables-container___jBCr9_7-3-1","cssVariablesContainer":"magritte-css-variables-container___jBCr9_7-3-1","appear-animation":"magritte-appear-animation___P84Ln_7-3-1","appearAnimation":"magritte-appear-animation___P84Ln_7-3-1","disappear-animation":"magritte-disappear-animation___Putks_7-3-1","disappearAnimation":"magritte-disappear-animation___Putks_7-3-1","grabber-transition-animation":"magritte-grabber-transition-animation___s3Oh4_7-3-1","grabberTransitionAnimation":"magritte-grabber-transition-animation___s3Oh4_7-3-1","height-transition-animation":"magritte-height-transition-animation___xNprr_7-3-1","heightTransitionAnimation":"magritte-height-transition-animation___xNprr_7-3-1","close-by-swipe-animation":"magritte-close-by-swipe-animation___wdezY_7-3-1","closeBySwipeAnimation":"magritte-close-by-swipe-animation___wdezY_7-3-1","swipe-cancel-animation":"magritte-swipe-cancel-animation___AhYj5_7-3-1","swipeCancelAnimation":"magritte-swipe-cancel-animation___AhYj5_7-3-1","overlay":"magritte-overlay___5a2U-_7-3-1","overlay-background":"magritte-overlay-background___8Sd4V_7-3-1","overlayBackground":"magritte-overlay-background___8Sd4V_7-3-1","overlay-background_visible":"magritte-overlay-background_visible___FOJgj_7-3-1","overlayBackgroundVisible":"magritte-overlay-background_visible___FOJgj_7-3-1","swipe-container":"magritte-swipe-container___sZ2n5_7-3-1","swipeContainer":"magritte-swipe-container___sZ2n5_7-3-1","grabber":"magritte-grabber___A7SB-_7-3-1","grabber_ensure-safe":"magritte-grabber_ensure-safe___DR-dV_7-3-1","grabberEnsureSafe":"magritte-grabber_ensure-safe___DR-dV_7-3-1","visual-container":"magritte-visual-container___-VSuY_7-3-1","visualContainer":"magritte-visual-container___-VSuY_7-3-1","visual-container_full-screen":"magritte-visual-container_full-screen___jCCBb_7-3-1","visualContainerFullScreen":"magritte-visual-container_full-screen___jCCBb_7-3-1","scroll-container":"magritte-scroll-container___4ngNY_7-3-1","scrollContainer":"magritte-scroll-container___4ngNY_7-3-1","native-scroll-container":"magritte-native-scroll-container___JOlxE_7-3-1","nativeScrollContainer":"magritte-native-scroll-container___JOlxE_7-3-1","content":"magritte-content___1gAwP_7-3-1","content_full-screen":"magritte-content_full-screen___2SFaO_7-3-1","contentFullScreen":"magritte-content_full-screen___2SFaO_7-3-1","content_sized-full-screen":"magritte-content_sized-full-screen___45pa6_7-3-1","contentSizedFullScreen":"magritte-content_sized-full-screen___45pa6_7-3-1","content_with-paddings":"magritte-content_with-paddings___gIiAv_7-3-1","contentWithPaddings":"magritte-content_with-paddings___gIiAv_7-3-1","footer":"magritte-footer___RWslT_7-3-1","footer-with-padding":"magritte-footer-with-padding___KwkhC_7-3-1","footerWithPadding":"magritte-footer-with-padding___KwkhC_7-3-1","divider":"magritte-divider___0F8hh_7-3-1","divider_visible":"magritte-divider_visible___pAWZM_7-3-1","dividerVisible":"magritte-divider_visible___pAWZM_7-3-1","content-overlay":"magritte-content-overlay___HAyzL_7-3-1","contentOverlay":"magritte-content-overlay___HAyzL_7-3-1","no-caret":"magritte-no-caret___ewcMD_7-3-1","noCaret":"magritte-no-caret___ewcMD_7-3-1","iframe-wrapper":"magritte-iframe-wrapper___gBCL5_7-3-1","iframeWrapper":"magritte-iframe-wrapper___gBCL5_7-3-1","iframe-events-interceptor":"magritte-iframe-events-interceptor___FTW-8_7-3-1","iframeEventsInterceptor":"magritte-iframe-events-interceptor___FTW-8_7-3-1"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=bottom-sheet-Dy0dUeLr.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-sheet-Dy0dUeLr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|