@tamagui/dialog 2.0.0-1768024799864 → 2.0.0-1768247234371
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 +28 -5
- package/dist/cjs/Dialog.js +28 -5
- package/dist/cjs/Dialog.js.map +1 -1
- package/dist/cjs/Dialog.native.js +28 -5
- package/dist/cjs/Dialog.native.js.map +1 -1
- package/dist/esm/Dialog.js +27 -4
- package/dist/esm/Dialog.js.map +1 -1
- package/dist/esm/Dialog.mjs +27 -4
- package/dist/esm/Dialog.mjs.map +1 -1
- package/dist/esm/Dialog.native.js +27 -4
- package/dist/esm/Dialog.native.js.map +1 -1
- package/dist/jsx/Dialog.js +27 -4
- package/dist/jsx/Dialog.js.map +1 -1
- package/dist/jsx/Dialog.mjs +27 -4
- package/dist/jsx/Dialog.mjs.map +1 -1
- package/dist/jsx/Dialog.native.js +28 -5
- package/dist/jsx/Dialog.native.js.map +1 -1
- package/package.json +20 -20
- package/src/Dialog.tsx +29 -3
- package/types/Dialog.d.ts +9 -55
- package/types/Dialog.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/dialog",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-1768247234371",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -39,31 +39,31 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@tamagui/adapt": "2.0.0-
|
|
43
|
-
"@tamagui/animate-presence": "2.0.0-
|
|
44
|
-
"@tamagui/compose-refs": "2.0.0-
|
|
45
|
-
"@tamagui/constants": "2.0.0-
|
|
46
|
-
"@tamagui/core": "2.0.0-
|
|
47
|
-
"@tamagui/create-context": "2.0.0-
|
|
48
|
-
"@tamagui/dismissable": "2.0.0-
|
|
49
|
-
"@tamagui/focus-scope": "2.0.0-
|
|
50
|
-
"@tamagui/helpers": "2.0.0-
|
|
51
|
-
"@tamagui/polyfill-dev": "2.0.0-
|
|
52
|
-
"@tamagui/popper": "2.0.0-
|
|
53
|
-
"@tamagui/portal": "2.0.0-
|
|
54
|
-
"@tamagui/remove-scroll": "2.0.0-
|
|
55
|
-
"@tamagui/sheet": "2.0.0-
|
|
56
|
-
"@tamagui/stacks": "2.0.0-
|
|
57
|
-
"@tamagui/text": "2.0.0-
|
|
58
|
-
"@tamagui/use-controllable-state": "2.0.0-
|
|
59
|
-
"@tamagui/z-index-stack": "2.0.0-
|
|
42
|
+
"@tamagui/adapt": "2.0.0-1768247234371",
|
|
43
|
+
"@tamagui/animate-presence": "2.0.0-1768247234371",
|
|
44
|
+
"@tamagui/compose-refs": "2.0.0-1768247234371",
|
|
45
|
+
"@tamagui/constants": "2.0.0-1768247234371",
|
|
46
|
+
"@tamagui/core": "2.0.0-1768247234371",
|
|
47
|
+
"@tamagui/create-context": "2.0.0-1768247234371",
|
|
48
|
+
"@tamagui/dismissable": "2.0.0-1768247234371",
|
|
49
|
+
"@tamagui/focus-scope": "2.0.0-1768247234371",
|
|
50
|
+
"@tamagui/helpers": "2.0.0-1768247234371",
|
|
51
|
+
"@tamagui/polyfill-dev": "2.0.0-1768247234371",
|
|
52
|
+
"@tamagui/popper": "2.0.0-1768247234371",
|
|
53
|
+
"@tamagui/portal": "2.0.0-1768247234371",
|
|
54
|
+
"@tamagui/remove-scroll": "2.0.0-1768247234371",
|
|
55
|
+
"@tamagui/sheet": "2.0.0-1768247234371",
|
|
56
|
+
"@tamagui/stacks": "2.0.0-1768247234371",
|
|
57
|
+
"@tamagui/text": "2.0.0-1768247234371",
|
|
58
|
+
"@tamagui/use-controllable-state": "2.0.0-1768247234371",
|
|
59
|
+
"@tamagui/z-index-stack": "2.0.0-1768247234371"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"react": "*",
|
|
63
63
|
"react-native": "*"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tamagui/build": "2.0.0-
|
|
66
|
+
"@tamagui/build": "2.0.0-1768247234371",
|
|
67
67
|
"react": "*",
|
|
68
68
|
"react-native": "0.81.5"
|
|
69
69
|
},
|
package/src/Dialog.tsx
CHANGED
|
@@ -27,7 +27,7 @@ import { FocusScope, FocusScopeController } from '@tamagui/focus-scope'
|
|
|
27
27
|
import { composeEventHandlers, withStaticProperties } from '@tamagui/helpers'
|
|
28
28
|
import { Portal, PortalItem, resolveViewZIndex, USE_NATIVE_PORTAL } from '@tamagui/portal'
|
|
29
29
|
import { RemoveScroll } from '@tamagui/remove-scroll'
|
|
30
|
-
import {
|
|
30
|
+
import { SheetController } from '@tamagui/sheet/controller'
|
|
31
31
|
import type { YStackProps } from '@tamagui/stacks'
|
|
32
32
|
import { ButtonNestingContext, ThemeableStack, YStack } from '@tamagui/stacks'
|
|
33
33
|
import { H2, Paragraph } from '@tamagui/text'
|
|
@@ -308,8 +308,33 @@ const OVERLAY_NAME = 'DialogOverlay'
|
|
|
308
308
|
/**
|
|
309
309
|
* exported for internal use with extractable()
|
|
310
310
|
*/
|
|
311
|
-
export const DialogOverlayFrame = styled(
|
|
311
|
+
export const DialogOverlayFrame = styled(YStack, {
|
|
312
312
|
name: OVERLAY_NAME,
|
|
313
|
+
|
|
314
|
+
variants: {
|
|
315
|
+
open: {
|
|
316
|
+
true: {
|
|
317
|
+
pointerEvents: 'auto',
|
|
318
|
+
},
|
|
319
|
+
false: {
|
|
320
|
+
pointerEvents: 'none',
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
|
|
324
|
+
unstyled: {
|
|
325
|
+
false: {
|
|
326
|
+
fullscreen: true,
|
|
327
|
+
position: 'absolute',
|
|
328
|
+
backgrounded: true,
|
|
329
|
+
zIndex: 100_000 - 1,
|
|
330
|
+
pointerEvents: 'auto',
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
} as const,
|
|
334
|
+
|
|
335
|
+
defaultVariants: {
|
|
336
|
+
unstyled: process.env.TAMAGUI_HEADLESS === '1',
|
|
337
|
+
},
|
|
313
338
|
})
|
|
314
339
|
|
|
315
340
|
export type DialogOverlayExtraProps = ScopedProps<{
|
|
@@ -593,6 +618,8 @@ const DialogContentImpl = React.forwardRef<TamaguiElement, DialogContentImplProp
|
|
|
593
618
|
<DialogContentFrame
|
|
594
619
|
ref={composedRefs}
|
|
595
620
|
id={context.contentId}
|
|
621
|
+
role="dialog"
|
|
622
|
+
aria-modal={context.modal}
|
|
596
623
|
aria-describedby={context.descriptionId}
|
|
597
624
|
aria-labelledby={context.titleId}
|
|
598
625
|
data-state={getState(context.open)}
|
|
@@ -888,7 +915,6 @@ const Dialog = withStaticProperties(
|
|
|
888
915
|
Title: DialogTitle,
|
|
889
916
|
Description: DialogDescription,
|
|
890
917
|
Close: DialogClose,
|
|
891
|
-
Sheet: Sheet.Controlled,
|
|
892
918
|
FocusScope: FocusScopeController,
|
|
893
919
|
Adapt,
|
|
894
920
|
}
|
package/types/Dialog.d.ts
CHANGED
|
@@ -125,8 +125,8 @@ declare const DialogContentFrame: import("@tamagui/core").TamaguiComponent<impor
|
|
|
125
125
|
transparent?: boolean | undefined;
|
|
126
126
|
unstyled?: boolean | undefined;
|
|
127
127
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
128
|
-
circular?: boolean | undefined;
|
|
129
128
|
backgrounded?: boolean | undefined;
|
|
129
|
+
circular?: boolean | undefined;
|
|
130
130
|
radiused?: boolean | undefined;
|
|
131
131
|
hoverTheme?: boolean | undefined;
|
|
132
132
|
pressTheme?: boolean | undefined;
|
|
@@ -151,8 +151,8 @@ declare const DialogContent: import("@tamagui/core").TamaguiComponent<Omit<impor
|
|
|
151
151
|
transparent?: boolean | undefined;
|
|
152
152
|
unstyled?: boolean | undefined;
|
|
153
153
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
154
|
-
circular?: boolean | undefined;
|
|
155
154
|
backgrounded?: boolean | undefined;
|
|
155
|
+
circular?: boolean | undefined;
|
|
156
156
|
radiused?: boolean | undefined;
|
|
157
157
|
hoverTheme?: boolean | undefined;
|
|
158
158
|
pressTheme?: boolean | undefined;
|
|
@@ -161,14 +161,14 @@ declare const DialogContent: import("@tamagui/core").TamaguiComponent<Omit<impor
|
|
|
161
161
|
elevate?: boolean | undefined;
|
|
162
162
|
bordered?: number | boolean | undefined;
|
|
163
163
|
chromeless?: boolean | "all" | undefined;
|
|
164
|
-
}>, "theme" | "debug" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "
|
|
164
|
+
}>, "theme" | "debug" | "children" | "id" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "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("@tamagui/core").StackStyleBase | "scope" | "fullscreen" | "transparent" | "unstyled" | "size" | "forceMount" | "backgrounded" | "circular" | "radiused" | "hoverTheme" | "pressTheme" | "focusTheme" | "padded" | "elevate" | "bordered" | "chromeless" | "disableOutsidePointerEvents" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
165
165
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
166
166
|
fullscreen?: boolean | undefined;
|
|
167
167
|
transparent?: boolean | undefined;
|
|
168
168
|
unstyled?: boolean | undefined;
|
|
169
169
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
170
|
-
circular?: boolean | undefined;
|
|
171
170
|
backgrounded?: boolean | undefined;
|
|
171
|
+
circular?: boolean | undefined;
|
|
172
172
|
radiused?: boolean | undefined;
|
|
173
173
|
hoverTheme?: boolean | undefined;
|
|
174
174
|
pressTheme?: boolean | undefined;
|
|
@@ -199,8 +199,8 @@ declare const DialogContent: import("@tamagui/core").TamaguiComponent<Omit<impor
|
|
|
199
199
|
transparent?: boolean | undefined;
|
|
200
200
|
unstyled?: boolean | undefined;
|
|
201
201
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
202
|
-
circular?: boolean | undefined;
|
|
203
202
|
backgrounded?: boolean | undefined;
|
|
203
|
+
circular?: boolean | undefined;
|
|
204
204
|
radiused?: boolean | undefined;
|
|
205
205
|
hoverTheme?: boolean | undefined;
|
|
206
206
|
pressTheme?: boolean | undefined;
|
|
@@ -362,8 +362,8 @@ declare const Dialog: React.ForwardRefExoticComponent<{
|
|
|
362
362
|
transparent?: boolean | undefined;
|
|
363
363
|
unstyled?: boolean | undefined;
|
|
364
364
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
365
|
-
circular?: boolean | undefined;
|
|
366
365
|
backgrounded?: boolean | undefined;
|
|
366
|
+
circular?: boolean | undefined;
|
|
367
367
|
radiused?: boolean | undefined;
|
|
368
368
|
hoverTheme?: boolean | undefined;
|
|
369
369
|
pressTheme?: boolean | undefined;
|
|
@@ -372,14 +372,14 @@ declare const Dialog: React.ForwardRefExoticComponent<{
|
|
|
372
372
|
elevate?: boolean | undefined;
|
|
373
373
|
bordered?: number | boolean | undefined;
|
|
374
374
|
chromeless?: boolean | "all" | undefined;
|
|
375
|
-
}>, "theme" | "debug" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "
|
|
375
|
+
}>, "theme" | "debug" | "children" | "id" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "hitSlop" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "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("@tamagui/core").StackStyleBase | "scope" | "fullscreen" | "transparent" | "unstyled" | "size" | "forceMount" | "backgrounded" | "circular" | "radiused" | "hoverTheme" | "pressTheme" | "focusTheme" | "padded" | "elevate" | "bordered" | "chromeless" | "disableOutsidePointerEvents" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
376
376
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
377
377
|
fullscreen?: boolean | undefined;
|
|
378
378
|
transparent?: boolean | undefined;
|
|
379
379
|
unstyled?: boolean | undefined;
|
|
380
380
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
381
|
-
circular?: boolean | undefined;
|
|
382
381
|
backgrounded?: boolean | undefined;
|
|
382
|
+
circular?: boolean | undefined;
|
|
383
383
|
radiused?: boolean | undefined;
|
|
384
384
|
hoverTheme?: boolean | undefined;
|
|
385
385
|
pressTheme?: boolean | undefined;
|
|
@@ -410,8 +410,8 @@ declare const Dialog: React.ForwardRefExoticComponent<{
|
|
|
410
410
|
transparent?: boolean | undefined;
|
|
411
411
|
unstyled?: boolean | undefined;
|
|
412
412
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
413
|
-
circular?: boolean | undefined;
|
|
414
413
|
backgrounded?: boolean | undefined;
|
|
414
|
+
circular?: boolean | undefined;
|
|
415
415
|
radiused?: boolean | undefined;
|
|
416
416
|
hoverTheme?: boolean | undefined;
|
|
417
417
|
pressTheme?: boolean | undefined;
|
|
@@ -452,52 +452,6 @@ declare const Dialog: React.ForwardRefExoticComponent<{
|
|
|
452
452
|
} & {
|
|
453
453
|
scope?: DialogScopes;
|
|
454
454
|
}, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
455
|
-
Sheet: React.FunctionComponent<Omit<import("@tamagui/sheet").SheetProps, "open" | "onOpenChange"> & React.RefAttributes<import("react-native").View>> & {
|
|
456
|
-
Frame: import("react").ForwardRefExoticComponent<import("@tamagui/sheet").SheetScopedProps<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
457
|
-
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
458
|
-
fullscreen?: boolean | undefined;
|
|
459
|
-
unstyled?: boolean | undefined;
|
|
460
|
-
}>, keyof {
|
|
461
|
-
disableHideBottomOverflow?: boolean;
|
|
462
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
463
|
-
}> & {
|
|
464
|
-
disableHideBottomOverflow?: boolean;
|
|
465
|
-
adjustPaddingForOffscreenContent?: boolean;
|
|
466
|
-
}>>;
|
|
467
|
-
Overlay: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
468
|
-
open?: boolean;
|
|
469
|
-
}, "__scopeSheet"> & {
|
|
470
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
471
|
-
}, any, any, any, {
|
|
472
|
-
open?: boolean;
|
|
473
|
-
}, {}> | import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
474
|
-
open?: boolean;
|
|
475
|
-
}, "__scopeSheet"> & {
|
|
476
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
477
|
-
}, any, {
|
|
478
|
-
__scopeSheet?: import("@tamagui/create-context").Scope<any>;
|
|
479
|
-
}, {}, {}, {}>;
|
|
480
|
-
Handle: import("@tamagui/core").TamaguiComponent<any, any, any, any, {
|
|
481
|
-
open?: boolean;
|
|
482
|
-
}, {}> | import("@tamagui/core").TamaguiComponent<any, any, any, {}, {}, {}>;
|
|
483
|
-
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@tamagui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
484
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
485
|
-
}> & {
|
|
486
|
-
fullscreen?: boolean | undefined;
|
|
487
|
-
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
488
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
489
|
-
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
490
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
491
|
-
}> & {
|
|
492
|
-
fullscreen?: boolean | undefined;
|
|
493
|
-
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase & {
|
|
494
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
495
|
-
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase & {
|
|
496
|
-
readonly contentContainerStyle?: Partial<import("@tamagui/core").GetFinalProps<import("react-native").ScrollViewProps, import("@tamagui/core").StackStyleBase, {}>> | undefined;
|
|
497
|
-
}, {
|
|
498
|
-
fullscreen?: boolean | undefined;
|
|
499
|
-
}>> & import("react").RefAttributes<import("react-native").ScrollView>>;
|
|
500
|
-
};
|
|
501
455
|
FocusScope: (props: import("@tamagui/focus-scope/types/types").ScopedProps<import("@tamagui/focus-scope").FocusScopeControllerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
502
456
|
Adapt: ((props: import("@tamagui/adapt").AdaptProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
503
457
|
Contents: {
|
package/types/Dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../src/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAWxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAM3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAKlD,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;IACrB,YAAY,CAAC,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAA;IAClC,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,CAAC,CAAA;AAEF,KAAK,OAAO,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,EAAE,IAAI,GA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