@tamagui/react-native-use-pressable 1.61.0 → 1.61.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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -1
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -33,7 +33,7 @@ __export(src_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(src_exports);
|
|
34
34
|
var import_react = require("react");
|
|
35
35
|
var import_PressResponder = __toESM(require("./PressResponder"));
|
|
36
|
-
function usePressEvents(config) {
|
|
36
|
+
function usePressEvents(_, config) {
|
|
37
37
|
const pressResponderRef = (0, import_react.useRef)(null);
|
|
38
38
|
if (pressResponderRef.current == null) {
|
|
39
39
|
pressResponderRef.current = new import_PressResponder.default(config);
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,mBAAiD;AAEjD,4BAA2B;AAKpB,SAAS,eAAe,QAAc;
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,mBAAiD;AAEjD,4BAA2B;AAKpB,SAAS,eAAe,GAAG,QAAc;AAC9C,QAAM,wBAAoB,qBAAY,IAAI;AAE1C,MAAI,kBAAkB,WAAW,MAAM;AACrC,sBAAkB,UAAU,IAAI,sBAAAA,QAAe,MAAM;AAAA,EACvD;AAEA,QAAM,iBAAiB,kBAAkB;AAEzC,8BAAU,MAAM;AACd,mBAAe,UAAU,MAAM;AAAA,EACjC,GAAG,CAAC,QAAQ,cAAc,CAAC;AAG3B,8BAAU,MAAM;AACd,WAAO,MAAM;AACX,qBAAe,MAAM;AAAA,IACvB;AAAA,EACF,GAAG,CAAC,cAAc,CAAC;AACnB,kCAAc,MAAM;AACpB,SAAO,eAAe,iBAAiB;AACzC;",
|
|
5
5
|
"names": ["PressResponder"]
|
|
6
6
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDebugValue, useEffect, useRef } from "react";
|
|
2
2
|
import PressResponder from "./PressResponder";
|
|
3
|
-
function usePressEvents(config) {
|
|
3
|
+
function usePressEvents(_, config) {
|
|
4
4
|
const pressResponderRef = useRef(null);
|
|
5
5
|
if (pressResponderRef.current == null) {
|
|
6
6
|
pressResponderRef.current = new PressResponder(config);
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": "AAUA,SAAS,eAAe,WAAW,cAAc;AAEjD,OAAO,oBAAoB;AAKpB,SAAS,eAAe,QAAc;
|
|
4
|
+
"mappings": "AAUA,SAAS,eAAe,WAAW,cAAc;AAEjD,OAAO,oBAAoB;AAKpB,SAAS,eAAe,GAAG,QAAc;AAC9C,QAAM,oBAAoB,OAAY,IAAI;AAE1C,MAAI,kBAAkB,WAAW,MAAM;AACrC,sBAAkB,UAAU,IAAI,eAAe,MAAM;AAAA,EACvD;AAEA,QAAM,iBAAiB,kBAAkB;AAEzC,YAAU,MAAM;AACd,mBAAe,UAAU,MAAM;AAAA,EACjC,GAAG,CAAC,QAAQ,cAAc,CAAC;AAG3B,YAAU,MAAM;AACd,WAAO,MAAM;AACX,qBAAe,MAAM;AAAA,IACvB;AAAA,EACF,GAAG,CAAC,cAAc,CAAC;AACnB,gBAAc,MAAM;AACpB,SAAO,eAAe,iBAAiB;AACzC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/react-native-use-pressable",
|
|
3
|
-
"version": "1.61.
|
|
3
|
+
"version": "1.61.2",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react": "*"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tamagui/build": "1.61.
|
|
32
|
+
"@tamagui/build": "1.61.2",
|
|
33
33
|
"react": "^18.2.0"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -15,7 +15,7 @@ import PressResponder from './PressResponder'
|
|
|
15
15
|
// todo
|
|
16
16
|
export type PressResponderConfig = any
|
|
17
17
|
|
|
18
|
-
export function usePressEvents(config?: any) {
|
|
18
|
+
export function usePressEvents(_, config?: any) {
|
|
19
19
|
const pressResponderRef = useRef<any>(null)
|
|
20
20
|
|
|
21
21
|
if (pressResponderRef.current == null) {
|
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAOH,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAA;AAEtC,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAOH,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAA;AAEtC,wBAAgB,cAAc,CAAC,CAAC,KAAA,EAAE,MAAM,CAAC,EAAE,GAAG,OAqB7C"}
|