@hanzogui/adapt 2.0.0 → 2.0.5

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.
@@ -41,12 +41,12 @@ __export(Adapt_exports, {
41
41
  useAdaptIsActive: () => useAdaptIsActive
42
42
  });
43
43
  module.exports = __toCommonJS(Adapt_exports);
44
- var import_gui_constants = require("@hanzo/gui-constants"),
45
- import_gui_core = require("@hanzo/gui-core"),
46
- import_gui_helpers = require("@hanzo/gui-helpers"),
47
- import_gui_native = require("@hanzo/gui-native"),
48
- import_gui_portal = require("@hanzo/gui-portal"),
49
- import_gui_z_index_stack = require("@hanzo/gui-z-index-stack"),
44
+ var import_gui_constants = require("@hanzogui/constants"),
45
+ import_gui_core = require("@hanzogui/core"),
46
+ import_gui_helpers = require("@hanzogui/helpers"),
47
+ import_gui_native = require("@hanzogui/native"),
48
+ import_gui_portal = require("@hanzogui/portal"),
49
+ import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
50
50
  import_react = __toESM(require("react"), 1),
51
51
  import_jsx_runtime = require("react/jsx-runtime");
52
52
  function createAdaptChildrenStore() {
@@ -155,7 +155,7 @@ const AdaptContext = (0, import_gui_core.createStyledContext)({
155
155
  ...rest
156
156
  }) => {
157
157
  const context = useAdaptContext(scope);
158
- if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Tamagui <Adapt /> component without nesting it inside a parent that is able to adapt.");
158
+ if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Gui <Adapt /> component without nesting it inside a parent that is able to adapt.");
159
159
  return import_react.default.createElement(context.Contents, {
160
160
  ...rest,
161
161
  key: "stable"
@@ -44,12 +44,12 @@ __export(Adapt_exports, {
44
44
  });
45
45
  module.exports = __toCommonJS(Adapt_exports);
46
46
  var import_jsx_runtime = require("react/jsx-runtime"),
47
- import_gui_constants = require("@hanzo/gui-constants"),
48
- import_gui_core = require("@hanzo/gui-core"),
49
- import_gui_helpers = require("@hanzo/gui-helpers"),
50
- import_gui_native = require("@hanzo/gui-native"),
51
- import_gui_portal = require("@hanzo/gui-portal"),
52
- import_gui_z_index_stack = require("@hanzo/gui-z-index-stack"),
47
+ import_gui_constants = require("@hanzogui/constants"),
48
+ import_gui_core = require("@hanzogui/core"),
49
+ import_gui_helpers = require("@hanzogui/helpers"),
50
+ import_gui_native = require("@hanzogui/native"),
51
+ import_gui_portal = require("@hanzogui/portal"),
52
+ import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
53
53
  import_react = __toESM(require("react"), 1);
54
54
  function createAdaptChildrenStore() {
55
55
  var children = null,
@@ -189,7 +189,7 @@ var AdaptContext = (0, import_gui_core.createStyledContext)({
189
189
  ...rest
190
190
  } = param,
191
191
  context = useAdaptContext(scope);
192
- if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Tamagui <Adapt /> component without nesting it inside a parent that is able to adapt.");
192
+ if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Gui <Adapt /> component without nesting it inside a parent that is able to adapt.");
193
193
  return /* @__PURE__ */import_react.default.createElement(context.Contents, {
194
194
  ...rest,
195
195
  key: "stable"
@@ -1,9 +1,9 @@
1
- import { isAndroid, isIos, isTouchable, isWeb, useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
2
- import { createStyledContext, useMedia } from "@hanzo/gui-core";
3
- import { withStaticProperties } from "@hanzo/gui-helpers";
4
- import { getPortal } from "@hanzo/gui-native";
5
- import { PortalHost, PortalItem } from "@hanzo/gui-portal";
6
- import { StackZIndexContext } from "@hanzo/gui-z-index-stack";
1
+ import { isAndroid, isIos, isTouchable, isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
2
+ import { createStyledContext, useMedia } from "@hanzogui/core";
3
+ import { withStaticProperties } from "@hanzogui/helpers";
4
+ import { getPortal } from "@hanzogui/native";
5
+ import { PortalHost, PortalItem } from "@hanzogui/portal";
6
+ import { StackZIndexContext } from "@hanzogui/z-index-stack";
7
7
  import React, { createContext, useContext, useId, useMemo } from "react";
8
8
  import { Fragment, jsx } from "react/jsx-runtime";
9
9
  function createAdaptChildrenStore() {
@@ -112,7 +112,7 @@ const AdaptContext = createStyledContext({
112
112
  ...rest
113
113
  }) => {
114
114
  const context = useAdaptContext(scope);
115
- if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Tamagui <Adapt /> component without nesting it inside a parent that is able to adapt.");
115
+ if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Gui <Adapt /> component without nesting it inside a parent that is able to adapt.");
116
116
  return React.createElement(context.Contents, {
117
117
  ...rest,
118
118
  key: "stable"
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { isAndroid, isIos, isTouchable, isWeb, useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
3
- import { createStyledContext, useMedia } from "@hanzo/gui-core";
4
- import { withStaticProperties } from "@hanzo/gui-helpers";
5
- import { getPortal } from "@hanzo/gui-native";
6
- import { PortalHost, PortalItem } from "@hanzo/gui-portal";
7
- import { StackZIndexContext } from "@hanzo/gui-z-index-stack";
2
+ import { isAndroid, isIos, isTouchable, isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
3
+ import { createStyledContext, useMedia } from "@hanzogui/core";
4
+ import { withStaticProperties } from "@hanzogui/helpers";
5
+ import { getPortal } from "@hanzogui/native";
6
+ import { PortalHost, PortalItem } from "@hanzogui/portal";
7
+ import { StackZIndexContext } from "@hanzogui/z-index-stack";
8
8
  import React, { createContext, useContext, useId, useMemo } from "react";
9
9
  function createAdaptChildrenStore() {
10
10
  var children = null,
@@ -144,7 +144,7 @@ var AdaptContext = createStyledContext({
144
144
  ...rest
145
145
  } = param,
146
146
  context = useAdaptContext(scope);
147
- if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Tamagui <Adapt /> component without nesting it inside a parent that is able to adapt.");
147
+ if (!context?.Contents) throw new Error(process.env.NODE_ENV === "production" ? "tamagui.dev/docs/intro/errors#warning-002" : "You're rendering a Gui <Adapt /> component without nesting it inside a parent that is able to adapt.");
148
148
  return /* @__PURE__ */React.createElement(context.Contents, {
149
149
  ...rest,
150
150
  key: "stable"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/adapt",
3
- "version": "2.0.0",
3
+ "version": "2.0.5",
4
4
  "files": [
5
5
  "src",
6
6
  "types",
@@ -35,14 +35,14 @@
35
35
  "clean:build": "hanzo-gui-build clean:build"
36
36
  },
37
37
  "dependencies": {
38
- "@hanzogui/constants": "2.0.0-rc.29",
39
- "@hanzogui/core": "2.0.0-rc.29",
40
- "@hanzogui/helpers": "2.0.0-rc.29",
41
- "@hanzogui/portal": "2.0.0",
42
- "@hanzogui/z-index-stack": "2.0.0"
38
+ "@hanzogui/constants": "2.0.1",
39
+ "@hanzogui/core": "2.0.1",
40
+ "@hanzogui/helpers": "2.0.1",
41
+ "@hanzogui/portal": "2.0.1",
42
+ "@hanzogui/z-index-stack": "2.0.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@hanzogui/build": "2.0.0-rc.29",
45
+ "@hanzogui/build": "2.0.1",
46
46
  "react": ">=19"
47
47
  },
48
48
  "peerDependencies": {