From a9edc4e070672947301649ca494009ecf7eed8f4 Mon Sep 17 00:00:00 2001 From: Universe Date: Wed, 13 Mar 2024 09:41:17 +0900 Subject: [PATCH] bump --- packages/editor-ui-alert-dialog/alert-dialog.tsx | 6 +++++- packages/editor-ui-alert-dialog/package.json | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui-alert-dialog/alert-dialog.tsx b/packages/editor-ui-alert-dialog/alert-dialog.tsx index 9b3ccf5..40a7a60 100644 --- a/packages/editor-ui-alert-dialog/alert-dialog.tsx +++ b/packages/editor-ui-alert-dialog/alert-dialog.tsx @@ -1,6 +1,7 @@ import React from "react"; import { styled, keyframes } from "@stitches/react"; import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"; +import type { DialogContentProps } from "@radix-ui/react-dialog"; const overlayShow = keyframes({ "0%": { opacity: 0 }, @@ -42,7 +43,10 @@ const StyledContent = styled(AlertDialogPrimitive.Content, { "&:focus": { outline: "none" }, }); -function Content({ children, ...props }) { +function Content({ + children, + ...props +}: React.PropsWithChildren) { return ( diff --git a/packages/editor-ui-alert-dialog/package.json b/packages/editor-ui-alert-dialog/package.json index 9a96653..0cc04ba 100644 --- a/packages/editor-ui-alert-dialog/package.json +++ b/packages/editor-ui-alert-dialog/package.json @@ -2,10 +2,14 @@ "name": "@editor-ui/alert-dialog", "version": "0.0.0", "dependencies": { - "@radix-ui/react-alert-dialog": "^0.1.7", + "@radix-ui/react-alert-dialog": "^1.0.5", "@stitches/react": "^1.2.8" }, "devDependencies": { + "@radix-ui/react-dialog": "^1.0.5", "@types/react": "18.2.58" + }, + "peerDependencies": { + "@radix-ui/react-dialog": "^1.0.5" } }