@alveole/components 0.16.5 → 0.16.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ToolbarBottomNav.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarBottomNav/ToolbarBottomNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC1E,eAAO,MAAM,aAAa,KAAK,CAAC;AAEhC,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAoB5D,CAAC"}
1
+ {"version":3,"file":"ToolbarBottomNav.d.ts","sourceRoot":"","sources":["../../../src/ui/ToolbarBottomNav/ToolbarBottomNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC1E,eAAO,MAAM,aAAa,KAAK,CAAC;AAEhC,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAuB5D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Tabs as ExpoTabs } from 'expo-router';
3
- import { useStyles } from './ToolbarBottomNav.styles';
4
3
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
4
+ import { useStyles } from './ToolbarBottomNav.styles';
5
5
  export const TabItemHeight = 60;
6
6
  export const ToolbarBottomNav = (props) => {
7
7
  const { screenOptions, ...tabProps } = props;
@@ -11,6 +11,9 @@ export const ToolbarBottomNav = (props) => {
11
11
  headerShown: false,
12
12
  ...styles,
13
13
  tabBarStyle: { ...styles.tabBarStyle, height: TabItemHeight, marginBottom: bottom },
14
+ sceneStyle: {
15
+ backgroundColor: styles.tabBarStyle.backgroundColor,
16
+ },
14
17
  tabBarActiveTintColor: tabBarActiveTintColor.color,
15
18
  tabBarInactiveTintColor: tabBarInactiveTintColor.color,
16
19
  ...screenOptions,
@@ -7,7 +7,7 @@ declare const _default: {
7
7
  component: any;
8
8
  styleFn: () => {
9
9
  tabBarStyle: {
10
- background: "#FFFFFF";
10
+ backgroundColor: "#FFFFFF";
11
11
  borderColor: "#DEE3EC";
12
12
  };
13
13
  tabBarLabelStyle: {
@@ -1,6 +1,6 @@
1
1
  export declare const useStyles: () => {
2
2
  tabBarStyle: {
3
- background: "#FFFFFF";
3
+ backgroundColor: "#FFFFFF";
4
4
  borderColor: "#DEE3EC";
5
5
  };
6
6
  tabBarLabelStyle: {
@@ -1,7 +1,7 @@
1
1
  import { makeStyles } from '@alveole/theme';
2
2
  export const useStyles = makeStyles(({ text, color }) => ({
3
3
  tabBarStyle: {
4
- background: color.light.background['default-grey'],
4
+ backgroundColor: color.light.background['default-grey'],
5
5
  borderColor: color.light.border['default-grey'],
6
6
  },
7
7
  tabBarLabelStyle: text['Corps de texte'].XS.Regular,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alveole/components",
3
- "version": "0.16.5",
3
+ "version": "0.16.7",
4
4
  "description": "Shared UI components.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",