tamagui 1.0.0-alpha.3 → 1.0.0-alpha.4

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/_jsx/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  export * from "@tamagui/helpers";
2
2
  export * from "@tamagui/core";
3
3
  export * from "./viewTypes";
4
- export * from "./hooks/useDebounce";
4
+ export * from "@tamagui/use-debounce";
5
+ export * from "@tamagui/use-force-update";
5
6
  export * from "./hooks/useLayout";
6
7
  export * from "./hooks/useSafeAreaInsets";
7
8
  export * from "./hooks/useKeyboardDismissable";
@@ -1,8 +1,8 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
3
  import { isWeb } from "@tamagui/core";
4
+ import { useDebounce } from "@tamagui/use-debounce";
4
5
  import React, { forwardRef, useEffect, useImperativeHandle, useState } from "react";
5
- import { useDebounce } from "../hooks/useDebounce";
6
6
  React["createElement"];
7
7
  const Hoverable = forwardRef(({
8
8
  onPressIn,
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ import { useDebounce } from "@tamagui/use-debounce";
3
4
  import React, { forwardRef, useImperativeHandle, useRef, useState } from "react";
4
- import { useDebounce } from "../hooks/useDebounce";
5
5
  import { Hoverable } from "./Hoverable";
6
6
  import { Popover } from "./Popover/Popover";
7
7
  React["createElement"];
@@ -8,10 +8,10 @@ import {
8
8
  styled,
9
9
  useThemeName
10
10
  } from "@tamagui/core";
11
+ import { useDebounceValue } from "@tamagui/use-debounce";
11
12
  import { useLayoutEffect } from "react";
12
13
  import { Modal as ModalNative } from "react-native";
13
14
  import { prevent } from "../helpers/prevent";
14
- import { useDebounceValue } from "../hooks/useDebounce";
15
15
  import { YStack } from "./Stacks";
16
16
  const Modal = /* @__PURE__ */ __name((props) => {
17
17
  const {
@@ -1,7 +1,7 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
3
  import { AnimatedStack, Text, isWeb } from "@tamagui/core";
4
- import { useForceUpdate } from "@tamagui/core";
4
+ import { useForceUpdate } from "@tamagui/use-force-update";
5
5
  import { memo, useCallback, useEffect, useRef } from "react";
6
6
  import { createPortal } from "react-dom";
7
7
  import { YStack } from "./Stacks";