@nativescript-community/gesturehandler 0.1.47 → 0.1.51
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
@@ -3,6 +3,47 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [0.1.51](https://github.com/nativescript-community/gesturehandler/compare/v0.1.50...v0.1.51) (2022-02-17)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* allow plugin to work with @akylas/nativescript fork ([aad3276](https://github.com/nativescript-community/gesturehandler/commit/aad3276d5abe54e79f9b955672007e2c67cb43fb))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## [0.1.50](https://github.com/nativescript-community/gesturehandler/compare/v0.1.49...v0.1.50) (2022-01-04)
|
18
|
+
|
19
|
+
|
20
|
+
### Bug Fixes
|
21
|
+
|
22
|
+
* **ios:** build fix ([ce1a71e](https://github.com/nativescript-community/gesturehandler/commit/ce1a71e8b323e97394a468b2d7d6194495757169))
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
## [0.1.49](https://github.com/nativescript-community/gesturehandler/compare/v0.1.48...v0.1.49) (2022-01-04)
|
29
|
+
|
30
|
+
|
31
|
+
### Bug Fixes
|
32
|
+
|
33
|
+
* **ios:** ensure `setEnabled` is available through JS for GestureHandler ([56ec946](https://github.com/nativescript-community/gesturehandler/commit/56ec94674699383160ff86ddf43a1edbe43bd506))
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
## [0.1.48](https://github.com/nativescript-community/gesturehandler/compare/v0.1.47...v0.1.48) (2021-10-11)
|
40
|
+
|
41
|
+
**Note:** Version bump only for package @nativescript-community/gesturehandler
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
6
47
|
## [0.1.47](https://github.com/nativescript-community/gesturehandler/compare/v0.1.46...v0.1.47) (2021-09-22)
|
7
48
|
|
8
49
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nativescript-community/gesturehandler",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.51",
|
4
4
|
"description": "Declarative API exposing platform native touch and gesture system to NativeScript.",
|
5
5
|
"main": "gesturehandler",
|
6
6
|
"sideEffects": false,
|
@@ -35,5 +35,5 @@
|
|
35
35
|
"dependencies": {
|
36
36
|
"@nativescript-community/observable": "^2.0.8"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "531e9068c445832a6faf6bb8e227b738baa6ef18"
|
39
39
|
}
|
@@ -1,9 +1,18 @@
|
|
1
|
+
import groovy.json.JsonSlurper
|
1
2
|
dependencies {
|
2
3
|
implementation(name:'widgets-release', ext:'aar')
|
3
4
|
implementation "androidx.annotation:annotation:1.1.0"
|
4
5
|
}
|
5
6
|
repositories {
|
7
|
+
def widgetsDir = '../../../node_modules/@nativescript/core/platforms/android'
|
8
|
+
def appPackageJsonFile = file("../../../package.json")
|
9
|
+
if (appPackageJsonFile.exists()) {
|
10
|
+
def appPackageJson = new JsonSlurper().parseText(appPackageJsonFile.text)
|
11
|
+
if (appPackageJson.dependencies['@akylas/nativescript'] != null) {
|
12
|
+
widgetsDir = '../../../node_modules/@akylas/nativescript/platforms/android'
|
13
|
+
}
|
14
|
+
}
|
6
15
|
flatDir {
|
7
|
-
dirs
|
16
|
+
dirs "$widgetsDir"
|
8
17
|
}
|
9
18
|
}
|
@@ -81,6 +81,9 @@ if (value != nil) recognizer.prop = [value type]; \
|
|
81
81
|
@property(nonatomic) BOOL shouldCancelWhenOutside;
|
82
82
|
@property (nullable, nonatomic, weak) id<GestureHandlerDelegate> delegate;
|
83
83
|
|
84
|
+
- (void)setEnabled:(BOOL)enabled;
|
85
|
+
- (void)setShouldCancelWhenOutside:(BOOL)value;
|
86
|
+
|
84
87
|
- (void)bindToView:(nonnull UIView *)view;
|
85
88
|
- (void)unbindFromView;
|
86
89
|
- (void)configure:(nullable NSDictionary *)config NS_REQUIRES_SUPER;
|