react-native-boxes 1.4.71 → 1.4.73

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": "react-native-boxes",
3
- "version": "1.4.71",
3
+ "version": "1.4.73",
4
4
  "description": "A react native library for rapid development of UI using boxes",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/Bar.tsx CHANGED
@@ -202,7 +202,7 @@ export function BottomNavBar(props: ViewProps &
202
202
  }}
203
203
  {...props}
204
204
  style={[{
205
- borderWidth: 1,
205
+ borderWidth: 3,
206
206
  borderColor: theme.colors.background,
207
207
  borderRadius: theme.dimens.space.md,
208
208
  width: isDesktop() ? '50%' : '100%',
package/src/Modal.tsx CHANGED
@@ -217,6 +217,7 @@ export function Expand(props: ViewProps & {
217
217
  title?: string,
218
218
  iconName?: string,
219
219
  iconPosition?: 'left' | 'right',
220
+ leftPadding?: number,
220
221
  titleStyle?: StyleProp<TextStyle>,
221
222
  titleBackgroundColor?: string,
222
223
  iconStyle?: IconProps,
@@ -358,8 +359,8 @@ export function Expand(props: ViewProps & {
358
359
  onLayout={onLayoutContent}>
359
360
  {
360
361
  (expanded || initDone) && (
361
- <VBox onLayout={onLayoutContent} style={{
362
- paddingStart: theme.dimens.space.md * 3
362
+ <VBox onLayout={onLayoutContent} style={{
363
+ paddingStart: props.leftPadding !== undefined ? props.leftPadding : theme.dimens.space.md * 3
363
364
  }}>
364
365
  {props.children}
365
366
  </VBox>