@tamagui/use-controllable-state 1.61.3 → 1.62.1

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 CHANGED
@@ -1,18 +1,14 @@
1
- "use strict";
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
6
+ if (from && typeof from == "object" || typeof from == "function")
8
7
  for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
8
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
9
  return to;
13
- };
14
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
10
+ }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
11
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
12
  var src_exports = {};
17
13
  module.exports = __toCommonJS(src_exports);
18
14
  __reExport(src_exports, require("./useControllableState"), module.exports);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,mCAAd;",
4
+ "mappings": ";;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,mCAAd;",
5
5
  "names": []
6
6
  }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from == "object" || typeof from == "function")
8
+ for (let key of __getOwnPropNames(from))
9
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ return to;
11
+ }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
12
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
+ var src_exports = {};
14
+ module.exports = __toCommonJS(src_exports);
15
+ __reExport(src_exports, require("./useControllableState"), module.exports);
16
+ // Annotate the CommonJS export names for ESM import in node:
17
+ 0 && (module.exports = {
18
+ ...require("./useControllableState")
19
+ });
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,mCAAd;",
5
+ "names": []
6
+ }
@@ -1,28 +1,23 @@
1
- "use strict";
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __export = (target, all) => {
7
6
  for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
12
10
  for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
12
  return to;
17
13
  };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
19
15
  var useControllableState_exports = {};
20
16
  __export(useControllableState_exports, {
21
17
  useControllableState: () => useControllableState
22
18
  });
23
19
  module.exports = __toCommonJS(useControllableState_exports);
24
- var import_use_event = require("@tamagui/use-event");
25
- var import_react = require("react");
20
+ var import_use_event = require("@tamagui/use-event"), import_react = require("react");
26
21
  const emptyCallbackFn = (_) => _();
27
22
  function useControllableState({
28
23
  prop,
@@ -32,39 +27,23 @@ function useControllableState({
32
27
  preventUpdate,
33
28
  transition
34
29
  }) {
35
- const [state, setState] = (0, import_react.useState)(prop ?? defaultProp);
36
- const previous = (0, import_react.useRef)(state);
37
- const propWins = strategy === "prop-wins" && prop !== void 0;
38
- const value = propWins ? prop : state;
39
- const onChangeCb = (0, import_use_event.useEvent)(onChange || idFn);
40
- const transitionFn = transition ? import_react.startTransition : emptyCallbackFn;
30
+ const [state, setState] = (0, import_react.useState)(prop ?? defaultProp), previous = (0, import_react.useRef)(state), propWins = strategy === "prop-wins" && prop !== void 0, value = propWins ? prop : state, onChangeCb = (0, import_use_event.useEvent)(onChange || idFn), transitionFn = transition ? import_react.startTransition : emptyCallbackFn;
41
31
  (0, import_react.useEffect)(() => {
42
- if (prop === void 0)
43
- return;
44
- previous.current = prop;
45
- transitionFn(() => {
32
+ prop !== void 0 && (previous.current = prop, transitionFn(() => {
46
33
  setState(prop);
47
- });
48
- }, [prop]);
49
- (0, import_react.useEffect)(() => {
50
- if (propWins)
51
- return;
52
- if (state !== previous.current) {
53
- previous.current = state;
54
- onChangeCb(state);
55
- }
34
+ }));
35
+ }, [prop]), (0, import_react.useEffect)(() => {
36
+ propWins || state !== previous.current && (previous.current = state, onChangeCb(state));
56
37
  }, [onChangeCb, state, propWins]);
57
38
  const setter = (0, import_use_event.useEvent)((next) => {
58
- if (preventUpdate)
59
- return;
60
- if (propWins) {
61
- const nextValue = typeof next === "function" ? next(previous.current) : next;
62
- onChangeCb(nextValue);
63
- } else {
64
- transitionFn(() => {
65
- setState(next);
66
- });
67
- }
39
+ if (!preventUpdate)
40
+ if (propWins) {
41
+ const nextValue = typeof next == "function" ? next(previous.current) : next;
42
+ onChangeCb(nextValue);
43
+ } else
44
+ transitionFn(() => {
45
+ setState(next);
46
+ });
68
47
  });
69
48
  return [value, setter];
70
49
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/useControllableState.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAyB;AACzB,mBAAoE;AAOpE,MAAM,kBAAkB,CAAC,MAAM,EAAE;AAE1B,SAAS,qBAAwB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AACF,GAOiD;AAC/C,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAS,QAAQ,WAAW;AACtD,QAAM,eAAW,qBAAY,KAAK;AAClC,QAAM,WAAW,aAAa,eAAe,SAAS;AACtD,QAAM,QAAQ,WAAW,OAAO;AAChC,QAAM,iBAAa,2BAAS,YAAY,IAAI;AAE5C,QAAM,eAAe,aAAa,+BAAkB;AAEpD,8BAAU,MAAM;AACd,QAAI,SAAS;AAAW;AACxB,aAAS,UAAU;AACnB,iBAAa,MAAM;AACjB,eAAS,IAAI;AAAA,IACf,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC;AAET,8BAAU,MAAM;AACd,QAAI;AAAU;AACd,QAAI,UAAU,SAAS,SAAS;AAC9B,eAAS,UAAU;AACnB,iBAAW,KAAK;AAAA,IAClB;AAAA,EACF,GAAG,CAAC,YAAY,OAAO,QAAQ,CAAC;AAEhC,QAAM,aAAS,2BAAS,CAAC,SAAS;AAChC,QAAI;AAAe;AACnB,QAAI,UAAU;AACZ,YAAM,YAAY,OAAO,SAAS,aAAa,KAAK,SAAS,OAAO,IAAI;AACxE,iBAAW,SAAS;AAAA,IACtB,OAAO;AACL,mBAAa,MAAM;AACjB,iBAAS,IAAI;AAAA,MACf,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO,CAAC,OAAY,MAAM;AAC5B;AAEA,MAAM,OAAO,MAAM;AAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAyB,+BACzB,eAAoE;AAOpE,MAAM,kBAAkB,CAAC,MAAM,EAAE;AAE1B,SAAS,qBAAwB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AACF,GAOiD;AAC/C,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAS,QAAQ,WAAW,GAChD,eAAW,qBAAY,KAAK,GAC5B,WAAW,aAAa,eAAe,SAAS,QAChD,QAAQ,WAAW,OAAO,OAC1B,iBAAa,2BAAS,YAAY,IAAI,GAEtC,eAAe,aAAa,+BAAkB;AAEpD,8BAAU,MAAM;AACd,IAAI,SAAS,WACb,SAAS,UAAU,MACnB,aAAa,MAAM;AACjB,eAAS,IAAI;AAAA,IACf,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC,OAET,wBAAU,MAAM;AACd,IAAI,YACA,UAAU,SAAS,YACrB,SAAS,UAAU,OACnB,WAAW,KAAK;AAAA,EAEpB,GAAG,CAAC,YAAY,OAAO,QAAQ,CAAC;AAEhC,QAAM,aAAS,2BAAS,CAAC,SAAS;AAChC,QAAI;AACJ,UAAI,UAAU;AACZ,cAAM,YAAY,OAAO,QAAS,aAAa,KAAK,SAAS,OAAO,IAAI;AACxE,mBAAW,SAAS;AAAA,MACtB;AACE,qBAAa,MAAM;AACjB,mBAAS,IAAI;AAAA,QACf,CAAC;AAAA,EAEL,CAAC;AAED,SAAO,CAAC,OAAY,MAAM;AAC5B;AAEA,MAAM,OAAO,MAAM;AAAC;",
5
5
  "names": []
6
6
  }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var useControllableState_exports = {};
17
+ __export(useControllableState_exports, {
18
+ useControllableState: () => useControllableState
19
+ });
20
+ module.exports = __toCommonJS(useControllableState_exports);
21
+ var import_use_event = require("@tamagui/use-event"), import_react = require("react");
22
+ const emptyCallbackFn = (_) => _();
23
+ function useControllableState({
24
+ prop,
25
+ defaultProp,
26
+ onChange,
27
+ strategy = "prop-wins",
28
+ preventUpdate,
29
+ transition
30
+ }) {
31
+ const [state, setState] = (0, import_react.useState)(prop ?? defaultProp), previous = (0, import_react.useRef)(state), propWins = strategy === "prop-wins" && prop !== void 0, value = propWins ? prop : state, onChangeCb = (0, import_use_event.useEvent)(onChange || idFn), transitionFn = transition ? import_react.startTransition : emptyCallbackFn;
32
+ (0, import_react.useEffect)(() => {
33
+ prop !== void 0 && (previous.current = prop, transitionFn(() => {
34
+ setState(prop);
35
+ }));
36
+ }, [prop]), (0, import_react.useEffect)(() => {
37
+ propWins || state !== previous.current && (previous.current = state, onChangeCb(state));
38
+ }, [onChangeCb, state, propWins]);
39
+ const setter = (0, import_use_event.useEvent)((next) => {
40
+ if (!preventUpdate)
41
+ if (propWins) {
42
+ const nextValue = typeof next == "function" ? next(previous.current) : next;
43
+ onChangeCb(nextValue);
44
+ } else
45
+ transitionFn(() => {
46
+ setState(next);
47
+ });
48
+ });
49
+ return [value, setter];
50
+ }
51
+ const idFn = () => {
52
+ };
53
+ // Annotate the CommonJS export names for ESM import in node:
54
+ 0 && (module.exports = {
55
+ useControllableState
56
+ });
57
+ //# sourceMappingURL=useControllableState.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/useControllableState.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAyB,+BACzB,eAAoE;AAOpE,MAAM,kBAAkB,CAAC,MAAM,EAAE;AAE1B,SAAS,qBAAwB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AACF,GAOiD;AAC/C,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAS,QAAQ,WAAW,GAChD,eAAW,qBAAY,KAAK,GAC5B,WAAW,aAAa,eAAe,SAAS,QAChD,QAAQ,WAAW,OAAO,OAC1B,iBAAa,2BAAS,YAAY,IAAI,GAEtC,eAAe,aAAa,+BAAkB;AAEpD,8BAAU,MAAM;AACd,IAAI,SAAS,WACb,SAAS,UAAU,MACnB,aAAa,MAAM;AACjB,eAAS,IAAI;AAAA,IACf,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC,OAET,wBAAU,MAAM;AACd,IAAI,YACA,UAAU,SAAS,YACrB,SAAS,UAAU,OACnB,WAAW,KAAK;AAAA,EAEpB,GAAG,CAAC,YAAY,OAAO,QAAQ,CAAC;AAEhC,QAAM,aAAS,2BAAS,CAAC,SAAS;AAChC,QAAI;AACJ,UAAI,UAAU;AACZ,cAAM,YAAY,OAAO,QAAS,aAAa,KAAK,SAAS,OAAO,IAAI;AACxE,mBAAW,SAAS;AAAA,MACtB;AACE,qBAAa,MAAM;AACjB,mBAAS,IAAI;AAAA,QACf,CAAC;AAAA,EAEL,CAAC;AAED,SAAO,CAAC,OAAY,MAAM;AAC5B;AAEA,MAAM,OAAO,MAAM;AAAC;",
5
+ "names": []
6
+ }
@@ -9,39 +9,23 @@ function useControllableState({
9
9
  preventUpdate,
10
10
  transition
11
11
  }) {
12
- const [state, setState] = useState(prop ?? defaultProp);
13
- const previous = useRef(state);
14
- const propWins = strategy === "prop-wins" && prop !== void 0;
15
- const value = propWins ? prop : state;
16
- const onChangeCb = useEvent(onChange || idFn);
17
- const transitionFn = transition ? startTransition : emptyCallbackFn;
12
+ const [state, setState] = useState(prop ?? defaultProp), previous = useRef(state), propWins = strategy === "prop-wins" && prop !== void 0, value = propWins ? prop : state, onChangeCb = useEvent(onChange || idFn), transitionFn = transition ? startTransition : emptyCallbackFn;
18
13
  useEffect(() => {
19
- if (prop === void 0)
20
- return;
21
- previous.current = prop;
22
- transitionFn(() => {
14
+ prop !== void 0 && (previous.current = prop, transitionFn(() => {
23
15
  setState(prop);
24
- });
25
- }, [prop]);
26
- useEffect(() => {
27
- if (propWins)
28
- return;
29
- if (state !== previous.current) {
30
- previous.current = state;
31
- onChangeCb(state);
32
- }
16
+ }));
17
+ }, [prop]), useEffect(() => {
18
+ propWins || state !== previous.current && (previous.current = state, onChangeCb(state));
33
19
  }, [onChangeCb, state, propWins]);
34
20
  const setter = useEvent((next) => {
35
- if (preventUpdate)
36
- return;
37
- if (propWins) {
38
- const nextValue = typeof next === "function" ? next(previous.current) : next;
39
- onChangeCb(nextValue);
40
- } else {
41
- transitionFn(() => {
42
- setState(next);
43
- });
44
- }
21
+ if (!preventUpdate)
22
+ if (propWins) {
23
+ const nextValue = typeof next == "function" ? next(previous.current) : next;
24
+ onChangeCb(nextValue);
25
+ } else
26
+ transitionFn(() => {
27
+ setState(next);
28
+ });
45
29
  });
46
30
  return [value, setter];
47
31
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/useControllableState.ts"],
4
- "mappings": "AAAA,SAAS,gBAAgB;AACzB,SAAgB,iBAAiB,WAAW,QAAQ,gBAAgB;AAOpE,MAAM,kBAAkB,CAAC,MAAM,EAAE;AAE1B,SAAS,qBAAwB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AACF,GAOiD;AAC/C,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,QAAQ,WAAW;AACtD,QAAM,WAAW,OAAY,KAAK;AAClC,QAAM,WAAW,aAAa,eAAe,SAAS;AACtD,QAAM,QAAQ,WAAW,OAAO;AAChC,QAAM,aAAa,SAAS,YAAY,IAAI;AAE5C,QAAM,eAAe,aAAa,kBAAkB;AAEpD,YAAU,MAAM;AACd,QAAI,SAAS;AAAW;AACxB,aAAS,UAAU;AACnB,iBAAa,MAAM;AACjB,eAAS,IAAI;AAAA,IACf,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC;AAET,YAAU,MAAM;AACd,QAAI;AAAU;AACd,QAAI,UAAU,SAAS,SAAS;AAC9B,eAAS,UAAU;AACnB,iBAAW,KAAK;AAAA,IAClB;AAAA,EACF,GAAG,CAAC,YAAY,OAAO,QAAQ,CAAC;AAEhC,QAAM,SAAS,SAAS,CAAC,SAAS;AAChC,QAAI;AAAe;AACnB,QAAI,UAAU;AACZ,YAAM,YAAY,OAAO,SAAS,aAAa,KAAK,SAAS,OAAO,IAAI;AACxE,iBAAW,SAAS;AAAA,IACtB,OAAO;AACL,mBAAa,MAAM;AACjB,iBAAS,IAAI;AAAA,MACf,CAAC;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO,CAAC,OAAY,MAAM;AAC5B;AAEA,MAAM,OAAO,MAAM;AAAC;",
4
+ "mappings": "AAAA,SAAS,gBAAgB;AACzB,SAAgB,iBAAiB,WAAW,QAAQ,gBAAgB;AAOpE,MAAM,kBAAkB,CAAC,MAAM,EAAE;AAE1B,SAAS,qBAAwB;AAAA,EACtC;AAAA,EACA;AAAA,EACA;AAAA,EACA,WAAW;AAAA,EACX;AAAA,EACA;AACF,GAOiD;AAC/C,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,QAAQ,WAAW,GAChD,WAAW,OAAY,KAAK,GAC5B,WAAW,aAAa,eAAe,SAAS,QAChD,QAAQ,WAAW,OAAO,OAC1B,aAAa,SAAS,YAAY,IAAI,GAEtC,eAAe,aAAa,kBAAkB;AAEpD,YAAU,MAAM;AACd,IAAI,SAAS,WACb,SAAS,UAAU,MACnB,aAAa,MAAM;AACjB,eAAS,IAAI;AAAA,IACf,CAAC;AAAA,EACH,GAAG,CAAC,IAAI,CAAC,GAET,UAAU,MAAM;AACd,IAAI,YACA,UAAU,SAAS,YACrB,SAAS,UAAU,OACnB,WAAW,KAAK;AAAA,EAEpB,GAAG,CAAC,YAAY,OAAO,QAAQ,CAAC;AAEhC,QAAM,SAAS,SAAS,CAAC,SAAS;AAChC,QAAI;AACJ,UAAI,UAAU;AACZ,cAAM,YAAY,OAAO,QAAS,aAAa,KAAK,SAAS,OAAO,IAAI;AACxE,mBAAW,SAAS;AAAA,MACtB;AACE,qBAAa,MAAM;AACjB,mBAAS,IAAI;AAAA,QACf,CAAC;AAAA,EAEL,CAAC;AAED,SAAO,CAAC,OAAY,MAAM;AAC5B;AAEA,MAAM,OAAO,MAAM;AAAC;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/use-controllable-state",
3
- "version": "1.61.3",
3
+ "version": "1.62.1",
4
4
  "sideEffects": false,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
@@ -28,13 +28,13 @@
28
28
  }
29
29
  },
30
30
  "dependencies": {
31
- "@tamagui/use-event": "1.61.3"
31
+ "@tamagui/use-event": "1.62.1"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "*"
35
35
  },
36
36
  "devDependencies": {
37
- "@tamagui/build": "1.61.3",
37
+ "@tamagui/build": "1.62.1",
38
38
  "react": "^18.2.0"
39
39
  },
40
40
  "publishConfig": {