@hero-design/rn 8.103.1 → 8.103.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.
@@ -20,7 +20,7 @@ declare const StyledFloatingBottomSheet: import("@emotion/native").StyledCompone
20
20
  theme?: import("@emotion/react").Theme;
21
21
  as?: React.ElementType;
22
22
  }, {}, {}>;
23
- declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
23
+ declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
24
24
  theme?: import("@emotion/react").Theme;
25
25
  as?: React.ElementType;
26
26
  }, {}, {}>;
@@ -24,7 +24,6 @@ declare const getBottomSheetTheme: (theme: GlobalTheme) => {
24
24
  floatingContentMargin: number;
25
25
  floatingInnerPadding: number;
26
26
  floatingHeaderIconPadding: number;
27
- contentPaddingBottom: number;
28
27
  };
29
28
  };
30
29
  export default getBottomSheetTheme;
@@ -1,34 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- import { SafeAreaView } from 'react-native-safe-area-context';
4
- import { StyleProp, ViewStyle } from 'react-native';
5
- import {
6
- StyledBottomSheet,
7
- StyledFloatingBottomSheet,
8
- StyledFloatingWrapper,
9
- } from './StyledBottomSheet';
10
-
11
- type ContentContainerProps = {
12
- children: ReactNode;
13
- variant: 'fixed' | 'floating';
14
- style?: StyleProp<ViewStyle>;
15
- };
16
-
17
- const ContentContainer = ({
18
- children,
19
- variant,
20
- style,
21
- }: ContentContainerProps) =>
22
- variant === 'fixed' ? (
23
- <SafeAreaView edges={['left', 'right', 'top']} style={{ maxHeight: '94%' }}>
24
- <StyledBottomSheet style={style}>{children}</StyledBottomSheet>
25
- </SafeAreaView>
26
- ) : (
27
- <StyledFloatingWrapper>
28
- <StyledFloatingBottomSheet style={style}>
29
- {children}
30
- </StyledFloatingBottomSheet>
31
- </StyledFloatingWrapper>
32
- );
33
-
34
- export default ContentContainer;
@@ -1,10 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import React from 'react';
3
- import { StyleProp, ViewStyle } from 'react-native';
4
- type ContentContainerProps = {
5
- children: ReactNode;
6
- variant: 'fixed' | 'floating';
7
- style?: StyleProp<ViewStyle>;
8
- };
9
- declare const ContentContainer: ({ children, variant, style, }: ContentContainerProps) => React.JSX.Element;
10
- export default ContentContainer;