expo-navigation-bar 2.3.0 → 2.4.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.4.1 — 2023-08-02
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix support for importing on iOS. ([#23761](https://github.com/expo/expo/pull/23761) by [@EvanBacon](https://github.com/EvanBacon))
18
+
19
+ ## 2.4.0 — 2023-07-28
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 2.3.0 — 2023-06-21
14
24
 
15
25
  ### 🐛 Bug fixes
@@ -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.3.0'
6
+ version = '2.4.1'
7
7
 
8
8
  buildscript {
9
9
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -67,7 +67,7 @@ android {
67
67
  minSdkVersion safeExtGet("minSdkVersion", 21)
68
68
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
69
69
  versionCode 1
70
- versionName '2.3.0'
70
+ versionName '2.4.1'
71
71
  }
72
72
  lintOptions {
73
73
  abortOnError false
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+ export default _default;
3
+ //# sourceMappingURL=ExpoNavigationBar.android.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpoNavigationBar.android.d.ts","sourceRoot":"","sources":["../src/ExpoNavigationBar.android.ts"],"names":[],"mappings":";AAEA,wBAAwD"}
@@ -0,0 +1,3 @@
1
+ import { requireNativeModule } from 'expo-modules-core';
2
+ export default requireNativeModule('ExpoNavigationBar');
3
+ //# sourceMappingURL=ExpoNavigationBar.android.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExpoNavigationBar.android.js","sourceRoot":"","sources":["../src/ExpoNavigationBar.android.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAe,mBAAmB,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["import { requireNativeModule } from 'expo-modules-core';\n\nexport default requireNativeModule('ExpoNavigationBar');\n"]}
@@ -1,3 +1,3 @@
1
- declare const _default: import("expo-modules-core").ProxyNativeModule;
1
+ declare const _default: any;
2
2
  export default _default;
3
3
  //# sourceMappingURL=ExpoNavigationBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoNavigationBar.d.ts","sourceRoot":"","sources":["../src/ExpoNavigationBar.ts"],"names":[],"mappings":";AAEA,wBAA0D"}
1
+ {"version":3,"file":"ExpoNavigationBar.d.ts","sourceRoot":"","sources":["../src/ExpoNavigationBar.ts"],"names":[],"mappings":";AAAA,wBAAyB"}
@@ -1,3 +1,2 @@
1
- import { NativeModulesProxy } from 'expo-modules-core';
2
- export default NativeModulesProxy.ExpoNavigationBar ?? {};
1
+ export default {};
3
2
  //# sourceMappingURL=ExpoNavigationBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoNavigationBar.js","sourceRoot":"","sources":["../src/ExpoNavigationBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,eAAe,kBAAkB,CAAC,iBAAiB,IAAI,EAAE,CAAC","sourcesContent":["import { NativeModulesProxy } from 'expo-modules-core';\n\nexport default NativeModulesProxy.ExpoNavigationBar ?? {};\n"]}
1
+ {"version":3,"file":"ExpoNavigationBar.js","sourceRoot":"","sources":["../src/ExpoNavigationBar.ts"],"names":[],"mappings":"AAAA,eAAe,EAAS,CAAC","sourcesContent":["export default {} as any;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-navigation-bar",
3
- "version": "2.3.0",
3
+ "version": "2.4.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": "fa5ecca8251986b9f197cc14074eec0ab6dfb6db"
46
+ "gitHead": "2240630a92eb79a4e4bf73e1439916c394876478"
47
47
  }
@@ -0,0 +1,3 @@
1
+ import { requireNativeModule } from 'expo-modules-core';
2
+
3
+ export default requireNativeModule('ExpoNavigationBar');
@@ -1,3 +1 @@
1
- import { NativeModulesProxy } from 'expo-modules-core';
2
-
3
- export default NativeModulesProxy.ExpoNavigationBar ?? {};
1
+ export default {} as any;
package/tsconfig.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "outDir": "./build"
6
6
  },
7
7
  "include": ["./src"],
8
- "exclude": ["**/__mocks__/*", "**/__tests__/*", "**/__stories__/*"]
8
+ "exclude": ["**/__mocks__/*", "**/__tests__/*"]
9
9
  }
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- readonly name: string;
3
- };
4
- export default _default;
5
- //# sourceMappingURL=ExpoNavigationBar.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExpoNavigationBar.web.d.ts","sourceRoot":"","sources":["../src/ExpoNavigationBar.web.ts"],"names":[],"mappings":";;;AAAA,wBAIE"}
@@ -1,6 +0,0 @@
1
- export default {
2
- get name() {
3
- return 'ExpoNavigationBar';
4
- },
5
- };
6
- //# sourceMappingURL=ExpoNavigationBar.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExpoNavigationBar.web.js","sourceRoot":"","sources":["../src/ExpoNavigationBar.web.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,IAAI,IAAI;QACN,OAAO,mBAAmB,CAAC;IAC7B,CAAC;CACF,CAAC","sourcesContent":["export default {\n get name(): string {\n return 'ExpoNavigationBar';\n },\n};\n"]}
@@ -1,5 +0,0 @@
1
- export default {
2
- get name(): string {
3
- return 'ExpoNavigationBar';
4
- },
5
- };