@lodev09/react-native-true-sheet 3.1.0-beta.8 → 3.1.0-beta.9
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.
|
@@ -612,6 +612,7 @@ class TrueSheetViewController(private val reactContext: ThemedReactContext) :
|
|
|
612
612
|
if (dimmed && detentIndex >= dimmedDetentIndex) {
|
|
613
613
|
view.setOnTouchListener(null)
|
|
614
614
|
setFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND, WindowManager.LayoutParams.FLAG_DIM_BEHIND)
|
|
615
|
+
setDimAmount(0.32f) // M3 scrim opacity
|
|
615
616
|
dialog.setCanceledOnTouchOutside(dismissible)
|
|
616
617
|
} else {
|
|
617
618
|
view.setOnTouchListener { v, event ->
|
|
@@ -28,36 +28,12 @@ target_include_directories(
|
|
|
28
28
|
${LIB_ANDROID_GENERATED_COMPONENTS_DIR}
|
|
29
29
|
)
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
log
|
|
38
|
-
)
|
|
39
|
-
else()
|
|
40
|
-
target_link_libraries(
|
|
41
|
-
${LIB_TARGET_NAME}
|
|
42
|
-
fbjni
|
|
43
|
-
folly_runtime
|
|
44
|
-
glog
|
|
45
|
-
jsi
|
|
46
|
-
react_codegen_rncore
|
|
47
|
-
react_debug
|
|
48
|
-
react_nativemodule_core
|
|
49
|
-
react_render_core
|
|
50
|
-
react_render_debug
|
|
51
|
-
react_render_graphics
|
|
52
|
-
react_render_mapbuffer
|
|
53
|
-
react_render_componentregistry
|
|
54
|
-
react_utils
|
|
55
|
-
rrc_view
|
|
56
|
-
turbomodulejsijni
|
|
57
|
-
yoga
|
|
58
|
-
log
|
|
59
|
-
)
|
|
60
|
-
endif()
|
|
31
|
+
target_link_libraries(
|
|
32
|
+
${LIB_TARGET_NAME}
|
|
33
|
+
ReactAndroid::reactnative
|
|
34
|
+
ReactAndroid::jsi
|
|
35
|
+
fbjni::fbjni
|
|
36
|
+
)
|
|
61
37
|
|
|
62
38
|
target_include_directories(
|
|
63
39
|
${CMAKE_PROJECT_NAME}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<translate
|
|
4
|
-
android:duration="
|
|
4
|
+
android:duration="250"
|
|
5
5
|
android:fromYDelta="20%p"
|
|
6
6
|
android:toYDelta="0"
|
|
7
|
-
android:interpolator="@android:interpolator/
|
|
7
|
+
android:interpolator="@android:interpolator/decelerate_cubic" />
|
|
8
8
|
<alpha
|
|
9
|
-
android:duration="
|
|
9
|
+
android:duration="150"
|
|
10
10
|
android:fromAlpha="0.0"
|
|
11
11
|
android:toAlpha="1.0"
|
|
12
|
-
android:interpolator="@android:interpolator/
|
|
12
|
+
android:interpolator="@android:interpolator/decelerate_cubic" />
|
|
13
13
|
</set>
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<translate
|
|
4
|
-
android:duration="
|
|
4
|
+
android:duration="200"
|
|
5
5
|
android:fromYDelta="0"
|
|
6
6
|
android:toYDelta="20%p"
|
|
7
|
-
android:interpolator="@android:interpolator/
|
|
7
|
+
android:interpolator="@android:interpolator/accelerate_cubic" />
|
|
8
8
|
<alpha
|
|
9
9
|
android:duration="150"
|
|
10
|
+
android:startOffset="50"
|
|
10
11
|
android:fromAlpha="1.0"
|
|
11
12
|
android:toAlpha="0.0"
|
|
12
|
-
android:interpolator="@android:interpolator/
|
|
13
|
+
android:interpolator="@android:interpolator/accelerate_cubic" />
|
|
13
14
|
</set>
|
package/package.json
CHANGED