Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Mar 13, 2024
1 parent e2c789b commit a9edc4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/editor-ui-alert-dialog/alert-dialog.tsx
Original file line number Diff line number Diff line change
@@ -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 },
Expand Down Expand Up @@ -42,7 +43,10 @@ const StyledContent = styled(AlertDialogPrimitive.Content, {
"&:focus": { outline: "none" },
});

function Content({ children, ...props }) {
function Content({
children,
...props
}: React.PropsWithChildren<DialogContentProps>) {
return (
<AlertDialogPrimitive.Portal>
<StyledOverlay />
Expand Down
6 changes: 5 additions & 1 deletion packages/editor-ui-alert-dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit a9edc4e

Please sign in to comment.