first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
import React from 'react';
import { type ColorValue } from 'react-native';
import { StatusBarProps, StatusBarStyle, StatusBarAnimation } from './types';
/**
* A component that allows you to configure your status bar without directly calling imperative
* methods like `setBarStyle`.
*
* You will likely have multiple `StatusBar` components mounted in the same app at the same time.
* For example, if you have multiple screens in your app, you may end up using one per screen.
* The props of each `StatusBar` component will be merged in the order that they were mounted.
* This component is built on top of the [StatusBar](https://reactnative.dev/docs/statusbar)
* component exported from React Native, and it provides defaults that work better for Expo users.
*/
export declare function StatusBar({ style, hideTransitionAnimation, animated, hidden }: StatusBarProps): React.JSX.Element;
/**
* Set the bar style of the status bar.
* @param style The color of the status bar text.
* @param animated If the transition should be animated.
*/
export declare function setStatusBarStyle(style: StatusBarStyle, animated?: boolean): void;
/**
* Toggle visibility of the status bar.
* @param hidden If the status bar should be hidden.
* @param animation Animation to use when toggling hidden, defaults to `'none'`.
*/
export declare function setStatusBarHidden(hidden: boolean, animation?: StatusBarAnimation): void;
/**
* Set the background color of the status bar.
* @param backgroundColor The background color of the status bar.
* @param animated `true` to animate the background color change, `false` to change immediately.
* @platform android
* @deprecated Due to Android edge-to-edge enforcement, setting the status bar background color is deprecated and has no effect. This will be removed in a future release.
*/
export declare function setStatusBarBackgroundColor(backgroundColor: ColorValue, animated?: boolean): void;
/**
* Toggle visibility of the network activity indicator.
* @param visible If the network activity indicator should be visible.
* @platform ios
* @deprecated The status bar network activity indicator is not supported in iOS 13 and later. This will be removed in a future release.
*/
export declare function setStatusBarNetworkActivityIndicatorVisible(visible: boolean): void;
/**
* Set the translucency of the status bar.
* @param translucent Whether the app can draw under the status bar. When `true`, content will be
* rendered under the status bar. This is always `true` on iOS and cannot be changed.
* @platform android
* @deprecated Due to Android edge-to-edge enforcement, setting the status bar as translucent is deprecated and has no effect. This will be removed in a future release.
*/
export declare function setStatusBarTranslucent(translucent: boolean): void;
//# sourceMappingURL=NativeStatusBarWrapper.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"NativeStatusBarWrapper.d.ts","sourceRoot":"","sources":["../src/NativeStatusBarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAKL,KAAK,UAAU,EAChB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7E;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,cAAc,qBAc7F;AAGD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,CAAC,EAAE,OAAO,QAE1E;AAGD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,kBAAkB,QAEjF;AAGD;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,eAAe,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,OAAO,QAAI;AAG/F;;;;;GAKG;AACH,wBAAgB,2CAA2C,CAAC,OAAO,EAAE,OAAO,QAAI;AAGhF;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,OAAO,QAAI"}

View File

@@ -0,0 +1,8 @@
import { StatusBarAnimation, StatusBarProps, StatusBarStyle } from './types';
export declare function StatusBar(props: StatusBarProps): import("react").JSX.Element;
export declare function setStatusBarStyle(style: StatusBarStyle, animated?: boolean): void;
export declare function setStatusBarHidden(hidden: boolean, animation?: StatusBarAnimation): void;
export declare function setStatusBarBackgroundColor(backgroundColor: string, animated?: boolean): void;
export declare function setStatusBarNetworkActivityIndicatorVisible(visible: boolean): void;
export declare function setStatusBarTranslucent(translucent: boolean): void;
//# sourceMappingURL=StatusBar.android.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"StatusBar.android.d.ts","sourceRoot":"","sources":["../src/StatusBar.android.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE7E,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,+BAgB9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,EAAE,QAAQ,CAAC,EAAE,OAAO,QAE1E;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,kBAAkB,QAEjF;AAED,wBAAgB,2BAA2B,CAAC,eAAe,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,QAItF;AAED,wBAAgB,2CAA2C,CAAC,OAAO,EAAE,OAAO,QAM3E;AAED,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,OAAO,QAM3D"}

3
node_modules/expo-status-bar/build/StatusBar.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export { StatusBar, setStatusBarStyle, setStatusBarHidden, setStatusBarBackgroundColor, setStatusBarNetworkActivityIndicatorVisible, setStatusBarTranslucent, } from './NativeStatusBarWrapper';
export { StatusBarStyle, StatusBarAnimation, StatusBarProps } from './types';
//# sourceMappingURL=StatusBar.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"StatusBar.d.ts","sourceRoot":"","sources":["../src/StatusBar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,2BAA2B,EAC3B,2CAA2C,EAC3C,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}

View File

@@ -0,0 +1,7 @@
export declare function setStatusBarBackgroundColor(): void;
export declare function setStatusBarNetworkActivityIndicatorVisible(): void;
export declare function setStatusBarHidden(): void;
export declare function setStatusBarStyle(): void;
export declare function setStatusBarTranslucent(): void;
export declare function StatusBar(): null;
//# sourceMappingURL=StatusBar.web.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"StatusBar.web.d.ts","sourceRoot":"","sources":["../src/StatusBar.web.ts"],"names":[],"mappings":"AAAA,wBAAgB,2BAA2B,SAAK;AAChD,wBAAgB,2CAA2C,SAAK;AAChE,wBAAgB,kBAAkB,SAAK;AACvC,wBAAgB,iBAAiB,SAAK;AACtC,wBAAgB,uBAAuB,SAAK;AAC5C,wBAAgB,SAAS,SAExB"}

48
node_modules/expo-status-bar/build/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,48 @@
export type StatusBarStyle = 'auto' | 'inverted' | 'light' | 'dark';
export type StatusBarAnimation = 'none' | 'fade' | 'slide';
export type StatusBarProps = {
/**
* Sets the color of the status bar text. Default value is `"auto"` which
* picks the appropriate value according to the active color scheme, eg:
* if your app is dark mode, the style will be `"light"`.
* @default 'auto'
*/
style?: StatusBarStyle;
/**
* If the transition between status bar property changes should be
* animated. Supported for `backgroundColor`, `barStyle` and `hidden`.
*/
animated?: boolean;
/**
* If the status bar is hidden.
*/
hidden?: boolean;
/**
* The transition effect when showing and hiding the status bar using
* the hidden prop.
* @default 'fade'
* @platform ios
*/
hideTransitionAnimation?: StatusBarAnimation;
/**
* If the network activity indicator should be visible.
* @platform ios
* @deprecated The status bar network activity indicator is not supported in iOS 13 and later. This will be removed in a future release.
*/
networkActivityIndicatorVisible?: boolean;
/**
* The background color of the status bar.
* @platform android
* @deprecated Due to Android edge-to-edge enforcement, setting the status bar background color is deprecated and has no effect. This will be removed in a future release.
*/
backgroundColor?: string;
/**
* If the status bar is translucent. When translucent is set to `true`,
* the app will draw under the status bar. This is the default behaviour in
* projects created with Expo tools because it is consistent with iOS.
* @platform android
* @deprecated Due to Android edge-to-edge enforcement, setting the status bar as translucent is deprecated and has no effect. This will be removed in a future release.
*/
translucent?: boolean;
};
//# sourceMappingURL=types.d.ts.map

1
node_modules/expo-status-bar/build/types.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAGpE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAG3D,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,kBAAkB,CAAC;IAE7C;;;;OAIG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;IAE1C;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}