tamagui 1.132.10 → 1.132.11
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/test.native.js
CHANGED
|
@@ -19776,7 +19776,7 @@ var require_AlertDialog_native = __commonJS({
|
|
|
19776
19776
|
return AlertScopePrefix + scope;
|
|
19777
19777
|
}, ROOT_NAME = "AlertDialog", TRIGGER_NAME = "AlertDialogTrigger", NativeAlertDialogTriggerFrame = (0, import_core12.styled)(import_core12.View, {
|
|
19778
19778
|
name: TRIGGER_NAME
|
|
19779
|
-
}), AlertDialogTrigger =
|
|
19779
|
+
}), AlertDialogTrigger = NativeAlertDialogTriggerFrame.styleable(function(props, forwardedRef) {
|
|
19780
19780
|
if (props.__native) {
|
|
19781
19781
|
var { __native, onPress, __onPress, ...rest } = props;
|
|
19782
19782
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(NativeAlertDialogTriggerFrame, {
|
|
@@ -19798,14 +19798,14 @@ var require_AlertDialog_native = __commonJS({
|
|
|
19798
19798
|
});
|
|
19799
19799
|
}, OVERLAY_NAME = "AlertDialogOverlay", AlertDialogOverlayFrame = (0, import_core12.styled)(import_dialog.DialogOverlayFrame, {
|
|
19800
19800
|
name: OVERLAY_NAME
|
|
19801
|
-
}), AlertDialogOverlay = AlertDialogOverlayFrame.
|
|
19801
|
+
}), AlertDialogOverlay = AlertDialogOverlayFrame.styleable(function(props, forwardedRef) {
|
|
19802
19802
|
var { scope, ...overlayProps } = props;
|
|
19803
19803
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogOverlay, {
|
|
19804
19804
|
scope: getAlertDialogScope(scope),
|
|
19805
19805
|
...overlayProps,
|
|
19806
19806
|
ref: forwardedRef
|
|
19807
19807
|
});
|
|
19808
|
-
})
|
|
19808
|
+
}), CONTENT_NAME = "AlertDialogContent", { Provider: AlertDialogContextProvider, useStyledContext: useAlertDialogContentContext } = (0, import_core12.createStyledContext)({}, "AlertDialogContext"), AlertDialogContent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
|
|
19809
19809
|
var { scope, children, ...contentProps } = props, dialogScope = getAlertDialogScope(scope), contentRef = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, contentRef), cancelRef = React4.useRef(null);
|
|
19810
19810
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogWarningProvider, {
|
|
19811
19811
|
contentName: CONTENT_NAME,
|
|
@@ -19849,28 +19849,36 @@ var require_AlertDialog_native = __commonJS({
|
|
|
19849
19849
|
})
|
|
19850
19850
|
})
|
|
19851
19851
|
});
|
|
19852
|
-
}), TITLE_NAME = "AlertDialogTitle",
|
|
19852
|
+
}), TITLE_NAME = "AlertDialogTitle", AlertDialogTitleFrame = (0, import_core12.styled)(import_core12.View, {
|
|
19853
|
+
name: TITLE_NAME
|
|
19854
|
+
}), AlertDialogTitle = AlertDialogTitleFrame.styleable(function(props, forwardedRef) {
|
|
19853
19855
|
var { scope, ...titleProps } = props;
|
|
19854
19856
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogTitle, {
|
|
19855
19857
|
scope: getAlertDialogScope(scope),
|
|
19856
19858
|
...titleProps,
|
|
19857
19859
|
ref: forwardedRef
|
|
19858
19860
|
});
|
|
19859
|
-
}), DESCRIPTION_NAME = "AlertDialogDescription",
|
|
19861
|
+
}), DESCRIPTION_NAME = "AlertDialogDescription", AlertDialogDescriptionFrame = (0, import_core12.styled)(import_core12.View, {
|
|
19862
|
+
name: DESCRIPTION_NAME
|
|
19863
|
+
}), AlertDialogDescription = AlertDialogDescriptionFrame.styleable(function(props, forwardedRef) {
|
|
19860
19864
|
var { scope, ...descriptionProps } = props;
|
|
19861
19865
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogDescription, {
|
|
19862
19866
|
scope: getAlertDialogScope(scope),
|
|
19863
19867
|
...descriptionProps,
|
|
19864
19868
|
ref: forwardedRef
|
|
19865
19869
|
});
|
|
19866
|
-
}), ACTION_NAME = "AlertDialogAction",
|
|
19870
|
+
}), ACTION_NAME = "AlertDialogAction", AlertDialogActionFrame = (0, import_core12.styled)(import_core12.View, {
|
|
19871
|
+
name: ACTION_NAME
|
|
19872
|
+
}), AlertDialogAction = AlertDialogActionFrame.styleable(function(props, forwardedRef) {
|
|
19867
19873
|
var { scope, ...actionProps } = props;
|
|
19868
19874
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogClose, {
|
|
19869
19875
|
scope: getAlertDialogScope(scope),
|
|
19870
19876
|
...actionProps,
|
|
19871
19877
|
ref: forwardedRef
|
|
19872
19878
|
});
|
|
19873
|
-
}), CANCEL_NAME = "AlertDialogCancel",
|
|
19879
|
+
}), CANCEL_NAME = "AlertDialogCancel", AlertDialogCancelFrame = (0, import_core12.styled)(import_core12.View, {
|
|
19880
|
+
name: CANCEL_NAME
|
|
19881
|
+
}), AlertDialogCancel = AlertDialogCancelFrame.styleable(function(props, forwardedRef) {
|
|
19874
19882
|
var { scope, ...cancelProps } = props, { cancelRef } = useAlertDialogContentContext(scope), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, cancelRef);
|
|
19875
19883
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_dialog.DialogClose, {
|
|
19876
19884
|
scope: getAlertDialogScope(scope),
|