@tamagui/alert-dialog 1.61.2 → 1.62.0

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.
@@ -0,0 +1,219 @@
1
+ import { useComposedRefs } from "@tamagui/compose-refs";
2
+ import {
3
+ Slottable,
4
+ View,
5
+ composeEventHandlers,
6
+ isTamaguiElement,
7
+ isWeb,
8
+ styled,
9
+ useIsomorphicLayoutEffect,
10
+ withStaticProperties
11
+ } from "@tamagui/core";
12
+ import { createContextScope } from "@tamagui/create-context";
13
+ import {
14
+ Dialog,
15
+ DialogClose,
16
+ DialogContent,
17
+ DialogDescription,
18
+ DialogOverlay,
19
+ DialogOverlayFrame,
20
+ DialogPortal,
21
+ DialogTitle,
22
+ DialogTrigger,
23
+ DialogWarningProvider,
24
+ createDialogScope
25
+ } from "@tamagui/dialog";
26
+ import { useControllableState } from "@tamagui/use-controllable-state";
27
+ import * as React from "react";
28
+ import { Alert } from "react-native";
29
+ const ROOT_NAME = "AlertDialog", [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [
30
+ createDialogScope
31
+ ]), useDialogScope = createDialogScope(), TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = styled(View, {
32
+ name: TRIGGER_NAME
33
+ }), AlertDialogTrigger = React.forwardRef(
34
+ (props, forwardedRef) => {
35
+ if (props.__native) {
36
+ const { __native, onPress, __onPress, ...rest } = props;
37
+ return <NativeAlertDialogTriggerFrame
38
+ {...rest}
39
+ onPress={composeEventHandlers(onPress, __onPress)}
40
+ />;
41
+ }
42
+ const { __scopeAlertDialog, ...triggerProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
43
+ return <DialogTrigger {...dialogScope} {...triggerProps} ref={forwardedRef} />;
44
+ }
45
+ );
46
+ AlertDialogTrigger.displayName = TRIGGER_NAME;
47
+ const PORTAL_NAME = "AlertDialogPortal", AlertDialogPortal = (props) => {
48
+ const { __scopeAlertDialog, ...portalProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
49
+ return <DialogPortal {...dialogScope} {...portalProps} />;
50
+ };
51
+ AlertDialogPortal.displayName = PORTAL_NAME;
52
+ const OVERLAY_NAME = "AlertDialogOverlay", AlertDialogOverlayFrame = styled(DialogOverlayFrame, {
53
+ name: OVERLAY_NAME
54
+ }), AlertDialogOverlay = AlertDialogOverlayFrame.extractable(
55
+ React.forwardRef(
56
+ (props, forwardedRef) => {
57
+ const { __scopeAlertDialog, ...overlayProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
58
+ return <DialogOverlay {...dialogScope} {...overlayProps} ref={forwardedRef} />;
59
+ }
60
+ )
61
+ );
62
+ AlertDialogOverlay.displayName = OVERLAY_NAME;
63
+ const CONTENT_NAME = "AlertDialogContent", [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME), AlertDialogContent = React.forwardRef(
64
+ (props, forwardedRef) => {
65
+ const { __scopeAlertDialog, children, ...contentProps } = props, dialogScope = useDialogScope(__scopeAlertDialog), contentRef = React.useRef(null), composedRefs = useComposedRefs(forwardedRef, contentRef), cancelRef = React.useRef(null);
66
+ return <DialogWarningProvider
67
+ contentName={CONTENT_NAME}
68
+ titleName={TITLE_NAME}
69
+ docsSlug="alert-dialog"
70
+ ><AlertDialogContentProvider scope={__scopeAlertDialog} cancelRef={cancelRef}><DialogContent
71
+ role="alertdialog"
72
+ {...dialogScope}
73
+ {...contentProps}
74
+ ref={composedRefs}
75
+ onOpenAutoFocus={composeEventHandlers(
76
+ contentProps.onOpenAutoFocus,
77
+ (event) => {
78
+ event.preventDefault(), isWeb && cancelRef.current?.focus({ preventScroll: !0 });
79
+ }
80
+ )}
81
+ onPointerDownOutside={(event) => event.preventDefault()}
82
+ onInteractOutside={(event) => event.preventDefault()}
83
+ >
84
+ {
85
+ /**
86
+ * We have to use `Slottable` here as we cannot wrap the `AlertDialogContentProvider`
87
+ * around everything, otherwise the `DescriptionWarning` would be rendered straight away.
88
+ * This is because we want the accessibility checks to run only once the content is actually
89
+ * open and that behaviour is already encapsulated in `DialogContent`.
90
+ */
91
+ }
92
+ <Slottable>{children}</Slottable>
93
+ {process.env.NODE_ENV === "development" && <DescriptionWarning contentRef={contentRef} />}
94
+ </DialogContent></AlertDialogContentProvider></DialogWarningProvider>;
95
+ }
96
+ );
97
+ AlertDialogContent.displayName = CONTENT_NAME;
98
+ const TITLE_NAME = "AlertDialogTitle", AlertDialogTitle = React.forwardRef(
99
+ (props, forwardedRef) => {
100
+ const { __scopeAlertDialog, ...titleProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
101
+ return <DialogTitle {...dialogScope} {...titleProps} ref={forwardedRef} />;
102
+ }
103
+ );
104
+ AlertDialogTitle.displayName = TITLE_NAME;
105
+ const DESCRIPTION_NAME = "AlertDialogDescription", AlertDialogDescription = React.forwardRef((props, forwardedRef) => {
106
+ const { __scopeAlertDialog, ...descriptionProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
107
+ return <DialogDescription {...dialogScope} {...descriptionProps} ref={forwardedRef} />;
108
+ });
109
+ AlertDialogDescription.displayName = DESCRIPTION_NAME;
110
+ const ACTION_NAME = "AlertDialogAction", AlertDialogAction = React.forwardRef(
111
+ (props, forwardedRef) => {
112
+ const { __scopeAlertDialog, ...actionProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
113
+ return <DialogClose {...dialogScope} {...actionProps} ref={forwardedRef} />;
114
+ }
115
+ );
116
+ AlertDialogAction.displayName = ACTION_NAME;
117
+ const CANCEL_NAME = "AlertDialogCancel", AlertDialogCancel = React.forwardRef(
118
+ (props, forwardedRef) => {
119
+ const { __scopeAlertDialog, ...cancelProps } = props, { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog), dialogScope = useDialogScope(__scopeAlertDialog), ref = useComposedRefs(forwardedRef, cancelRef);
120
+ return <DialogClose {...dialogScope} {...cancelProps} ref={ref} />;
121
+ }
122
+ );
123
+ AlertDialogCancel.displayName = CANCEL_NAME;
124
+ const DescriptionWarning = ({ contentRef }) => (process.env.NODE_ENV === "development" && React.useEffect(() => {
125
+ if (!isWeb)
126
+ return;
127
+ document.getElementById(
128
+ // @ts-ignore
129
+ // eslint-disable-next-line @typescript-eslint/no-non-null-asserted-optional-chain
130
+ contentRef.current?.getAttribute("aria-describedby")
131
+ ) || console.warn(`\`${CONTENT_NAME}\` requires a description for the component to be accessible for screen reader users.
132
+
133
+ You can add a description to the \`${CONTENT_NAME}\` by passing a \`${DESCRIPTION_NAME}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
134
+
135
+ Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${CONTENT_NAME}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
136
+
137
+ For more information, see https://tamagui.dev/docs/components/alert-dialog`);
138
+ }, [contentRef]), null), AlertDialogInner = (props) => {
139
+ const { __scopeAlertDialog, native, ...alertDialogProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
140
+ {
141
+ const [open, setOpen] = useControllableState({
142
+ prop: props.open,
143
+ defaultProp: props.defaultOpen || !1,
144
+ onChange: props.onOpenChange,
145
+ transition: !0
146
+ });
147
+ let triggerElement = null, title = "", description = "";
148
+ const buttons = [];
149
+ if (forEachChildDeep(React.Children.toArray(props.children), (child) => {
150
+ if (!React.isValidElement(child))
151
+ return !1;
152
+ const name = isTamaguiElement(child) ? child.type.staticConfig.componentName : child.type.displayName;
153
+ switch (name) {
154
+ case TRIGGER_NAME:
155
+ return triggerElement = React.cloneElement(child, {
156
+ __native: !0
157
+ }), !1;
158
+ case TITLE_NAME:
159
+ return title = getStringChildren(child), !1;
160
+ case DESCRIPTION_NAME:
161
+ return description = getStringChildren(child), !1;
162
+ case ACTION_NAME:
163
+ case CANCEL_NAME: {
164
+ const style = name === ACTION_NAME ? "default" : "cancel", text = getStringChildren(child), onPress = () => {
165
+ child.props?.onPress?.({ native: !0 }), setOpen(!1);
166
+ };
167
+ return buttons.push({
168
+ style,
169
+ text,
170
+ // @ts-ignore
171
+ onPress
172
+ }), !1;
173
+ }
174
+ default:
175
+ return !0;
176
+ }
177
+ }), useIsomorphicLayoutEffect(() => {
178
+ !open || !native || (title || description) && Alert.alert(title, description, buttons);
179
+ }, [native, open]), native)
180
+ return React.cloneElement(triggerElement, {
181
+ __onPress: () => {
182
+ setOpen(!0);
183
+ }
184
+ });
185
+ }
186
+ return <Dialog {...dialogScope} {...alertDialogProps} modal />;
187
+ };
188
+ function forEachChildDeep(children, onChild) {
189
+ for (const child of children)
190
+ React.isValidElement(child) && onChild(child) && child.props.children && forEachChildDeep(React.Children.toArray(child.props.children), onChild);
191
+ }
192
+ function getStringChildren(child) {
193
+ let string = "";
194
+ return forEachChildDeep(React.Children.toArray(child), (child2) => typeof child2.props.children == "string" ? (string = child2.props.children, !1) : !0), string;
195
+ }
196
+ const AlertDialog = withStaticProperties(AlertDialogInner, {
197
+ Trigger: AlertDialogTrigger,
198
+ Portal: AlertDialogPortal,
199
+ Overlay: AlertDialogOverlay,
200
+ Content: AlertDialogContent,
201
+ Action: AlertDialogAction,
202
+ Cancel: AlertDialogCancel,
203
+ Title: AlertDialogTitle,
204
+ Description: AlertDialogDescription
205
+ });
206
+ AlertDialog.displayName = ROOT_NAME;
207
+ export {
208
+ AlertDialog,
209
+ AlertDialogAction,
210
+ AlertDialogCancel,
211
+ AlertDialogContent,
212
+ AlertDialogDescription,
213
+ AlertDialogOverlay,
214
+ AlertDialogPortal,
215
+ AlertDialogTitle,
216
+ AlertDialogTrigger,
217
+ createAlertDialogScope
218
+ };
219
+ //# sourceMappingURL=AlertDialog.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/AlertDialog.tsx"],
4
+ "mappings": "AAGA,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AA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,IAAI,CAAC,GAEb;AACF,aAAO,MAAM,aAAa,gBAAgB;AAAA,QACxC,WAAW,MAAM;AACf,kBAAQ,EAAI;AAAA,QACd;AAAA,MACF,CAAC;AAAA,EAEL;AAEA,SAAO,CAAC,WAAW,iBAAiB,kBAAkB,MAAM;AAC9D;AAEA,SAAS,iBACP,UACA,SACA;AACA,aAAW,SAAS;AAClB,IAAK,MAAM,eAAe,KAAK,KAC1B,QAAQ,KAAK,KACd,MAAM,MAAM,YACd,iBAAiB,MAAM,SAAS,QAAQ,MAAM,MAAM,QAAQ,GAAG,OAAO;AAG5E;AAEA,SAAS,kBAAkB,OAA2B;AACpD,MAAI,SAAS;AACb,0BAAiB,MAAM,SAAS,QAAQ,KAAK,GAAG,CAACA,WAC3C,OAAOA,OAAM,MAAM,YAAa,YAClC,SAASA,OAAM,MAAM,UACd,MAEF,EACR,GACM;AACT;AAEA,MAAM,cAAc,qBAAqB,kBAAkB;AAAA,EACzD,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAa;AACf,CAAC;AAED,YAAY,cAAc;",
5
+ "names": ["child"]
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./AlertDialog";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "mappings": "AAAA,cAAc;",
5
+ "names": []
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/alert-dialog",
3
- "version": "1.61.2",
3
+ "version": "1.62.0",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs",
@@ -29,28 +29,28 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@tamagui/animate-presence": "1.61.2",
33
- "@tamagui/aria-hidden": "1.61.2",
34
- "@tamagui/compose-refs": "1.61.2",
35
- "@tamagui/core": "1.61.2",
36
- "@tamagui/create-context": "1.61.2",
37
- "@tamagui/dialog": "1.61.2",
38
- "@tamagui/dismissable": "1.61.2",
39
- "@tamagui/focus-scope": "1.61.2",
40
- "@tamagui/polyfill-dev": "1.61.2",
41
- "@tamagui/popper": "1.61.2",
42
- "@tamagui/portal": "1.61.2",
43
- "@tamagui/remove-scroll": "1.61.2",
44
- "@tamagui/stacks": "1.61.2",
45
- "@tamagui/text": "1.61.2",
46
- "@tamagui/use-controllable-state": "1.61.2"
32
+ "@tamagui/animate-presence": "1.62.0",
33
+ "@tamagui/aria-hidden": "1.62.0",
34
+ "@tamagui/compose-refs": "1.62.0",
35
+ "@tamagui/core": "1.62.0",
36
+ "@tamagui/create-context": "1.62.0",
37
+ "@tamagui/dialog": "1.62.0",
38
+ "@tamagui/dismissable": "1.62.0",
39
+ "@tamagui/focus-scope": "1.62.0",
40
+ "@tamagui/polyfill-dev": "1.62.0",
41
+ "@tamagui/popper": "1.62.0",
42
+ "@tamagui/portal": "1.62.0",
43
+ "@tamagui/remove-scroll": "1.62.0",
44
+ "@tamagui/stacks": "1.62.0",
45
+ "@tamagui/text": "1.62.0",
46
+ "@tamagui/use-controllable-state": "1.62.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": "*",
50
50
  "react-native": "*"
51
51
  },
52
52
  "devDependencies": {
53
- "@tamagui/build": "1.61.2",
53
+ "@tamagui/build": "1.62.0",
54
54
  "react": "^18.2.0",
55
55
  "react-native": "^0.72.1"
56
56
  },