Skip to content

Commit

Permalink
bump dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
softmarshmallow committed Mar 12, 2024
1 parent 49ad4dc commit e2c789b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/editor-ui-dropdown-menu/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const itemStyles = {
// color: violet.violet11,
borderRadius: 3,
display: "flex",
gap: 4,
alignItems: "center",
height: 25,
padding: "0 5px",
Expand All @@ -75,7 +76,7 @@ const StyledCheckboxItem = styled(DropdownMenuPrimitive.CheckboxItem, {
const StyledRadioItem = styled(DropdownMenuPrimitive.RadioItem, {
...itemStyles,
});
const StyledTriggerItem = styled(DropdownMenuPrimitive.TriggerItem, {
const StyledTriggerItem = styled(DropdownMenuPrimitive.SubTrigger, {
'&[data-state="open"]': {
// backgroundColor: violet.violet4,
// color: violet.violet11,
Expand Down Expand Up @@ -111,6 +112,7 @@ const StyledArrow = styled(DropdownMenuPrimitive.Arrow, {

// Exports
export const DropdownMenu = DropdownMenuPrimitive.Root;
export const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
export const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
export const DropdownMenuContent = StyledContent;
export const DropdownMenuItem = StyledItem;
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui-dropdown-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": false,
"dependencies": {
"@radix-ui/react-dropdown-menu": "^0.1.6",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@stitches/react": "^1.2.8"
}
}

0 comments on commit e2c789b

Please sign in to comment.