Skip to content

Commit

Permalink
Merge pull request #18 from zolplay-cn/cali
Browse files Browse the repository at this point in the history
feat(react): add DropdownMenu component
  • Loading branch information
CaliCastle authored Oct 24, 2022
2 parents 038c67f + 5a3a436 commit 0645597
Show file tree
Hide file tree
Showing 6 changed files with 422 additions and 5 deletions.
6 changes: 6 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @zolplay/react

## 0.3.0

### Minor Changes

- Add DropdownMenu component

## 0.2.5

### Patch Changes
Expand Down
3 changes: 2 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zolplay/react",
"version": "0.2.5",
"version": "0.3.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
Expand All @@ -17,6 +17,7 @@
},
"dependencies": {
"@radix-ui/react-avatar": "^1.0.1",
"@radix-ui/react-dropdown-menu": "^2.0.1",
"@stitches/react": "^1.2.8",
"@zolplay/config": "workspace:*",
"@zolplay/utils": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/DropdownMenu/DropdownMenu.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as DropdownMenu from '@radix-ui/react-dropdown-menu'
1 change: 1 addition & 0 deletions packages/react/src/DropdownMenu/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './DropdownMenu'
1 change: 1 addition & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './Avatar'
export * from './DropdownMenu'
export * from './Stacked'
export type { Component, PrimitiveComponent } from '@/types'
Loading

0 comments on commit 0645597

Please sign in to comment.