@tamagui/alert-dialog 1.74.3 → 1.74.4

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,223 @@
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
+ import { jsx, jsxs } from "react/jsx-runtime";
30
+ const ROOT_NAME = "AlertDialog", [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [
31
+ createDialogScope
32
+ ]), useDialogScope = createDialogScope(), TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = styled(View, {
33
+ name: TRIGGER_NAME
34
+ }), AlertDialogTrigger = React.forwardRef(
35
+ (props, forwardedRef) => {
36
+ if (props.__native) {
37
+ const { __native, onPress, __onPress, ...rest } = props;
38
+ return /* @__PURE__ */ jsx(
39
+ NativeAlertDialogTriggerFrame,
40
+ {
41
+ ...rest,
42
+ onPress: composeEventHandlers(onPress, __onPress)
43
+ }
44
+ );
45
+ }
46
+ const { __scopeAlertDialog, ...triggerProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
47
+ return /* @__PURE__ */ jsx(DialogTrigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });
48
+ }
49
+ );
50
+ AlertDialogTrigger.displayName = TRIGGER_NAME;
51
+ const PORTAL_NAME = "AlertDialogPortal", AlertDialogPortal = (props) => {
52
+ const { __scopeAlertDialog, ...portalProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
53
+ return /* @__PURE__ */ jsx(DialogPortal, { ...dialogScope, ...portalProps });
54
+ };
55
+ AlertDialogPortal.displayName = PORTAL_NAME;
56
+ const OVERLAY_NAME = "AlertDialogOverlay", AlertDialogOverlayFrame = styled(DialogOverlayFrame, {
57
+ name: OVERLAY_NAME
58
+ }), AlertDialogOverlay = AlertDialogOverlayFrame.extractable(
59
+ React.forwardRef(
60
+ (props, forwardedRef) => {
61
+ const { __scopeAlertDialog, ...overlayProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
62
+ return /* @__PURE__ */ jsx(DialogOverlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });
63
+ }
64
+ )
65
+ );
66
+ AlertDialogOverlay.displayName = OVERLAY_NAME;
67
+ const CONTENT_NAME = "AlertDialogContent", [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME), AlertDialogContent = React.forwardRef(
68
+ (props, forwardedRef) => {
69
+ const { __scopeAlertDialog, children, ...contentProps } = props, dialogScope = useDialogScope(__scopeAlertDialog), contentRef = React.useRef(null), composedRefs = useComposedRefs(forwardedRef, contentRef), cancelRef = React.useRef(null);
70
+ return /* @__PURE__ */ jsx(
71
+ DialogWarningProvider,
72
+ {
73
+ contentName: CONTENT_NAME,
74
+ titleName: TITLE_NAME,
75
+ docsSlug: "alert-dialog",
76
+ children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(
77
+ DialogContent,
78
+ {
79
+ role: "alertdialog",
80
+ ...dialogScope,
81
+ ...contentProps,
82
+ ref: composedRefs,
83
+ onOpenAutoFocus: composeEventHandlers(
84
+ contentProps.onOpenAutoFocus,
85
+ (event) => {
86
+ event.preventDefault(), isWeb && cancelRef.current?.focus({ preventScroll: !0 });
87
+ }
88
+ ),
89
+ onPointerDownOutside: (event) => event.preventDefault(),
90
+ onInteractOutside: (event) => event.preventDefault(),
91
+ children: [
92
+ /* @__PURE__ */ jsx(Slottable, { children }),
93
+ process.env.NODE_ENV === "development" && /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })
94
+ ]
95
+ }
96
+ ) })
97
+ }
98
+ );
99
+ }
100
+ );
101
+ AlertDialogContent.displayName = CONTENT_NAME;
102
+ const TITLE_NAME = "AlertDialogTitle", AlertDialogTitle = React.forwardRef(
103
+ (props, forwardedRef) => {
104
+ const { __scopeAlertDialog, ...titleProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
105
+ return /* @__PURE__ */ jsx(DialogTitle, { ...dialogScope, ...titleProps, ref: forwardedRef });
106
+ }
107
+ );
108
+ AlertDialogTitle.displayName = TITLE_NAME;
109
+ const DESCRIPTION_NAME = "AlertDialogDescription", AlertDialogDescription = React.forwardRef((props, forwardedRef) => {
110
+ const { __scopeAlertDialog, ...descriptionProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
111
+ return /* @__PURE__ */ jsx(DialogDescription, { ...dialogScope, ...descriptionProps, ref: forwardedRef });
112
+ });
113
+ AlertDialogDescription.displayName = DESCRIPTION_NAME;
114
+ const ACTION_NAME = "AlertDialogAction", AlertDialogAction = React.forwardRef(
115
+ (props, forwardedRef) => {
116
+ const { __scopeAlertDialog, ...actionProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
117
+ return /* @__PURE__ */ jsx(DialogClose, { ...dialogScope, ...actionProps, ref: forwardedRef });
118
+ }
119
+ );
120
+ AlertDialogAction.displayName = ACTION_NAME;
121
+ const CANCEL_NAME = "AlertDialogCancel", AlertDialogCancel = React.forwardRef(
122
+ (props, forwardedRef) => {
123
+ const { __scopeAlertDialog, ...cancelProps } = props, { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog), dialogScope = useDialogScope(__scopeAlertDialog), ref = useComposedRefs(forwardedRef, cancelRef);
124
+ return /* @__PURE__ */ jsx(DialogClose, { ...dialogScope, ...cancelProps, ref });
125
+ }
126
+ );
127
+ AlertDialogCancel.displayName = CANCEL_NAME;
128
+ const DescriptionWarning = ({ contentRef }) => (process.env.NODE_ENV === "development" && React.useEffect(() => {
129
+ if (!isWeb)
130
+ return;
131
+ document.getElementById(
132
+ // @ts-ignore
133
+ // eslint-disable-next-line @typescript-eslint/no-non-null-asserted-optional-chain
134
+ contentRef.current?.getAttribute("aria-describedby")
135
+ ) || console.warn(`\`${CONTENT_NAME}\` requires a description for the component to be accessible for screen reader users.
136
+
137
+ 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.
138
+
139
+ 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.
140
+
141
+ For more information, see https://tamagui.dev/docs/components/alert-dialog`);
142
+ }, [contentRef]), null), AlertDialogInner = (props) => {
143
+ const { __scopeAlertDialog, native, ...alertDialogProps } = props, dialogScope = useDialogScope(__scopeAlertDialog);
144
+ {
145
+ const [open, setOpen] = useControllableState({
146
+ prop: props.open,
147
+ defaultProp: props.defaultOpen || !1,
148
+ onChange: props.onOpenChange,
149
+ transition: !0
150
+ });
151
+ let triggerElement = null, title = "", description = "";
152
+ const buttons = [];
153
+ if (forEachChildDeep(React.Children.toArray(props.children), (child) => {
154
+ if (!React.isValidElement(child))
155
+ return !1;
156
+ const name = isTamaguiElement(child) ? child.type.staticConfig.componentName : child.type.displayName;
157
+ switch (name) {
158
+ case TRIGGER_NAME:
159
+ return triggerElement = React.cloneElement(child, {
160
+ __native: !0
161
+ }), !1;
162
+ case TITLE_NAME:
163
+ return title = getStringChildren(child), !1;
164
+ case DESCRIPTION_NAME:
165
+ return description = getStringChildren(child), !1;
166
+ case ACTION_NAME:
167
+ case CANCEL_NAME: {
168
+ const style = name === ACTION_NAME ? "default" : "cancel", text = getStringChildren(child), onPress = () => {
169
+ child.props?.onPress?.({ native: !0 }), setOpen(!1);
170
+ };
171
+ return buttons.push({
172
+ style,
173
+ text,
174
+ // @ts-ignore
175
+ onPress
176
+ }), !1;
177
+ }
178
+ default:
179
+ return !0;
180
+ }
181
+ }), useIsomorphicLayoutEffect(() => {
182
+ !open || !native || (title || description) && Alert.alert(title, description, buttons);
183
+ }, [native, open]), native)
184
+ return React.cloneElement(triggerElement, {
185
+ __onPress: () => {
186
+ setOpen(!0);
187
+ }
188
+ });
189
+ }
190
+ return /* @__PURE__ */ jsx(Dialog, { ...dialogScope, ...alertDialogProps, modal: !0 });
191
+ };
192
+ function forEachChildDeep(children, onChild) {
193
+ for (const child of children)
194
+ React.isValidElement(child) && onChild(child) && child.props.children && forEachChildDeep(React.Children.toArray(child.props.children), onChild);
195
+ }
196
+ function getStringChildren(child) {
197
+ let string = "";
198
+ return forEachChildDeep(React.Children.toArray(child), (child2) => typeof child2.props.children == "string" ? (string = child2.props.children, !1) : !0), string;
199
+ }
200
+ const AlertDialog = withStaticProperties(AlertDialogInner, {
201
+ Trigger: AlertDialogTrigger,
202
+ Portal: AlertDialogPortal,
203
+ Overlay: AlertDialogOverlay,
204
+ Content: AlertDialogContent,
205
+ Action: AlertDialogAction,
206
+ Cancel: AlertDialogCancel,
207
+ Title: AlertDialogTitle,
208
+ Description: AlertDialogDescription
209
+ });
210
+ AlertDialog.displayName = ROOT_NAME;
211
+ export {
212
+ AlertDialog,
213
+ AlertDialogAction,
214
+ AlertDialogCancel,
215
+ AlertDialogContent,
216
+ AlertDialogDescription,
217
+ AlertDialogOverlay,
218
+ AlertDialogPortal,
219
+ AlertDialogTitle,
220
+ AlertDialogTrigger,
221
+ createAlertDialogScope
222
+ };
223
+ //# sourceMappingURL=AlertDialog.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src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CAAC,GACM;AAAA,QACT;AAAA,QACA;AACE,iBAAO;AAAA,MAEX;AAAA,IACF,CAAC,GAED,0BAA0B,MAAM;AAC9B,MAAI,CAAC,QAAQ,CAAC,WACV,SAAS,gBACX,MAAM,MAAM,OAAO,aAAa,OAAO;AAAA,IAG3C,GAAG,CAAC,QAAQ,IAAI,CAAC,GAEb;AACF,aAAO,MAAM,aAAa,gBAAgB;AAAA,QACxC,WAAW,MAAM;AACf,kBAAQ,EAAI;AAAA,QACd;AAAA,MACF,CAAC;AAAA,EAEL;AAEA,SAAO,oBAAC,UAAQ,GAAG,aAAc,GAAG,kBAAkB,OAAK,IAAC;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.74.3",
3
+ "version": "1.74.4",
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.74.3",
33
- "@tamagui/aria-hidden": "1.74.3",
34
- "@tamagui/compose-refs": "1.74.3",
35
- "@tamagui/core": "1.74.3",
36
- "@tamagui/create-context": "1.74.3",
37
- "@tamagui/dialog": "1.74.3",
38
- "@tamagui/dismissable": "1.74.3",
39
- "@tamagui/focus-scope": "1.74.3",
40
- "@tamagui/polyfill-dev": "1.74.3",
41
- "@tamagui/popper": "1.74.3",
42
- "@tamagui/portal": "1.74.3",
43
- "@tamagui/remove-scroll": "1.74.3",
44
- "@tamagui/stacks": "1.74.3",
45
- "@tamagui/text": "1.74.3",
46
- "@tamagui/use-controllable-state": "1.74.3"
32
+ "@tamagui/animate-presence": "1.74.4",
33
+ "@tamagui/aria-hidden": "1.74.4",
34
+ "@tamagui/compose-refs": "1.74.4",
35
+ "@tamagui/core": "1.74.4",
36
+ "@tamagui/create-context": "1.74.4",
37
+ "@tamagui/dialog": "1.74.4",
38
+ "@tamagui/dismissable": "1.74.4",
39
+ "@tamagui/focus-scope": "1.74.4",
40
+ "@tamagui/polyfill-dev": "1.74.4",
41
+ "@tamagui/popper": "1.74.4",
42
+ "@tamagui/portal": "1.74.4",
43
+ "@tamagui/remove-scroll": "1.74.4",
44
+ "@tamagui/stacks": "1.74.4",
45
+ "@tamagui/text": "1.74.4",
46
+ "@tamagui/use-controllable-state": "1.74.4"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": "*",
50
50
  "react-native": "*"
51
51
  },
52
52
  "devDependencies": {
53
- "@tamagui/build": "1.74.3",
53
+ "@tamagui/build": "1.74.4",
54
54
  "react": "^18.2.0",
55
55
  "react-native": "^0.72.1"
56
56
  },