@hanzogui/dialog 2.0.0-rc.41-hanzoai.3
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/LICENSE +21 -0
- package/dist/cjs/Dialog.cjs +703 -0
- package/dist/cjs/Dialog.native.js +754 -0
- package/dist/cjs/Dialog.native.js.map +1 -0
- package/dist/cjs/index.cjs +20 -0
- package/dist/cjs/index.native.js +23 -0
- package/dist/cjs/index.native.js.map +1 -0
- package/dist/esm/Dialog.mjs +654 -0
- package/dist/esm/Dialog.mjs.map +1 -0
- package/dist/esm/Dialog.native.js +702 -0
- package/dist/esm/Dialog.native.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/esm/index.native.js +2 -0
- package/dist/esm/index.native.js.map +1 -0
- package/dist/jsx/Dialog.mjs +654 -0
- package/dist/jsx/Dialog.mjs.map +1 -0
- package/dist/jsx/Dialog.native.js +754 -0
- package/dist/jsx/Dialog.native.js.map +1 -0
- package/dist/jsx/index.js +2 -0
- package/dist/jsx/index.js.map +1 -0
- package/dist/jsx/index.mjs +2 -0
- package/dist/jsx/index.mjs.map +1 -0
- package/dist/jsx/index.native.js +23 -0
- package/dist/jsx/index.native.js.map +1 -0
- package/package.json +68 -0
- package/src/Dialog.tsx +1052 -0
- package/src/index.ts +1 -0
- package/types/Dialog.d.ts +409 -0
- package/types/Dialog.d.ts.map +1 -0
- package/types/index.d.ts +2 -0
- package/types/index.d.ts.map +1 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Dialog'
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import type { GetProps, HanzoguiElement, ViewProps } from '@hanzogui/core';
|
|
2
|
+
import type { DismissableProps } from '@hanzogui/dismissable';
|
|
3
|
+
import type { FocusScopeProps } from '@hanzogui/focus-scope';
|
|
4
|
+
import type { YStackProps } from '@hanzogui/stacks';
|
|
5
|
+
import * as React from 'react';
|
|
6
|
+
export type DialogScopes = string;
|
|
7
|
+
type ScopedProps<P> = P & {
|
|
8
|
+
scope?: DialogScopes;
|
|
9
|
+
};
|
|
10
|
+
type DialogProps = ScopedProps<{
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
defaultOpen?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* When true, children never un-mount, otherwise they mount on open.
|
|
16
|
+
*
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
keepChildrenMounted?: boolean;
|
|
20
|
+
onOpenChange?(open: boolean): void;
|
|
21
|
+
modal?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Used to disable the remove scroll functionality when open
|
|
24
|
+
*/
|
|
25
|
+
disableRemoveScroll?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Called when the dialog open/close animation completes.
|
|
28
|
+
*/
|
|
29
|
+
onAnimationComplete?: (info: {
|
|
30
|
+
open: boolean;
|
|
31
|
+
}) => void;
|
|
32
|
+
}>;
|
|
33
|
+
type NonNull<A> = Exclude<A, void | null>;
|
|
34
|
+
type DialogContextValue = {
|
|
35
|
+
forceMount?: boolean;
|
|
36
|
+
keepChildrenMounted?: boolean;
|
|
37
|
+
disableRemoveScroll?: boolean;
|
|
38
|
+
triggerRef: React.RefObject<HanzoguiElement | null>;
|
|
39
|
+
contentRef: React.RefObject<HanzoguiElement | null>;
|
|
40
|
+
contentId: string;
|
|
41
|
+
titleId: string;
|
|
42
|
+
descriptionId: string;
|
|
43
|
+
onOpenToggle(): void;
|
|
44
|
+
open: NonNull<DialogProps['open']>;
|
|
45
|
+
onOpenChange: NonNull<DialogProps['onOpenChange']>;
|
|
46
|
+
modal: NonNull<DialogProps['modal']>;
|
|
47
|
+
dialogScope: DialogScopes;
|
|
48
|
+
adaptScope: string;
|
|
49
|
+
onAnimationComplete?: DialogProps['onAnimationComplete'];
|
|
50
|
+
};
|
|
51
|
+
export declare const DialogContext: import("@hanzogui/core").StyledContext<DialogContextValue>;
|
|
52
|
+
export declare const useDialogContext: (scope?: string) => DialogContextValue, DialogProvider: React.Provider<DialogContextValue> & React.ProviderExoticComponent<Partial<DialogContextValue> & {
|
|
53
|
+
children?: React.ReactNode;
|
|
54
|
+
scope?: string;
|
|
55
|
+
}>;
|
|
56
|
+
type DialogTriggerProps = ScopedProps<ViewProps>;
|
|
57
|
+
declare const DialogTrigger: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {}>, "scope"> & {
|
|
58
|
+
scope?: DialogScopes;
|
|
59
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & {
|
|
60
|
+
scope?: DialogScopes;
|
|
61
|
+
}, import("@hanzogui/core").StackStyleBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
62
|
+
type DialogPortalProps = ScopedProps<YStackProps & {
|
|
63
|
+
/**
|
|
64
|
+
* Used to force mounting when more control is needed. Useful when
|
|
65
|
+
* controlling animation with React animation libraries.
|
|
66
|
+
*/
|
|
67
|
+
forceMount?: boolean;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const DialogPortalFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
70
|
+
unstyled?: boolean | undefined;
|
|
71
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
72
|
+
fullscreen?: boolean | undefined;
|
|
73
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
74
|
+
declare const DialogPortal: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
75
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
76
|
+
fullscreen?: boolean | undefined;
|
|
77
|
+
}>, keyof import("@hanzogui/stacks").StackVariants> & import("@hanzogui/stacks").StackVariants & {
|
|
78
|
+
/**
|
|
79
|
+
* Used to force mounting when more control is needed. Useful when
|
|
80
|
+
* controlling animation with React animation libraries.
|
|
81
|
+
*/
|
|
82
|
+
forceMount?: boolean;
|
|
83
|
+
} & {
|
|
84
|
+
scope?: DialogScopes;
|
|
85
|
+
} & React.RefAttributes<HanzoguiElement>>;
|
|
86
|
+
/**
|
|
87
|
+
* exported for internal use with extractable()
|
|
88
|
+
*/
|
|
89
|
+
export declare const DialogOverlayFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
90
|
+
open?: boolean | undefined;
|
|
91
|
+
unstyled?: boolean | undefined;
|
|
92
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
93
|
+
fullscreen?: boolean | undefined;
|
|
94
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
95
|
+
export type DialogOverlayExtraProps = ScopedProps<{
|
|
96
|
+
/**
|
|
97
|
+
* Used to force mounting when more control is needed. Useful when
|
|
98
|
+
* controlling animation with React animation libraries.
|
|
99
|
+
*/
|
|
100
|
+
forceMount?: boolean;
|
|
101
|
+
}>;
|
|
102
|
+
type DialogOverlayProps = YStackProps & DialogOverlayExtraProps;
|
|
103
|
+
declare const DialogOverlay: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
104
|
+
open?: boolean | undefined;
|
|
105
|
+
unstyled?: boolean | undefined;
|
|
106
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
107
|
+
fullscreen?: boolean | undefined;
|
|
108
|
+
}>, "scope" | "forceMount"> & {
|
|
109
|
+
/**
|
|
110
|
+
* Used to force mounting when more control is needed. Useful when
|
|
111
|
+
* controlling animation with React animation libraries.
|
|
112
|
+
*/
|
|
113
|
+
forceMount?: boolean;
|
|
114
|
+
} & {
|
|
115
|
+
scope?: DialogScopes;
|
|
116
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & {
|
|
117
|
+
/**
|
|
118
|
+
* Used to force mounting when more control is needed. Useful when
|
|
119
|
+
* controlling animation with React animation libraries.
|
|
120
|
+
*/
|
|
121
|
+
forceMount?: boolean;
|
|
122
|
+
} & {
|
|
123
|
+
scope?: DialogScopes;
|
|
124
|
+
}, import("@hanzogui/core").StackStyleBase, {
|
|
125
|
+
open?: boolean | undefined;
|
|
126
|
+
unstyled?: boolean | undefined;
|
|
127
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
128
|
+
fullscreen?: boolean | undefined;
|
|
129
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
130
|
+
declare const DialogContentFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
131
|
+
unstyled?: boolean | undefined;
|
|
132
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
133
|
+
fullscreen?: boolean | undefined;
|
|
134
|
+
transparent?: boolean | undefined;
|
|
135
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
136
|
+
circular?: boolean | undefined;
|
|
137
|
+
elevate?: boolean | undefined;
|
|
138
|
+
bordered?: boolean | undefined;
|
|
139
|
+
chromeless?: boolean | "all" | undefined;
|
|
140
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
141
|
+
type DialogContentFrameProps = GetProps<typeof DialogContentFrame>;
|
|
142
|
+
type DialogContentExtraProps = ScopedProps<Omit<DialogContentTypeProps, 'context' | 'onPointerDownCapture'>>;
|
|
143
|
+
type DialogContentProps = DialogContentFrameProps & DialogContentExtraProps;
|
|
144
|
+
declare const DialogContent: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
145
|
+
unstyled?: boolean | undefined;
|
|
146
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
147
|
+
fullscreen?: boolean | undefined;
|
|
148
|
+
transparent?: boolean | undefined;
|
|
149
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
150
|
+
circular?: boolean | undefined;
|
|
151
|
+
elevate?: boolean | undefined;
|
|
152
|
+
bordered?: boolean | undefined;
|
|
153
|
+
chromeless?: boolean | "all" | undefined;
|
|
154
|
+
}>, "theme" | "debug" | "children" | "id" | "style" | `$${string}` | `$${number}` | import("@hanzogui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "elevation" | keyof import("@hanzogui/core").StackStyleBase | "scope" | "fullscreen" | "transparent" | "size" | "circular" | "elevate" | "bordered" | "chromeless" | "disableOutsidePointerEvents" | "branches" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | keyof import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & {
|
|
155
|
+
unstyled?: boolean | undefined;
|
|
156
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
157
|
+
fullscreen?: boolean | undefined;
|
|
158
|
+
transparent?: boolean | undefined;
|
|
159
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
160
|
+
circular?: boolean | undefined;
|
|
161
|
+
elevate?: boolean | undefined;
|
|
162
|
+
bordered?: boolean | undefined;
|
|
163
|
+
chromeless?: boolean | "all" | undefined;
|
|
164
|
+
} & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> | "trapFocus" | "onOpenAutoFocus" | "onCloseAutoFocus"> & Omit<DialogContentTypeProps, "onPointerDownCapture" | "context"> & {
|
|
165
|
+
scope?: DialogScopes;
|
|
166
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & Omit<DialogContentTypeProps, "onPointerDownCapture" | "context"> & {
|
|
167
|
+
scope?: DialogScopes;
|
|
168
|
+
}, import("@hanzogui/core").StackStyleBase, {
|
|
169
|
+
unstyled?: boolean | undefined;
|
|
170
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
171
|
+
fullscreen?: boolean | undefined;
|
|
172
|
+
transparent?: boolean | undefined;
|
|
173
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
174
|
+
circular?: boolean | undefined;
|
|
175
|
+
elevate?: boolean | undefined;
|
|
176
|
+
bordered?: boolean | undefined;
|
|
177
|
+
chromeless?: boolean | "all" | undefined;
|
|
178
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
179
|
+
type DialogContentTypeProps = DialogContentImplProps & {
|
|
180
|
+
context: DialogContextValue;
|
|
181
|
+
};
|
|
182
|
+
type DialogContentImplExtraProps = Omit<DismissableProps, 'onDismiss'> & {
|
|
183
|
+
/**
|
|
184
|
+
* When `true`, focus cannot escape the `Content` via keyboard,
|
|
185
|
+
* pointer, or a programmatic focus.
|
|
186
|
+
* @defaultValue false
|
|
187
|
+
*/
|
|
188
|
+
trapFocus?: FocusScopeProps['trapped'];
|
|
189
|
+
/**
|
|
190
|
+
* Event handler called when auto-focusing on open.
|
|
191
|
+
* Can be prevented.
|
|
192
|
+
*/
|
|
193
|
+
onOpenAutoFocus?: FocusScopeProps['onMountAutoFocus'];
|
|
194
|
+
/**
|
|
195
|
+
* Event handler called when auto-focusing on close.
|
|
196
|
+
* Can be prevented.
|
|
197
|
+
*/
|
|
198
|
+
onCloseAutoFocus?: FocusScopeProps['onUnmountAutoFocus'];
|
|
199
|
+
context: DialogContextValue;
|
|
200
|
+
};
|
|
201
|
+
type DialogContentImplProps = DialogContentFrameProps & DialogContentImplExtraProps;
|
|
202
|
+
declare const DialogTitleFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
203
|
+
unstyled?: boolean | undefined;
|
|
204
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
205
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
206
|
+
type DialogTitleExtraProps = ScopedProps<{}>;
|
|
207
|
+
type DialogTitleProps = DialogTitleExtraProps & GetProps<typeof DialogTitleFrame>;
|
|
208
|
+
declare const DialogTitle: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
209
|
+
unstyled?: boolean | undefined;
|
|
210
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
211
|
+
}>, "scope"> & {
|
|
212
|
+
scope?: DialogScopes;
|
|
213
|
+
}, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps & {
|
|
214
|
+
scope?: DialogScopes;
|
|
215
|
+
}, import("@hanzogui/core").TextStylePropsBase, {
|
|
216
|
+
unstyled?: boolean | undefined;
|
|
217
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
218
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
219
|
+
declare const DialogDescriptionFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
220
|
+
unstyled?: boolean | undefined;
|
|
221
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
222
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
223
|
+
type DialogDescriptionExtraProps = ScopedProps<{}>;
|
|
224
|
+
type DialogDescriptionProps = DialogDescriptionExtraProps & GetProps<typeof DialogDescriptionFrame>;
|
|
225
|
+
declare const DialogDescription: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
226
|
+
unstyled?: boolean | undefined;
|
|
227
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
228
|
+
}>, "scope"> & {
|
|
229
|
+
scope?: DialogScopes;
|
|
230
|
+
}, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps & {
|
|
231
|
+
scope?: DialogScopes;
|
|
232
|
+
}, import("@hanzogui/core").TextStylePropsBase, {
|
|
233
|
+
unstyled?: boolean | undefined;
|
|
234
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
235
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
236
|
+
declare const DialogCloseFrame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
237
|
+
export type DialogCloseExtraProps = ScopedProps<{
|
|
238
|
+
displayWhenAdapted?: boolean;
|
|
239
|
+
}>;
|
|
240
|
+
type DialogCloseProps = GetProps<typeof DialogCloseFrame> & DialogCloseExtraProps;
|
|
241
|
+
declare const DialogClose: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {}>, "scope" | "displayWhenAdapted"> & {
|
|
242
|
+
displayWhenAdapted?: boolean;
|
|
243
|
+
} & {
|
|
244
|
+
scope?: DialogScopes;
|
|
245
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & {
|
|
246
|
+
displayWhenAdapted?: boolean;
|
|
247
|
+
} & {
|
|
248
|
+
scope?: DialogScopes;
|
|
249
|
+
}, import("@hanzogui/core").StackStyleBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
250
|
+
declare const DialogWarningProvider: (props: {
|
|
251
|
+
contentName: string;
|
|
252
|
+
titleName: string;
|
|
253
|
+
docsSlug: string;
|
|
254
|
+
} & {
|
|
255
|
+
children: React.ReactNode;
|
|
256
|
+
}) => React.JSX.Element;
|
|
257
|
+
export type DialogHandle = {
|
|
258
|
+
open: (val: boolean) => void;
|
|
259
|
+
};
|
|
260
|
+
declare const Dialog: React.ForwardRefExoticComponent<{
|
|
261
|
+
children?: React.ReactNode;
|
|
262
|
+
open?: boolean;
|
|
263
|
+
defaultOpen?: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* When true, children never un-mount, otherwise they mount on open.
|
|
266
|
+
*
|
|
267
|
+
* @default false
|
|
268
|
+
*/
|
|
269
|
+
keepChildrenMounted?: boolean;
|
|
270
|
+
onOpenChange?(open: boolean): void;
|
|
271
|
+
modal?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Used to disable the remove scroll functionality when open
|
|
274
|
+
*/
|
|
275
|
+
disableRemoveScroll?: boolean;
|
|
276
|
+
/**
|
|
277
|
+
* Called when the dialog open/close animation completes.
|
|
278
|
+
*/
|
|
279
|
+
onAnimationComplete?: (info: {
|
|
280
|
+
open: boolean;
|
|
281
|
+
}) => void;
|
|
282
|
+
} & {
|
|
283
|
+
scope?: DialogScopes;
|
|
284
|
+
} & React.RefAttributes<{
|
|
285
|
+
open: (val: boolean) => void;
|
|
286
|
+
}>> & {
|
|
287
|
+
Trigger: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {}>, "scope"> & {
|
|
288
|
+
scope?: DialogScopes;
|
|
289
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & {
|
|
290
|
+
scope?: DialogScopes;
|
|
291
|
+
}, import("@hanzogui/core").StackStyleBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
292
|
+
Portal: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
293
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
294
|
+
fullscreen?: boolean | undefined;
|
|
295
|
+
}>, keyof import("@hanzogui/stacks").StackVariants> & import("@hanzogui/stacks").StackVariants & {
|
|
296
|
+
/**
|
|
297
|
+
* Used to force mounting when more control is needed. Useful when
|
|
298
|
+
* controlling animation with React animation libraries.
|
|
299
|
+
*/
|
|
300
|
+
forceMount?: boolean;
|
|
301
|
+
} & {
|
|
302
|
+
scope?: DialogScopes;
|
|
303
|
+
} & React.RefAttributes<HanzoguiElement>>;
|
|
304
|
+
Overlay: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
305
|
+
open?: boolean | undefined;
|
|
306
|
+
unstyled?: boolean | undefined;
|
|
307
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
308
|
+
fullscreen?: boolean | undefined;
|
|
309
|
+
}>, "scope" | "forceMount"> & {
|
|
310
|
+
/**
|
|
311
|
+
* Used to force mounting when more control is needed. Useful when
|
|
312
|
+
* controlling animation with React animation libraries.
|
|
313
|
+
*/
|
|
314
|
+
forceMount?: boolean;
|
|
315
|
+
} & {
|
|
316
|
+
scope?: DialogScopes;
|
|
317
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & {
|
|
318
|
+
/**
|
|
319
|
+
* Used to force mounting when more control is needed. Useful when
|
|
320
|
+
* controlling animation with React animation libraries.
|
|
321
|
+
*/
|
|
322
|
+
forceMount?: boolean;
|
|
323
|
+
} & {
|
|
324
|
+
scope?: DialogScopes;
|
|
325
|
+
}, import("@hanzogui/core").StackStyleBase, {
|
|
326
|
+
open?: boolean | undefined;
|
|
327
|
+
unstyled?: boolean | undefined;
|
|
328
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
329
|
+
fullscreen?: boolean | undefined;
|
|
330
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
331
|
+
Content: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
332
|
+
unstyled?: boolean | undefined;
|
|
333
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
334
|
+
fullscreen?: boolean | undefined;
|
|
335
|
+
transparent?: boolean | undefined;
|
|
336
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
337
|
+
circular?: boolean | undefined;
|
|
338
|
+
elevate?: boolean | undefined;
|
|
339
|
+
bordered?: boolean | undefined;
|
|
340
|
+
chromeless?: boolean | "all" | undefined;
|
|
341
|
+
}>, "theme" | "debug" | "children" | "id" | "style" | `$${string}` | `$${number}` | import("@hanzogui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "elevation" | keyof import("@hanzogui/core").StackStyleBase | "scope" | "fullscreen" | "transparent" | "size" | "circular" | "elevate" | "bordered" | "chromeless" | "disableOutsidePointerEvents" | "branches" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | keyof import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & {
|
|
342
|
+
unstyled?: boolean | undefined;
|
|
343
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
344
|
+
fullscreen?: boolean | undefined;
|
|
345
|
+
transparent?: boolean | undefined;
|
|
346
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
347
|
+
circular?: boolean | undefined;
|
|
348
|
+
elevate?: boolean | undefined;
|
|
349
|
+
bordered?: boolean | undefined;
|
|
350
|
+
chromeless?: boolean | "all" | undefined;
|
|
351
|
+
} & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> | "trapFocus" | "onOpenAutoFocus" | "onCloseAutoFocus"> & Omit<DialogContentTypeProps, "onPointerDownCapture" | "context"> & {
|
|
352
|
+
scope?: DialogScopes;
|
|
353
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & Omit<DialogContentTypeProps, "onPointerDownCapture" | "context"> & {
|
|
354
|
+
scope?: DialogScopes;
|
|
355
|
+
}, import("@hanzogui/core").StackStyleBase, {
|
|
356
|
+
unstyled?: boolean | undefined;
|
|
357
|
+
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
358
|
+
fullscreen?: boolean | undefined;
|
|
359
|
+
transparent?: boolean | undefined;
|
|
360
|
+
size?: import("@hanzogui/core").SizeTokens | undefined;
|
|
361
|
+
circular?: boolean | undefined;
|
|
362
|
+
elevate?: boolean | undefined;
|
|
363
|
+
bordered?: boolean | undefined;
|
|
364
|
+
chromeless?: boolean | "all" | undefined;
|
|
365
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
366
|
+
Title: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
367
|
+
unstyled?: boolean | undefined;
|
|
368
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
369
|
+
}>, "scope"> & {
|
|
370
|
+
scope?: DialogScopes;
|
|
371
|
+
}, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps & {
|
|
372
|
+
scope?: DialogScopes;
|
|
373
|
+
}, import("@hanzogui/core").TextStylePropsBase, {
|
|
374
|
+
unstyled?: boolean | undefined;
|
|
375
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
376
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
377
|
+
Description: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
378
|
+
unstyled?: boolean | undefined;
|
|
379
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
380
|
+
}>, "scope"> & {
|
|
381
|
+
scope?: DialogScopes;
|
|
382
|
+
}, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps & {
|
|
383
|
+
scope?: DialogScopes;
|
|
384
|
+
}, import("@hanzogui/core").TextStylePropsBase, {
|
|
385
|
+
unstyled?: boolean | undefined;
|
|
386
|
+
size?: import("@hanzogui/core").FontSizeTokens | undefined;
|
|
387
|
+
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
388
|
+
Close: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {}>, "scope" | "displayWhenAdapted"> & {
|
|
389
|
+
displayWhenAdapted?: boolean;
|
|
390
|
+
} & {
|
|
391
|
+
scope?: DialogScopes;
|
|
392
|
+
}, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & {
|
|
393
|
+
displayWhenAdapted?: boolean;
|
|
394
|
+
} & {
|
|
395
|
+
scope?: DialogScopes;
|
|
396
|
+
}, import("@hanzogui/core").StackStyleBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
397
|
+
FocusScope: (props: import("@hanzogui/focus-scope/types/types").ScopedProps<import("@hanzogui/focus-scope").FocusScopeControllerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
398
|
+
Adapt: ((props: import("@hanzogui/adapt").AdaptProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
399
|
+
Contents: {
|
|
400
|
+
({ scope, ...rest }: {
|
|
401
|
+
scope?: string;
|
|
402
|
+
}): React.FunctionComponentElement<any>;
|
|
403
|
+
shouldForwardSpace: boolean;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogWarningProvider, };
|
|
408
|
+
export type { DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogOverlayProps, DialogPortalProps, DialogProps, DialogTitleProps, DialogTriggerProps, };
|
|
409
|
+
//# sourceMappingURL=Dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../src/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAW1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAW5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAKnD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAA;AAEjC,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,YAAY,CAAA;CAAE,CAAA;AAElD,KAAK,WAAW,GAAG,WAAW,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,YAAY,CAAC,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAA;IAClC,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;C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