@hanzogui/tooltip 2.0.4 → 2.0.7
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/Tooltip.cjs +9 -9
- package/dist/cjs/Tooltip.native.js +1 -1
- package/dist/cjs/TooltipSimple.cjs +2 -2
- package/dist/esm/Tooltip.mjs +8 -8
- package/dist/esm/Tooltip.native.js +1 -1
- package/dist/esm/TooltipSimple.mjs +2 -2
- package/dist/jsx/Tooltip.mjs +8 -8
- package/dist/jsx/Tooltip.native.js +1 -1
- package/dist/jsx/TooltipSimple.mjs +2 -2
- package/package.json +1 -1
- package/src/Tooltip.native.tsx +1 -1
- package/src/Tooltip.tsx +12 -12
- package/src/TooltipSimple.tsx +3 -3
package/dist/cjs/Tooltip.cjs
CHANGED
|
@@ -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("@
|
|
40
|
-
import_gui_floating = require("@
|
|
41
|
-
import_gui_core = require("@
|
|
42
|
-
import_gui_floating2 = require("@
|
|
43
|
-
import_gui_get_token = require("@
|
|
44
|
-
import_gui_helpers = require("@
|
|
45
|
-
import_gui_popover = require("@
|
|
46
|
-
import_gui_popper = require("@
|
|
47
|
-
import_gui_use_controllable_state = require("@
|
|
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("@
|
|
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("@
|
|
38
|
-
import_gui_text = require("@
|
|
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");
|
package/dist/esm/Tooltip.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FloatingDelayGroup, useDelayGroupContext } from "@
|
|
2
|
-
import { useEvent } from "@
|
|
3
|
-
import { FloatingOverrideContext } from "@
|
|
4
|
-
import { getSize } from "@
|
|
5
|
-
import { withStaticProperties } from "@
|
|
6
|
-
import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverContextProvider, PopoverTrigger, useFloatingContext } from "@
|
|
7
|
-
import { Popper, PopperContentFrame } from "@
|
|
8
|
-
import { useControllableState } from "@
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { getSpace } from "@
|
|
2
|
-
import { Paragraph } from "@
|
|
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/dist/jsx/Tooltip.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FloatingDelayGroup, useDelayGroupContext } from "@
|
|
2
|
-
import { useEvent } from "@
|
|
3
|
-
import { FloatingOverrideContext } from "@
|
|
4
|
-
import { getSize } from "@
|
|
5
|
-
import { withStaticProperties } from "@
|
|
6
|
-
import { PopoverAnchor, PopoverArrow, PopoverContent, PopoverContextProvider, PopoverTrigger, useFloatingContext } from "@
|
|
7
|
-
import { Popper, PopperContentFrame } from "@
|
|
8
|
-
import { useControllableState } from "@
|
|
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("@
|
|
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 "@
|
|
2
|
-
import { Paragraph } from "@
|
|
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
package/src/Tooltip.native.tsx
CHANGED
package/src/Tooltip.tsx
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import '@
|
|
1
|
+
import '@hanzogui/polyfill-dev'
|
|
2
2
|
|
|
3
|
-
import { FloatingDelayGroup, useDelayGroupContext, type Delay } from '@
|
|
4
|
-
import type { SizeTokens, GuiElement } from '@
|
|
5
|
-
import { useEvent } from '@
|
|
6
|
-
import { FloatingOverrideContext } from '@
|
|
7
|
-
import { getSize } from '@
|
|
8
|
-
import { withStaticProperties } from '@
|
|
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 '@
|
|
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 '@
|
|
22
|
-
import type { PopperArrowProps, PopperProps } from '@
|
|
23
|
-
import { Popper, PopperContentFrame } from '@
|
|
24
|
-
import { useControllableState } from '@
|
|
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 = ''
|
package/src/TooltipSimple.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getSpace } from '@
|
|
2
|
-
import type { SizableStackProps } from '@
|
|
3
|
-
import { Paragraph } from '@
|
|
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'
|