Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-status-bar

Package Overview
Dependencies
Maintainers
21
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-status-bar - npm Package Compare versions

Comparing version 1.2.0 to 1.4.4

build/ExpoStatusBar.android.d.ts.map

1

build/ExpoStatusBar.android.d.ts
import { StatusBarProps } from './StatusBar.types';
export default function ExpoStatusBar(props: StatusBarProps): JSX.Element;
//# sourceMappingURL=ExpoStatusBar.android.d.ts.map

@@ -13,1 +13,2 @@ import { StatusBarProps } from './StatusBar.types';

export default function ExpoStatusBar(props: StatusBarProps): null;
//# sourceMappingURL=ExpoStatusBar.d.ts.map
import { StatusBarProps } from './StatusBar.types';
export default function ExpoStatusBar(props: StatusBarProps): JSX.Element;
//# sourceMappingURL=ExpoStatusBar.ios.d.ts.map

@@ -8,1 +8,2 @@ /**

export default function setStatusBarBackgroundColor(backgroundColor: string, animated: boolean): void;
//# sourceMappingURL=setStatusBarBackgroundColor.d.ts.map

@@ -8,1 +8,2 @@ import { StatusBarAnimation } from './StatusBar.types';

export default function setStatusBarHidden(hidden: boolean, animation: StatusBarAnimation): void;
//# sourceMappingURL=setStatusBarHidden.d.ts.map

@@ -7,1 +7,2 @@ /**

export default function setStatusBarNetworkActivityIndicatorVisible(visible: boolean): void;
//# sourceMappingURL=setStatusBarNetworkActivityIndicatorVisible.d.ts.map

@@ -7,1 +7,2 @@ import { StatusBarStyle } from './StatusBar.types';

export default function setStatusBarStyle(style: StatusBarStyle): void;
//# sourceMappingURL=setStatusBarStyle.d.ts.map

@@ -8,1 +8,2 @@ /**

export default function setStatusBarTranslucent(translucent: boolean): void;
//# sourceMappingURL=setStatusBarTranslucent.d.ts.map

@@ -8,1 +8,2 @@ export * from './StatusBar.types';

export { default as StatusBar } from './ExpoStatusBar';
//# sourceMappingURL=StatusBar.d.ts.map

7

build/StatusBar.types.d.ts

@@ -1,4 +0,4 @@

export declare type StatusBarStyle = 'auto' | 'inverted' | 'light' | 'dark';
export declare type StatusBarAnimation = 'none' | 'fade' | 'slide';
export declare type StatusBarProps = {
export type StatusBarStyle = 'auto' | 'inverted' | 'light' | 'dark';
export type StatusBarAnimation = 'none' | 'fade' | 'slide';
export type StatusBarProps = {
/**

@@ -45,1 +45,2 @@ * Sets the color of the status bar text. Default value is `"auto"` which

};
//# sourceMappingURL=StatusBar.types.d.ts.map
import { ColorSchemeName } from 'react-native';
import { StatusBarStyle } from './StatusBar.types';
export default function styleToBarStyle(style?: StatusBarStyle, colorScheme?: ColorSchemeName): 'light-content' | 'dark-content';
//# sourceMappingURL=styleToBarStyle.d.ts.map
import { StatusBarStyle } from './StatusBar.types';
export default function styleToBarStyle(style: StatusBarStyle | undefined, colorScheme: 'light' | 'dark'): 'light-content' | 'dark-content';
//# sourceMappingURL=styleToBarStyle.web.d.ts.map
import { useColorScheme as maybeUseColorScheme } from 'react-native';
declare const useColorScheme: typeof maybeUseColorScheme;
export default useColorScheme;
//# sourceMappingURL=useColorScheme.d.ts.map

@@ -13,2 +13,28 @@ # Changelog

## 1.4.4 — 2023-02-09
_This version does not introduce any user-facing changes._
## 1.4.3 — 2023-02-03
### 💡 Others
- On Android bump `compileSdkVersion` and `targetSdkVersion` to `33`. ([#20721](https://github.com/expo/expo/pull/20721) by [@lukmccall](https://github.com/lukmccall))
## 1.4.2 — 2022-11-02
_This version does not introduce any user-facing changes._
## 1.4.1 — 2022-10-25
_This version does not introduce any user-facing changes._
## 1.4.0 — 2022-07-07
_This version does not introduce any user-facing changes._
## 1.3.0 — 2022-04-18
_This version does not introduce any user-facing changes._
## 1.2.0 — 2021-12-03

@@ -15,0 +41,0 @@

{
"name": "expo-status-bar",
"version": "1.2.0",
"version": "1.4.4",
"description": "Provides the same interface as the React Native StatusBar API, but with slightly different defaults to work great in Expo environments.",

@@ -33,8 +33,11 @@ "main": "build/StatusBar.js",

"devDependencies": {
"expo-module-scripts": "^2.0.0"
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/react-native": "^11.3.0",
"expo-module-scripts": "^3.0.0"
},
"jest": {
"preset": "expo-module-scripts/enzyme"
"preset": "expo-module-scripts"
},
"gitHead": "2e5c6983b86d5ecfca028ba64002897d8adc2cc4"
"gitHead": "1f8a6a09570fd451378565ca34933018ce48454e"
}

@@ -10,8 +10,8 @@ # expo-status-bar

- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/status-bar.md)
- [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/status-bar/)
- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/status-bar.mdx)
- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/status-bar/)
# Installation in managed Expo projects
For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/image/). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
For [managed](https://docs.expo.dev/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/image/). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.

@@ -18,0 +18,0 @@ Please refer to the [React Native StatusBar API documentation](https://reactnative.dev/docs/statusbar).

@@ -8,3 +8,3 @@ // @generated by expo-module-scripts

"include": ["./src"],
"exclude": ["**/__mocks__/*", "**/__tests__/*"]
"exclude": ["**/__mocks__/*", "**/__tests__/*", "**/__stories__/*"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc