@hanzogui/dialog 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.
- package/dist/cjs/Dialog.cjs +16 -16
- package/dist/cjs/Dialog.native.js +16 -16
- package/dist/esm/Dialog.mjs +16 -16
- package/dist/esm/Dialog.native.js +16 -16
- package/dist/jsx/Dialog.mjs +16 -16
- package/dist/jsx/Dialog.native.js +16 -16
- package/package.json +20 -20
package/dist/cjs/Dialog.cjs
CHANGED
|
@@ -47,22 +47,22 @@ __export(Dialog_exports, {
|
|
|
47
47
|
useDialogContext: () => useDialogContext
|
|
48
48
|
});
|
|
49
49
|
module.exports = __toCommonJS(Dialog_exports);
|
|
50
|
-
var import_gui_adapt = require("@
|
|
51
|
-
import_gui_animate = require("@
|
|
52
|
-
import_gui_compose_refs = require("@
|
|
53
|
-
import_gui_constants = require("@
|
|
54
|
-
import_gui_core = require("@
|
|
55
|
-
import_gui_create_context = require("@
|
|
56
|
-
import_gui_dismissable = require("@
|
|
57
|
-
import_gui_focus_scope = require("@
|
|
58
|
-
import_gui_helpers = require("@
|
|
59
|
-
import_gui_portal = require("@
|
|
60
|
-
import_gui_remove_scroll = require("@
|
|
61
|
-
import_controller = require("@
|
|
62
|
-
import_gui_stacks = require("@
|
|
63
|
-
import_gui_text = require("@
|
|
64
|
-
import_gui_use_controllable_state = require("@
|
|
65
|
-
import_gui_z_index_stack = require("@
|
|
50
|
+
var import_gui_adapt = require("@hanzogui/adapt"),
|
|
51
|
+
import_gui_animate = require("@hanzogui/animate"),
|
|
52
|
+
import_gui_compose_refs = require("@hanzogui/compose-refs"),
|
|
53
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
54
|
+
import_gui_core = require("@hanzogui/core"),
|
|
55
|
+
import_gui_create_context = require("@hanzogui/create-context"),
|
|
56
|
+
import_gui_dismissable = require("@hanzogui/dismissable"),
|
|
57
|
+
import_gui_focus_scope = require("@hanzogui/focus-scope"),
|
|
58
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
59
|
+
import_gui_portal = require("@hanzogui/portal"),
|
|
60
|
+
import_gui_remove_scroll = require("@hanzogui/remove-scroll"),
|
|
61
|
+
import_controller = require("@hanzogui/sheet/controller"),
|
|
62
|
+
import_gui_stacks = require("@hanzogui/stacks"),
|
|
63
|
+
import_gui_text = require("@hanzogui/text"),
|
|
64
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
65
|
+
import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
|
|
66
66
|
React = __toESM(require("react"), 1),
|
|
67
67
|
import_jsx_runtime = require("react/jsx-runtime");
|
|
68
68
|
const DialogContext = (0, import_gui_core.createStyledContext)(
|
|
@@ -50,22 +50,22 @@ __export(Dialog_exports, {
|
|
|
50
50
|
});
|
|
51
51
|
module.exports = __toCommonJS(Dialog_exports);
|
|
52
52
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
53
|
-
import_gui_adapt = require("@
|
|
54
|
-
import_gui_animate = require("@
|
|
55
|
-
import_gui_compose_refs = require("@
|
|
56
|
-
import_gui_constants = require("@
|
|
57
|
-
import_gui_core = require("@
|
|
58
|
-
import_gui_create_context = require("@
|
|
59
|
-
import_gui_dismissable = require("@
|
|
60
|
-
import_gui_focus_scope = require("@
|
|
61
|
-
import_gui_helpers = require("@
|
|
62
|
-
import_gui_portal = require("@
|
|
63
|
-
import_gui_remove_scroll = require("@
|
|
64
|
-
import_controller = require("@
|
|
65
|
-
import_gui_stacks = require("@
|
|
66
|
-
import_gui_text = require("@
|
|
67
|
-
import_gui_use_controllable_state = require("@
|
|
68
|
-
import_gui_z_index_stack = require("@
|
|
53
|
+
import_gui_adapt = require("@hanzogui/adapt"),
|
|
54
|
+
import_gui_animate = require("@hanzogui/animate"),
|
|
55
|
+
import_gui_compose_refs = require("@hanzogui/compose-refs"),
|
|
56
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
57
|
+
import_gui_core = require("@hanzogui/core"),
|
|
58
|
+
import_gui_create_context = require("@hanzogui/create-context"),
|
|
59
|
+
import_gui_dismissable = require("@hanzogui/dismissable"),
|
|
60
|
+
import_gui_focus_scope = require("@hanzogui/focus-scope"),
|
|
61
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
62
|
+
import_gui_portal = require("@hanzogui/portal"),
|
|
63
|
+
import_gui_remove_scroll = require("@hanzogui/remove-scroll"),
|
|
64
|
+
import_controller = require("@hanzogui/sheet/controller"),
|
|
65
|
+
import_gui_stacks = require("@hanzogui/stacks"),
|
|
66
|
+
import_gui_text = require("@hanzogui/text"),
|
|
67
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
68
|
+
import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
|
|
69
69
|
React = __toESM(require("react"), 1);
|
|
70
70
|
function _instanceof(left, right) {
|
|
71
71
|
return right != null && typeof Symbol < "u" && right[Symbol.hasInstance] ? !!right[Symbol.hasInstance](left) : left instanceof right;
|
package/dist/esm/Dialog.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Adapt, AdaptParent, AdaptPortalContents, ProvideAdaptContext, useAdaptContext, useAdaptIsActive } from "@
|
|
2
|
-
import { Animate } from "@
|
|
3
|
-
import { composeRefs, useComposedRefs } from "@
|
|
4
|
-
import { isWeb, useIsomorphicLayoutEffect } from "@
|
|
5
|
-
import { createStyledContext, getExpandedShorthand, LayoutMeasurementController, styled, Theme, useThemeName, View } from "@
|
|
6
|
-
import { createContext } from "@
|
|
7
|
-
import { Dismissable } from "@
|
|
8
|
-
import { FocusScope, FocusScopeController } from "@
|
|
9
|
-
import { composeEventHandlers, withStaticProperties } from "@
|
|
10
|
-
import { needsPortalRepropagation, Portal, PortalItem, resolveViewZIndex } from "@
|
|
11
|
-
import { RemoveScroll } from "@
|
|
12
|
-
import { SheetController } from "@
|
|
13
|
-
import { ButtonNestingContext, ThemeableStack, YStack } from "@
|
|
14
|
-
import { H2, Paragraph } from "@
|
|
15
|
-
import { useControllableState } from "@
|
|
16
|
-
import { StackZIndexContext } from "@
|
|
1
|
+
import { Adapt, AdaptParent, AdaptPortalContents, ProvideAdaptContext, useAdaptContext, useAdaptIsActive } from "@hanzogui/adapt";
|
|
2
|
+
import { Animate } from "@hanzogui/animate";
|
|
3
|
+
import { composeRefs, useComposedRefs } from "@hanzogui/compose-refs";
|
|
4
|
+
import { isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
|
|
5
|
+
import { createStyledContext, getExpandedShorthand, LayoutMeasurementController, styled, Theme, useThemeName, View } from "@hanzogui/core";
|
|
6
|
+
import { createContext } from "@hanzogui/create-context";
|
|
7
|
+
import { Dismissable } from "@hanzogui/dismissable";
|
|
8
|
+
import { FocusScope, FocusScopeController } from "@hanzogui/focus-scope";
|
|
9
|
+
import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
|
|
10
|
+
import { needsPortalRepropagation, Portal, PortalItem, resolveViewZIndex } from "@hanzogui/portal";
|
|
11
|
+
import { RemoveScroll } from "@hanzogui/remove-scroll";
|
|
12
|
+
import { SheetController } from "@hanzogui/sheet/controller";
|
|
13
|
+
import { ButtonNestingContext, ThemeableStack, YStack } from "@hanzogui/stacks";
|
|
14
|
+
import { H2, Paragraph } from "@hanzogui/text";
|
|
15
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
16
|
+
import { StackZIndexContext } from "@hanzogui/z-index-stack";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
const DialogContext = createStyledContext(
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Adapt, AdaptParent, AdaptPortalContents, ProvideAdaptContext, useAdaptContext, useAdaptIsActive } from "@
|
|
3
|
-
import { Animate } from "@
|
|
4
|
-
import { composeRefs, useComposedRefs } from "@
|
|
5
|
-
import { isWeb, useIsomorphicLayoutEffect } from "@
|
|
6
|
-
import { createStyledContext, getExpandedShorthand, LayoutMeasurementController, styled, Theme, useThemeName, View } from "@
|
|
7
|
-
import { createContext } from "@
|
|
8
|
-
import { Dismissable } from "@
|
|
9
|
-
import { FocusScope, FocusScopeController } from "@
|
|
10
|
-
import { composeEventHandlers, withStaticProperties } from "@
|
|
11
|
-
import { needsPortalRepropagation, Portal, PortalItem, resolveViewZIndex } from "@
|
|
12
|
-
import { RemoveScroll } from "@
|
|
13
|
-
import { SheetController } from "@
|
|
14
|
-
import { ButtonNestingContext, ThemeableStack, YStack } from "@
|
|
15
|
-
import { H2, Paragraph } from "@
|
|
16
|
-
import { useControllableState } from "@
|
|
17
|
-
import { StackZIndexContext } from "@
|
|
2
|
+
import { Adapt, AdaptParent, AdaptPortalContents, ProvideAdaptContext, useAdaptContext, useAdaptIsActive } from "@hanzogui/adapt";
|
|
3
|
+
import { Animate } from "@hanzogui/animate";
|
|
4
|
+
import { composeRefs, useComposedRefs } from "@hanzogui/compose-refs";
|
|
5
|
+
import { isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
|
|
6
|
+
import { createStyledContext, getExpandedShorthand, LayoutMeasurementController, styled, Theme, useThemeName, View } from "@hanzogui/core";
|
|
7
|
+
import { createContext } from "@hanzogui/create-context";
|
|
8
|
+
import { Dismissable } from "@hanzogui/dismissable";
|
|
9
|
+
import { FocusScope, FocusScopeController } from "@hanzogui/focus-scope";
|
|
10
|
+
import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
|
|
11
|
+
import { needsPortalRepropagation, Portal, PortalItem, resolveViewZIndex } from "@hanzogui/portal";
|
|
12
|
+
import { RemoveScroll } from "@hanzogui/remove-scroll";
|
|
13
|
+
import { SheetController } from "@hanzogui/sheet/controller";
|
|
14
|
+
import { ButtonNestingContext, ThemeableStack, YStack } from "@hanzogui/stacks";
|
|
15
|
+
import { H2, Paragraph } from "@hanzogui/text";
|
|
16
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
17
|
+
import { StackZIndexContext } from "@hanzogui/z-index-stack";
|
|
18
18
|
import * as React from "react";
|
|
19
19
|
function _instanceof(left, right) {
|
|
20
20
|
return right != null && typeof Symbol < "u" && right[Symbol.hasInstance] ? !!right[Symbol.hasInstance](left) : left instanceof right;
|
package/dist/jsx/Dialog.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Adapt, AdaptParent, AdaptPortalContents, ProvideAdaptContext, useAdaptContext, useAdaptIsActive } from "@
|
|
2
|
-
import { Animate } from "@
|
|
3
|
-
import { composeRefs, useComposedRefs } from "@
|
|
4
|
-
import { isWeb, useIsomorphicLayoutEffect } from "@
|
|
5
|
-
import { createStyledContext, getExpandedShorthand, LayoutMeasurementController, styled, Theme, useThemeName, View } from "@
|
|
6
|
-
import { createContext } from "@
|
|
7
|
-
import { Dismissable } from "@
|
|
8
|
-
import { FocusScope, FocusScopeController } from "@
|
|
9
|
-
import { composeEventHandlers, withStaticProperties } from "@
|
|
10
|
-
import { needsPortalRepropagation, Portal, PortalItem, resolveViewZIndex } from "@
|
|
11
|
-
import { RemoveScroll } from "@
|
|
12
|
-
import { SheetController } from "@
|
|
13
|
-
import { ButtonNestingContext, ThemeableStack, YStack } from "@
|
|
14
|
-
import { H2, Paragraph } from "@
|
|
15
|
-
import { useControllableState } from "@
|
|
16
|
-
import { StackZIndexContext } from "@
|
|
1
|
+
import { Adapt, AdaptParent, AdaptPortalContents, ProvideAdaptContext, useAdaptContext, useAdaptIsActive } from "@hanzogui/adapt";
|
|
2
|
+
import { Animate } from "@hanzogui/animate";
|
|
3
|
+
import { composeRefs, useComposedRefs } from "@hanzogui/compose-refs";
|
|
4
|
+
import { isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
|
|
5
|
+
import { createStyledContext, getExpandedShorthand, LayoutMeasurementController, styled, Theme, useThemeName, View } from "@hanzogui/core";
|
|
6
|
+
import { createContext } from "@hanzogui/create-context";
|
|
7
|
+
import { Dismissable } from "@hanzogui/dismissable";
|
|
8
|
+
import { FocusScope, FocusScopeController } from "@hanzogui/focus-scope";
|
|
9
|
+
import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
|
|
10
|
+
import { needsPortalRepropagation, Portal, PortalItem, resolveViewZIndex } from "@hanzogui/portal";
|
|
11
|
+
import { RemoveScroll } from "@hanzogui/remove-scroll";
|
|
12
|
+
import { SheetController } from "@hanzogui/sheet/controller";
|
|
13
|
+
import { ButtonNestingContext, ThemeableStack, YStack } from "@hanzogui/stacks";
|
|
14
|
+
import { H2, Paragraph } from "@hanzogui/text";
|
|
15
|
+
import { useControllableState } from "@hanzogui/use-controllable-state";
|
|
16
|
+
import { StackZIndexContext } from "@hanzogui/z-index-stack";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
const DialogContext = createStyledContext(
|
|
@@ -50,22 +50,22 @@ __export(Dialog_exports, {
|
|
|
50
50
|
});
|
|
51
51
|
module.exports = __toCommonJS(Dialog_exports);
|
|
52
52
|
var import_jsx_runtime = require("react/jsx-runtime"),
|
|
53
|
-
import_gui_adapt = require("@
|
|
54
|
-
import_gui_animate = require("@
|
|
55
|
-
import_gui_compose_refs = require("@
|
|
56
|
-
import_gui_constants = require("@
|
|
57
|
-
import_gui_core = require("@
|
|
58
|
-
import_gui_create_context = require("@
|
|
59
|
-
import_gui_dismissable = require("@
|
|
60
|
-
import_gui_focus_scope = require("@
|
|
61
|
-
import_gui_helpers = require("@
|
|
62
|
-
import_gui_portal = require("@
|
|
63
|
-
import_gui_remove_scroll = require("@
|
|
64
|
-
import_controller = require("@
|
|
65
|
-
import_gui_stacks = require("@
|
|
66
|
-
import_gui_text = require("@
|
|
67
|
-
import_gui_use_controllable_state = require("@
|
|
68
|
-
import_gui_z_index_stack = require("@
|
|
53
|
+
import_gui_adapt = require("@hanzogui/adapt"),
|
|
54
|
+
import_gui_animate = require("@hanzogui/animate"),
|
|
55
|
+
import_gui_compose_refs = require("@hanzogui/compose-refs"),
|
|
56
|
+
import_gui_constants = require("@hanzogui/constants"),
|
|
57
|
+
import_gui_core = require("@hanzogui/core"),
|
|
58
|
+
import_gui_create_context = require("@hanzogui/create-context"),
|
|
59
|
+
import_gui_dismissable = require("@hanzogui/dismissable"),
|
|
60
|
+
import_gui_focus_scope = require("@hanzogui/focus-scope"),
|
|
61
|
+
import_gui_helpers = require("@hanzogui/helpers"),
|
|
62
|
+
import_gui_portal = require("@hanzogui/portal"),
|
|
63
|
+
import_gui_remove_scroll = require("@hanzogui/remove-scroll"),
|
|
64
|
+
import_controller = require("@hanzogui/sheet/controller"),
|
|
65
|
+
import_gui_stacks = require("@hanzogui/stacks"),
|
|
66
|
+
import_gui_text = require("@hanzogui/text"),
|
|
67
|
+
import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
|
|
68
|
+
import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
|
|
69
69
|
React = __toESM(require("react"), 1);
|
|
70
70
|
function _instanceof(left, right) {
|
|
71
71
|
return right != null && typeof Symbol < "u" && right[Symbol.hasInstance] ? !!right[Symbol.hasInstance](left) : left instanceof right;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/dialog",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -36,27 +36,27 @@
|
|
|
36
36
|
"clean:build": "hanzo-gui-build clean:build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@hanzogui/adapt": "2.0.
|
|
40
|
-
"@hanzogui/animate": "2.0.
|
|
41
|
-
"@hanzogui/animate-presence": "2.0.
|
|
42
|
-
"@hanzogui/compose-refs": "2.0.
|
|
43
|
-
"@hanzogui/constants": "2.0.
|
|
44
|
-
"@hanzogui/core": "2.0.
|
|
45
|
-
"@hanzogui/create-context": "2.0.
|
|
46
|
-
"@hanzogui/dismissable": "2.0.
|
|
47
|
-
"@hanzogui/focus-scope": "2.0.
|
|
48
|
-
"@hanzogui/helpers": "2.0.
|
|
49
|
-
"@hanzogui/polyfill-dev": "2.0.
|
|
50
|
-
"@hanzogui/portal": "2.0.
|
|
51
|
-
"@hanzogui/remove-scroll": "2.0.
|
|
52
|
-
"@hanzogui/sheet": "2.0.
|
|
53
|
-
"@hanzogui/stacks": "2.0.
|
|
54
|
-
"@hanzogui/text": "2.0.
|
|
55
|
-
"@hanzogui/use-controllable-state": "2.0.
|
|
56
|
-
"@hanzogui/z-index-stack": "2.0.
|
|
39
|
+
"@hanzogui/adapt": "2.0.1",
|
|
40
|
+
"@hanzogui/animate": "2.0.1",
|
|
41
|
+
"@hanzogui/animate-presence": "2.0.1",
|
|
42
|
+
"@hanzogui/compose-refs": "2.0.1",
|
|
43
|
+
"@hanzogui/constants": "2.0.1",
|
|
44
|
+
"@hanzogui/core": "2.0.1",
|
|
45
|
+
"@hanzogui/create-context": "2.0.1",
|
|
46
|
+
"@hanzogui/dismissable": "2.0.1",
|
|
47
|
+
"@hanzogui/focus-scope": "2.0.1",
|
|
48
|
+
"@hanzogui/helpers": "2.0.1",
|
|
49
|
+
"@hanzogui/polyfill-dev": "2.0.1",
|
|
50
|
+
"@hanzogui/portal": "2.0.1",
|
|
51
|
+
"@hanzogui/remove-scroll": "2.0.1",
|
|
52
|
+
"@hanzogui/sheet": "2.0.1",
|
|
53
|
+
"@hanzogui/stacks": "2.0.1",
|
|
54
|
+
"@hanzogui/text": "2.0.1",
|
|
55
|
+
"@hanzogui/use-controllable-state": "2.0.1",
|
|
56
|
+
"@hanzogui/z-index-stack": "2.0.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@hanzogui/build": "2.0.
|
|
59
|
+
"@hanzogui/build": "2.0.1",
|
|
60
60
|
"react": ">=19",
|
|
61
61
|
"react-native": "0.83.2"
|
|
62
62
|
},
|