react-native-external-keyboard 0.2.6 → 0.2.7
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/ios/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardView.h +6 -1
- package/ios/RNCEKVExternalKeyboardView/RNCEKVExternalKeyboardView.mm +86 -71
- package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.js +9 -0
- package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.js.map +1 -0
- package/lib/commonjs/components/Pressable/Pressable.js +9 -0
- package/lib/commonjs/components/Pressable/Pressable.js.map +1 -0
- package/lib/module/components/KeyboardFocusView/KeyboardFocusView.js +3 -0
- package/lib/module/components/KeyboardFocusView/KeyboardFocusView.js.map +1 -0
- package/lib/module/components/Pressable/Pressable.js +3 -0
- package/lib/module/components/Pressable/Pressable.js.map +1 -0
- package/lib/typescript/components/KeyboardFocusView/KeyboardFocusView.d.ts +14 -0
- package/lib/typescript/components/KeyboardFocusView/KeyboardFocusView.d.ts.map +1 -0
- package/lib/typescript/components/Pressable/Pressable.d.ts +14 -0
- package/lib/typescript/components/Pressable/Pressable.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/components/KeyboardFocusView/KeyboardFocusView.tsx +8 -0
- package/src/components/Pressable/Pressable.tsx +7 -0
- package/ios/ExternalKeyboard.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -4
- package/ios/ExternalKeyboard.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/ExternalKeyboard.xcodeproj/project.xcworkspace/xcuserdata/Artur_Kalach.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/ExternalKeyboard.xcodeproj/xcuserdata/Artur_Kalach.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -24
- package/ios/ExternalKeyboard.xcodeproj/xcuserdata/Artur_Kalach.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.d.js +0 -6
- package/lib/commonjs/components/KeyboardFocusView/KeyboardFocusView.d.js.map +0 -1
- package/lib/commonjs/components/Pressable/Pressable.d.js +0 -6
- package/lib/commonjs/components/Pressable/Pressable.d.js.map +0 -1
- package/lib/module/components/KeyboardFocusView/KeyboardFocusView.d.js +0 -2
- package/lib/module/components/KeyboardFocusView/KeyboardFocusView.d.js.map +0 -1
- package/lib/module/components/Pressable/Pressable.d.js +0 -2
- package/lib/module/components/Pressable/Pressable.d.js.map +0 -1
- package/src/components/KeyboardFocusView/KeyboardFocusView.d.ts +0 -7
- package/src/components/Pressable/Pressable.d.ts +0 -7
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#ifndef RNCEKVExternalKeyboardViewNativeComponent_h
|
|
2
2
|
#define RNCEKVExternalKeyboardViewNativeComponent_h
|
|
3
|
-
|
|
4
3
|
#import "RNCEKVKeyboardKeyPressHandler.h"
|
|
5
4
|
#import <UIKit/UIKit.h>
|
|
6
5
|
|
|
@@ -15,6 +14,12 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
15
14
|
}
|
|
16
15
|
@property BOOL canBeFocused;
|
|
17
16
|
@property UIView* myPreferredFocusedView;
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
- (void)onFocusChange:(BOOL)isFocused;
|
|
20
|
+
- (void)onKeyDownPress:(NSDictionary*)dictionary;
|
|
21
|
+
- (void)onKeyUpPress:(NSDictionary*)dictionary;
|
|
22
|
+
|
|
18
23
|
@end
|
|
19
24
|
|
|
20
25
|
NS_ASSUME_NONNULL_END
|
|
@@ -34,104 +34,119 @@ using namespace facebook::react;
|
|
|
34
34
|
|
|
35
35
|
@end
|
|
36
36
|
|
|
37
|
-
@implementation RNCEKVExternalKeyboardView
|
|
38
|
-
RNCEKVFocusWrapper * _view;
|
|
39
|
-
}
|
|
37
|
+
@implementation RNCEKVExternalKeyboardView
|
|
40
38
|
|
|
41
39
|
+ (ComponentDescriptorProvider)componentDescriptorProvider
|
|
42
40
|
{
|
|
43
41
|
return concreteComponentDescriptorProvider<ExternalKeyboardViewComponentDescriptor>();
|
|
44
42
|
}
|
|
45
43
|
|
|
44
|
+
- (NSArray<id<UIFocusEnvironment>> *)preferredFocusEnvironments {
|
|
45
|
+
if (self.myPreferredFocusedView == nil) {
|
|
46
|
+
return @[];
|
|
47
|
+
}
|
|
48
|
+
return @[self.myPreferredFocusedView];
|
|
49
|
+
}
|
|
50
|
+
- (BOOL)canBecomeFocused {
|
|
51
|
+
return self.canBeFocused;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- (void)onFocusChange:(BOOL) isFocused {
|
|
56
|
+
if (_eventEmitter) {
|
|
57
|
+
auto viewEventEmitter = std::static_pointer_cast<ExternalKeyboardViewEventEmitter const>(_eventEmitter);
|
|
58
|
+
facebook::react::ExternalKeyboardViewEventEmitter::OnFocusChange data = {
|
|
59
|
+
.isFocused = isFocused,
|
|
60
|
+
};
|
|
61
|
+
viewEventEmitter->onFocusChange(data);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
- (void)onKeyDownPress:(NSDictionary*) dictionary {
|
|
66
|
+
if (_eventEmitter) {
|
|
67
|
+
auto viewEventEmitter = std::static_pointer_cast<ExternalKeyboardViewEventEmitter const>(_eventEmitter);
|
|
68
|
+
facebook::react::ExternalKeyboardViewEventEmitter::OnKeyDownPress data = {
|
|
69
|
+
.keyCode = [[dictionary valueForKey:@"keyCode"] intValue],
|
|
70
|
+
.isLongPress = [[dictionary valueForKey:@"isLongPress"] boolValue],
|
|
71
|
+
.isAltPressed = [[dictionary valueForKey:@"isAltPressed"] boolValue],
|
|
72
|
+
.isShiftPressed = [[dictionary valueForKey:@"isShiftPressed"] boolValue],
|
|
73
|
+
.isCtrlPressed = [[dictionary valueForKey:@"isCtrlPressed"] boolValue],
|
|
74
|
+
.isCapsLockOn = [[dictionary valueForKey:@"isCapsLockOn"] boolValue],
|
|
75
|
+
.hasNoModifiers = [[dictionary valueForKey:@"hasNoModifiers"] boolValue],
|
|
76
|
+
};
|
|
77
|
+
viewEventEmitter->onKeyDownPress(data);
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
- (void)onKeyUpPress:(NSDictionary*) dictionary {
|
|
83
|
+
if (_eventEmitter) {
|
|
84
|
+
auto viewEventEmitter = std::static_pointer_cast<ExternalKeyboardViewEventEmitter const>(_eventEmitter);
|
|
85
|
+
facebook::react::ExternalKeyboardViewEventEmitter::OnKeyUpPress data = {
|
|
86
|
+
.keyCode = [[dictionary valueForKey:@"keyCode"] intValue],
|
|
87
|
+
.isLongPress = [[dictionary valueForKey:@"isLongPress"] boolValue],
|
|
88
|
+
.isAltPressed = [[dictionary valueForKey:@"isAltPressed"] boolValue],
|
|
89
|
+
.isShiftPressed = [[dictionary valueForKey:@"isShiftPressed"] boolValue],
|
|
90
|
+
.isCtrlPressed = [[dictionary valueForKey:@"isCtrlPressed"] boolValue],
|
|
91
|
+
.isCapsLockOn = [[dictionary valueForKey:@"isCapsLockOn"] boolValue],
|
|
92
|
+
.hasNoModifiers = [[dictionary valueForKey:@"hasNoModifiers"] boolValue],
|
|
93
|
+
};
|
|
94
|
+
viewEventEmitter->onKeyUpPress(data);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
- (void)didUpdateFocusInContext:(UIFocusUpdateContext *)context
|
|
100
|
+
withAnimationCoordinator:(UIFocusAnimationCoordinator *)coordinator {
|
|
101
|
+
|
|
102
|
+
if(context.nextFocusedView == self) {
|
|
103
|
+
[self onFocusChange: YES];
|
|
104
|
+
} else if (context.previouslyFocusedView == self) {
|
|
105
|
+
[self onFocusChange: NO];
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
46
110
|
- (instancetype)initWithFrame:(CGRect)frame
|
|
47
111
|
{
|
|
48
112
|
|
|
49
113
|
if (self = [super initWithFrame:frame]) {
|
|
50
114
|
static const auto defaultProps = std::make_shared<const ExternalKeyboardViewProps>();
|
|
51
115
|
_props = defaultProps;
|
|
52
|
-
|
|
53
|
-
_view = [[RNCEKVFocusWrapper alloc] init];
|
|
54
|
-
_view.onFocusChange = [self](NSDictionary* dictionary) {
|
|
55
|
-
if (_eventEmitter) {
|
|
56
|
-
auto viewEventEmitter = std::static_pointer_cast<ExternalKeyboardViewEventEmitter const>(_eventEmitter);
|
|
57
|
-
facebook::react::ExternalKeyboardViewEventEmitter::OnFocusChange data = {
|
|
58
|
-
.isFocused = [[dictionary valueForKey:@"isFocused"] boolValue],
|
|
59
|
-
};
|
|
60
|
-
viewEventEmitter->onFocusChange(data);
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
_view.onKeyDownPress = [self](NSDictionary* dictionary) {
|
|
65
|
-
if (_eventEmitter) {
|
|
66
|
-
auto viewEventEmitter = std::static_pointer_cast<ExternalKeyboardViewEventEmitter const>(_eventEmitter);
|
|
67
|
-
|
|
68
|
-
std::string unicodeChar = convertNSStringToStdString([dictionary valueForKey:@"unicodeChar"]);
|
|
69
|
-
facebook::react::ExternalKeyboardViewEventEmitter::OnKeyDownPress data = {
|
|
70
|
-
.keyCode = [[dictionary valueForKey:@"keyCode"] intValue],
|
|
71
|
-
.isLongPress = [[dictionary valueForKey:@"isLongPress"] boolValue],
|
|
72
|
-
.unicode = [[dictionary valueForKey:@"unicode"] intValue],
|
|
73
|
-
.unicodeChar = unicodeChar,
|
|
74
|
-
.isAltPressed = [[dictionary valueForKey:@"isAltPressed"] boolValue],
|
|
75
|
-
.isShiftPressed = [[dictionary valueForKey:@"isShiftPressed"] boolValue],
|
|
76
|
-
.isCtrlPressed = [[dictionary valueForKey:@"isCtrlPressed"] boolValue],
|
|
77
|
-
.isCapsLockOn = [[dictionary valueForKey:@"isCapsLockOn"] boolValue],
|
|
78
|
-
.hasNoModifiers = [[dictionary valueForKey:@"hasNoModifiers"] boolValue],
|
|
79
|
-
};
|
|
80
|
-
viewEventEmitter->onKeyDownPress(data);
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
_view.onKeyUpPress = [self](NSDictionary* dictionary) {
|
|
86
|
-
if (_eventEmitter) {
|
|
87
|
-
auto viewEventEmitter = std::static_pointer_cast<ExternalKeyboardViewEventEmitter const>(_eventEmitter);
|
|
88
|
-
std::string unicodeChar = convertNSStringToStdString([dictionary valueForKey:@"unicodeChar"]);
|
|
89
|
-
facebook::react::ExternalKeyboardViewEventEmitter::OnKeyUpPress data = {
|
|
90
|
-
.keyCode = [[dictionary valueForKey:@"keyCode"] intValue],
|
|
91
|
-
.unicode = [[dictionary valueForKey:@"unicode"] intValue],
|
|
92
|
-
.unicodeChar = unicodeChar,
|
|
93
|
-
.isLongPress = [[dictionary valueForKey:@"isLongPress"] boolValue],
|
|
94
|
-
.isAltPressed = [[dictionary valueForKey:@"isAltPressed"] boolValue],
|
|
95
|
-
.isShiftPressed = [[dictionary valueForKey:@"isShiftPressed"] boolValue],
|
|
96
|
-
.isCtrlPressed = [[dictionary valueForKey:@"isCtrlPressed"] boolValue],
|
|
97
|
-
.isCapsLockOn = [[dictionary valueForKey:@"isCapsLockOn"] boolValue],
|
|
98
|
-
.hasNoModifiers = [[dictionary valueForKey:@"hasNoModifiers"] boolValue],
|
|
99
|
-
};
|
|
100
|
-
viewEventEmitter->onKeyUpPress(data);
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
self.contentView = _view;
|
|
116
|
+
_keyboardKeyPressHandler = [[RNCEKVKeyboardKeyPressHandler alloc] init];
|
|
105
117
|
}
|
|
106
118
|
|
|
107
119
|
return self;
|
|
108
120
|
}
|
|
109
121
|
|
|
110
|
-
- (
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
- (void)pressesBegan:(NSSet<UIPress *> *)presses
|
|
123
|
+
withEvent:(UIPressesEvent *)event {
|
|
124
|
+
NSDictionary *eventInfo = [_keyboardKeyPressHandler actionDownHandler:presses withEvent:event];
|
|
125
|
+
[self onKeyDownPress: eventInfo];
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
- (void)pressesEnded:(NSSet<UIPress *> *)presses
|
|
129
|
+
withEvent:(UIPressesEvent *)event {
|
|
130
|
+
NSDictionary *eventInfo = [_keyboardKeyPressHandler actionUpHandler:presses withEvent:event];
|
|
131
|
+
[self onKeyUpPress: eventInfo];
|
|
115
132
|
}
|
|
116
133
|
|
|
117
134
|
- (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &)oldProps
|
|
118
135
|
{
|
|
119
136
|
const auto &oldViewProps = *std::static_pointer_cast<ExternalKeyboardViewProps const>(_props);
|
|
120
137
|
const auto &newViewProps = *std::static_pointer_cast<ExternalKeyboardViewProps const>(props);
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
if(_view.focusGroupIdentifier == nil) {
|
|
124
|
-
_view.focusGroupIdentifier = [NSString stringWithFormat:@"app.group.%ld", self.tag];
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
[super updateProps:props oldProps:oldProps];
|
|
129
|
-
|
|
138
|
+
[super updateProps
|
|
139
|
+
:props oldProps:oldProps];
|
|
130
140
|
|
|
131
141
|
if(oldViewProps.canBeFocused != newViewProps.canBeFocused) {
|
|
132
|
-
[
|
|
142
|
+
[self setCanBeFocused: newViewProps.canBeFocused];
|
|
133
143
|
}
|
|
134
144
|
|
|
145
|
+
if (@available(iOS 14.0, *)) {
|
|
146
|
+
if(self.focusGroupIdentifier == nil) {
|
|
147
|
+
self.focusGroupIdentifier = [NSString stringWithFormat:@"app.group.%ld", self.tag];
|
|
148
|
+
}
|
|
149
|
+
}
|
|
135
150
|
}
|
|
136
151
|
|
|
137
152
|
Class<RCTComponentViewProtocol> ExternalKeyboardViewCls(void)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.KeyboardFocusView = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const KeyboardFocusView = exports.KeyboardFocusView = _reactNative.View;
|
|
9
|
+
//# sourceMappingURL=KeyboardFocusView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","KeyboardFocusView","exports","View"],"sourceRoot":"../../../../src","sources":["components/KeyboardFocusView/KeyboardFocusView.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIO,MAAMC,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAC5BE,iBAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","Pressable","exports","View"],"sourceRoot":"../../../../src","sources":["components/Pressable/Pressable.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIO,MAAMC,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iBAExB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","KeyboardFocusView"],"sourceRoot":"../../../../src","sources":["components/KeyboardFocusView/KeyboardFocusView.tsx"],"mappings":"AAAA,SAASA,IAAI,QAAQ,cAAc;AAInC,OAAO,MAAMC,iBAAiB,GAC5BD,IAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","Pressable"],"sourceRoot":"../../../../src","sources":["components/Pressable/Pressable.tsx"],"mappings":"AAAA,SAASA,IAAI,QAAwB,cAAc;AAInD,OAAO,MAAMC,SAAS,GAAGD,IAExB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
export declare const KeyboardFocusView: import("react").ForwardRefExoticComponent<import("react-native").ViewProps & {
|
|
4
|
+
onFocusChange?: import("../../types").OnFocusChangeFn | undefined;
|
|
5
|
+
onKeyUpPress?: import("../../types").OnKeyPressFn | undefined;
|
|
6
|
+
onKeyDownPress?: import("../../types").OnKeyPressFn | undefined;
|
|
7
|
+
canBeFocused?: boolean | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
focusStyle?: import("../../types").FocusStyle;
|
|
10
|
+
onPress?: ((e: import("../../types/KeyboardFocusView.types").OnKeyPress | import("react-native").GestureResponderEvent) => void) | undefined;
|
|
11
|
+
onLongPress?: ((e: import("../../types/KeyboardFocusView.types").OnKeyPress | import("react-native").GestureResponderEvent) => void) | undefined;
|
|
12
|
+
withView?: boolean | undefined;
|
|
13
|
+
} & import("react").RefAttributes<View>>;
|
|
14
|
+
//# sourceMappingURL=KeyboardFocusView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardFocusView.d.ts","sourceRoot":"","sources":["../../../../src/components/KeyboardFocusView/KeyboardFocusView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,eAAO,MAAM,iBAAiB;;;;;;;;;;wCAG3B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { View, PressableProps } from 'react-native';
|
|
3
|
+
export declare const Pressable: import("react").ForwardRefExoticComponent<PressableProps & import("react-native").ViewProps & {
|
|
4
|
+
onFocusChange?: import("../../types").OnFocusChangeFn | undefined;
|
|
5
|
+
onKeyUpPress?: import("../../types").OnKeyPressFn | undefined;
|
|
6
|
+
onKeyDownPress?: import("../../types").OnKeyPressFn | undefined;
|
|
7
|
+
canBeFocused?: boolean | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
focusStyle?: import("../../types").FocusStyle;
|
|
10
|
+
onPress?: ((e: import("../../types/KeyboardFocusView.types").OnKeyPress | import("react-native").GestureResponderEvent) => void) | undefined;
|
|
11
|
+
onLongPress?: ((e: import("../../types/KeyboardFocusView.types").OnKeyPress | import("react-native").GestureResponderEvent) => void) | undefined;
|
|
12
|
+
withView?: boolean | undefined;
|
|
13
|
+
} & import("react").RefAttributes<View>>;
|
|
14
|
+
//# sourceMappingURL=Pressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/components/Pressable/Pressable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAIpD,eAAO,MAAM,SAAS;;;;;;;;;;wCAErB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-external-keyboard",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "test",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"registry": "https://registry.npmjs.org/"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@evilmartians/lefthook": "^1.2.2",
|
|
63
62
|
"@commitlint/config-conventional": "^17.0.2",
|
|
63
|
+
"@evilmartians/lefthook": "^1.2.2",
|
|
64
64
|
"@react-native-community/eslint-config": "^3.0.2",
|
|
65
65
|
"@release-it/conventional-changelog": "^5.0.0",
|
|
66
66
|
"@types/jest": "^28.1.2",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"engines": {
|
|
91
91
|
"node": ">= 16.0.0"
|
|
92
92
|
},
|
|
93
|
-
"packageManager": "
|
|
93
|
+
"packageManager": "yarn@3.6.1",
|
|
94
94
|
"jest": {
|
|
95
95
|
"preset": "react-native",
|
|
96
96
|
"modulePathIgnorePatterns": [
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { View, PressableProps } from 'react-native';
|
|
2
|
+
|
|
3
|
+
import type { KeyboardFocusViewProps } from '../../types';
|
|
4
|
+
|
|
5
|
+
export const Pressable = View as unknown as React.ForwardRefExoticComponent<
|
|
6
|
+
PressableProps & KeyboardFocusViewProps & React.RefAttributes<View>
|
|
7
|
+
>;
|
|
Binary file
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Bucket
|
|
3
|
-
uuid = "6A472AA3-EDA7-4BBC-9834-125C45235935"
|
|
4
|
-
type = "1"
|
|
5
|
-
version = "2.0">
|
|
6
|
-
<Breakpoints>
|
|
7
|
-
<BreakpointProxy
|
|
8
|
-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
9
|
-
<BreakpointContent
|
|
10
|
-
uuid = "77A1ECE5-D456-4921-9000-0AE0262A99A5"
|
|
11
|
-
shouldBeEnabled = "No"
|
|
12
|
-
ignoreCount = "0"
|
|
13
|
-
continueAfterRunningActions = "No"
|
|
14
|
-
filePath = "Modules/A11yKeyboardModule/A11yKeyboardModule.m"
|
|
15
|
-
startingColumnNumber = "9223372036854775807"
|
|
16
|
-
endingColumnNumber = "9223372036854775807"
|
|
17
|
-
startingLineNumber = "25"
|
|
18
|
-
endingLineNumber = "25"
|
|
19
|
-
landmarkName = "A11yKeyboardModule"
|
|
20
|
-
landmarkType = "3">
|
|
21
|
-
</BreakpointContent>
|
|
22
|
-
</BreakpointProxy>
|
|
23
|
-
</Breakpoints>
|
|
24
|
-
</Bucket>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>ExternalKeyboard.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>orderHint</key>
|
|
10
|
-
<integer>0</integer>
|
|
11
|
-
</dict>
|
|
12
|
-
</dict>
|
|
13
|
-
</dict>
|
|
14
|
-
</plist>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/KeyboardFocusView/KeyboardFocusView.d.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Pressable/Pressable.d.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/KeyboardFocusView/KeyboardFocusView.d.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Pressable/Pressable.d.ts"],"mappings":""}
|