@hh.ru/magritte-ui-bottom-sheet 9.4.1 → 9.4.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/BottomSheet.js +1 -1
- package/BottomSheetFooter.js +1 -1
- package/BottomSheetIFrameAdapter.js +1 -1
- package/BottomSheetMedia.js +1 -1
- package/BottomSheetWithImage.js +3 -3
- package/BottomSheetWithImage.js.map +1 -1
- package/bottom-sheet-CTyOn_00.js +5 -0
- package/bottom-sheet-CTyOn_00.js.map +1 -0
- package/index.css +48 -48
- package/index.js +1 -1
- package/package.json +2 -2
- package/bottom-sheet-O3Lj2N-k.js +0 -5
- package/bottom-sheet-O3Lj2N-k.js.map +0 -1
package/BottomSheet.js
CHANGED
|
@@ -22,7 +22,7 @@ import { Layer } from '@hh.ru/magritte-ui-layer';
|
|
|
22
22
|
import { TextAreaGrowLimiter } from '@hh.ru/magritte-ui-textarea';
|
|
23
23
|
import { ThemeWrapper } from '@hh.ru/magritte-ui-theme-wrapper';
|
|
24
24
|
import { isValidTreeSelectorWrapper } from '@hh.ru/magritte-ui-tree-selector';
|
|
25
|
-
import { s as styles } from './bottom-sheet-
|
|
25
|
+
import { s as styles } from './bottom-sheet-CTyOn_00.js';
|
|
26
26
|
|
|
27
27
|
const CSS_VAR_ENTER_ANIMATION_DURATION = '--enter-animation-duration';
|
|
28
28
|
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-CTyOn_00.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-CTyOn_00.js';
|
|
5
5
|
|
|
6
6
|
const BottomSheetIFrameAdapter = ({ children }) => {
|
|
7
7
|
const touchEventsInterceptorRef = useRef(null);
|
package/BottomSheetMedia.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
|
|
6
|
-
var styles = {"media":"magritte-media___fzaJa_9-4-
|
|
6
|
+
var styles = {"media":"magritte-media___fzaJa_9-4-2","contain":"magritte-contain___Hu7Gu_9-4-2","cover":"magritte-cover___sueew_9-4-2"};
|
|
7
7
|
|
|
8
8
|
const BottomSheetMedia = forwardRef(({ backgroundUrl, children, className, height, imageSize, ratio, style, ...props }, ref) => {
|
|
9
9
|
const defaultRatio = children ? 'auto' : 1.9;
|
package/BottomSheetWithImage.js
CHANGED
|
@@ -25,14 +25,14 @@ import '@hh.ru/magritte-ui-layer';
|
|
|
25
25
|
import '@hh.ru/magritte-ui-textarea';
|
|
26
26
|
import '@hh.ru/magritte-ui-theme-wrapper';
|
|
27
27
|
import '@hh.ru/magritte-ui-tree-selector';
|
|
28
|
-
import './bottom-sheet-
|
|
28
|
+
import './bottom-sheet-CTyOn_00.js';
|
|
29
29
|
|
|
30
|
-
var styles = {"top-padding":"magritte-top-padding___SfKyV_9-4-
|
|
30
|
+
var styles = {"top-padding":"magritte-top-padding___SfKyV_9-4-2","topPadding":"magritte-top-padding___SfKyV_9-4-2","title-wrapper":"magritte-title-wrapper___EqVH0_9-4-2","titleWrapper":"magritte-title-wrapper___EqVH0_9-4-2","content-wrapper":"magritte-content-wrapper___Y-au-_9-4-2","contentWrapper":"magritte-content-wrapper___Y-au-_9-4-2"};
|
|
31
31
|
|
|
32
32
|
const NAV_BAR_DEFAULT_PROPS = {
|
|
33
33
|
overlay: true,
|
|
34
34
|
snapScroll: false,
|
|
35
|
-
transparent:
|
|
35
|
+
transparent: 'start',
|
|
36
36
|
};
|
|
37
37
|
const NAV_BAR_ACTIONS_ICONS_DEFAULT_PROPS = {
|
|
38
38
|
borderRadius: 12,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheetWithImage.js","sources":["src/BottomSheetWithImage.tsx"],"sourcesContent":["import { BottomSheet } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheet';\nimport { type BottomSheetProps } from '@hh.ru/magritte-ui-bottom-sheet/types';\nimport { type NavBarDefaultPropsContextProps, NavBar, NavBarDefaultPropsContext } from '@hh.ru/magritte-ui-nav-bar';\nimport { type TitleProps, TitleDefaultPropsContext } from '@hh.ru/magritte-ui-title';\n\nimport styles from './bottom-sheet-with-image.less';\n\nconst NAV_BAR_DEFAULT_PROPS: NavBarDefaultPropsContextProps['rootProps'] = {\n overlay: true,\n snapScroll: false,\n transparent:
|
|
1
|
+
{"version":3,"file":"BottomSheetWithImage.js","sources":["src/BottomSheetWithImage.tsx"],"sourcesContent":["import { BottomSheet } from '@hh.ru/magritte-ui-bottom-sheet/BottomSheet';\nimport { type BottomSheetProps } from '@hh.ru/magritte-ui-bottom-sheet/types';\nimport { type NavBarDefaultPropsContextProps, NavBar, NavBarDefaultPropsContext } from '@hh.ru/magritte-ui-nav-bar';\nimport { type TitleProps, TitleDefaultPropsContext } from '@hh.ru/magritte-ui-title';\n\nimport styles from './bottom-sheet-with-image.less';\n\nconst NAV_BAR_DEFAULT_PROPS: NavBarDefaultPropsContextProps['rootProps'] = {\n overlay: true,\n snapScroll: false,\n transparent: 'start',\n};\n\nconst NAV_BAR_ACTIONS_ICONS_DEFAULT_PROPS: NavBarDefaultPropsContextProps['actionsIconsProps'] = {\n borderRadius: 12,\n};\n\nconst TITLE_DEFAULT_PROPS: Partial<TitleProps> = {\n size: 'medium',\n};\n\ninterface BottomSheetWithImageProps {\n /** Картинка/иконка/видео/кастомный контент, обернутые в `<BottomSheet.Media />` */\n image: React.ReactNode;\n /** <Title /> */\n title?: React.ReactNode;\n}\n\nexport const BottomSheetWithImage: React.FC<BottomSheetProps & BottomSheetWithImageProps> = ({\n children,\n image,\n title,\n header,\n ...props\n}) => {\n return (\n <NavBar.TriggerProvider>\n <BottomSheet\n {...props}\n header={\n <NavBarDefaultPropsContext\n rootProps={NAV_BAR_DEFAULT_PROPS}\n actionsIconsProps={NAV_BAR_ACTIONS_ICONS_DEFAULT_PROPS}\n >\n <div className={styles.topPadding} />\n {header}\n </NavBarDefaultPropsContext>\n }\n >\n {image}\n {title && (\n <TitleDefaultPropsContext props={TITLE_DEFAULT_PROPS}>\n <div className={styles.titleWrapper}>{title}</div>\n </TitleDefaultPropsContext>\n )}\n {children && <div className={styles.contentWrapper}>{children}</div>}\n </BottomSheet>\n </NavBar.TriggerProvider>\n );\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,qBAAqB,GAAgD;AACvE,IAAA,OAAO,EAAE,IAAI;AACb,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,WAAW,EAAE,OAAO;CACvB,CAAC;AAEF,MAAM,mCAAmC,GAAwD;AAC7F,IAAA,YAAY,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,mBAAmB,GAAwB;AAC7C,IAAA,IAAI,EAAE,QAAQ;CACjB,CAAC;AASW,MAAA,oBAAoB,GAA2D,CAAC,EACzF,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,GAAG,KAAK,EACX,KAAI;AACD,IAAA,QACIA,GAAA,CAAC,MAAM,CAAC,eAAe,EACnB,EAAA,QAAA,EAAAC,IAAA,CAAC,WAAW,EAAA,EAAA,GACJ,KAAK,EACT,MAAM,EACFA,IAAA,CAAC,yBAAyB,EACtB,EAAA,SAAS,EAAE,qBAAqB,EAChC,iBAAiB,EAAE,mCAAmC,aAEtDD,GAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,UAAU,EAAA,CAAI,EACpC,MAAM,IACiB,EAG/B,QAAA,EAAA,CAAA,KAAK,EACL,KAAK,KACFA,GAAC,CAAA,wBAAwB,IAAC,KAAK,EAAE,mBAAmB,EAAA,QAAA,EAChDA,aAAK,SAAS,EAAE,MAAM,CAAC,YAAY,EAAG,QAAA,EAAA,KAAK,EAAO,CAAA,EAAA,CAC3B,CAC9B,EACA,QAAQ,IAAIA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,cAAc,YAAG,QAAQ,EAAA,CAAO,CAC1D,EAAA,CAAA,EAAA,CACO,EAC3B;AACN;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"flex-container":"magritte-flex-container___muHAx_9-4-2","flexContainer":"magritte-flex-container___muHAx_9-4-2","animation-timeout":"magritte-animation-timeout___yd-SZ_9-4-2","animationTimeout":"magritte-animation-timeout___yd-SZ_9-4-2","css-variables-container":"magritte-css-variables-container___jBCr9_9-4-2","cssVariablesContainer":"magritte-css-variables-container___jBCr9_9-4-2","appear-animation":"magritte-appear-animation___P84Ln_9-4-2","appearAnimation":"magritte-appear-animation___P84Ln_9-4-2","disappear-animation":"magritte-disappear-animation___Putks_9-4-2","disappearAnimation":"magritte-disappear-animation___Putks_9-4-2","grabber-transition-animation":"magritte-grabber-transition-animation___s3Oh4_9-4-2","grabberTransitionAnimation":"magritte-grabber-transition-animation___s3Oh4_9-4-2","height-transition-animation":"magritte-height-transition-animation___xNprr_9-4-2","heightTransitionAnimation":"magritte-height-transition-animation___xNprr_9-4-2","close-by-swipe-animation":"magritte-close-by-swipe-animation___wdezY_9-4-2","closeBySwipeAnimation":"magritte-close-by-swipe-animation___wdezY_9-4-2","swipe-cancel-animation":"magritte-swipe-cancel-animation___AhYj5_9-4-2","swipeCancelAnimation":"magritte-swipe-cancel-animation___AhYj5_9-4-2","overlay":"magritte-overlay___5a2U-_9-4-2","overlay-background":"magritte-overlay-background___8Sd4V_9-4-2","overlayBackground":"magritte-overlay-background___8Sd4V_9-4-2","overlay-background_visible":"magritte-overlay-background_visible___FOJgj_9-4-2","overlayBackgroundVisible":"magritte-overlay-background_visible___FOJgj_9-4-2","swipe-container":"magritte-swipe-container___sZ2n5_9-4-2","swipeContainer":"magritte-swipe-container___sZ2n5_9-4-2","grabber":"magritte-grabber___A7SB-_9-4-2","grabber_ensure-safe":"magritte-grabber_ensure-safe___DR-dV_9-4-2","grabberEnsureSafe":"magritte-grabber_ensure-safe___DR-dV_9-4-2","visual-container":"magritte-visual-container___-VSuY_9-4-2","visualContainer":"magritte-visual-container___-VSuY_9-4-2","visual-container_full-screen":"magritte-visual-container_full-screen___jCCBb_9-4-2","visualContainerFullScreen":"magritte-visual-container_full-screen___jCCBb_9-4-2","scroll-container":"magritte-scroll-container___4ngNY_9-4-2","scrollContainer":"magritte-scroll-container___4ngNY_9-4-2","scroll-container_with-top-padding":"magritte-scroll-container_with-top-padding___o60Dl_9-4-2","scrollContainerWithTopPadding":"magritte-scroll-container_with-top-padding___o60Dl_9-4-2","native-scroll-container":"magritte-native-scroll-container___JOlxE_9-4-2","nativeScrollContainer":"magritte-native-scroll-container___JOlxE_9-4-2","content":"magritte-content___1gAwP_9-4-2","content_full-screen":"magritte-content_full-screen___2SFaO_9-4-2","contentFullScreen":"magritte-content_full-screen___2SFaO_9-4-2","content_sized-full-screen":"magritte-content_sized-full-screen___45pa6_9-4-2","contentSizedFullScreen":"magritte-content_sized-full-screen___45pa6_9-4-2","content_with-paddings":"magritte-content_with-paddings___gIiAv_9-4-2","contentWithPaddings":"magritte-content_with-paddings___gIiAv_9-4-2","footer":"magritte-footer___RWslT_9-4-2","footer-with-padding":"magritte-footer-with-padding___KwkhC_9-4-2","footerWithPadding":"magritte-footer-with-padding___KwkhC_9-4-2","divider":"magritte-divider___0F8hh_9-4-2","divider_visible":"magritte-divider_visible___pAWZM_9-4-2","dividerVisible":"magritte-divider_visible___pAWZM_9-4-2","content-overlay":"magritte-content-overlay___HAyzL_9-4-2","contentOverlay":"magritte-content-overlay___HAyzL_9-4-2","no-caret":"magritte-no-caret___ewcMD_9-4-2","noCaret":"magritte-no-caret___ewcMD_9-4-2","iframe-wrapper":"magritte-iframe-wrapper___gBCL5_9-4-2","iframeWrapper":"magritte-iframe-wrapper___gBCL5_9-4-2","iframe-events-interceptor":"magritte-iframe-events-interceptor___FTW-8_9-4-2","iframeEventsInterceptor":"magritte-iframe-events-interceptor___FTW-8_9-4-2","grow-limiter":"magritte-grow-limiter___ANaBL_9-4-2","growLimiter":"magritte-grow-limiter___ANaBL_9-4-2","header-wrapper":"magritte-header-wrapper___LdLOU_9-4-2","headerWrapper":"magritte-header-wrapper___LdLOU_9-4-2"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=bottom-sheet-CTyOn_00.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bottom-sheet-CTyOn_00.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.magritte-media___fzaJa_9-4-
|
|
1
|
+
.magritte-media___fzaJa_9-4-2{
|
|
2
2
|
display:flex;
|
|
3
3
|
position:relative;
|
|
4
4
|
overflow:hidden;
|
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
background-repeat:no-repeat;
|
|
8
8
|
margin:-4px;
|
|
9
9
|
}
|
|
10
|
-
.magritte-media___fzaJa_9-4-
|
|
10
|
+
.magritte-media___fzaJa_9-4-2 img{
|
|
11
11
|
max-width:100%;
|
|
12
12
|
max-height:100%;
|
|
13
13
|
}
|
|
14
|
-
.magritte-contain___Hu7Gu_9-4-
|
|
14
|
+
.magritte-contain___Hu7Gu_9-4-2{
|
|
15
15
|
background-size:contain;
|
|
16
16
|
}
|
|
17
|
-
.magritte-contain___Hu7Gu_9-4-
|
|
17
|
+
.magritte-contain___Hu7Gu_9-4-2 img{
|
|
18
18
|
object-fit:contain;
|
|
19
19
|
}
|
|
20
|
-
.magritte-cover___sueew_9-4-
|
|
20
|
+
.magritte-cover___sueew_9-4-2{
|
|
21
21
|
background-size:cover;
|
|
22
22
|
}
|
|
23
|
-
.magritte-cover___sueew_9-4-
|
|
23
|
+
.magritte-cover___sueew_9-4-2 img{
|
|
24
24
|
object-fit:cover;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
--magritte-color-component-bottom-sheet-grabber-content-v24-7-1:#c6c6c68f;
|
|
46
46
|
--magritte-color-component-_overlay-background-content-v24-7-1:#26262699;
|
|
47
47
|
}
|
|
48
|
-
.magritte-flex-container___muHAx_9-4-
|
|
48
|
+
.magritte-flex-container___muHAx_9-4-2{
|
|
49
49
|
display:flex;
|
|
50
50
|
flex-direction:column;
|
|
51
51
|
align-items:stretch;
|
|
52
52
|
}
|
|
53
|
-
.magritte-animation-timeout___yd-SZ_9-4-
|
|
54
|
-
.magritte-css-variables-container___jBCr9_9-4-
|
|
53
|
+
.magritte-animation-timeout___yd-SZ_9-4-2,
|
|
54
|
+
.magritte-css-variables-container___jBCr9_9-4-2{
|
|
55
55
|
--virtual-keyboard-top-offset:0px;
|
|
56
56
|
--virtual-keyboard-bottom-offset:0px;
|
|
57
57
|
--enter-animation-duration:0ms;
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
--swipe-cancel-transition-duration:0ms;
|
|
62
62
|
}
|
|
63
63
|
@media (prefers-reduced-motion: no-preference){
|
|
64
|
-
.magritte-animation-timeout___yd-SZ_9-4-
|
|
65
|
-
.magritte-css-variables-container___jBCr9_9-4-
|
|
64
|
+
.magritte-animation-timeout___yd-SZ_9-4-2,
|
|
65
|
+
.magritte-css-variables-container___jBCr9_9-4-2{
|
|
66
66
|
--enter-animation-duration:var(--magritte-semantic-animation-ease-in-out-300-duration-v24-7-1);
|
|
67
67
|
--exit-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v24-7-1);
|
|
68
68
|
--grabber-animation-duration:var(--magritte-semantic-animation-ease-in-out-200-duration-v24-7-1);
|
|
@@ -70,52 +70,52 @@
|
|
|
70
70
|
--swipe-cancel-transition-duration:var(--magritte-semantic-animation-ease-in-out-100-duration-v24-7-1);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
.magritte-appear-animation___P84Ln_9-4-
|
|
73
|
+
.magritte-appear-animation___P84Ln_9-4-2{
|
|
74
74
|
transition-property:transform opacity;
|
|
75
75
|
transition-duration:var(--enter-animation-duration);
|
|
76
76
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-300-timing-function-v24-7-1);
|
|
77
77
|
}
|
|
78
|
-
.magritte-disappear-animation___Putks_9-4-
|
|
78
|
+
.magritte-disappear-animation___Putks_9-4-2{
|
|
79
79
|
transition-property:transform opacity;
|
|
80
80
|
transition-duration:var(--exit-animation-duration);
|
|
81
81
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v24-7-1);
|
|
82
82
|
}
|
|
83
|
-
.magritte-grabber-transition-animation___s3Oh4_9-4-
|
|
83
|
+
.magritte-grabber-transition-animation___s3Oh4_9-4-2::after{
|
|
84
84
|
transition-property:transform;
|
|
85
85
|
transition-duration:var(--grabber-animation-duration);
|
|
86
86
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-200-timing-function-v24-7-1);
|
|
87
87
|
}
|
|
88
|
-
.magritte-height-transition-animation___xNprr_9-4-
|
|
88
|
+
.magritte-height-transition-animation___xNprr_9-4-2{
|
|
89
89
|
transition-property:height;
|
|
90
90
|
transition-duration:var(--height-transition-duration);
|
|
91
91
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-400-timing-function-v24-7-1);
|
|
92
92
|
}
|
|
93
|
-
.magritte-close-by-swipe-animation___wdezY_9-4-
|
|
93
|
+
.magritte-close-by-swipe-animation___wdezY_9-4-2{
|
|
94
94
|
transition-property:transform;
|
|
95
95
|
transition-duration:var(--exit-animation-duration);
|
|
96
96
|
transition-timing-function:linear;
|
|
97
97
|
}
|
|
98
|
-
.magritte-swipe-cancel-animation___AhYj5_9-4-
|
|
98
|
+
.magritte-swipe-cancel-animation___AhYj5_9-4-2{
|
|
99
99
|
transition-property:transform;
|
|
100
100
|
transition-duration:var(--swipe-cancel-transition-duration);
|
|
101
101
|
transition-timing-function:var(--magritte-semantic-animation-ease-in-out-100-duration-v24-7-1);
|
|
102
102
|
}
|
|
103
|
-
.magritte-overlay___5a2U-_9-4-
|
|
103
|
+
.magritte-overlay___5a2U-_9-4-2{
|
|
104
104
|
pointer-events:none;
|
|
105
105
|
position:fixed;
|
|
106
106
|
inset:0;
|
|
107
107
|
}
|
|
108
|
-
.magritte-overlay-background___8Sd4V_9-4-
|
|
108
|
+
.magritte-overlay-background___8Sd4V_9-4-2{
|
|
109
109
|
position:absolute;
|
|
110
110
|
inset:0;
|
|
111
111
|
will-change:opacity;
|
|
112
112
|
transform:translate3d(0, 0, 0);
|
|
113
113
|
}
|
|
114
|
-
.magritte-overlay-background_visible___FOJgj_9-4-
|
|
114
|
+
.magritte-overlay-background_visible___FOJgj_9-4-2{
|
|
115
115
|
pointer-events:initial;
|
|
116
116
|
background-color:var(--magritte-color-component-_overlay-background-content-v24-7-1);
|
|
117
117
|
}
|
|
118
|
-
.magritte-swipe-container___sZ2n5_9-4-
|
|
118
|
+
.magritte-swipe-container___sZ2n5_9-4-2{
|
|
119
119
|
display:flex;
|
|
120
120
|
flex-direction:column;
|
|
121
121
|
align-items:stretch;
|
|
@@ -125,11 +125,11 @@
|
|
|
125
125
|
will-change:transform;
|
|
126
126
|
transform:translate3d(0, 0, 0);
|
|
127
127
|
}
|
|
128
|
-
.magritte-grabber___A7SB-_9-4-
|
|
128
|
+
.magritte-grabber___A7SB-_9-4-2{
|
|
129
129
|
flex:0 0 20px;
|
|
130
130
|
position:relative;
|
|
131
131
|
}
|
|
132
|
-
.magritte-grabber___A7SB-_9-4-
|
|
132
|
+
.magritte-grabber___A7SB-_9-4-2::after{
|
|
133
133
|
content:'';
|
|
134
134
|
position:absolute;
|
|
135
135
|
top:8px;
|
|
@@ -140,10 +140,10 @@
|
|
|
140
140
|
border-radius:2px;
|
|
141
141
|
z-index:3;
|
|
142
142
|
}
|
|
143
|
-
.magritte-grabber_ensure-safe___DR-dV_9-4-
|
|
144
|
-
transform:translateY(20px);
|
|
143
|
+
.magritte-grabber_ensure-safe___DR-dV_9-4-2::after{
|
|
144
|
+
transform:translateY(calc(20px - 2px));
|
|
145
145
|
}
|
|
146
|
-
.magritte-visual-container___-VSuY_9-4-
|
|
146
|
+
.magritte-visual-container___-VSuY_9-4-2{
|
|
147
147
|
display:flex;
|
|
148
148
|
flex-direction:column;
|
|
149
149
|
align-items:stretch;
|
|
@@ -157,11 +157,11 @@
|
|
|
157
157
|
user-select:text;
|
|
158
158
|
--magritte-ui-container-background-color-override:var(--magritte-color-component-bottom-sheet-background-content-v24-7-1);
|
|
159
159
|
}
|
|
160
|
-
.magritte-visual-container_full-screen___jCCBb_9-4-
|
|
160
|
+
.magritte-visual-container_full-screen___jCCBb_9-4-2{
|
|
161
161
|
flex:1 1 auto;
|
|
162
162
|
min-height:1px;
|
|
163
163
|
}
|
|
164
|
-
.magritte-scroll-container___4ngNY_9-4-
|
|
164
|
+
.magritte-scroll-container___4ngNY_9-4-2{
|
|
165
165
|
--magritte-ui-navigation-bar-background-override:var(--magritte-color-component-bottom-sheet-background-content-v24-7-1);
|
|
166
166
|
display:flex;
|
|
167
167
|
flex-direction:column;
|
|
@@ -170,17 +170,17 @@
|
|
|
170
170
|
min-height:1px;
|
|
171
171
|
z-index:1;
|
|
172
172
|
}
|
|
173
|
-
.magritte-scroll-container_with-top-padding___o60Dl_9-4-
|
|
173
|
+
.magritte-scroll-container_with-top-padding___o60Dl_9-4-2{
|
|
174
174
|
--magritte-ui-navigation-bar-top-padding-override:16px;
|
|
175
175
|
}
|
|
176
|
-
.magritte-native-scroll-container___JOlxE_9-4-
|
|
176
|
+
.magritte-native-scroll-container___JOlxE_9-4-2{
|
|
177
177
|
overflow:scroll;
|
|
178
178
|
scrollbar-width:none;
|
|
179
179
|
}
|
|
180
|
-
.magritte-native-scroll-container___JOlxE_9-4-
|
|
180
|
+
.magritte-native-scroll-container___JOlxE_9-4-2::-webkit-scrollbar{
|
|
181
181
|
display:none;
|
|
182
182
|
}
|
|
183
|
-
.magritte-content___1gAwP_9-4-
|
|
183
|
+
.magritte-content___1gAwP_9-4-2{
|
|
184
184
|
display:flex;
|
|
185
185
|
flex-direction:column;
|
|
186
186
|
align-items:stretch;
|
|
@@ -189,17 +189,17 @@
|
|
|
189
189
|
will-change:transform;
|
|
190
190
|
transform:translate3d(0, 0, 0);
|
|
191
191
|
}
|
|
192
|
-
.magritte-content_full-screen___2SFaO_9-4-
|
|
192
|
+
.magritte-content_full-screen___2SFaO_9-4-2{
|
|
193
193
|
flex:1 0 auto;
|
|
194
194
|
}
|
|
195
|
-
.magritte-content_sized-full-screen___45pa6_9-4-
|
|
195
|
+
.magritte-content_sized-full-screen___45pa6_9-4-2{
|
|
196
196
|
flex:1 1 auto;
|
|
197
197
|
min-height:1px;
|
|
198
198
|
}
|
|
199
|
-
.magritte-content_with-paddings___gIiAv_9-4-
|
|
199
|
+
.magritte-content_with-paddings___gIiAv_9-4-2{
|
|
200
200
|
padding:16px 16px 0;
|
|
201
201
|
}
|
|
202
|
-
.magritte-footer___RWslT_9-4-
|
|
202
|
+
.magritte-footer___RWslT_9-4-2{
|
|
203
203
|
flex:0 0 auto;
|
|
204
204
|
background-color:var(--magritte-color-component-bottom-sheet-background-content-v24-7-1);
|
|
205
205
|
z-index:2;
|
|
@@ -207,56 +207,56 @@
|
|
|
207
207
|
transform:translate3d(0, 0, 0);
|
|
208
208
|
--magritte-ui-container-background-color-override:var(--magritte-color-component-bottom-sheet-background-content-v24-7-1);
|
|
209
209
|
}
|
|
210
|
-
.magritte-footer-with-padding___KwkhC_9-4-
|
|
210
|
+
.magritte-footer-with-padding___KwkhC_9-4-2{
|
|
211
211
|
display:flex;
|
|
212
212
|
flex-direction:column;
|
|
213
213
|
gap:12px;
|
|
214
214
|
padding:16px;
|
|
215
215
|
}
|
|
216
|
-
.magritte-divider___0F8hh_9-4-
|
|
216
|
+
.magritte-divider___0F8hh_9-4-2{
|
|
217
217
|
visibility:hidden;
|
|
218
218
|
}
|
|
219
|
-
.magritte-divider_visible___pAWZM_9-4-
|
|
219
|
+
.magritte-divider_visible___pAWZM_9-4-2{
|
|
220
220
|
visibility:visible;
|
|
221
221
|
}
|
|
222
|
-
.magritte-content-overlay___HAyzL_9-4-
|
|
222
|
+
.magritte-content-overlay___HAyzL_9-4-2{
|
|
223
223
|
pointer-events:none;
|
|
224
224
|
position:absolute;
|
|
225
225
|
inset:0;
|
|
226
226
|
}
|
|
227
|
-
.magritte-no-caret___ewcMD_9-4-
|
|
227
|
+
.magritte-no-caret___ewcMD_9-4-2{
|
|
228
228
|
--magritte-ui-input-caret-color-override:transparent;
|
|
229
229
|
--magritte-ui-textarea-caret-color-override:transparent;
|
|
230
230
|
}
|
|
231
|
-
.magritte-iframe-wrapper___gBCL5_9-4-
|
|
231
|
+
.magritte-iframe-wrapper___gBCL5_9-4-2{
|
|
232
232
|
position:relative;
|
|
233
233
|
width:100%;
|
|
234
234
|
}
|
|
235
|
-
.magritte-iframe-events-interceptor___FTW-8_9-4-
|
|
235
|
+
.magritte-iframe-events-interceptor___FTW-8_9-4-2{
|
|
236
236
|
position:absolute;
|
|
237
237
|
inset:0;
|
|
238
238
|
}
|
|
239
|
-
.magritte-grow-limiter___ANaBL_9-4-
|
|
239
|
+
.magritte-grow-limiter___ANaBL_9-4-2{
|
|
240
240
|
display:flex;
|
|
241
241
|
flex-direction:column;
|
|
242
242
|
flex:1 0;
|
|
243
243
|
}
|
|
244
|
-
.magritte-header-wrapper___LdLOU_9-4-
|
|
244
|
+
.magritte-header-wrapper___LdLOU_9-4-2{
|
|
245
245
|
position:sticky;
|
|
246
246
|
z-index:1;
|
|
247
247
|
top:0;
|
|
248
248
|
--magritte-ui-nav-bar-padding-top-override:8px;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.magritte-top-padding___SfKyV_9-4-
|
|
251
|
+
.magritte-top-padding___SfKyV_9-4-2{
|
|
252
252
|
position:absolute;
|
|
253
253
|
height:12px;
|
|
254
254
|
inset:0 0 auto;
|
|
255
255
|
background-color:var(--magritte-ui-container-background-color-override);
|
|
256
256
|
}
|
|
257
|
-
.magritte-title-wrapper___EqVH0_9-4-
|
|
257
|
+
.magritte-title-wrapper___EqVH0_9-4-2{
|
|
258
258
|
padding-top:24px;
|
|
259
259
|
}
|
|
260
|
-
.magritte-content-wrapper___Y-au-_9-4-
|
|
260
|
+
.magritte-content-wrapper___Y-au-_9-4-2{
|
|
261
261
|
padding-top:16px;
|
|
262
262
|
}
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import '@hh.ru/magritte-ui-layer';
|
|
|
26
26
|
import '@hh.ru/magritte-ui-textarea';
|
|
27
27
|
import '@hh.ru/magritte-ui-theme-wrapper';
|
|
28
28
|
import '@hh.ru/magritte-ui-tree-selector';
|
|
29
|
-
import './bottom-sheet-
|
|
29
|
+
import './bottom-sheet-CTyOn_00.js';
|
|
30
30
|
import '@hh.ru/magritte-ui-nav-bar';
|
|
31
31
|
import '@hh.ru/magritte-ui-title';
|
|
32
32
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-bottom-sheet",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "c13e22b473df1c42c30d787cef7f937e3c2a195f"
|
|
54
54
|
}
|
package/bottom-sheet-O3Lj2N-k.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"flex-container":"magritte-flex-container___muHAx_9-4-1","flexContainer":"magritte-flex-container___muHAx_9-4-1","animation-timeout":"magritte-animation-timeout___yd-SZ_9-4-1","animationTimeout":"magritte-animation-timeout___yd-SZ_9-4-1","css-variables-container":"magritte-css-variables-container___jBCr9_9-4-1","cssVariablesContainer":"magritte-css-variables-container___jBCr9_9-4-1","appear-animation":"magritte-appear-animation___P84Ln_9-4-1","appearAnimation":"magritte-appear-animation___P84Ln_9-4-1","disappear-animation":"magritte-disappear-animation___Putks_9-4-1","disappearAnimation":"magritte-disappear-animation___Putks_9-4-1","grabber-transition-animation":"magritte-grabber-transition-animation___s3Oh4_9-4-1","grabberTransitionAnimation":"magritte-grabber-transition-animation___s3Oh4_9-4-1","height-transition-animation":"magritte-height-transition-animation___xNprr_9-4-1","heightTransitionAnimation":"magritte-height-transition-animation___xNprr_9-4-1","close-by-swipe-animation":"magritte-close-by-swipe-animation___wdezY_9-4-1","closeBySwipeAnimation":"magritte-close-by-swipe-animation___wdezY_9-4-1","swipe-cancel-animation":"magritte-swipe-cancel-animation___AhYj5_9-4-1","swipeCancelAnimation":"magritte-swipe-cancel-animation___AhYj5_9-4-1","overlay":"magritte-overlay___5a2U-_9-4-1","overlay-background":"magritte-overlay-background___8Sd4V_9-4-1","overlayBackground":"magritte-overlay-background___8Sd4V_9-4-1","overlay-background_visible":"magritte-overlay-background_visible___FOJgj_9-4-1","overlayBackgroundVisible":"magritte-overlay-background_visible___FOJgj_9-4-1","swipe-container":"magritte-swipe-container___sZ2n5_9-4-1","swipeContainer":"magritte-swipe-container___sZ2n5_9-4-1","grabber":"magritte-grabber___A7SB-_9-4-1","grabber_ensure-safe":"magritte-grabber_ensure-safe___DR-dV_9-4-1","grabberEnsureSafe":"magritte-grabber_ensure-safe___DR-dV_9-4-1","visual-container":"magritte-visual-container___-VSuY_9-4-1","visualContainer":"magritte-visual-container___-VSuY_9-4-1","visual-container_full-screen":"magritte-visual-container_full-screen___jCCBb_9-4-1","visualContainerFullScreen":"magritte-visual-container_full-screen___jCCBb_9-4-1","scroll-container":"magritte-scroll-container___4ngNY_9-4-1","scrollContainer":"magritte-scroll-container___4ngNY_9-4-1","scroll-container_with-top-padding":"magritte-scroll-container_with-top-padding___o60Dl_9-4-1","scrollContainerWithTopPadding":"magritte-scroll-container_with-top-padding___o60Dl_9-4-1","native-scroll-container":"magritte-native-scroll-container___JOlxE_9-4-1","nativeScrollContainer":"magritte-native-scroll-container___JOlxE_9-4-1","content":"magritte-content___1gAwP_9-4-1","content_full-screen":"magritte-content_full-screen___2SFaO_9-4-1","contentFullScreen":"magritte-content_full-screen___2SFaO_9-4-1","content_sized-full-screen":"magritte-content_sized-full-screen___45pa6_9-4-1","contentSizedFullScreen":"magritte-content_sized-full-screen___45pa6_9-4-1","content_with-paddings":"magritte-content_with-paddings___gIiAv_9-4-1","contentWithPaddings":"magritte-content_with-paddings___gIiAv_9-4-1","footer":"magritte-footer___RWslT_9-4-1","footer-with-padding":"magritte-footer-with-padding___KwkhC_9-4-1","footerWithPadding":"magritte-footer-with-padding___KwkhC_9-4-1","divider":"magritte-divider___0F8hh_9-4-1","divider_visible":"magritte-divider_visible___pAWZM_9-4-1","dividerVisible":"magritte-divider_visible___pAWZM_9-4-1","content-overlay":"magritte-content-overlay___HAyzL_9-4-1","contentOverlay":"magritte-content-overlay___HAyzL_9-4-1","no-caret":"magritte-no-caret___ewcMD_9-4-1","noCaret":"magritte-no-caret___ewcMD_9-4-1","iframe-wrapper":"magritte-iframe-wrapper___gBCL5_9-4-1","iframeWrapper":"magritte-iframe-wrapper___gBCL5_9-4-1","iframe-events-interceptor":"magritte-iframe-events-interceptor___FTW-8_9-4-1","iframeEventsInterceptor":"magritte-iframe-events-interceptor___FTW-8_9-4-1","grow-limiter":"magritte-grow-limiter___ANaBL_9-4-1","growLimiter":"magritte-grow-limiter___ANaBL_9-4-1","header-wrapper":"magritte-header-wrapper___LdLOU_9-4-1","headerWrapper":"magritte-header-wrapper___LdLOU_9-4-1"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=bottom-sheet-O3Lj2N-k.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bottom-sheet-O3Lj2N-k.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|