@compsych/mobile-ui 1.0.16 → 1.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compsych/mobile-ui",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "ComPsych React Native Design System — 19 mobile UI components with self-contained design tokens",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -149,7 +149,6 @@ export function Input({
149
149
  paddingHorizontal: s.paddingH,
150
150
  paddingVertical: s.paddingV,
151
151
  gap: s.gap,
152
- overflow: 'hidden',
153
152
  }}
154
153
  >
155
154
  {/* Leading icon */}
@@ -6,6 +6,7 @@ import { useTheme } from '../../theme';
6
6
 
7
7
  export interface ScreenContainerProps extends ScrollViewProps {
8
8
  children?: React.ReactNode;
9
+ noPadding?: boolean;
9
10
  }
10
11
 
11
12
  /**
@@ -21,7 +22,7 @@ export const ScreenContainer = React.forwardRef<
21
22
  ScrollView,
22
23
  ScreenContainerProps
23
24
  >(function ScreenContainer(
24
- { children, style, contentContainerStyle, ...rest },
25
+ { children, style, contentContainerStyle, noPadding = false, ...rest },
25
26
  ref,
26
27
  ) {
27
28
  const { dimensions: dim, colorRoles: cr } = useTheme();
@@ -37,10 +38,12 @@ export const ScreenContainer = React.forwardRef<
37
38
  style,
38
39
  ]}
39
40
  contentContainerStyle={[
40
- {
41
- paddingHorizontal: dim.spacing.padding.sysPadding16,
42
- paddingVertical: dim.spacing.padding.sysPadding8,
43
- },
41
+ noPadding
42
+ ? undefined
43
+ : {
44
+ paddingHorizontal: dim.spacing.padding.sysPadding16,
45
+ paddingVertical: dim.spacing.padding.sysPadding8,
46
+ },
44
47
  contentContainerStyle,
45
48
  ]}
46
49
  {...rest}