expo-blur 58.0.3 → 58.0.5

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/android/build.gradle +2 -2
  3. package/build/BlurView.types.d.ts +3 -3
  4. package/build/BlurView.web.d.ts +1 -1
  5. package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.module → 58.0.5/expo.modules.blur-58.0.5.module} +7 -7
  6. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.module.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.module.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.module.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.module.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.pom → 58.0.5/expo.modules.blur-58.0.5.pom} +1 -1
  11. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.pom.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.pom.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.pom.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.5/expo.modules.blur-58.0.5.pom.sha512 +1 -0
  15. package/package.json +5 -5
  16. package/src/BlurView.types.ts +3 -3
  17. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.module.md5 +0 -1
  18. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.module.sha1 +0 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.module.sha256 +0 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.module.sha512 +0 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.pom.md5 +0 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.pom.sha1 +0 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.pom.sha256 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.blur/58.0.3/expo.modules.blur-58.0.3.pom.sha512 +0 -1
  25. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3-sources.jar → 58.0.5/expo.modules.blur-58.0.5-sources.jar} +0 -0
  26. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3-sources.jar.md5 → 58.0.5/expo.modules.blur-58.0.5-sources.jar.md5} +0 -0
  27. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3-sources.jar.sha1 → 58.0.5/expo.modules.blur-58.0.5-sources.jar.sha1} +0 -0
  28. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3-sources.jar.sha256 → 58.0.5/expo.modules.blur-58.0.5-sources.jar.sha256} +0 -0
  29. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3-sources.jar.sha512 → 58.0.5/expo.modules.blur-58.0.5-sources.jar.sha512} +0 -0
  30. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.aar → 58.0.5/expo.modules.blur-58.0.5.aar} +0 -0
  31. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.aar.md5 → 58.0.5/expo.modules.blur-58.0.5.aar.md5} +0 -0
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.aar.sha1 → 58.0.5/expo.modules.blur-58.0.5.aar.sha1} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.aar.sha256 → 58.0.5/expo.modules.blur-58.0.5.aar.sha256} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.blur/{58.0.3/expo.modules.blur-58.0.3.aar.sha512 → 58.0.5/expo.modules.blur-58.0.5.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 58.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Accept a callback ref in the `BlurTargetView` `ref` prop. ([#51659](https://github.com/expo/expo/pull/51659) by [@behenate](https://github.com/behenate))
8
+
9
+ ## 58.0.4
10
+
11
+ ### Patch Changes
12
+
13
+ - Accept a `View` ref from React Native 0.87 and later in the `blurTarget` prop and the `BlurTargetView` `ref` prop. The prop types now use `ComponentRef<typeof View>`, so `useRef<ViewInstance>(null)` and `useRef<ComponentRef<typeof View>>(null)` type-check with the default React Native typings. With the default typings, a ref typed `useRef<View | null>(null)` no longer type-checks for these props. Type it as `useRef<ComponentRef<typeof View>>(null)` instead. ([#51640](https://github.com/expo/expo/pull/51640) by [@juliusmarminge](https://github.com/juliusmarminge))
14
+
3
15
  ## 58.0.3
4
16
 
5
17
  ### Patch Changes
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '58.0.3'
7
+ version = '58.0.5'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.blur"
11
11
  defaultConfig {
12
12
  versionCode 1
13
- versionName "58.0.3"
13
+ versionName "58.0.5"
14
14
  }
15
15
  }
16
16
 
@@ -1,4 +1,4 @@
1
- import type { RefObject } from 'react';
1
+ import type { ComponentRef, Ref, RefObject } from 'react';
2
2
  import type { ViewProps, View } from 'react-native';
3
3
  /**
4
4
  * Blur method to use on Android.
@@ -24,7 +24,7 @@ export type BlurViewProps = {
24
24
  *
25
25
  * @platform android
26
26
  */
27
- blurTarget?: RefObject<View | null>;
27
+ blurTarget?: RefObject<ComponentRef<typeof View> | null>;
28
28
  /**
29
29
  * A tint mode which will be applied to the view.
30
30
  *
@@ -68,6 +68,6 @@ export type BlurViewProps = {
68
68
  blurMethod?: BlurMethod;
69
69
  } & ViewProps;
70
70
  export type BlurTargetViewProps = {
71
- ref?: RefObject<View | null>;
71
+ ref?: Ref<ComponentRef<typeof View>>;
72
72
  } & ViewProps;
73
73
  export type BlurTint = 'light' | 'dark' | 'default' | 'extraLight' | 'regular' | 'prominent' | 'systemUltraThinMaterial' | 'systemThinMaterial' | 'systemMaterial' | 'systemThickMaterial' | 'systemChromeMaterial' | 'systemUltraThinMaterialLight' | 'systemThinMaterialLight' | 'systemMaterialLight' | 'systemThickMaterialLight' | 'systemChromeMaterialLight' | 'systemUltraThinMaterialDark' | 'systemThinMaterialDark' | 'systemMaterialDark' | 'systemThickMaterialDark' | 'systemChromeMaterialDark';
@@ -1,7 +1,7 @@
1
1
  import { View } from 'react-native';
2
2
  import type { BlurViewProps } from './BlurView.types';
3
3
  declare const BlurView: import("react").ForwardRefExoticComponent<{
4
- blurTarget?: import("react").RefObject<View | null>;
4
+ blurTarget?: import("react").RefObject<import("react").ComponentRef<typeof View> | null>;
5
5
  tint?: import("./BlurView.types").BlurTint;
6
6
  intensity?: number;
7
7
  blurReductionFactor?: number;
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.blur",
6
- "version": "58.0.3",
6
+ "version": "58.0.5",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.blur-58.0.3.aar",
28
- "url": "expo.modules.blur-58.0.3.aar",
27
+ "name": "expo.modules.blur-58.0.5.aar",
28
+ "url": "expo.modules.blur-58.0.5.aar",
29
29
  "size": 39843,
30
30
  "sha512": "abb2c8fa863ddf32ca75a6fe8985558963be809c4ad3d0fd64f752819f44fdd90715f9d6beb30805f4659b71cf02066422bc7affdabae11259712eb5028536c7",
31
31
  "sha256": "2b3cff94106783260d967675c7601de31bdd0a7b95a91d5501bd6bc1ba364ec5",
@@ -74,8 +74,8 @@
74
74
  ],
75
75
  "files": [
76
76
  {
77
- "name": "expo.modules.blur-58.0.3.aar",
78
- "url": "expo.modules.blur-58.0.3.aar",
77
+ "name": "expo.modules.blur-58.0.5.aar",
78
+ "url": "expo.modules.blur-58.0.5.aar",
79
79
  "size": 39843,
80
80
  "sha512": "abb2c8fa863ddf32ca75a6fe8985558963be809c4ad3d0fd64f752819f44fdd90715f9d6beb30805f4659b71cf02066422bc7affdabae11259712eb5028536c7",
81
81
  "sha256": "2b3cff94106783260d967675c7601de31bdd0a7b95a91d5501bd6bc1ba364ec5",
@@ -94,8 +94,8 @@
94
94
  },
95
95
  "files": [
96
96
  {
97
- "name": "expo.modules.blur-58.0.3-sources.jar",
98
- "url": "expo.modules.blur-58.0.3-sources.jar",
97
+ "name": "expo.modules.blur-58.0.5-sources.jar",
98
+ "url": "expo.modules.blur-58.0.5-sources.jar",
99
99
  "size": 7416,
100
100
  "sha512": "981d57a1dd7b5dabd6659970761a1055da44461ebc72b938988e49cce4cacc88488e96868e6b0ea17eee3bbd20a755e51565959d097ea4ad2a0b618eb2d3b536",
101
101
  "sha256": "b4cab4e73e34b2213d7cafd930fcc61e6c921234b42e68e582fc2f191087232c",
@@ -0,0 +1 @@
1
+ 62e1c6657427ea9a36a642133e0409391eadc4dee0c0ace558d23a122c9d6d74
@@ -0,0 +1 @@
1
+ ff71e967cb47ac9c825ceb60d92a161d2a839f4f58f0f68b5fcd56351b0a09701ee28974e3a0e8862320999cba877c7e5243cd4cf4a1ba2125cb49d261733b37
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.blur</artifactId>
12
- <version>58.0.3</version>
12
+ <version>58.0.5</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.blur</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 6258405209fb38e4d7afab82060fdd908868c49e
@@ -0,0 +1 @@
1
+ 9b9494c90598315b2e856886e5b0b9467792d00ae72714687d0784b7bf2463df
@@ -0,0 +1 @@
1
+ 8c80edcf3da53aa784c692d280e6171b99b391f7e53c883360d6abfb14751f54fc3ce721ea96f1f7e9dab4ab34f6b67e9ae6008154bf658e1f5282c98f95479d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-blur",
3
- "version": "58.0.3",
3
+ "version": "58.0.5",
4
4
  "description": "A component that renders a native blur view on iOS and falls back to a semi-transparent view on Android. A common usage of this is for navigation bars, tab bars, and modals.",
5
5
  "keywords": [
6
6
  "expo",
@@ -23,13 +23,13 @@
23
23
  "types": "build/index.d.ts",
24
24
  "dependencies": {},
25
25
  "devDependencies": {
26
+ "@expo/internal-scripts": "58.0.3",
26
27
  "@testing-library/dom": "^10.4.0",
27
- "@testing-library/jest-dom": "^6.6.3",
28
+ "@testing-library/jest-dom": "^6.9.1",
28
29
  "@testing-library/react": "^16.3.0",
29
30
  "@testing-library/react-native": "^14.0.1",
30
31
  "@types/react": "~19.3.0",
31
- "expo": "58.0.2",
32
- "expo-module-scripts": "56.0.5"
32
+ "expo": "58.0.15"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "expo": "*",
@@ -37,7 +37,7 @@
37
37
  "react-native": "*"
38
38
  },
39
39
  "jest": {
40
- "preset": "expo-module-scripts"
40
+ "preset": "@expo/internal-scripts"
41
41
  },
42
42
  "scripts": {
43
43
  "precompile-android": "et prebuild-android-package-for-publish",
@@ -1,4 +1,4 @@
1
- import type { RefObject } from 'react';
1
+ import type { ComponentRef, Ref, RefObject } from 'react';
2
2
  import type { ViewProps, View } from 'react-native';
3
3
 
4
4
  /**
@@ -27,7 +27,7 @@ export type BlurViewProps = {
27
27
  *
28
28
  * @platform android
29
29
  */
30
- blurTarget?: RefObject<View | null>;
30
+ blurTarget?: RefObject<ComponentRef<typeof View> | null>;
31
31
  /**
32
32
  * A tint mode which will be applied to the view.
33
33
  *
@@ -74,7 +74,7 @@ export type BlurViewProps = {
74
74
  } & ViewProps;
75
75
 
76
76
  export type BlurTargetViewProps = {
77
- ref?: RefObject<View | null>;
77
+ ref?: Ref<ComponentRef<typeof View>>;
78
78
  } & ViewProps;
79
79
 
80
80
  export type BlurTint =
@@ -1 +0,0 @@
1
- e4be20734d9d1e362296b73ed1cab09c0408c43e
@@ -1 +0,0 @@
1
- 0bf738ae012653c07559a4e844e5e298da5285bf830ace9cef46062aa55b07bb
@@ -1 +0,0 @@
1
- ad83b8dfd0fdfb79680a78a81c123ab317ceaa5f332e8955fe684206e54848a4714d4247e4b2b4f89bf93d292768a3b89424b8b29c842524248a0f753ee1df7a
@@ -1 +0,0 @@
1
- 935315f906f6b8e6b8f7eb19f44d0ed90510dfbe
@@ -1 +0,0 @@
1
- 1000f1b3d964bc9530eb227429ab0a7fd1a7f5e1316af948c8f6d965cfc6a371
@@ -1 +0,0 @@
1
- bc3437ccf2e32b1fafbe2ac73f3b43151550cd9e75e3d3003c0d621b5847528f13d04d3f304bc9f69d625c1b87d562ca2a62335a4404e47775ef60d6ce8d78e4