expo-navigation-bar 2.0.1 → 2.1.1

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/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.1.1 — 2023-02-09
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 2.1.0 — 2023-02-03
18
+
19
+ ### 💡 Others
20
+
21
+ - On Android bump `compileSdkVersion` and `targetSdkVersion` to `33`. ([#20721](https://github.com/expo/expo/pull/20721) by [@lukmccall](https://github.com/lukmccall))
22
+
13
23
  ## 2.0.1 — 2022-10-28
14
24
 
15
25
  _This version does not introduce any user-facing changes._
package/README.md CHANGED
@@ -29,7 +29,7 @@ expo install expo-navigation-bar
29
29
  Contributions are very welcome! Please refer to guidelines described in the [contributing guide][contributing].
30
30
 
31
31
 
32
- [docs-main]: https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/navigation-bar.md
32
+ [docs-main]: https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/navigation-bar.mdx
33
33
  [docs-stable]: https://docs.expo.dev/versions/latest/sdk/navigation-bar/
34
34
  [docs-workflows]: https://docs.expo.dev/versions/latest/introduction/managed-vs-bare/
35
35
  [contributing]: https://github.com/expo/expo#contributing
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '2.0.1'
6
+ version = '2.1.1'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -22,7 +22,7 @@ buildscript {
22
22
  if (ext.has("kotlinVersion")) {
23
23
  ext.kotlinVersion()
24
24
  } else {
25
- ext.safeExtGet("kotlinVersion", "1.6.10")
25
+ ext.safeExtGet("kotlinVersion", "1.8.10")
26
26
  }
27
27
  }
28
28
 
@@ -59,7 +59,7 @@ afterEvaluate {
59
59
  }
60
60
 
61
61
  android {
62
- compileSdkVersion safeExtGet("compileSdkVersion", 31)
62
+ compileSdkVersion safeExtGet("compileSdkVersion", 33)
63
63
 
64
64
  compileOptions {
65
65
  sourceCompatibility JavaVersion.VERSION_11
@@ -72,9 +72,9 @@ android {
72
72
 
73
73
  defaultConfig {
74
74
  minSdkVersion safeExtGet("minSdkVersion", 21)
75
- targetSdkVersion safeExtGet("targetSdkVersion", 31)
75
+ targetSdkVersion safeExtGet("targetSdkVersion", 33)
76
76
  versionCode 1
77
- versionName '2.0.1'
77
+ versionName '2.1.1'
78
78
  }
79
79
  lintOptions {
80
80
  abortOnError false
@@ -4,23 +4,23 @@
4
4
  * - `dark` makes buttons **darker** to adjust for a mostly light nav bar.
5
5
  * - `light` makes buttons **lighter** to adjust for a mostly dark nav bar.
6
6
  */
7
- export declare type NavigationBarButtonStyle = 'light' | 'dark';
7
+ export type NavigationBarButtonStyle = 'light' | 'dark';
8
8
  /**
9
9
  * Visibility of the navigation bar.
10
10
  */
11
- export declare type NavigationBarVisibility = 'visible' | 'hidden';
11
+ export type NavigationBarVisibility = 'visible' | 'hidden';
12
12
  /**
13
13
  * Interaction behavior for the system navigation bar.
14
14
  */
15
- export declare type NavigationBarBehavior = 'overlay-swipe' | 'inset-swipe' | 'inset-touch';
15
+ export type NavigationBarBehavior = 'overlay-swipe' | 'inset-swipe' | 'inset-touch';
16
16
  /**
17
17
  * Navigation bar positional mode.
18
18
  */
19
- export declare type NavigationBarPosition = 'relative' | 'absolute';
19
+ export type NavigationBarPosition = 'relative' | 'absolute';
20
20
  /**
21
21
  * Current system UI visibility state. Due to platform constraints, this will return when the status bar visibility changes as well as the navigation bar.
22
22
  */
23
- export declare type NavigationBarVisibilityEvent = {
23
+ export type NavigationBarVisibilityEvent = {
24
24
  /**
25
25
  * Current navigation bar visibility.
26
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationBar.types.d.ts","sourceRoot":"","sources":["../src/NavigationBar.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oBAAY,wBAAwB,GAAG,OAAO,GAAG,MAAM,CAAC;AAExD;;GAEG;AACH,oBAAY,uBAAuB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D;;GAEG;AACH,oBAAY,qBAAqB,GAAG,eAAe,GAAG,aAAa,GAAG,aAAa,CAAC;AAEpF;;GAEG;AACH,oBAAY,qBAAqB,GAAG,UAAU,GAAG,UAAU,CAAC;AAE5D;;GAEG;AACH,oBAAY,4BAA4B,GAAG;IACzC;;OAEG;IACH,UAAU,EAAE,uBAAuB,CAAC;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"NavigationBar.types.d.ts","sourceRoot":"","sources":["../src/NavigationBar.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,GAAG,MAAM,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,eAAe,GAAG,aAAa,GAAG,aAAa,CAAC;AAEpF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,UAAU,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,UAAU,EAAE,uBAAuB,CAAC;IACpC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-navigation-bar",
3
- "version": "2.0.1",
3
+ "version": "2.1.1",
4
4
  "description": "Interact with the system navigation bar",
5
5
  "main": "build/NavigationBar.js",
6
6
  "types": "build/NavigationBar.d.ts",
@@ -43,5 +43,5 @@
43
43
  "peerDependencies": {
44
44
  "expo": "*"
45
45
  },
46
- "gitHead": "59081bb17e727b10f2a00cd07bb45cd283a6f6a5"
46
+ "gitHead": "1f8a6a09570fd451378565ca34933018ce48454e"
47
47
  }
@@ -0,0 +1 @@
1
+ module.exports = require('expo-module-scripts/babel.config.plugin');
@@ -1,7 +1,7 @@
1
1
  import { NavigationBarVisibility, NavigationBarBehavior, NavigationBarPosition, NavigationBarButtonStyle } from 'expo-navigation-bar';
2
2
  import { ExpoConfig } from 'expo/config';
3
3
  import { ConfigPlugin, AndroidConfig } from 'expo/config-plugins';
4
- export declare type Props = {
4
+ export type Props = {
5
5
  borderColor?: string;
6
6
  backgroundColor?: string | null;
7
7
  barStyle?: NavigationBarButtonStyle | null;