Skip to content

Commit

Permalink
Merge pull request #19 from zolplay-cn/cali
Browse files Browse the repository at this point in the history
feat(react): add ScrollArea proxy component
  • Loading branch information
CaliCastle committed Oct 25, 2022
2 parents 0645597 + 556d26e commit 813f98a
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 1 deletion.
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.4.0

### Minor Changes

- Add ScrollArea proxy component

## 0.3.0

### Minor 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.3.0",
"version": "0.4.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
Expand All @@ -18,6 +18,7 @@
"dependencies": {
"@radix-ui/react-avatar": "^1.0.1",
"@radix-ui/react-dropdown-menu": "^2.0.1",
"@radix-ui/react-scroll-area": "^1.0.1",
"@stitches/react": "^1.2.8",
"@zolplay/config": "workspace:*",
"@zolplay/utils": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/ScrollArea/ScrollArea.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as ScrollArea from '@radix-ui/react-scroll-area'
1 change: 1 addition & 0 deletions packages/react/src/ScrollArea/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './ScrollArea'
1 change: 1 addition & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './Avatar'
export * from './DropdownMenu'
export * from './ScrollArea'
export * from './Stacked'
export type { Component, PrimitiveComponent } from '@/types'
28 changes: 28 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 813f98a

Please sign in to comment.