@applicaster/zapp-react-native-utils 13.0.0-rc.36 → 13.0.0-rc.37

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.
@@ -28,6 +28,7 @@ exports[`focusManager should be defined 1`] = `
28
28
  "moveFocus": [Function],
29
29
  "on": [Function],
30
30
  "press": [Function],
31
+ "pressIn": [Function],
31
32
  "pressOut": [Function],
32
33
  "recoverFocus": [Function],
33
34
  "register": [Function],
@@ -345,6 +345,14 @@ export const focusManager = (function () {
345
345
  });
346
346
  }
347
347
 
348
+ function pressIn() {
349
+ const currentFocusable = getCurrentFocus();
350
+
351
+ if (currentFocusable) {
352
+ currentFocusable.pressIn(null);
353
+ }
354
+ }
355
+
348
356
  /**
349
357
  * calls the `press` method on the current focus component
350
358
  * @public
@@ -552,6 +560,7 @@ export const focusManager = (function () {
552
560
  invokeHandler,
553
561
  removeHandler,
554
562
  longPress,
563
+ pressIn,
555
564
  pressOut,
556
565
  enableFocus,
557
566
  setInitialFocus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-utils",
3
- "version": "13.0.0-rc.36",
3
+ "version": "13.0.0-rc.37",
4
4
  "description": "Applicaster Zapp React Native utilities package",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "13.0.0-rc.36",
31
+ "@applicaster/applicaster-types": "13.0.0-rc.37",
32
32
  "buffer": "^5.2.1",
33
33
  "camelize": "^1.0.0",
34
34
  "create-react-context": "^0.2.3",