tamagui 1.132.10 → 1.132.12
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/native.js +15 -7
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +15 -7
- package/dist/test.native.js.map +1 -1
- package/package.json +55 -55
package/dist/native.js
CHANGED
|
@@ -20422,7 +20422,7 @@ var require_AlertDialog_native = __commonJS({
|
|
|
20422
20422
|
return AlertScopePrefix + scope;
|
|
20423
20423
|
}, ROOT_NAME = "AlertDialog", TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
|
|
20424
20424
|
name: TRIGGER_NAME
|
|
20425
|
-
}), AlertDialogTrigger =
|
|
20425
|
+
}), AlertDialogTrigger = NativeAlertDialogTriggerFrame.styleable(function(props, forwardedRef) {
|
|
20426
20426
|
if (props.__native) {
|
|
20427
20427
|
var { __native, onPress, __onPress, ...rest } = props;
|
|
20428
20428
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(NativeAlertDialogTriggerFrame, {
|
|
@@ -20444,14 +20444,14 @@ var require_AlertDialog_native = __commonJS({
|
|
|
20444
20444
|
});
|
|
20445
20445
|
}, OVERLAY_NAME = "AlertDialogOverlay", AlertDialogOverlayFrame = (0, import_core12.styled)(import_dialog.DialogOverlayFrame, {
|
|
20446
20446
|
name: OVERLAY_NAME
|
|
20447
|
-
}), AlertDialogOverlay = AlertDialogOverlayFrame.
|
|
20447
|
+
}), AlertDialogOverlay = AlertDialogOverlayFrame.styleable(function(props, forwardedRef) {
|
|
20448
20448
|
var { scope, ...overlayProps } = props;
|
|
20449
20449
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogOverlay, {
|
|
20450
20450
|
scope: getAlertDialogScope(scope),
|
|
20451
20451
|
...overlayProps,
|
|
20452
20452
|
ref: forwardedRef
|
|
20453
20453
|
});
|
|
20454
|
-
})
|
|
20454
|
+
}), CONTENT_NAME = "AlertDialogContent", { Provider: AlertDialogContextProvider, useStyledContext: useAlertDialogContentContext } = (0, import_core12.createStyledContext)({}, "AlertDialogContext"), AlertDialogContent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
|
|
20455
20455
|
var { scope, children, ...contentProps } = props, dialogScope = getAlertDialogScope(scope), contentRef = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, contentRef), cancelRef = React4.useRef(null);
|
|
20456
20456
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogWarningProvider, {
|
|
20457
20457
|
contentName: CONTENT_NAME,
|
|
@@ -20497,28 +20497,36 @@ var require_AlertDialog_native = __commonJS({
|
|
|
20497
20497
|
})
|
|
20498
20498
|
})
|
|
20499
20499
|
});
|
|
20500
|
-
}), TITLE_NAME = "AlertDialogTitle",
|
|
20500
|
+
}), TITLE_NAME = "AlertDialogTitle", AlertDialogTitleFrame = (0, import_core12.styled)(import_core12.View, {
|
|
20501
|
+
name: TITLE_NAME
|
|
20502
|
+
}), AlertDialogTitle = AlertDialogTitleFrame.styleable(function(props, forwardedRef) {
|
|
20501
20503
|
var { scope, ...titleProps } = props;
|
|
20502
20504
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogTitle, {
|
|
20503
20505
|
scope: getAlertDialogScope(scope),
|
|
20504
20506
|
...titleProps,
|
|
20505
20507
|
ref: forwardedRef
|
|
20506
20508
|
});
|
|
20507
|
-
}), DESCRIPTION_NAME = "AlertDialogDescription",
|
|
20509
|
+
}), DESCRIPTION_NAME = "AlertDialogDescription", AlertDialogDescriptionFrame = (0, import_core12.styled)(import_core12.View, {
|
|
20510
|
+
name: DESCRIPTION_NAME
|
|
20511
|
+
}), AlertDialogDescription = AlertDialogDescriptionFrame.styleable(function(props, forwardedRef) {
|
|
20508
20512
|
var { scope, ...descriptionProps } = props;
|
|
20509
20513
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogDescription, {
|
|
20510
20514
|
scope: getAlertDialogScope(scope),
|
|
20511
20515
|
...descriptionProps,
|
|
20512
20516
|
ref: forwardedRef
|
|
20513
20517
|
});
|
|
20514
|
-
}), ACTION_NAME = "AlertDialogAction",
|
|
20518
|
+
}), ACTION_NAME = "AlertDialogAction", AlertDialogActionFrame = (0, import_core12.styled)(import_core12.View, {
|
|
20519
|
+
name: ACTION_NAME
|
|
20520
|
+
}), AlertDialogAction = AlertDialogActionFrame.styleable(function(props, forwardedRef) {
|
|
20515
20521
|
var { scope, ...actionProps } = props;
|
|
20516
20522
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogClose, {
|
|
20517
20523
|
scope: getAlertDialogScope(scope),
|
|
20518
20524
|
...actionProps,
|
|
20519
20525
|
ref: forwardedRef
|
|
20520
20526
|
});
|
|
20521
|
-
}), CANCEL_NAME = "AlertDialogCancel",
|
|
20527
|
+
}), CANCEL_NAME = "AlertDialogCancel", AlertDialogCancelFrame = (0, import_core12.styled)(import_core12.View, {
|
|
20528
|
+
name: CANCEL_NAME
|
|
20529
|
+
}), AlertDialogCancel = AlertDialogCancelFrame.styleable(function(props, forwardedRef) {
|
|
20522
20530
|
var { scope, ...cancelProps } = props, { cancelRef } = useAlertDialogContentContext(scope), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, cancelRef);
|
|
20523
20531
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogClose, {
|
|
20524
20532
|
scope: getAlertDialogScope(scope),
|