@totalpave/cordova-plugin-insets 0.3.1 → 0.3.2
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/package.json +7 -7
- package/plugin.xml +1 -1
- package/www/InsetType.d.ts +22 -0
- package/www/Insets.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@totalpave/cordova-plugin-insets",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Cordova Android Plugin to receive native information regarding the unsafe area insets.",
|
|
5
5
|
"main": "www/insets.js",
|
|
6
6
|
"types": "www/api.d.ts",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/totalpaveinc/cordova-plugin-insets#readme",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@rollup/plugin-commonjs": "
|
|
30
|
-
"@rollup/plugin-node-resolve": "15.
|
|
29
|
+
"@rollup/plugin-commonjs": "28.0.0",
|
|
30
|
+
"@rollup/plugin-node-resolve": "15.3.0",
|
|
31
31
|
"@types/cordova": "11.0.3",
|
|
32
|
-
"ejs": "3.1.
|
|
33
|
-
"rollup": "4.
|
|
32
|
+
"ejs": "3.1.10",
|
|
33
|
+
"rollup": "4.22.4",
|
|
34
34
|
"rollup-plugin-progress": "1.1.2",
|
|
35
35
|
"rollup-plugin-typescript2": "0.36.0",
|
|
36
36
|
"ts-node": "10.9.2",
|
|
37
|
-
"typescript": "5.
|
|
37
|
+
"typescript": "5.5.4"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"cordovaDependencies": {
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"tslib": "2.
|
|
47
|
+
"tslib": "2.7.0"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/plugin.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<plugin
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
id="@totalpave/cordova-plugin-insets"
|
|
5
|
-
version="0.3.
|
|
5
|
+
version="0.3.2"
|
|
6
6
|
>
|
|
7
7
|
<name>cordova-plugin-insets</name>
|
|
8
8
|
<description>Cordova Android Plugin to receive native information regarding the unsafe area insets</description>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An enumeration of Inset Types.
|
|
3
|
+
* These are mapped to android's native WindowInsetsCompat.TYPE
|
|
4
|
+
*
|
|
5
|
+
* See https://developer.android.com/reference/androidx/core/view/WindowInsetsCompat.Type
|
|
6
|
+
* for more information.
|
|
7
|
+
*
|
|
8
|
+
* Note that the native constant values is an implementation detail,
|
|
9
|
+
* therefore the values here isn't a direct mapping, but will be resolved
|
|
10
|
+
* appropriately.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum InsetType {
|
|
13
|
+
CAPTION_BAR = 1,
|
|
14
|
+
DISPLAY_CUTOUT = 2,
|
|
15
|
+
IME = 4,
|
|
16
|
+
MANDATORY_SYSTEM_GESTURES = 8,
|
|
17
|
+
NAVIGATION_BARS = 16,
|
|
18
|
+
STATUS_BARS = 32,
|
|
19
|
+
SYSTEM_BARS = 64,
|
|
20
|
+
SYSTEM_GESTURES = 128,
|
|
21
|
+
TAPPABLE_ELEMENT = 256
|
|
22
|
+
}
|