@hanzogui/tooltip 2.0.4 → 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.
@@ -36,15 +36,15 @@ __export(Tooltip_exports, {
36
36
  closeOpenTooltips: () => closeOpenTooltips
37
37
  });
38
38
  module.exports = __toCommonJS(Tooltip_exports);
39
- var import_gui_polyfill_dev = require("@hanzo/gui-polyfill-dev"),
40
- import_gui_floating = require("@hanzo/gui-floating"),
41
- import_gui_core = require("@hanzo/gui-core"),
42
- import_gui_floating2 = require("@hanzo/gui-floating"),
43
- import_gui_get_token = require("@hanzo/gui-get-token"),
44
- import_gui_helpers = require("@hanzo/gui-helpers"),
45
- import_gui_popover = require("@hanzo/gui-popover"),
46
- import_gui_popper = require("@hanzo/gui-popper"),
47
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
39
+ var import_gui_polyfill_dev = require("@hanzogui/polyfill-dev"),
40
+ import_gui_floating = require("@hanzogui/floating"),
41
+ import_gui_core = require("@hanzogui/core"),
42
+ import_gui_floating2 = require("@hanzogui/floating"),
43
+ import_gui_get_token = require("@hanzogui/get-token"),
44
+ import_gui_helpers = require("@hanzogui/helpers"),
45
+ import_gui_popover = require("@hanzogui/popover"),
46
+ import_gui_popper = require("@hanzogui/popper"),
47
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
48
48
  React = __toESM(require("react"), 1),
49
49
  import_jsx_runtime = require("react/jsx-runtime");
50
50
  const TOOLTIP_SCOPE = "",
@@ -27,7 +27,7 @@ __export(Tooltip_native_exports, {
27
27
  closeOpenTooltips: () => closeOpenTooltips
28
28
  });
29
29
  module.exports = __toCommonJS(Tooltip_native_exports);
30
- var import_gui_helpers = require("@hanzo/gui-helpers"),
30
+ var import_gui_helpers = require("@hanzogui/helpers"),
31
31
  RenderChildren = function (props) {
32
32
  return props.children;
33
33
  },
@@ -34,8 +34,8 @@ __export(TooltipSimple_exports, {
34
34
  TooltipSimple: () => TooltipSimple
35
35
  });
36
36
  module.exports = __toCommonJS(TooltipSimple_exports);
37
- var import_gui_get_token = require("@hanzo/gui-get-token"),
38
- import_gui_text = require("@hanzo/gui-text"),
37
+ var import_gui_get_token = require("@hanzogui/get-token"),
38
+ import_gui_text = require("@hanzogui/text"),
39
39
  React = __toESM(require("react"), 1),
40
40
  import_Tooltip = require("./Tooltip.cjs"),
41
41
  import_jsx_runtime = require("react/jsx-runtime");
@@ -1,11 +1,11 @@
1
- import { FloatingDelayGroup, useDelayGroupContext } from "@hanzo/gui-floating";
2
- import { useEvent } from "@hanzo/gui-core";
3
- import { FloatingOverrideContext } from "@hanzo/gui-floating";
4
- import { getSize } from "@hanzo/gui-get-token";
5
- import { withStaticProperties } from "@hanzo/gui-helpers";
6
- import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverContextProvider, PopoverTrigger, useFloatingContext } from "@hanzo/gui-popover";
7
- import { Popper, PopperContentFrame } from "@hanzo/gui-popper";
8
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { FloatingDelayGroup, useDelayGroupContext } from "@hanzogui/floating";
2
+ import { useEvent } from "@hanzogui/core";
3
+ import { FloatingOverrideContext } from "@hanzogui/floating";
4
+ import { getSize } from "@hanzogui/get-token";
5
+ import { withStaticProperties } from "@hanzogui/helpers";
6
+ import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverContextProvider, PopoverTrigger, useFloatingContext } from "@hanzogui/popover";
7
+ import { Popper, PopperContentFrame } from "@hanzogui/popper";
8
+ import { useControllableState } from "@hanzogui/use-controllable-state";
9
9
  import * as React from "react";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
  const TOOLTIP_SCOPE = "",
@@ -1,4 +1,4 @@
1
- import { withStaticProperties } from "@hanzo/gui-helpers";
1
+ import { withStaticProperties } from "@hanzogui/helpers";
2
2
  var RenderChildren = function (props) {
3
3
  return props.children;
4
4
  },
@@ -1,5 +1,5 @@
1
- import { getSpace } from "@hanzo/gui-get-token";
2
- import { Paragraph } from "@hanzo/gui-text";
1
+ import { getSpace } from "@hanzogui/get-token";
2
+ import { Paragraph } from "@hanzogui/text";
3
3
  import * as React from "react";
4
4
  import { Tooltip } from "./Tooltip.mjs";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
- import { FloatingDelayGroup, useDelayGroupContext } from "@hanzo/gui-floating";
2
- import { useEvent } from "@hanzo/gui-core";
3
- import { FloatingOverrideContext } from "@hanzo/gui-floating";
4
- import { getSize } from "@hanzo/gui-get-token";
5
- import { withStaticProperties } from "@hanzo/gui-helpers";
6
- import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverContextProvider, PopoverTrigger, useFloatingContext } from "@hanzo/gui-popover";
7
- import { Popper, PopperContentFrame } from "@hanzo/gui-popper";
8
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { FloatingDelayGroup, useDelayGroupContext } from "@hanzogui/floating";
2
+ import { useEvent } from "@hanzogui/core";
3
+ import { FloatingOverrideContext } from "@hanzogui/floating";
4
+ import { getSize } from "@hanzogui/get-token";
5
+ import { withStaticProperties } from "@hanzogui/helpers";
6
+ import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverContextProvider, PopoverTrigger, useFloatingContext } from "@hanzogui/popover";
7
+ import { Popper, PopperContentFrame } from "@hanzogui/popper";
8
+ import { useControllableState } from "@hanzogui/use-controllable-state";
9
9
  import * as React from "react";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
  const TOOLTIP_SCOPE = "",
@@ -27,7 +27,7 @@ __export(Tooltip_native_exports, {
27
27
  closeOpenTooltips: () => closeOpenTooltips
28
28
  });
29
29
  module.exports = __toCommonJS(Tooltip_native_exports);
30
- var import_gui_helpers = require("@hanzo/gui-helpers"),
30
+ var import_gui_helpers = require("@hanzogui/helpers"),
31
31
  RenderChildren = function (props) {
32
32
  return props.children;
33
33
  },
@@ -1,5 +1,5 @@
1
- import { getSpace } from "@hanzo/gui-get-token";
2
- import { Paragraph } from "@hanzo/gui-text";
1
+ import { getSpace } from "@hanzogui/get-token";
2
+ import { Paragraph } from "@hanzogui/text";
3
3
  import * as React from "react";
4
4
  import { Tooltip } from "./Tooltip.mjs";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/tooltip",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "source": "src/index.tsx",
5
5
  "files": [
6
6
  "src",
@@ -1,4 +1,4 @@
1
- import { withStaticProperties } from '@hanzo/gui-helpers'
1
+ import { withStaticProperties } from '@hanzogui/helpers'
2
2
 
3
3
  // no output on native for now
4
4
  // could have an option to long-press or similar to show in a context menu/drawer
package/src/Tooltip.tsx CHANGED
@@ -1,16 +1,16 @@
1
- import '@hanzo/gui-polyfill-dev'
1
+ import '@hanzogui/polyfill-dev'
2
2
 
3
- import { FloatingDelayGroup, useDelayGroupContext, type Delay } from '@hanzo/gui-floating'
4
- import type { SizeTokens, GuiElement } from '@hanzo/gui-core'
5
- import { useEvent } from '@hanzo/gui-core'
6
- import { FloatingOverrideContext } from '@hanzo/gui-floating'
7
- import { getSize } from '@hanzo/gui-get-token'
8
- import { withStaticProperties } from '@hanzo/gui-helpers'
3
+ import { FloatingDelayGroup, useDelayGroupContext, type Delay } from '@hanzogui/floating'
4
+ import type { SizeTokens, GuiElement } from '@hanzogui/core'
5
+ import { useEvent } from '@hanzogui/core'
6
+ import { FloatingOverrideContext } from '@hanzogui/floating'
7
+ import { getSize } from '@hanzogui/get-token'
8
+ import { withStaticProperties } from '@hanzogui/helpers'
9
9
  import type {
10
10
  PopoverAnchorProps,
11
11
  PopoverContentProps,
12
12
  PopoverTriggerProps,
13
- } from '@hanzo/gui-popover'
13
+ } from '@hanzogui/popover'
14
14
  import {
15
15
  PopoverAnchor,
16
16
  PopoverArrow,
@@ -18,10 +18,10 @@ import {
18
18
  PopoverContextProvider,
19
19
  PopoverTrigger,
20
20
  useFloatingContext,
21
- } from '@hanzo/gui-popover'
22
- import type { PopperArrowProps, PopperProps } from '@hanzo/gui-popper'
23
- import { Popper, PopperContentFrame } from '@hanzo/gui-popper'
24
- import { useControllableState } from '@hanzo/gui-use-controllable-state'
21
+ } from '@hanzogui/popover'
22
+ import type { PopperArrowProps, PopperProps } from '@hanzogui/popper'
23
+ import { Popper, PopperContentFrame } from '@hanzogui/popper'
24
+ import { useControllableState } from '@hanzogui/use-controllable-state'
25
25
  import * as React from 'react'
26
26
 
27
27
  const TOOLTIP_SCOPE = ''
@@ -1,6 +1,6 @@
1
- import { getSpace } from '@hanzo/gui-get-token'
2
- import type { SizableStackProps } from '@hanzo/gui-stacks'
3
- import { Paragraph } from '@hanzo/gui-text'
1
+ import { getSpace } from '@hanzogui/get-token'
2
+ import type { SizableStackProps } from '@hanzogui/stacks'
3
+ import { Paragraph } from '@hanzogui/text'
4
4
  import * as React from 'react'
5
5
 
6
6
  import type { TooltipProps } from './Tooltip'